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