Changes

Jump to navigation Jump to search
→‎Identifier: Added class description of SGameCtnIdentifier
Line 124: Line 124:  
Stores three Ids that together describe an object. Typically, this is the name of the object, the [[collection ID]], and the author name.
 
Stores three Ids that together describe an object. Typically, this is the name of the object, the [[collection ID]], and the author name.
    +
struct Ident
 +
{
 +
    Id id;          // Name. Could be the name of a map, name of a block, path of a file etc.
 +
    Id collection;  // Environment. In ManiaPlanet, 0xC = Canyon and 0xCA = Storm.
 +
    Id author;      // Author name (typically "Nadeo")
 +
};
 +
 +
<div class="mw-collapsible mw-collapsed">
 +
Identifiers are managed by the class SGameCtnIdentifier:
 +
<div class="mw-collapsible-content">
 
  struct SGameCtnIdentifier
 
  struct SGameCtnIdentifier
 
  {
 
  {
     MwId uid;         // Name. Could be the name of a map, name of a block, path of a file etc.
+
public:
     MwId collection;  // Environment. In ManiaPlanet, 0xC = Canyon and 0xCA = Storm.
+
     __thiscall SGameCtnIdentifier(void); // Calls CMwId::CMwId for all three IDs of the Ident.
     MwId author;      // Author name (typically "Nadeo")
+
     __thiscall SGameCtnIdentifier(struct SGameCtnIdentifier const &);  // Calls CMwId::CMwId(class CMwId const &) for all three IDs of the Ident.
 +
    __thiscall ~SGameCtnIdentifier(void);
 +
 +
    int __thiscall operator==(struct SGameCtnIdentifier const &)const;  // Compates the first two IDs of the Ident
 +
     static int __cdecl sCompareCollectionAndId(struct SGameCtnIdentifier const *, struct SGameCtnIdentifier const *); // Compates the names of the first two IDs of the Ident using CMwId::GetName
 +
 +
     void __thiscall Archive(class CClassicArchive &);  // Serializes the Ident. See "[[GBX#Primitives|meta]]" on the [[GBX]] page for details.
 
  };
 
  };
 
+
</div>
Identifiers are managed by the class SGameCtnIdentifier.
+
</div>
    
===Delegate===
 
===Delegate===

Navigation menu