Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Objects.Syncable.Entity.EntityAttribute Class Reference

Identifies a class as an instantiatable entity More...

Inheritance diagram for pluginbase.Objects.Syncable.Entity.EntityAttribute:

Public Member Functions

 EntityAttribute (string internalName)
 Initializes a new instance of the pluginbase.Objects.Syncable.Entity.EntityAttribute class. More...
 

Public Attributes

readonly string InternalName
 The internal, syncable, name of the entity More...
 
readonly ushort Id
 The internal object ID. More...
 

Detailed Description

Identifies a class as an instantiatable entity

Attribute: AttributeUsage(AttributeTargets.Class)

Constructor & Destructor Documentation

pluginbase.Objects.Syncable.Entity.EntityAttribute.EntityAttribute ( string  internalName)

Initializes a new instance of the pluginbase.Objects.Syncable.Entity.EntityAttribute class.

Parameters
internalNameInternal name of the entity, used for communications
27  {
28  InternalName = internalName;
29  Id = Hashers.HashStringUInt16(InternalName);
30  }
readonly ushort Id
The internal object ID.
Definition: EntityAttribute.cs:20
readonly string InternalName
The internal, syncable, name of the entity
Definition: EntityAttribute.cs:15

Member Data Documentation

readonly ushort pluginbase.Objects.Syncable.Entity.EntityAttribute.Id

The internal object ID.

readonly string pluginbase.Objects.Syncable.Entity.EntityAttribute.InternalName

The internal, syncable, name of the entity


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