Struct LunyNativeObjectId
Engine-native unique identifier value for engine objects.
public readonly struct LunyNativeObjectId
Constructors
LunyNativeObjectId(long)
public LunyNativeObjectId(long value)
Parameters
valuelong
LunyNativeObjectId(ulong)
public LunyNativeObjectId(ulong value)
Parameters
valueulong
Fields
Value
public readonly long Value
Field Value
- long
Methods
CompareTo(LunyNativeObjectId)
public int CompareTo(LunyNativeObjectId other)
Parameters
otherLunyNativeObjectId
Returns
- int
Equals(LunyNativeObjectId)
public bool Equals(LunyNativeObjectId other)
Parameters
otherLunyNativeObjectId
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(LunyNativeObjectId, LunyNativeObjectId)
public static bool operator ==(LunyNativeObjectId left, LunyNativeObjectId right)
Parameters
leftLunyNativeObjectIdrightLunyNativeObjectId
Returns
- bool
implicit operator LunyNativeObjectId(long)
public static implicit operator LunyNativeObjectId(long v)
Parameters
vlong
Returns
implicit operator LunyNativeObjectId(ulong)
public static implicit operator LunyNativeObjectId(ulong v)
Parameters
vulong
Returns
operator !=(LunyNativeObjectId, LunyNativeObjectId)
public static bool operator !=(LunyNativeObjectId left, LunyNativeObjectId right)
Parameters
leftLunyNativeObjectIdrightLunyNativeObjectId
Returns
- bool