CryEngine.EntitySystem.EntityId

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...

Detailed Description

Entity ID's store references to game entities as unsigned integers.

Constructor & Destructor Documentation

◆ EntityId()

CryEngine.EntitySystem.EntityId.EntityId ( uint id)
inline

Constructor for the EntityId. Entity ID's store references to game entities as unsigned integers.

Parameters
id

Member Function Documentation

◆ Equals()

override bool CryEngine.EntitySystem.EntityId.Equals ( object obj)
inline

Compare this EntityID to another object. Can only be compared to objects of the type EntityId, int and uint.

Parameters
obj
Returns

◆ GetHashCode()

override int CryEngine.EntitySystem.EntityId.GetHashCode ( )
inline

Returns the hash code for this instance.

Returns

◆ operator EntityId() [1/2]

static implicit CryEngine.EntitySystem.EntityId.operator EntityId ( uint value)
inline
static

Implicitly casts the uint to an EntityId.

Parameters
value

◆ operator EntityId() [2/2]

static implicit CryEngine.EntitySystem.EntityId.operator EntityId ( int value)
inline
static

Implicitly casts the int to an EntityId.

Parameters
value

◆ operator int()

static implicit CryEngine.EntitySystem.EntityId.operator int ( EntityId value)
inline
static

Implicitly casts the EntityId to an int.

Parameters
value

◆ operator uint()

static implicit CryEngine.EntitySystem.EntityId.operator uint ( EntityId value)
inline
static

Implicitly casts the EntityId to an uint.

Parameters
value

◆ operator!=()

static bool CryEngine.EntitySystem.EntityId.operator!= ( EntityId entId1,
EntityId entId2
)
inline
static

Returns true if the ID of the EntityIds are not equal. False otherwise.

Parameters
entId1
entId2
Returns

◆ operator==()

static bool CryEngine.EntitySystem.EntityId.operator== ( EntityId entId1,
EntityId entId2
)
inline
static

Returns true if the ID of the EntityIds are equal. False otherwise.

Parameters
entId1
entId2
Returns

◆ ToString()

override string CryEngine.EntitySystem.EntityId.ToString ( )
inline

Returns the ID of this EntityId as a string.

Returns