Entity ID's store references to game entities as unsigned integers. More...
Public Member Functions | |
EntityId (uint id) | |
Constructor for the EntityId. Entity ID's store references to game entities as unsigned integers. More... | |
override bool | Equals (object obj) |
Compare this EntityID to another object. Can only be compared to objects of the type EntityId, int and uint. More... | |
override int | GetHashCode () |
Returns the hash code for this instance. More... | |
override string | ToString () |
Returns the ID of this EntityId as a string. More... | |
Static Public Member Functions | |
static bool | operator== (EntityId entId1, EntityId entId2) |
Returns true if the ID of the EntityIds are equal. False otherwise. More... | |
static bool | operator!= (EntityId entId1, EntityId entId2) |
Returns true if the ID of the EntityIds are not equal. False otherwise. More... | |
static implicit | operator EntityId (uint value) |
Implicitly casts the uint to an EntityId. More... | |
static implicit | operator EntityId (int value) |
Implicitly casts the int to an EntityId. More... | |
static implicit | operator int (EntityId value) |
Implicitly casts the EntityId to an int. More... | |
static implicit | operator uint (EntityId value) |
Implicitly casts the EntityId to an uint. More... | |
Entity ID's store references to game entities as unsigned integers.
|
inline |
|
inline |
Compare this EntityID to another object. Can only be compared to objects of the type EntityId, int and uint.
obj |
|
inline |
Returns the hash code for this instance.
|
inline static |
Implicitly casts the uint to an EntityId.
value |
|
inline static |
Implicitly casts the int to an EntityId.
value |
|
inline static |
Implicitly casts the EntityId to an int.
value |
|
inline static |
Implicitly casts the EntityId to an uint.
value |
Returns true if the ID of the EntityIds are not equal. False otherwise.
entId1 | |
entId2 |
Returns true if the ID of the EntityIds are equal. False otherwise.
entId1 | |
entId2 |
|
inline |
Returns the ID of this EntityId as a string.