NetIdRegistry
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
csharp
public sealed class NetIdRegistryNamespace NodeWorld.SDK.Shared.
Gives the synchronized objects of a world short network IDs in place of their object IDs.
Methods
Register
csharp
public ushort Register(string objectId)The network ID of objectId, given now if it had none.
Unregister
csharp
public void Unregister(string objectId)Frees the network ID of objectId.
GetNetId
csharp
public ushort GetNetId(string objectId)The network ID of objectId, or 0.
GetObjectId
csharp
public string GetObjectId(ushort netId)The object ID of netId, or null.
GetMappingSnapshot
csharp
public string[] GetMappingSnapshot()The object IDs, each at the index of its network ID (null where none).
