C# Class Nanook.QueenBee.Parser.QbItemScript

Inheritance: QbItemBase
Datei anzeigen Open project: Nanook/Queen-Bee Class Usage Examples

Private Properties

Property Type Description
Write void
addString void
bytesToString string
parseScriptStrings void
stringToBytes byte[]

Public Methods

Method Description
AlignPointers ( uint pos ) : uint
Clone ( ) : QbItemBase

Deep clones this item and all children. Positions and lengths are not cloned. When inserted in to another item they should be calculated.

Construct ( BinaryEndianReader br, QbItemType type ) : void
Create ( QbItemType type ) : void
QbItemScript ( QbFile root ) : System
UpdateStrings ( ) : void

Private Methods

Method Description
Write ( BinaryEndianWriter bw ) : void
addString ( int start, int end, bool isUnicode ) : void
bytesToString ( byte bytes, bool isUnicode ) : string
parseScriptStrings ( ) : void
stringToBytes ( string s, bool isUnicode ) : byte[]

Method Details

AlignPointers() public method

public AlignPointers ( uint pos ) : uint
pos uint
return uint

Clone() public method

Deep clones this item and all children. Positions and lengths are not cloned. When inserted in to another item they should be calculated.
public Clone ( ) : QbItemBase
return QbItemBase

Construct() public method

public Construct ( BinaryEndianReader br, QbItemType type ) : void
br BinaryEndianReader
type QbItemType
return void

Create() public method

public Create ( QbItemType type ) : void
type QbItemType
return void

QbItemScript() public method

public QbItemScript ( QbFile root ) : System
root QbFile
return System

UpdateStrings() public method

public UpdateStrings ( ) : void
return void