|
| AttributePrefab (AttributeId id) |
|
| AttributePrefab (const ea::string &name) |
|
| AttributePrefab (const char *name) |
|
| AttributePrefab (StringHash nameHash) |
|
void | SetValue (const Variant &value) |
|
void | SetValue (Variant &&value) |
|
void | SerializeInBlock (Archive &archive, bool compactSave=false) |
|
IdentifierType | GetIdentifierType () const |
|
AttributeId | GetId () const |
|
const ea::string & | GetName () const |
|
StringHash | GetNameHash () const |
|
VariantType | GetType () const |
|
const Variant & | GetValue () const |
|
bool | operator== (const AttributePrefab &rhs) const |
|
bool | operator!= (const AttributePrefab &rhs) const |
|
Attribute prefab. Contains representation of attribute with value, type information and identifier. At least one of the following identifiers should be present:
- Zero-based attribute ID optimized for variable-length encoding. Zero is invalid value.
- Full attribute name. May be empty if loaded from compacted binary archive.
- Attribute name hash. May be present even if attribute name is empty.