Rebel Fork Framework
|
#include <Urho3D/Scene/NodePrefab.h>
Public Types | |
enum | IdentifierType : unsigned char { Id, Name, NameHash, Unused } |
Public Member Functions | |
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 |
Private Attributes | |
AttributeId | id_ {} |
ea::string | name_ |
StringHash | nameHash_ |
Variant | value_ {} |
Attribute prefab. Contains representation of attribute with value, type information and identifier. At least one of the following identifiers should be present: