Property | Type | Description | |
---|---|---|---|
allowOwnershipChange | bool | ||
destroyOnDisconnect | bool | ||
dontDestroyOnLoad | bool | ||
networkedBehaviors | SimpleNetworkedMonoBehavior>.Dictionary | ||
networkedBehaviorsMutex | object |
Property | Type | Description | |
---|---|---|---|
rpcStack | List |
Method | Description | |
---|---|---|
AuthoritativeRPC ( string methodName, BeardedManStudios.Network.NetWorker socket, |
Used for the server to call an RPC method on a NetWorker(Socket) on a particular player
|
|
AuthoritativeURPC ( string methodName, BeardedManStudios.Network.NetWorker socket, |
Used for the server to call an URPC method on a NetWorker(Socket) on a particular player
|
|
ChangeOwner ( ulong newOwnerPlayerId ) : void | ||
Cleanup ( ) : void | ||
Deserialize ( NetworkingStream stream ) : void |
Deserialize the Networking Stream
|
|
Disconnect ( ) : void |
Used to do final cleanup when disconnecting. This gets called currently on application quit and scene resets
|
|
ExecuteRPCStack ( ) : void | ||
GenerateUniqueId ( ) : ulong |
Get a generated Unique ID for the next simple networked mono behavior or its derivitive
|
|
GetRPC ( int id ) : |
||
GetSceneNetworkedId ( ) : int | ||
Initialize ( BeardedManStudios.Network.NetWorker socket ) : void |
An initial setup to make sure that a networking manager exists before running any core logic
|
|
InvokeRPC ( |
To Invoke an RPC on a given Networking Stream RPC
|
|
Locate ( ulong id ) : |
Locate a Simple Networked Monobehavior given a ID
|
|
NetworkDestroy ( ulong networkId ) : bool |
Destroy a Simple Networked Monobehavior or any of its derivitives with the given Network ID
|
|
OfflineStart ( ) : void | ||
QueueRPCForInstantiate ( ulong id, NetworkingStream stream ) : void | ||
RPC ( string methodName ) : void |
Call an RPC method with arguments
|
|
RPC ( string methodName, BeardedManStudios.Network.NetWorker socket ) : void |
Call an RPC method with a NetWorker(Socket) and arguments
|
|
RPC ( string methodName, BeardedManStudios.Network.NetWorker socket, NetworkReceivers receivers ) : void |
Call an RPC method on a NetWorker(Socket) with receivers and arguments
|
|
RPC ( string methodName, NetworkReceivers rpcMode ) : void |
Call an RPC method with a receiver and arguments
|
|
ResetAll ( ) : void | ||
ResetBufferClear ( ) : void |
Resets the buffer to be clear again so that it can start buffering
|
|
ResetForScene ( List |
||
Serialized ( ) : BMSByte |
Serialize the Simple Networked Monobehavior
|
|
SetSceneNetworkedId ( int id ) : void | ||
Setup ( BeardedManStudios.Network.NetWorker owningSocket, bool isOwner, ulong networkId, ulong ownerId ) : void |
Setup the Simple Networked Monobehavior stack with a NetWorker, owner, network id, and owner id
|
|
Setup ( BeardedManStudios.Network.NetWorker owningSocket, bool isOwner, ulong networkId, ulong ownerId, bool isSceneObject = false ) : void | ||
SetupObjects ( |
Setup the Simple Networked Monobehavior stack with a NetWorker
|
|
URPC ( string methodName, BeardedManStudios.Network.NetWorker socket, NetworkReceivers receivers ) : void |
Call an Unreliable RPC method on a NetWorker(Socket) with receivers and arguments
|
|
URPC ( string methodName, NetworkReceivers rpcMode ) : void |
Call an Unreliable RPC method with a receiver and arguments
|
Method | Description | |
---|---|---|
NetworkDisconnect ( ) : void | ||
NetworkStart ( ) : void |
A start method that is called after the object has been setup on the network
|
|
NonOwnerFixedUpdate ( ) : void | ||
NonOwnerUpdate ( ) : void | ||
OnApplicationQuit ( ) : void | ||
OnDestroy ( ) : void | ||
OwnerFixedUpdate ( ) : void | ||
OwnerUpdate ( ) : void | ||
Reflect ( ) : void |
Get the RPC's of the simple networked monobehavior
|
|
UnityFixedUpdate ( ) : void | ||
UnityUpdate ( ) : void |
Method | Description | |
---|---|---|
AssignNewOwner ( ulong newOwnerPlayerId ) : void | ||
AuthRPC ( string methodName, BeardedManStudios.Network.NetWorker socket, |
||
DelayedInitialize ( BeardedManStudios.Network.NetWorker socket ) : void | ||
DoOwnerFixedUpdate ( ) : void | ||
DoOwnerUpdate ( ) : void | ||
GetStreamRPC ( string methodName, NetworkReceivers receivers ) : int |
Creates a network stream for the method with the specified string name and returns the method info
|
|
ServerChangeOwner ( ulong newOwnerPlayerId ) : void | ||
ThrowNetworkerException ( ) : void |
public AuthoritativeRPC ( string methodName, BeardedManStudios.Network.NetWorker socket, |
||
methodName | string | Method(Function) name to call |
socket | BeardedManStudios.Network.NetWorker | The NetWorker(Socket) being used |
player | The NetworkingPlayer who will execute this RPC | |
runOnServer | bool | |
return | void |
public AuthoritativeURPC ( string methodName, BeardedManStudios.Network.NetWorker socket, |
||
methodName | string | Method(Function) name to call |
socket | BeardedManStudios.Network.NetWorker | The NetWorker(Socket) being used |
player | The NetworkingPlayer who will execute this RPC | |
runOnServer | bool | |
return | void |
public ChangeOwner ( ulong newOwnerPlayerId ) : void | ||
newOwnerPlayerId | ulong | |
return | void |
public Deserialize ( NetworkingStream stream ) : void | ||
stream | NetworkingStream | Stream to be deserialized |
return | void |
public GetRPC ( int id ) : |
||
id | int | |
return |
public static Initialize ( BeardedManStudios.Network.NetWorker socket ) : void | ||
socket | BeardedManStudios.Network.NetWorker | |
return | void |
public InvokeRPC ( |
||
stream | Networking Stream RPC to read from | |
return | bool |
public static Locate ( ulong id ) : |
||
id | ulong | ID of the Simple Networked Monobehavior |
return |
public static NetworkDestroy ( ulong networkId ) : bool | ||
networkId | ulong | Network ID to be destroyed |
return | bool |
public static QueueRPCForInstantiate ( ulong id, NetworkingStream stream ) : void | ||
id | ulong | |
stream | NetworkingStream | |
return | void |
public RPC ( string methodName ) : void | ||
methodName | string | Method(Function) name to call |
return | void |
public RPC ( string methodName, BeardedManStudios.Network.NetWorker socket ) : void | ||
methodName | string | Method(Function) name to call |
socket | BeardedManStudios.Network.NetWorker | The NetWorker(Socket) being used |
return | void |
public RPC ( string methodName, BeardedManStudios.Network.NetWorker socket, NetworkReceivers receivers ) : void | ||
methodName | string | Method(Function) name to call |
socket | BeardedManStudios.Network.NetWorker | The NetWorker(Socket) being used |
receivers | NetworkReceivers | Who shall receive the RPC |
return | void |
public RPC ( string methodName, NetworkReceivers rpcMode ) : void | ||
methodName | string | Method(Function) name to call |
rpcMode | NetworkReceivers | Who shall receive the RPC |
return | void |
public static ResetForScene ( List |
||
skip | List |
|
return | void |
public Setup ( BeardedManStudios.Network.NetWorker owningSocket, bool isOwner, ulong networkId, ulong ownerId ) : void | ||
owningSocket | BeardedManStudios.Network.NetWorker | The NetWorker to be setup with |
isOwner | bool | If this object is the owner |
networkId | ulong | The NetworkID for this Simple Networked Monobehavior |
ownerId | ulong | The OwnerID for this Simple Networked Monobehavior |
return | void |
public Setup ( BeardedManStudios.Network.NetWorker owningSocket, bool isOwner, ulong networkId, ulong ownerId, bool isSceneObject = false ) : void | ||
owningSocket | BeardedManStudios.Network.NetWorker | |
isOwner | bool | |
networkId | ulong | |
ownerId | ulong | |
isSceneObject | bool | |
return | void |
public static SetupObjects ( |
||
behaviors | ||
owningSocket | BeardedManStudios.Network.NetWorker | The NetWorker to be setup with |
return | void |
public URPC ( string methodName, BeardedManStudios.Network.NetWorker socket, NetworkReceivers receivers ) : void | ||
methodName | string | Method(Function) name to call |
socket | BeardedManStudios.Network.NetWorker | The NetWorker(Socket) being used |
receivers | NetworkReceivers | Who shall receive the RPC |
return | void |
public URPC ( string methodName, NetworkReceivers rpcMode ) : void | ||
methodName | string | Method(Function) name to call |
rpcMode | NetworkReceivers | Who shall receive the RPC |
return | void |
public static Dictionary |
||
return | SimpleNetworkedMonoBehavior>.Dictionary |
public static object networkedBehaviorsMutex | ||
return | object |