Skip to main content

Class NetworkWorld

Holds collection of spawned network objects This class works on both server and client

Inheritance
System.Object
Inherited Members
Show
Syntax
public class NetworkWorld : IObjectLocator

Constructors

NetworkWorld()

Declaration
public NetworkWorld()

Properties

Time

Time kept in this world

Declaration
public NetworkTime Time { get; }

SpawnedIdentities

Declaration
public IReadOnlyCollection<NetworkIdentity> SpawnedIdentities { get; }

Methods

TryGetIdentity(UInt32, out NetworkIdentity)

Declaration
public bool TryGetIdentity(uint netId, out NetworkIdentity identity)
Parameters
TypeNameDescription
System.UInt32netId
Mirage.NetworkIdentityidentity
Returns
TypeDescription
System.Boolean