Attribute.h File Reference
#include "../Container/FlagSet.h"
#include "../Container/Ptr.h"
#include "../Core/Variant.h"
Include dependency graph for Attribute.h:

Classes

class  Urho3D::AttributeAccessor
 Abstract base class for invoking attribute accessors. More...
 
struct  Urho3D::AttributeInfo
 Description of an automatically serializable variable. More...
 
struct  Urho3D::AttributeHandle
 Attribute handle returned by Context::RegisterAttribute and used to chain attribute setup calls. More...
 

Enumerations

enum  Urho3D::AttributeMode {
  Urho3D::AM_EDIT = 0x0, Urho3D::AM_FILE = 0x1, Urho3D::AM_NET = 0x2, Urho3D::AM_DEFAULT = 0x3,
  Urho3D::AM_LATESTDATA = 0x4, Urho3D::AM_NOEDIT = 0x8, Urho3D::AM_NODEID = 0x10, Urho3D::AM_COMPONENTID = 0x20,
  Urho3D::AM_NODEIDVECTOR = 0x40, Urho3D::AM_FILEREADONLY = 0x81
}
 

Functions

 Urho3D::URHO3D_FLAGSET (AttributeMode, AttributeModeFlags)
 

Enumeration Type Documentation

◆ AttributeMode

Enumerator
AM_EDIT 

Attribute shown only in the editor, but not serialized.

AM_FILE 

Attribute used for file serialization.

AM_NET 

Attribute used for network replication.

AM_DEFAULT 

Attribute used for both file serialization and network replication (default).

AM_LATESTDATA 

Attribute should use latest data grouping instead of delta update in network replication.

AM_NOEDIT 

Attribute should not be shown in the editor.

AM_NODEID 

Attribute is a node ID and may need rewriting.

AM_COMPONENTID 

Attribute is a component ID and may need rewriting.

AM_NODEIDVECTOR 

Attribute is a node ID vector where first element is the amount of nodes.

AM_FILEREADONLY 

Attribute is readonly. Can't be used with binary serialized objects.