Property | Type | Description | |
---|---|---|---|
authoritativeSyncDistance | float | ||
authoritativeSyncRotation | float | ||
authoritativeTeleportSyncDistance | float |
Property | Type | Description | |
---|---|---|---|
colliderRef | |||
rigidbodyRef |
Method | Description | |
---|---|---|
AutoritativeSerialize ( ) : void | ||
Deserialize ( NetworkingStream stream ) : void |
Only Deserialize the stream of data that is not the owner
|
|
DeserializeManualProperties ( NetworkingStream stream ) : void | ||
Disconnect ( ) : void | ||
Locate ( ulong id ) : |
Locate a NetworkedMonoBehavior with a given ID
|
|
PrepareDeserialize ( NetworkingStream stream ) : void |
Prepare this to be Deserialized if it is not the owner
|
|
ProximityInCheck ( |
||
ProximityOutCheck ( |
||
SerializeManualProperties ( bool reliable = false, NetworkReceivers receivers = NetworkReceivers.All ) : void |
Used to serialize manual properties across the network for this object
|
|
Serialized ( ) : BMSByte |
Get the serialzed version of this NetworkedMonoBehavior
|
|
Setup ( BeardedManStudios.Network.NetWorker owningSocket, bool isOwner, ulong networkId, ulong ownerId, bool isSceneObject = false ) : void |
Setup this NetworkedMonoBehavior with the owner of this object along with the networked ID
|
Method | Description | |
---|---|---|
AddNetworkVariable ( Func |
Add a network variable to the NetworkedMonoBehavior to use
|
|
InputCheck ( KeyCode keyCode ) : void | ||
MouseCheck ( int index ) : void | ||
NetworkDisconnect ( ) : void | ||
NetworkInitialized ( ) : void |
Called when the data has been initialized across the network for this object (purpose is to override)
|
|
NetworkStart ( ) : void | ||
Reflect ( ) : void | ||
UnityUpdate ( ) : void |
Method | Description | |
---|---|---|
AuthoritativeInitialize ( BMSByte data ) : void | ||
DoSerialize ( ) : void | ||
EnteredProximity ( ) : void | ||
ExitedProximity ( ) : void | ||
GetNextSerializedTransform ( SerializeVector3Properties type, NetworkingStream stream, Vector3 standard ) : Vector3 | ||
InitializeObject ( ) : void | ||
KeyDownRequest ( int keyCode, int frame ) : void | ||
KeyUpRequest ( int keyCode, int frame ) : void | ||
MouseDownRequest ( int index, int frame ) : void | ||
MouseUpRequest ( int index, int frame ) : void | ||
OwnedUpdate ( ) : void | ||
PrepareNextSerializedTransform ( SerializeVector3Properties type, Vector3 value ) : void | ||
SetupPreviousTransform ( ) : void | ||
TrackFrameHistory ( ) : void | ||
UpdateRemoteNetRef ( NetRef |
||
UpdateValues ( ) : void |
protected AddNetworkVariable ( Func |
||
getter | Func |
Variable to get |
setter | Action |
Variable to set |
netSync | NetSync | |
manualProperty | bool | |
serverOnly | bool | |
return | void |
public Deserialize ( NetworkingStream stream ) : void | ||
stream | NetworkingStream | Stream of data to use |
return | void |
public DeserializeManualProperties ( NetworkingStream stream ) : void | ||
stream | NetworkingStream | |
return | void |
protected InputCheck ( KeyCode keyCode ) : void | ||
keyCode | KeyCode | |
return | void |
public static Locate ( ulong id ) : |
||
id | ulong | ID of the NetworkedMonoBehavior |
return |
public PrepareDeserialize ( NetworkingStream stream ) : void | ||
stream | NetworkingStream | Stream of data to use |
return | void |
public ProximityInCheck ( |
||
other | ||
return | void |
public ProximityOutCheck ( |
||
other | ||
return | void |
public SerializeManualProperties ( bool reliable = false, NetworkReceivers receivers = NetworkReceivers.All ) : void | ||
reliable | bool | Determines if these properties should be reliably sent |
receivers | NetworkReceivers | The receivers for this data |
return | void |
public Setup ( BeardedManStudios.Network.NetWorker owningSocket, bool isOwner, ulong networkId, ulong ownerId, bool isSceneObject = false ) : void | ||
owningSocket | BeardedManStudios.Network.NetWorker | The socket that owns this object |
isOwner | bool | Is this the owner of this object |
networkId | ulong | Network ID of who owns it |
ownerId | ulong | The network identifyer for the player who owns this object |
isSceneObject | bool | |
return | void |
public float authoritativeTeleportSyncDistance | ||
return | float |
protected Collider,UnityEngine colliderRef | ||
return |