Struct LunyNativeObjectId
- Namespace
- Luny.Engine.Bridge
/ - Assembly
- Luny.dll
Engine-native unique identifier value for engine objects.
public readonly struct LunyNativeObjectId : IEquatable<LunyNativeObjectId>, IComparable<LunyNativeObjectId>
Expand Details ...
- Implements
-
Constructors
LunyNativeObjectId(Int64)
public LunyNativeObjectId(Int64 value)
Parameters
| Type |
Name |
Description |
- Int64
|
value |
|
LunyNativeObjectId(UInt64)
public LunyNativeObjectId(UInt64 value)
Parameters
| Type |
Name |
Description |
- UInt64
|
value |
|
Fields
Value
public readonly Int64 Value
Field Value
- Int64
Methods
CompareTo(LunyNativeObjectId)
public Int32 CompareTo(LunyNativeObjectId other)
Parameters
Returns
- Int32
Equals(LunyNativeObjectId)
public Boolean Equals(LunyNativeObjectId other)
Parameters
Returns
- Boolean
Equals(Object)
public override Boolean Equals(Object obj)
Parameters
| Type |
Name |
Description |
- Object
|
obj |
|
Returns
- Boolean
GetHashCode()
public override Int32 GetHashCode()
Returns
- Int32
ToString()
public override String ToString()
Returns
- String
Operators
operator ==(LunyNativeObjectId, LunyNativeObjectId)
public static Boolean operator ==(LunyNativeObjectId left, LunyNativeObjectId right)
Parameters
Returns
- Boolean
implicit operator LunyNativeObjectId(Int64)
public static implicit operator LunyNativeObjectId(Int64 v)
Parameters
| Type |
Name |
Description |
- Int64
|
v |
|
Returns
- LunyNativeObjectId
implicit operator LunyNativeObjectId(UInt64)
public static implicit operator LunyNativeObjectId(UInt64 v)
Parameters
| Type |
Name |
Description |
- UInt64
|
v |
|
Returns
- LunyNativeObjectId
operator !=(LunyNativeObjectId, LunyNativeObjectId)
public static Boolean operator !=(LunyNativeObjectId left, LunyNativeObjectId right)
Parameters
Returns
- Boolean