SCRIPTING API / Multiplayer / NetId
NetId
Network object id, shared by the server and every client for one replicated object. It is not an entity handle: on a client the entity that shows the object has its own Entity id.
Kindstruct
NamespaceKroys.EngineScripting
Members4
Source
World.csDECLARATION
Declaration
Namespace Kroys.EngineScripting.
Declaration
public readonly struct NetId : IEquatable<NetId>
REFERENCE
Members
Constructors
#public NetId(uint value)Wraps a network id value.
Properties
#public static NetId Invalid { get; }The invalid network id (0).
#public uint Value { get; }The network id, the same on the server and every client.
#public bool IsValid { get; }False for the empty id.
Signatures
public NetId(uint value) public static NetId Invalid { get; } public uint Value { get; } public bool IsValid { get; }
KroysEngine 0.1.0 documentation, built from the engine repository by Tools/BuildDocsSite.py.