Table of Contents

Struct LunyNativeObjectId

Namespace
Luny.Engine.Bridge
Assembly
Luny.dll

Engine-native unique identifier value for engine objects.

public readonly struct LunyNativeObjectId

Constructors

LunyNativeObjectId(long)

public LunyNativeObjectId(long value)

Parameters

value long

LunyNativeObjectId(ulong)

public LunyNativeObjectId(ulong value)

Parameters

value ulong

Fields

Value

public readonly long Value

Field Value

long

Methods

CompareTo(LunyNativeObjectId)

public int CompareTo(LunyNativeObjectId other)

Parameters

other LunyNativeObjectId

Returns

int

Equals(LunyNativeObjectId)

public bool Equals(LunyNativeObjectId other)

Parameters

other LunyNativeObjectId

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

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

left LunyNativeObjectId
right LunyNativeObjectId

Returns

bool

implicit operator LunyNativeObjectId(long)

public static implicit operator LunyNativeObjectId(long v)

Parameters

v long

Returns

LunyNativeObjectId

implicit operator LunyNativeObjectId(ulong)

public static implicit operator LunyNativeObjectId(ulong v)

Parameters

v ulong

Returns

LunyNativeObjectId

operator !=(LunyNativeObjectId, LunyNativeObjectId)

public static bool operator !=(LunyNativeObjectId left, LunyNativeObjectId right)

Parameters

left LunyNativeObjectId
right LunyNativeObjectId

Returns

bool