Property | Type | Description | |
---|---|---|---|
allClientsLoaded | NetWorker.BasicEvent | ||
frameInterval | int | ||
networkInstantiates | UnityEngine.GameObject[] | ||
resourcesDirectory | string | ||
setupActions | List |
||
startNetworkedSceneBehaviors | BeardedManStudios.Network.SimpleNetworkedMonoBehavior[] | ||
updateTimeInterval | float |
Method | Description | |
---|---|---|
Disconnect ( ) : void | ||
GetAllSimpleMonoBehaviors ( |
||
GetFrameCountFromTime ( double milliseconds ) : byte | ||
Instantiate ( NetworkReceivers receivers, string obj, Vector3 position, |
This is the main instantiate method that is proxyed through the Networking.Instantiate method
|
|
PollPlayerList ( Action |
Get the latest list of players from the server
|
|
Populate ( BeardedManStudios.Network.NetWorker socket ) : bool |
This method is used to do all of the initial setup of objects
|
|
PullObject ( string name, string fallback = "" ) : |
Get a game object of a given name in the NetworkingManager
|
|
SetName ( string newName ) : void |
Set the player name for the current running client or server
|
|
TryPullIdFromObject ( string obj, ulong &uniqueId ) : bool |
Method | Description | |
---|---|---|
NetworkStart ( ) : void |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
CreateUnityEventObject ( ) : void | ||
DeserializeManualProperties ( |
||
DestroyOnNetwork ( ulong networkId ) : void | ||
InitializeObject ( ulong startObjectId, int count ) : void | ||
NetworkInstantiate ( ulong ownerId, ulong startNetworkId, string name, Vector3 position, |
||
OnLevelWasLoaded ( int level ) : void | ||
PlayerLoadedLevel ( |
||
PollPlayers ( ) : void | ||
PollPlayersResponse ( |
||
ReadTransportObject ( |
||
SetPlayerName ( string newName ) : void | ||
SkipResetOnDestroy ( ) : void | ||
TellServerLevelLoaded ( int level ) : void | ||
Update ( ) : void | ||
UpdateServerTime ( float time ) : void |
public static GetAllSimpleMonoBehaviors ( |
||
o | ||
return | BeardedManStudios.Network.SimpleNetworkedMonoBehavior[] |
public GetFrameCountFromTime ( double milliseconds ) : byte | ||
milliseconds | double | |
return | byte |
public static Instantiate ( NetworkReceivers receivers, string obj, Vector3 position, |
||
receivers | NetworkReceivers | The receivers that will get this instantiate command |
obj | string | The name of the object that is to be instantiated |
position | Vector3 | The position where the object will be instantiated at |
rotation | The rotation that the object will have when instantiated | |
callbackCounter | int | The id for the callback that is to be called when this object is instantiated |
return | void |
public PollPlayerList ( Action |
||
callback | Action |
The method to call once the player list has been received |
return | void |
public Populate ( BeardedManStudios.Network.NetWorker socket ) : bool | ||
socket | BeardedManStudios.Network.NetWorker | |
return | bool |
public PullObject ( string name, string fallback = "" ) : |
||
name | string | Name of the game object to pull |
fallback | string | |
return |
public static TryPullIdFromObject ( string obj, ulong &uniqueId ) : bool | ||
obj | string | |
uniqueId | ulong | |
return | bool |
public NetWorker.BasicEvent allClientsLoaded | ||
return | NetWorker.BasicEvent |
public GameObject[],UnityEngine networkInstantiates | ||
return | UnityEngine.GameObject[] |
public SimpleNetworkedMonoBehavior[],BeardedManStudios.Network startNetworkedSceneBehaviors | ||
return | BeardedManStudios.Network.SimpleNetworkedMonoBehavior[] |