BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
BrawlLib.SSBB.ResourceNodes.GCAMEntryNode Class Reference
Inheritance diagram for BrawlLib.SSBB.ResourceNodes.GCAMEntryNode:
BrawlLib.SSBB.ResourceNodes.ResourceNode

Public Member Functions

override int OnCalculateSize (bool force)
 
override bool OnInitialize ()
 
override void OnRebuild (VoidPtr address, int length, bool force)
 
- Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
void OnRenamed ()
 
List< ResourceNodeGetChildrenRecursive ()
 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 ()
 

Public Attributes

TriggerDataClass _unknown0x10
 
TriggerDataClass _unknown0x14
 
- 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
 

Properties

float Unknown0x00 [get, set]
 
byte Unknown0x04 [get, set]
 
byte Unknown0x05 [get, set]
 
byte Unknown0x06 [get, set]
 
byte Unknown0x07 [get, set]
 
float Unknown0x08 [get, set]
 
byte Unknown0x0C [get, set]
 
byte Unknown0x0D [get, set]
 
byte Unknown0x0E [get, set]
 
byte Unknown0x0F [get, set]
 
TriggerDataClass Unknown0x10 [get, set]
 
TriggerDataClass Unknown0x14 [get, set]
 
uint Unknown0x18 [get, set]
 
uint Unknown0x1C [get, set]
 
uint Unknown0x20 [get, set]
 
- 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< ResourceNodeChildren [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

- 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)
 
- Protected Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
void ForceReplacedEvent ()
 
virtual void MergeInternal ()
 
- Events inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
SelectEventHandler SelectChild
 
EventHandler UpdateProps
 
MoveEventHandler MovedUp
 
ResourceEventHandler Disposing
 
ResourceChildEventHandler ChildAdded
 
ResourceChildInsertEventHandler ChildInserted
 

Member Function Documentation

◆ OnCalculateSize()

override int BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.OnCalculateSize ( bool  force)
inlinevirtual

Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.

210 {
211 return GCAMEntry.Size;
212 }
Definition: GCAM.cs:9
const int Size
Definition: GCAM.cs:10

◆ OnInitialize()

override bool BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.OnInitialize ( )
inlinevirtual

Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.

215 {
217 _unknown0x10 = new TriggerDataClass(this, Data._unknown0x10);
218 _unknown0x14 = new TriggerDataClass(this, Data._unknown0x14);
219
220 return base.OnInitialize();
221 }
TriggerDataClass _unknown0x14
Definition: GCAMNode.cs:158
TriggerDataClass _unknown0x10
Definition: GCAMNode.cs:143
DataSource WorkingUncompressed
Definition: ResourceNode.cs:183
VoidPtr Address
Definition: ResourceNode.cs:31
TriggerData _unknown0x14
Definition: GCAM.cs:23
TriggerData _unknown0x10
Definition: GCAM.cs:22

◆ OnRebuild()

override void BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.OnRebuild ( VoidPtr  address,
int  length,
bool  force 
)
inlinevirtual

Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.

224 {
225 GCAMEntry* hdr = (GCAMEntry*)address;
226 Data._unknown0x10 = _unknown0x10;
227 Data._unknown0x14 = _unknown0x14;
228 *hdr = Data;
229 }

Member Data Documentation

◆ _unknown0x10

TriggerDataClass BrawlLib.SSBB.ResourceNodes.GCAMEntryNode._unknown0x10

◆ _unknown0x14

TriggerDataClass BrawlLib.SSBB.ResourceNodes.GCAMEntryNode._unknown0x14

Property Documentation

◆ Unknown0x00

float BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x00
getset
26 {
27 get => Data._unknown0x00;
28 set
29 {
30 Data._unknown0x00 = value;
32 }
33 }
virtual void SignalPropertyChange()
Definition: ResourceNode.cs:313
bfloat _unknown0x00
Definition: GCAM.cs:12

◆ Unknown0x04

byte BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x04
getset
38 {
39 get => Data._unknown0x04;
40 set
41 {
42 Data._unknown0x04 = value;
44 }
45 }
byte _unknown0x04
Definition: GCAM.cs:13

◆ Unknown0x05

byte BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x05
getset
50 {
51 get => Data._unknown0x05;
52 set
53 {
54 Data._unknown0x05 = value;
56 }
57 }
byte _unknown0x05
Definition: GCAM.cs:14

◆ Unknown0x06

byte BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x06
getset
62 {
63 get => Data._unknown0x06;
64 set
65 {
66 Data._unknown0x06 = value;
68 }
69 }
byte _unknown0x06
Definition: GCAM.cs:15

◆ Unknown0x07

byte BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x07
getset
74 {
75 get => Data._unknown0x07;
76 set
77 {
78 Data._unknown0x07 = value;
80 }
81 }
byte _unknown0x07
Definition: GCAM.cs:16

◆ Unknown0x08

float BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x08
getset
86 {
87 get => Data._unknown0x08;
88 set
89 {
90 Data._unknown0x08 = value;
92 }
93 }
bfloat _unknown0x08
Definition: GCAM.cs:17

◆ Unknown0x0C

byte BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x0C
getset
98 {
99 get => Data._unknown0x0C;
100 set
101 {
102 Data._unknown0x0C = value;
104 }
105 }
byte _unknown0x0C
Definition: GCAM.cs:18

◆ Unknown0x0D

byte BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x0D
getset
110 {
111 get => Data._unknown0x0D;
112 set
113 {
114 Data._unknown0x0D = value;
116 }
117 }
byte _unknown0x0D
Definition: GCAM.cs:19

◆ Unknown0x0E

byte BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x0E
getset
122 {
123 get => Data._unknown0x0E;
124 set
125 {
126 Data._unknown0x0E = value;
128 }
129 }
byte _unknown0x0E
Definition: GCAM.cs:20

◆ Unknown0x0F

byte BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x0F
getset
134 {
135 get => Data._unknown0x0F;
136 set
137 {
138 Data._unknown0x0F = value;
140 }
141 }
byte _unknown0x0F
Definition: GCAM.cs:21

◆ Unknown0x10

TriggerDataClass BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x10
getset
148 {
149 get => _unknown0x10 ?? new TriggerDataClass(this);
150 set
151 {
152 _unknown0x10 = value;
153 Data._unknown0x10 = value;
155 }
156 }

◆ Unknown0x14

TriggerDataClass BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x14
getset
163 {
164 get => _unknown0x14 ?? new TriggerDataClass(this);
165 set
166 {
167 _unknown0x14 = value;
168 Data._unknown0x14 = value;
170 }
171 }

◆ Unknown0x18

uint BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x18
getset
176 {
177 get => Data._unknown0x18;
178 set
179 {
180 Data._unknown0x18 = value;
182 }
183 }
buint _unknown0x18
Definition: GCAM.cs:24

◆ Unknown0x1C

uint BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x1C
getset
188 {
189 get => Data._unknown0x1C;
190 set
191 {
192 Data._unknown0x1C = value;
194 }
195 }
buint _unknown0x1C
Definition: GCAM.cs:25

◆ Unknown0x20

uint BrawlLib.SSBB.ResourceNodes.GCAMEntryNode.Unknown0x20
getset
200 {
201 get => Data._unknown0x20;
202 set
203 {
204 Data._unknown0x20 = value;
206 }
207 }
buint _unknown0x20
Definition: GCAM.cs:26

The documentation for this class was generated from the following file: