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

Public Member Functions

override bool OnInitialize ()
 
Parse< T > (int offset)
 Returns a node of the given type at an offset in the moveset file. More...
 
Parse< T > (VoidPtr address)
 Returns a node of the given type at an address in the moveset file. More...
 
override int OnCalculateSize (bool force)
 
override void OnRebuild (VoidPtr address, int length, bool force)
 
int Offset (VoidPtr address)
 Returns the offset of the given address from the base address. Use this only when parsing or writing. More...
 
VoidPtr Address (int offset)
 Returns the address at the given offset from the base address. Use this only when parsing or writing. More...
 
int GetSize (int offset)
 Returns the (assumed) size of the data at the given offset. Use this only when parsing. More...
 
TableEntryNode TryGetExternal (int offset)
 Use this only when parsing. More...
 
SakuraiEntryNode GetEntry (int offset)
 Returns any entry at the given offset that has been parsed already. Use this only when parsing. More...
 
- Public Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ARCEntryNode
bool isModelData ()
 
bool isTextureData ()
 
void UpdateName ()
 
override void Initialize (ResourceNode parent, DataSource origSource, DataSource uncompSource)
 
override bool OnInitialize ()
 
- 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 ()
 

Static Public Member Functions

static int[] CalculateSizes (int end, bint *hdr, int count, bool data, params int[] ignore)
 
- 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 _dataSize
 
bool _initializing
 
List< SakuraiEntryNode_postParseEntries
 
- Public Attributes inherited from BrawlLib.SSBB.ResourceNodes.ARCEntryNode
ResourceType _resourceType = ResourceType.ARCEntry
 
- Public Attributes inherited from BrawlLib.SSBB.ResourceNodes.U8EntryNode
int _u8Parent
 
int _u8FirstNotChild
 
int _u8Type
 
int _u8Index
 
- 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
 

Static Public Attributes

static SakuraiArchiveNode _currentlyBuilding
 

Protected Member Functions

virtual void InitData (SakuraiArchiveHeader *hdr)
 Initializes all variables. More...
 
virtual void ParseInternals (SakuraiArchiveHeader *hdr)
 
virtual TableEntryNode GetTableEntryNode (string name, int index)
 
virtual void HandleSpecialSections (List< TableEntryNode > sections)
 
virtual void PostParse ()
 
- Protected Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ARCEntryNode
virtual string GetName ()
 
virtual string GetName (string fileType)
 
- Protected Member Functions inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
void ForceReplacedEvent ()
 
virtual void MergeInternal ()
 

Properties

int DataSize [get]
 
bool Initializing [get]
 
VoidPtr BaseAddress [get]
 Returns the address after the moveset header that all offsets use as a base. This should only be used when parsing or writing. More...
 
BindingList< SakuraiEntryNodeChangedEntries [get]
 Returns all entries in the moveset that have had a property changed. Changed entries do not necessarily mean that a rebuild is needed. More...
 
BindingList< SakuraiEntryNodeRebuildEntries [get]
 Returns all entries in the moveset that have have had a data size change A rebuild is needed. Can perform an inject, or can rebuild entire moveset. More...
 
bool RebuildNeeded [get, set]
 True if the moveset file has had something added or removed and must be rebuilt. More...
 
BindingList< TableEntryNodeReferenceList [get]
 List of external subroutines located in Fighter.pac. More...
 
BindingList< TableEntryNodeSectionList [get]
 List of important entries located in this moveset file. More...
 
SortedList< int, int > LookupSizes [get]
 Provides the size of any entry based on its offset. More...
 
SortedDictionary< int, SakuraiEntryNodeEntryCache [get]
 Provides easy access to any entry in the moveset using its original offset. Use only when parsing. More...
 
static SakuraiArchiveBuilder Builder [get]
 Returns the moveset builder of the moveset currently being written. This can only be used while calculating the size or rebuilding a moveset. More...
 
bool IsRebuilding [get]
 
bool IsCalculatingSize [get]
 
- Properties inherited from BrawlLib.SSBB.ResourceNodes.ARCEntryNode
override ResourceType ResourceFileType [get]
 
override string Compression [get, set]
 
ARCFileType FileType [get, set]
 
short FileIndex [get, set]
 
byte GroupID [get, set]
 
int AbsoluteIndex [get]
 
short RedirectIndex [get, set]
 
string RedirectTargetName [get]
 
string RedirectTarget [get, set]
 
ResourceNode RedirectNode [get]
 
- Properties inherited from BrawlLib.SSBB.ResourceNodes.U8EntryNode
int ParentIndex [get]
 
int ChildEndIndex [get]
 
int Type [get]
 
int ID [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< 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

- Protected Attributes inherited from BrawlLib.SSBB.ResourceNodes.ARCEntryNode
ResourceNode redirectTargetNode
 
- Events inherited from BrawlLib.SSBB.ResourceNodes.ResourceNode
SelectEventHandler SelectChild
 
EventHandler UpdateProps
 
MoveEventHandler MovedUp
 
ResourceEventHandler Disposing
 
ResourceChildEventHandler ChildAdded
 
ResourceChildInsertEventHandler ChildInserted
 

Member Function Documentation

◆ Address()

VoidPtr BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.Address ( int  offset)
inline

Returns the address at the given offset from the base address. Use this only when parsing or writing.

413 {
414#if DEBUG
415 if (!_initializing && _currentlyBuilding != this)
416 {
417 throw new Exception("Not initializing or rebuilding.");
418 }
419#endif
420 return BaseAddress + offset;
421 }
bool _initializing
Definition: SakuraiArchiveNode.cs:21
static SakuraiArchiveNode _currentlyBuilding
Definition: SakuraiArchiveNode.cs:364
VoidPtr BaseAddress
Returns the address after the moveset header that all offsets use as a base. This should only be used...
Definition: SakuraiArchiveNode.cs:28

◆ CalculateSizes()

static int[] BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.CalculateSizes ( int  end,
bint hdr,
int  count,
bool  data,
params int[]  ignore 
)
inlinestatic
305 {
306 Temp[] t = new Temp[count];
307 for (int i = 0; i < count; i++)
308 {
309 if (Array.IndexOf(ignore, i) < 0)
310 {
311 t[i] = new Temp(hdr[i], 0);
312 }
313 else
314 {
315 t[i] = null;
316 }
317 }
318
319 if (data)
320 {
321 t[2]._offset = 1;
322 }
323
324 Temp[] sorted = t.Where(x => x != null).OrderBy(x => x._offset).ToArray();
325 if (data)
326 {
327 t[2]._offset -= 1;
328 }
329
330 for (int i = 0; i < sorted.Length; i++)
331 {
332 sorted[i]._size = (i < sorted.Length - 1 ? sorted[i + 1]._offset : end) - sorted[i]._offset;
333 }
334
335 return t.Select(x => x._size).ToArray();
336 }

◆ GetEntry()

SakuraiEntryNode BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.GetEntry ( int  offset)
inline

Returns any entry at the given offset that has been parsed already. Use this only when parsing.

483 {
484#if DEBUG
485 if (!_initializing)
486 {
487 throw new Exception("Not initializing.");
488 }
489#endif
490 if (_entryCache.ContainsKey(offset))
491 {
492 return _entryCache[offset];
493 }
494
495 return null;
496 }

◆ GetSize()

int BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.GetSize ( int  offset)
inline

Returns the (assumed) size of the data at the given offset. Use this only when parsing.

428 {
429#if DEBUG
430 if (!_initializing)
431 {
432 throw new Exception("Not initializing.");
433 }
434#endif
435 if (_lookupSizes.ContainsKey(offset))
436 {
437 int size = _lookupSizes[offset];
438 _lookupSizes.Remove(offset);
439 return size;
440 }
441
442 return -1;
443 }

◆ GetTableEntryNode()

virtual TableEntryNode BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.GetTableEntryNode ( string  name,
int  index 
)
inlineprotectedvirtual
263 {
264 return null;
265 }

◆ HandleSpecialSections()

virtual void BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.HandleSpecialSections ( List< TableEntryNode sections)
inlineprotectedvirtual
268 {
269 }

◆ InitData()

virtual void BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.InitData ( SakuraiArchiveHeader hdr)
inlineprotectedvirtual

Initializes all variables.

120 {
121 //Get header values
122 _dataSize = hdr->_fileSize;
123
124#if DEBUG
125 for (int i = 0; i < 3; i++)
126 {
127 int value = (&hdr->_pad1)[i];
128 if (value != 0)
129 {
130 Console.WriteLine("MovesetNode InitData " + i);
131 }
132 }
133#endif
134
135 //Create lists
136 _changedEntries = new BindingList<SakuraiEntryNode>();
137 _rebuildEntries = new BindingList<SakuraiEntryNode>();
138 _referenceList = new BindingList<TableEntryNode>();
139 _sectionList = new BindingList<TableEntryNode>();
140 _lookupSizes = new SortedList<int, int>();
141 _entryCache = new SortedDictionary<int, SakuraiEntryNode>();
142 _postParseEntries = new List<SakuraiEntryNode>();
143 }
List< SakuraiEntryNode > _postParseEntries
Definition: SakuraiArchiveNode.cs:93
int _dataSize
Definition: SakuraiArchiveNode.cs:18
bint _fileSize
Definition: SakuraiArchive.cs:11
int _pad1
Definition: SakuraiArchive.cs:16

◆ Offset()

int BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.Offset ( VoidPtr  address)
inline

Returns the offset of the given address from the base address. Use this only when parsing or writing.

398 {
399#if DEBUG
400 if (!_initializing && _currentlyBuilding != this)
401 {
402 throw new Exception("Not initializing or rebuilding.");
403 }
404#endif
405 return address - BaseAddress;
406 }

◆ OnCalculateSize()

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

Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.

372 {
373 _currentlyBuilding = this;
374 int size = (_builder = new SakuraiArchiveBuilder(this)).GetSize();
375 _currentlyBuilding = null;
376 return size;
377 }
int GetSize(int offset)
Returns the (assumed) size of the data at the given offset. Use this only when parsing.
Definition: SakuraiArchiveNode.cs:427

◆ OnInitialize()

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

Reimplemented from BrawlLib.SSBB.ResourceNodes.U8EntryNode.

100 {
101 //Start initializing.
102 //This enables some functions for use.
103 _initializing = true;
104
106
107 InitData(hdr);
108 GetLookupSizes(hdr);
109 ParseExternals(hdr);
110 ParseInternals(hdr);
111 PostParse();
112
113 return _initializing = false;
114 }
DataSource WorkingUncompressed
Definition: ResourceNode.cs:183
virtual void ParseInternals(SakuraiArchiveHeader *hdr)
Definition: SakuraiArchiveNode.cs:207
virtual void InitData(SakuraiArchiveHeader *hdr)
Initializes all variables.
Definition: SakuraiArchiveNode.cs:119
virtual void PostParse()
Definition: SakuraiArchiveNode.cs:271
VoidPtr Address
Definition: ResourceNode.cs:31
Definition: SakuraiArchive.cs:8

◆ OnRebuild()

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

Reimplemented from BrawlLib.SSBB.ResourceNodes.ResourceNode.

380 {
381 _currentlyBuilding = this;
382 _builder.Write(this, address, length);
383 _currentlyBuilding = null;
384 _builder = null;
385 _changedEntries.Clear();
386 _rebuildEntries.Clear();
387 }
unsafe void Write(SakuraiArchiveNode node, VoidPtr address, int length)
Definition: SakuraiArchiveBuilder.cs:185

◆ Parse< T >() [1/2]

T BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.Parse< T > ( int  offset)
inline

Returns a node of the given type at an offset in the moveset file.

Type Constraints
T :SakuraiEntryNode 
341 : SakuraiEntryNode
342 {
343 return SakuraiEntryNode.Parse<T>(this, null, Address(offset));
344 }
VoidPtr Address(int offset)
Returns the address at the given offset from the base address. Use this only when parsing or writing.
Definition: SakuraiArchiveNode.cs:412

◆ Parse< T >() [2/2]

T BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.Parse< T > ( VoidPtr  address)
inline

Returns a node of the given type at an address in the moveset file.

Type Constraints
T :SakuraiEntryNode 
349 : SakuraiEntryNode
350 {
351 return SakuraiEntryNode.Parse<T>(this, null, address);
352 }

◆ ParseInternals()

virtual void BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.ParseInternals ( SakuraiArchiveHeader hdr)
inlineprotectedvirtual
208 {
209 sStringTable* stringTable = hdr->StringTable;
210
211 _sectionList = new BindingList<TableEntryNode>();
212
213 //Parse sections
214 int numSections = hdr->_sectionCount;
215 if (numSections > 0)
216 {
217 sStringEntry* entries = hdr->Sections;
218
219 List<TableEntryNode> _specialSections = new List<TableEntryNode>();
220 for (int i = 0; i < numSections; i++)
221 {
222 int offset = entries[i]._dataOffset;
223 string name = stringTable->GetString(entries[i]._stringOffset);
224
225 TableEntryNode section = TableEntryNode.GetRaw(name);
226
227 //If null, this type of section doesn't have a dedicated class
228 if (section == null)
229 {
230 //Have the inheriting class handle it.
231 //Initialize the node with Parse() in here!!!
232 section = GetTableEntryNode(name, i);
233
234 //Still unhandled, so initialize as raw
235 if (section == null)
236 {
237 section = Parse<RawDataNode2>(offset);
238 }
239 }
240 else
241 {
242 _specialSections.Add(section);
243 }
244
245 section._name = name;
246 section._index = i;
247 section.DataOffsets.Add(offset);
248
249 _sectionList.Add(section);
250 }
251
252 //Now parse any dedicated-class nodes that may reference other sections.
253 foreach (TableEntryNode section in _specialSections)
254 {
255 section.ParseSelf(this, null, section.DataOffsets[0]);
256 }
257
258 HandleSpecialSections(_specialSections);
259 }
260 }
virtual TableEntryNode GetTableEntryNode(string name, int index)
Definition: SakuraiArchiveNode.cs:262
virtual void HandleSpecialSections(List< TableEntryNode > sections)
Definition: SakuraiArchiveNode.cs:267
sStringTable * StringTable
Definition: SakuraiArchive.cs:29
sStringEntry * Sections
Definition: SakuraiArchive.cs:23
bint _sectionCount
Definition: SakuraiArchive.cs:14
Definition: SakuraiArchive.cs:66
bint _dataOffset
Definition: SakuraiArchive.cs:67
Definition: SakuraiArchive.cs:46
string GetString(int offset)
Definition: SakuraiArchive.cs:58

◆ PostParse()

virtual void BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.PostParse ( )
inlineprotectedvirtual
272 {
273 while (_postParseEntries.Count > 0)
274 {
275 //Make a copy of the post process nodes
276 SakuraiEntryNode[] arr = _postParseEntries.ToArray();
277 //Clear the original array so it can be repopulated
278 _postParseEntries.Clear();
279 //Parse subroutines, etc.
280 //May add more entries to post process
281 foreach (SakuraiEntryNode e in arr)
282 {
283 e.PostParse();
284 }
285 }
286 }

◆ TryGetExternal()

TableEntryNode BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.TryGetExternal ( int  offset)
inline

Use this only when parsing.

449 {
450#if DEBUG
451 if (!_initializing)
452 {
453 throw new Exception("Not initializing.");
454 }
455#endif
456 foreach (TableEntryNode e in _referenceList)
457 {
458 foreach (int i in e.DataOffsets)
459 {
460 if (i == offset)
461 {
462 return e;
463 }
464 }
465 }
466
467 foreach (TableEntryNode e in _sectionList)
468 {
469 if (e != null && e.DataOffsets.Count > 0 && e.DataOffsets[0] == offset)
470 {
471 return e;
472 }
473 }
474
475 return null;
476 }

Member Data Documentation

◆ _currentlyBuilding

SakuraiArchiveNode BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode._currentlyBuilding
static

◆ _dataSize

int BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode._dataSize

◆ _initializing

bool BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode._initializing

◆ _postParseEntries

List<SakuraiEntryNode> BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode._postParseEntries

Property Documentation

◆ BaseAddress

VoidPtr BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.BaseAddress
get

Returns the address after the moveset header that all offsets use as a base. This should only be used when parsing or writing.

◆ Builder

SakuraiArchiveBuilder BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.Builder
staticget

Returns the moveset builder of the moveset currently being written. This can only be used while calculating the size or rebuilding a moveset.

◆ ChangedEntries

BindingList<SakuraiEntryNode> BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.ChangedEntries
get

Returns all entries in the moveset that have had a property changed. Changed entries do not necessarily mean that a rebuild is needed.

◆ DataSize

int BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.DataSize
get

◆ EntryCache

SortedDictionary<int, SakuraiEntryNode> BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.EntryCache
get

Provides easy access to any entry in the moveset using its original offset. Use only when parsing.

◆ Initializing

bool BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.Initializing
get

◆ IsCalculatingSize

bool BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.IsCalculatingSize
get

◆ IsRebuilding

bool BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.IsRebuilding
get

◆ LookupSizes

SortedList<int, int> BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.LookupSizes
get

Provides the size of any entry based on its offset.

◆ RebuildEntries

BindingList<SakuraiEntryNode> BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.RebuildEntries
get

Returns all entries in the moveset that have have had a data size change A rebuild is needed. Can perform an inject, or can rebuild entire moveset.

◆ RebuildNeeded

bool BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.RebuildNeeded
getset

True if the moveset file has had something added or removed and must be rebuilt.

54 {
55 get => _rebuildNeeded;
56 set => _rebuildNeeded = value;
57 }

◆ ReferenceList

BindingList<TableEntryNode> BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.ReferenceList
get

List of external subroutines located in Fighter.pac.

◆ SectionList

BindingList<TableEntryNode> BrawlLib.SSBB.ResourceNodes.SakuraiArchiveNode.SectionList
get

List of important entries located in this moveset file.


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