BrawlCrate v0.41
Wii File Editor
|
Public Member Functions | |
override bool | OnInitialize () |
override void | OnRebuild (VoidPtr address, int length, bool force) |
IColorSource | FindColorMatch (bool constant, int frameCount, int id) |
int | WriteColors (ref int flags, int bit, RGBAPixel solidColor, List< RGBAPixel > colors, bool constant, int frameCount, VoidPtr valueAddr, ref VoidPtr thisMatchAddr, VoidPtr thatMatchAddr, RGBAPixel *dataAddr) |
void | DecodeKeyframes (KeyframeArray kf, VoidPtr dataAddr, int flags, int fixedBit) |
Reads keyframes from an address and sets them in the keyframe array provided. More... | |
Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
void | OnRenamed () |
List< ResourceNode > | GetChildrenRecursive () |
Used primarily to get bone lists. Kept for all resource nodes for utility. More... | |
virtual void | SignalPropertyChange () |
virtual void | Dispose () |
void | SelectChildAtIndex (int index) |
void | UpdateProperties () |
void | UpdateCurrentControl () |
virtual bool | MoveUp () |
virtual bool | MoveDown () |
virtual void | OnMoved () |
virtual void | DoMoveDown () |
virtual void | DoMoveDown (bool select) |
virtual void | DoMoveUp () |
virtual void | DoMoveUp (bool select) |
virtual bool | AddUp () |
virtual bool | AddDown () |
virtual bool | ToParent () |
void | Populate (int levels=-1) |
virtual void | OnPopulate () |
void | Initialize (ResourceNode parent, FileMap source) |
void | Initialize (ResourceNode parent, VoidPtr address, int length) |
void | Initialize (ResourceNode parent, DataSource origSource) |
virtual void | Initialize (ResourceNode parent, DataSource origSource, DataSource uncompSource) |
virtual bool | OnInitialize () |
virtual void | Restore () |
virtual void | Remove () |
virtual void | RemoveChild (ResourceNode child) |
virtual void | AddChild (ResourceNode child) |
virtual void | AddChild (ResourceNode child, bool change) |
virtual void | InsertChild (ResourceNode child, int index) |
virtual void | InsertChild (ResourceNode child, bool change, int index) |
void | SetSizeInternal (int size) |
virtual void | Replace (string fileName) |
virtual void | Replace (ResourceNode node) |
virtual void | Replace (string fileName, FileMapProtect prot, FileOptions options) |
virtual void | ReplaceRaw (VoidPtr address, int length) |
virtual void | ReplaceRaw (FileMap map) |
virtual void | Export (string outPath) |
void | Export (FileStream outStream) |
virtual void | ExportUncompressed (string outPath) |
void | ExportUncompressed (FileStream outStream) |
virtual void | Rebuild () |
virtual void | Rebuild (bool force) |
virtual void | Rebuild (VoidPtr address, int length, bool force) |
virtual void | OnRebuild (VoidPtr address, int length, bool force) |
virtual int | CalculateSize (bool force) |
virtual int | OnCalculateSize (bool force) |
void | Merge () |
void | Merge (bool forceBuild) |
ResourceNode | FindChildByType (string path, bool searchChildren, params ResourceType[] types) |
ResourceNode | FindChildByType (string path, bool searchChildren, StringComparison compare, params ResourceType[] types) |
ResourceNode | FindChild (string path) |
ResourceNode | FindChild (string path, bool searchChildren) |
ResourceNode | FindChild (string path, StringComparison compare) |
ResourceNode | FindChild (string path, bool searchChildren, StringComparison compare) |
ResourceNode[] | FindChildrenByClassType (string path, Type type) |
ResourceNode[] | FindChildrenByType (string path, ResourceType type) |
ResourceNode[] | FindChildrenByTypeInGroup (string path, ResourceType type, byte group) |
ResourceNode[] | FindChildrenByName (string name) |
unsafe string | FindName (string name) |
ResourceNode | FindEmbeddedIndex (int index) |
virtual unsafe byte[] | MD5 () |
Find the MD5 checksum of this node's data. If this node doesn't have any data (BRESGroupNode, for example), this method will return null. More... | |
string | MD5Str () |
Get the result of the MD5() function as a string of hexadecimal digits. If MD5() returns null, this method will return an empty string. More... | |
ResourceNode | PrevSibling () |
ResourceNode | NextSibling () |
override string | ToString () |
virtual void | SortChildren () |
Static Public Member Functions | |
static void | DecodeKeyframes (KeyframeArray kf, VoidPtr dataAddr) |
Reads keyframes at an address, starting with the keyframe array header. More... | |
static int | EncodeKeyframes (KeyframeArray kf, VoidPtr dataAddr, VoidPtr offset, ref int flags, int fixedBit) |
static int | EncodeKeyframes (KeyframeArray kf, VoidPtr dataAddr, VoidPtr offset) |
static int | EncodeKeyframes (KeyframeArray kf, VoidPtr dataAddr) |
Static Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
static ResourceNode[] | FindAllSubNodes (ResourceNode root) |
static ResourceNode | FindNode (ResourceNode root, string path, bool searchChildren, StringComparison compare) |
Public Attributes | |
int[] | _dataLengths = {0, 0, 0} |
VoidPtr[] | _dataAddrs = new VoidPtr[3] |
Public Attributes inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
Form | _mainForm |
string | _name |
string | _origPath |
ResourceNode | _parent |
List< ResourceNode > | _children = new List<ResourceNode>() |
int | _calcSize |
EventHandler | UpdateControl |
MoveEventHandler | MovedDown |
ResourceEventHandler | Renamed |
ResourceEventHandler | PropertyChanged |
ResourceEventHandler | Replaced |
ResourceEventHandler | Restored |
ResourceChildEventHandler | ChildRemoved |
bool | _isPopulating |
bool | _replaced |
Protected Member Functions | |
void | ReadColors (uint flags, uint bit, ref RGBAPixel solidColor, ref List< RGBAPixel > colors, int frameCount, VoidPtr address, ref bool constant, ref int numEntries) |
void | CalcKeyLen (KeyframeArray keyframes) |
Protected Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
void | ForceReplacedEvent () |
virtual void | MergeInternal () |
Properties | |
override bool | AllowNullNames [get] |
SCN0Node | Scene [get] |
int | NodeIndex [get] |
int | RealIndex [get] |
Properties inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
string | FilePath [get] |
string | FileName [get] |
string | DirectoryName [get] |
ResourceNode | RootNode [get] |
DataSource | OriginalSource [get] |
DataSource | UncompressedSource [get] |
DataSource | WorkingSource [get] |
DataSource | WorkingUncompressed [get] |
virtual bool | HasChildren [get] |
virtual ResourceType | ResourceFileType [get] |
string | NodeType [get] |
virtual string | TreePathAbsolute [get] |
virtual string | TreePath [get] |
virtual int | Level [get] |
virtual int | MaxNameLength [get] |
virtual bool | AllowDuplicateNames [get] |
virtual bool | AllowNullNames [get] |
virtual string | Name [get, set] |
ResourceNode | Parent [get, set] |
List< ResourceNode > | Children [get] |
int | Index [get] |
int | HexIndex [get] |
bool | IsCompressed [get] |
bool | HasChanged [get, set] |
bool | IsBranch [get] |
bool | HasMerged [get] |
virtual bool | AllowSaving [get, set] |
virtual bool | IsDirty [get, set] |
virtual uint | UncompressedSize [get] |
virtual Type[] | AllowedChildTypes [get] |
virtual string | Compression [get, set] |
virtual bool | RetainChildrenOnReplace [get] |
virtual bool | supportsCompression [get] |
static MD5CryptoServiceProvider | MD5Provider [get] |
Additional Inherited Members | |
Events inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode | |
SelectEventHandler | SelectChild |
EventHandler | UpdateProps |
MoveEventHandler | MovedUp |
ResourceEventHandler | Disposing |
ResourceChildEventHandler | ChildAdded |
ResourceChildInsertEventHandler | ChildInserted |
|
inlineprotected |
|
inlinestatic |
Reads keyframes at an address, starting with the keyframe array header.
kf | The array to set decoded frames to. |
dataAddr | The address of the keyframe array header. |
|
inline |
Reads keyframes from an address and sets them in the keyframe array provided.
kf | The array to set decoded frames to. |
dataAddr | The address of the OFFSET to the data. |
flags | The flags used to determine if the value is constant. |
fixedBit | The bit located in the flags that determines if the value is constant. |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.
Reimplemented in BrawlLib.SSBB.ResourceNodes.SCN0LightNode, and BrawlLib.SSBB.ResourceNodes.SCN0LightSetNode.
|
inlinevirtual |
Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.
Reimplemented in BrawlLib.SSBB.ResourceNodes.SCN0LightNode, and BrawlLib.SSBB.ResourceNodes.SCN0LightSetNode.
|
inlineprotected |
|
inline |
int [] BrawlLib.SSBB.ResourceNodes.SCN0EntryNode._dataLengths = {0, 0, 0} |
|
get |
|
get |
|
get |
|
get |