Romestead Assembly Reference

Candide.Terminal.GameTerminal

Type JSON

public class in Candide.Terminal

Methods15
Properties0
Fields15
Events0
Type metadata
  • AssemblyRomestead
  • NamespaceCandide.Terminal
  • Base typeSystem.Object
  • HashE28CA1FC4E4060F37A0D4B0CBE94CA10AB6474FF22E8CA5A84C7ED52BDEE0E1F

Relationships

Base type

System.Object

Fields

NameVisibilitySignature
Activepublicpublic System.Boolean Active
Commandspublicpublic System.Collections.Generic.Dictionary<System.String, Candide.Terminal.TerminalCommand> Commands
_currentInputprivateprivate System.String _currentInput
_cursorprivateprivate System.Int32 _cursor
_gameprivateprivate Candide.CandideEngine _game
_historyprivateprivate System.Collections.Generic.Stack<GameTerminal.TerminalLine> _history
_inputHistoryprivateprivate System.Collections.Generic.List<System.String> _inputHistory
_inputIndexprivateprivate System.Int32 _inputIndex
_inputLineprivateprivate System.Text.StringBuilder _inputLine
_luaStateprivateprivate NLua.Lua _luaState
_optionsprivateprivate Candide.Terminal.GameTerminalOptions _options
_pixelprivateprivate Microsoft.Xna.Framework.Graphics.Texture2D _pixel
_spriteBatchprivateprivate Microsoft.Xna.Framework.Graphics.SpriteBatch _spriteBatch
_suggestionprivateprivate System.Text.StringBuilder _suggestion
_suggestionIndexprivateprivate System.Int32 _suggestionIndex

Methods

Activate

public System.Void Activate()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash4526F6A8D3C2301D957C75428D012652789AE64075292CC110ED35E70A537B81
  • Body hashE3287D1C4B759F2511AD87CB939EC6224F62239067D76DBDC0C5EDDF878F5E15
  • IL size8

AddCommand

public System.Void AddCommand(System.String key, GameTerminal.TerminalCommandAction command)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash508F87FA4E1ADBD0731FA0D1A1D5E2702CB7C4872DF04ED6BB5CB544102F8ABC
  • Body hashA0E2D3B9B3C368CC541950DB0E983EA23D42CB5A511338BDBE928005341A7331
  • IL size19
Referenced calls
  • Candide.Terminal.TerminalCommand::.ctor(GameTerminal.TerminalCommandAction)
  • System.Collections.Generic.Dictionary<System.String, Candide.Terminal.TerminalCommand>::Add(!0, !1)
Called by

AddCommand

public System.Void AddCommand(System.String key, GameTerminal.TerminalCommandAction command, GameTerminal.TerminalCommandSuggestion suggestion)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash26BD5A9D748806148C7A4864CC4D471C10F6EAF134BC43585DFF47DE3247F7EA
  • Body hash7067354AA5659280AD192BDAF7F4E1275E594A0401E78B4804D2F93EE227D52F
  • IL size20
Referenced calls
  • Candide.Terminal.TerminalCommand::.ctor(GameTerminal.TerminalCommandAction, GameTerminal.TerminalCommandSuggestion)
  • System.Collections.Generic.Dictionary<System.String, Candide.Terminal.TerminalCommand>::Add(!0, !1)
Called by

AddCommand

public System.Void AddCommand(System.String key, GameTerminal.TerminalCommandAction command, GameTerminal.TerminalCommandSuggestion2 suggestion)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashE60E356F76DE158E9BDCEA379B2638F0A5B8FBF2946342B88206D230F0D43F8C
  • Body hashCA4D81CA61281A9A418B639E4BC74DBA97460F4E6F4CF5761A1DCF8AC86B146B
  • IL size20
Referenced calls
  • Candide.Terminal.TerminalCommand::.ctor(GameTerminal.TerminalCommandAction, GameTerminal.TerminalCommandSuggestion2)
  • System.Collections.Generic.Dictionary<System.String, Candide.Terminal.TerminalCommand>::Add(!0, !1)
Called by

AddLine

public System.Void AddLine(System.String text)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash14960004840FDA8170CC0D6522EC77BEB597665D1B894A9E73C60CDDF1E0D4AB
  • Body hash092BB1D91014914E16D04ADC857322E9F736436C8811409436A51450F557B220
  • IL size91
Referenced calls
Called by

CharPressed

public System.Void CharPressed(System.Char c, Microsoft.Xna.Framework.Input.KeyboardState ks)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashF45FD491C5572643F75E93DC9E8F90096F4DEF8D127CF24455141180A5260944
  • Body hash797590ED12C995D18467579A954A309A278F5F582C5C8AC5C8C2645D128A89A8
  • IL size89
Referenced calls
  • Microsoft.Xna.Framework.Input.KeyboardState::IsKeyDown(Microsoft.Xna.Framework.Input.Keys)
  • FontStashSharp.StaticSpriteFont::get_Glyphs()
  • FontStashSharp.Int32Map<FontStashSharp.FontGlyph>::ContainsKey(System.Int32)
  • System.Text.StringBuilder::Insert(System.Int32, System.Char)

Deactivate

public System.Void Deactivate()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash5AADBBD27EB2AFE66BB9A60816966C08229E8F71CB5AD8620BF5B890DE142D45
  • Body hash1205029ED5F824E2F6892F2F76193B5743A57056381A4D19641E4ACD27590051
  • IL size8

Dispose

public System.Void Dispose()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash2409D1FA65D0FC21F763C0FDDFDAB188DDC66DCE10D79E255051B178A470D4C3
  • Body hashC9F65874E9511F0F7175779296354DA8983C1B6F5500FE697256B0D79241B56D
  • IL size28
Referenced calls
Called by

DoCommand

public System.String DoCommand(System.String input)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticFalse
  • VirtualFalse
  • HashADFE7925CC45D185BD2F1B39BA51CEF8D60E8F40BA2BC336833CB2BCA4A489F8
  • Body hashC504416132D547F72CA6A78F513E1ECF9B57F092EC742AB5805C3CA588E9689E
  • IL size93
Referenced calls
Called by
String literals
  • Command not found.

DoLua

public System.String DoLua(System.String stuff)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticFalse
  • VirtualFalse
  • HashDB268ABE2CDEA314039E23011801AF8F0C05FF8F4CBF01F7E897985D057B4F53
  • Body hash4312F52A57CFEE34089AE95B0214798BC18340C23CF7AD3A9AD82E56959A8EA3
  • IL size39
Referenced calls
  • NLua.Lua::DoString(System.String, System.String)
  • System.Object::ToString()
String literals
  • chunk

Draw

public System.Void Draw()

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashB66C7AF43947C696CA0C15FBA999900BDF29D4A6AD0E2D78DDFDD0A8818071E9
  • Body hash67DB304BB3AA964763438255FA1925EF89DFA333075EB3D0F0FDD18C5D9C3A70
  • IL size688
Referenced calls
  • FontStashSharp.SpriteFontBase::get_LineHeight()
  • FontStashSharp.SpriteFontBase::MeasureString(System.String, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, FontStashSharp.FontSystemEffect, System.Int32)
  • Microsoft.Xna.Framework.Vector2::.ctor(System.Single, System.Single)
  • Microsoft.Xna.Framework.Graphics.SpriteBatch::Begin(Microsoft.Xna.Framework.Graphics.SpriteSortMode, Microsoft.Xna.Framework.Graphics.BlendState, Microsoft.Xna.Framework.Graphics.SamplerState, Microsoft.Xna.Framework.Graphics.DepthStencilState, Microsoft.Xna.Framework.Graphics.RasterizerState, Microsoft.Xna.Framework.Graphics.Effect, System.Nullable<Microsoft.Xna.Framework.Matrix>)
  • Candide.Scene.GameScene::get_GraphicsDevice()
  • Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()
  • Microsoft.Xna.Framework.Graphics.Viewport::get_Width()
  • Microsoft.Xna.Framework.Rectangle::.ctor(System.Int32, System.Int32, System.Int32, System.Int32)
  • Microsoft.Xna.Framework.Graphics.SpriteBatch::Draw(Microsoft.Xna.Framework.Graphics.Texture2D, Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Color)
  • FontStashSharp.SpriteFontBase::DrawText(Microsoft.Xna.Framework.Graphics.SpriteBatch, System.Text.StringBuilder, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, System.Single, FontStashSharp.TextStyle, FontStashSharp.FontSystemEffect, System.Int32, System.Int32)
  • FontStashSharp.SpriteFontBase::MeasureString(System.Text.StringBuilder, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, FontStashSharp.FontSystemEffect, System.Int32)
  • Microsoft.Xna.Framework.Vector2::get_UnitX()
  • Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)
  • System.Collections.Generic.Stack<GameTerminal.TerminalLine>::GetEnumerator()
  • Stack.Enumerator<GameTerminal.TerminalLine>::get_Current()
  • FontStashSharp.SpriteFontBase::DrawText(Microsoft.Xna.Framework.Graphics.SpriteBatch, System.String, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color, System.Single, Microsoft.Xna.Framework.Vector2, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, System.Single, FontStashSharp.TextStyle, FontStashSharp.FontSystemEffect, System.Int32, System.Int32)
  • Stack.Enumerator<GameTerminal.TerminalLine>::MoveNext()
  • System.IDisposable::Dispose()
  • Microsoft.Xna.Framework.Graphics.SpriteBatch::End()
Called by
String literals
  • HEJSAN

KeyPressed

public System.Void KeyPressed(Microsoft.Xna.Framework.Input.Keys k, Microsoft.Xna.Framework.Input.KeyboardState ks)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • Hash51DC2A6910FB2AA4D0938DF0DE6A81AD2F6C92515514BB41503B560EE1695F72
  • Body hashADC18183D203994F904C58F9A11DF4B6328D1784B87BD5C40B2B115944AF411A
  • IL size1386
Referenced calls
String literals
  • return
  • chunk
  • null

SuggestCommand

private System.Void SuggestCommand(System.String input)

Method metadata
  • Visibilityprivate
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashA4795EF1C5A9FA5DCCD349B68B60855F66CEBB634C2C0C77D4FC5F1094008D94
  • Body hash6697989FDE5F280C84EA87B2A97E0DDE7BCEF0A58DF33533AC184401E6D771F9
  • IL size436
Referenced calls
  • System.String::Split(System.Char, System.StringSplitOptions)
  • System.Collections.Generic.Dictionary<System.String, Candide.Terminal.TerminalCommand>::get_Keys()
  • System.Collections.Generic.Dictionary<System.String, Candide.Terminal.TerminalCommand>::TryGetValue(!0, !1&)
  • System.String::get_Length()
  • System.String::Substring(System.Int32, System.Int32)
  • GameTerminal.TerminalCommandSuggestion::Invoke()
  • GameTerminal.TerminalCommandSuggestion2::Invoke(System.Int32)
  • System.Text.StringBuilder::get_Length()
  • System.Collections.Generic.IEnumerable<System.String>::GetEnumerator()
  • System.Collections.Generic.IEnumerator<System.String>::get_Current()
  • System.String::StartsWith(System.String)
  • System.Text.StringBuilder::Clear()
  • System.Text.StringBuilder::Append(System.String)
  • System.Collections.IEnumerator::MoveNext()
  • System.IDisposable::Dispose()
Called by

Update

public System.Void Update(Microsoft.Xna.Framework.GameTime gt)

Method metadata
  • Visibilitypublic
  • Return typeSystem.Void
  • StaticFalse
  • VirtualFalse
  • HashC1544E50D34A0A70B78F6AB14079E8C4D79D7553E33C67EC11D1EC722424DDA1
  • Body hashEB64D7C09D6D6CF9CB6DBE513459607C749E5B4EDBCA7207E65CA446647ADA69
  • IL size8
Called by

WrapText

public System.String WrapText(FontStashSharp.StaticSpriteFont font, System.String text, System.Single maxLineWidth)

Method metadata
  • Visibilitypublic
  • Return typeSystem.String
  • StaticTrue
  • VirtualFalse
  • Hash1F29EF7DAE7F355CD3FEDEA338B94162FF240BF0A728A7B510B6DAB7B39CEA61
  • Body hashAB4620D45C007E2913A0D3249BE7EA7886F87F6FC81A46CF5D047894AC627D9E
  • IL size436
Referenced calls
  • System.String::Split(System.Char, System.StringSplitOptions)
  • System.Text.StringBuilder::.ctor()
  • FontStashSharp.SpriteFontBase::MeasureString(System.String, System.Nullable<Microsoft.Xna.Framework.Vector2>, System.Single, System.Single, FontStashSharp.FontSystemEffect, System.Int32)
  • StringBuilder.AppendInterpolatedStringHandler::.ctor(System.Int32, System.Int32, System.Text.StringBuilder)
  • StringBuilder.AppendInterpolatedStringHandler::AppendFormatted(System.String)
  • StringBuilder.AppendInterpolatedStringHandler::AppendLiteral(System.String)
  • System.Text.StringBuilder::Append(StringBuilder.AppendInterpolatedStringHandler&)
  • System.Object::ToString()
  • System.String::op_Equality(System.String, System.String)
  • System.String::get_Length()
  • System.String::Insert(System.Int32, System.String)
  • System.String::Concat(System.String, System.String)
  • Candide.Terminal.GameTerminal::WrapText(FontStashSharp.StaticSpriteFont, System.String, System.Single)
  • System.Text.StringBuilder::Append(System.String)
Called by