Skip to content

EntityId

Record struct · Namespace OMX.ModAPI · Assembly OMX.ModAPI.Shared.dll

public readonly record struct EntityId(ulong Value)

An entity identifier assigned by the authority (the dedicated server in multiplayer, the game’s own in-process authority in single player). Client and server resources see the same id for the same entity. Ids are never reused within a session; zero is never assigned.

public bool IsNone { get; }
public static EntityId None { get; }
public ulong Value { get; init; }
public override string ToString();

Returns string