C# Class SpringModEdit.TableProxy

显示文件 Open project: ZeroK-RTS/SpringRTS-Tools Class Usage Examples

Public Methods

Method Description
Changes ( System.Windows.Forms.RichTextBox rb, string tblName, LuaTable againstTable, LuaInterface.Lua againstLua ) : void
Export ( LuaTable table, int indent ) : string
TableProxy ( LuaTable table, LuaInterface.Lua lua ) : System
TableProxy ( LuaTable table, TableType tableType, LuaInterface.Lua lua ) : System

Private Methods

Method Description
FormatEntry ( StringBuilder sb, int maxlen, bool allNumber, int indent, DictionaryEntry de ) : void
GetIndentString ( int indent ) : string
GetSortLevel ( DictionaryEntry a ) : int
SortCompare ( DictionaryEntry a, DictionaryEntry b ) : int

Method Details

Changes() public method

public Changes ( System.Windows.Forms.RichTextBox rb, string tblName, LuaTable againstTable, LuaInterface.Lua againstLua ) : void
rb System.Windows.Forms.RichTextBox
tblName string
againstTable LuaInterface.LuaTable
againstLua LuaInterface.Lua
return void

Export() public static method

public static Export ( LuaTable table, int indent ) : string
table LuaInterface.LuaTable
indent int
return string

TableProxy() public method

public TableProxy ( LuaTable table, LuaInterface.Lua lua ) : System
table LuaInterface.LuaTable
lua LuaInterface.Lua
return System

TableProxy() public method

public TableProxy ( LuaTable table, TableType tableType, LuaInterface.Lua lua ) : System
table LuaInterface.LuaTable
tableType TableType
lua LuaInterface.Lua
return System