Table of Contents

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

Type Name Description
LunyNativeObjectId
other

Returns

Int32

Equals(LunyNativeObjectId)

public Boolean Equals(LunyNativeObjectId other)

Parameters

Type Name Description
LunyNativeObjectId
other

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

Type Name Description
LunyNativeObjectId
left
LunyNativeObjectId
right

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

Type Name Description
LunyNativeObjectId
left
LunyNativeObjectId
right

Returns

Boolean