KROYSDOCS
HomeWhat's newv0.1.0

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
SourceWorld.cs
DECLARATION

Declaration

Namespace Kroys.EngineScripting.

Declaration
public readonly struct NetId : IEquatable<NetId>
REFERENCE

Members

Constructors
#public NetId(uint value)
Wraps a network id value.
constructor
Properties
#public static NetId Invalid { get; }
The invalid network id (0).
propertystatic
#public uint Value { get; }
The network id, the same on the server and every client.
property
#public bool IsValid { get; }
False for the empty id.
property
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.