C# Class entity.MetaEditor2.EntStrings

Inheritance: BaseField
Mostrar archivo Open project: troymac1ure/Entity Class Usage Examples

Public Methods

Method Description
EntStrings ( Meta meta, string iEntName, Map map, int iOffsetInChunk, int ilength, bool itype, int iLineNumber ) : System

Creates a new EntStrings class for a set-length unicode or ASCII string.

Populate ( int iOffset, bool useMemoryStream ) : void
Save ( ) : void
SetFocus ( int LineToCheck ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RemoveNullCharFromValue ( ) : void
String_Leave ( object sender, EventArgs e ) : void
textBox1_TextChanged ( object sender, System e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EntStrings() public method

Creates a new EntStrings class for a set-length unicode or ASCII string.
public EntStrings ( Meta meta, string iEntName, Map map, int iOffsetInChunk, int ilength, bool itype, int iLineNumber ) : System
meta HaloMap.Meta.Meta The controls meta data
iEntName string The identifying name of the meta string
map HaloMap.Map.Map The metas map file
iOffsetInChunk int The offset to the string in the memory stream
ilength int The set length of the string (usually 32, 64 or 256, but will handle any length strings)
itype bool Set to false for ASCII strings, true for Unicode (UTF-8) strings
iLineNumber int The associated line number
return System

Populate() public method

public Populate ( int iOffset, bool useMemoryStream ) : void
iOffset int
useMemoryStream bool
return void

Save() public method

public Save ( ) : void
return void

SetFocus() public method

public SetFocus ( int LineToCheck ) : void
LineToCheck int
return void