Méthode | Description | |
---|---|---|
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 |
Méthode | Description | |
---|---|---|
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 | |
Résultat |
public static CreateQbItemType ( |
||
qbFile | ||
type | QbItemType | |
Résultat |
public static CreateQbItemType ( |
||
qbFile | ||
type | QbItemType | |
qbFormat | QbFormat | |
Résultat |
public FindItem ( QbItemType type, bool recursive ) : |
||
type | QbItemType | |
recursive | bool | |
Résultat |
public FindItem ( |
||
key | ||
recursive | bool | |
Résultat |
public FindItem ( bool recursive, Predicate |
||
recursive | bool | |
match | Predicate |
|
Résultat |
public static FormatBadPointerExceptionMessage ( object sender, uint streamPos, uint pointer ) : string | ||
sender | object | |
streamPos | uint | |
pointer | uint | |
Résultat | string |
public static FormatIsValidErrorMessage ( |
||
item | ||
errorType | IsValidReturnType | |
Résultat | string |
public static FormatWriteLengthExceptionMessage ( object sender, uint start, uint end, uint length ) : string | ||
sender | object | |
start | uint | |
end | uint | |
length | uint | |
Résultat | string |
public static GetGenericItems ( |
||
item | ||
Résultat | List |
public InsertItem ( |
||
item | Item to insert. | |
sibling | ||
beforeAfter | bool | Insert before=True or after=False |
Résultat | void |
public QbFile ( Stream stream, |
||
stream | Stream | |
pakFormat | ||
Résultat | System |
public QbFile ( Stream stream, string debugFileContents, |
||
stream | Stream | |
debugFileContents | string | |
pakFormat | ||
Résultat | System |
public QbFile ( string filename, |
||
filename | string | |
pakFormat | ||
Résultat | System |
public QbFile ( string filename, string debugFilename, |
||
filename | string | |
debugFilename | string | |
pakFormat | ||
Résultat | System |
public QbFile ( string filename, string debugFileContents, Stream stream, |
||
filename | string | |
debugFileContents | string | |
stream | Stream | |
pakFormat | ||
Résultat | System |
public RemoveItem ( |
||
item | Item to remove | |
Résultat | void |
public static SetGenericItems ( |
||
item | ||
gItems | List |
|
Résultat | void |
public static SupportedChildTypes ( QbItemType parent ) : QbItemType[] | ||
parent | QbItemType | |
Résultat | QbItemType[] |
public static SupportsChild ( QbItemType parent, QbItemType child ) : bool | ||
parent | QbItemType | |
child | QbItemType | |
Résultat | bool |