Метод | Описание | |
---|---|---|
AddItem ( |
||
AlignPointers ( ) : void | ||
CreateGenericArrayItem ( |
Creates an array item based on the data type of the parent.
|
|
CreateQbItemType ( |
||
CreateQbItemType ( |
||
FindItem ( QbItemType type, bool recursive ) : |
||
FindItem ( |
||
FindItem ( bool recursive, Predicate |
||
FormatBadPointerExceptionMessage ( object sender, uint streamPos, uint pointer ) : string | ||
FormatIsValidErrorMessage ( |
||
FormatWriteLengthExceptionMessage ( object sender, uint start, uint end, uint length ) : string | ||
GetGenericItems ( |
Analyse the attributes on the item and return the editable items
|
|
InsertItem ( |
Insert a new item before or after the sibling item.
|
|
IsValid ( ) : |
||
QbFile ( Stream stream, |
||
QbFile ( Stream stream, string debugFileContents, |
||
QbFile ( string filename, |
||
QbFile ( string filename, string debugFilename, |
||
QbFile ( string filename, string debugFileContents, Stream stream, |
Open using a stream, filename is just for reference. The stream must start with the file (the position is depended on)
|
|
RemoveItem ( |
Remove the specified item from this items children
|
|
SetGenericItems ( |
||
SetNewFileId ( ) : void |
The FileId is based on the filename, this will recalculate it, GH3 has a bug where the first character is missing from the path. The FileId doesn't appear to affect the game, it may just need to be unique
|
|
SupportedChildTypes ( QbItemType parent ) : QbItemType[] | ||
SupportsChild ( QbItemType parent, QbItemType child ) : bool | ||
Write ( Stream s ) : void | ||
Write ( string filename ) : void |
Метод | Описание | |
---|---|---|
LookupDebugName ( uint debugCrc ) : string | ||
LookupDebugName ( uint debugCrc, bool allowUserQbkeyLookup ) : string | ||
QbFile ( ) : System | ||
QbFile ( string qbFilename, |
Create a blank QbFile
|
|
SearchItems ( |
||
StreamPos ( Stream stream ) : uint |
Subtracts the start offset of the stream from current position
|
|
createQbItemType ( |
||
loadDebugFile ( string debugFileContents ) : void | ||
parse ( Stream stream ) : void | ||
recurseIsValid ( |
||
startLengthCheck ( |
||
testLengthCheck ( object sender, |
public static CreateGenericArrayItem ( |
||
parent | Must be a simple array type | |
Результат |
public static CreateQbItemType ( |
||
qbFile | ||
type | QbItemType | |
Результат |
public static CreateQbItemType ( |
||
qbFile | ||
type | QbItemType | |
qbFormat | QbFormat | |
Результат |
public FindItem ( QbItemType type, bool recursive ) : |
||
type | QbItemType | |
recursive | bool | |
Результат |
public FindItem ( |
||
key | ||
recursive | bool | |
Результат |
public FindItem ( bool recursive, Predicate |
||
recursive | bool | |
match | Predicate |
|
Результат |
public static FormatBadPointerExceptionMessage ( object sender, uint streamPos, uint pointer ) : string | ||
sender | object | |
streamPos | uint | |
pointer | uint | |
Результат | string |
public static FormatIsValidErrorMessage ( |
||
item | ||
errorType | IsValidReturnType | |
Результат | string |
public static FormatWriteLengthExceptionMessage ( object sender, uint start, uint end, uint length ) : string | ||
sender | object | |
start | uint | |
end | uint | |
length | uint | |
Результат | string |
public static GetGenericItems ( |
||
item | ||
Результат | List |
public InsertItem ( |
||
item | Item to insert. | |
sibling | ||
beforeAfter | bool | Insert before=True or after=False |
Результат | void |
public QbFile ( Stream stream, |
||
stream | Stream | |
pakFormat | ||
Результат | System |
public QbFile ( Stream stream, string debugFileContents, |
||
stream | Stream | |
debugFileContents | string | |
pakFormat | ||
Результат | System |
public QbFile ( string filename, |
||
filename | string | |
pakFormat | ||
Результат | System |
public QbFile ( string filename, string debugFilename, |
||
filename | string | |
debugFilename | string | |
pakFormat | ||
Результат | System |
public QbFile ( string filename, string debugFileContents, Stream stream, |
||
filename | string | |
debugFileContents | string | |
stream | Stream | |
pakFormat | ||
Результат | System |
public RemoveItem ( |
||
item | Item to remove | |
Результат | void |
public static SetGenericItems ( |
||
item | ||
gItems | List |
|
Результат | void |
public static SupportedChildTypes ( QbItemType parent ) : QbItemType[] | ||
parent | QbItemType | |
Результат | QbItemType[] |
public static SupportsChild ( QbItemType parent, QbItemType child ) : bool | ||
parent | QbItemType | |
child | QbItemType | |
Результат | bool |