Свойство | Тип | Описание | |
---|---|---|---|
authoritativeSyncDistance | float | ||
authoritativeSyncRotation | float | ||
authoritativeTeleportSyncDistance | float |
Свойство | Тип | Описание | |
---|---|---|---|
colliderRef | |||
rigidbodyRef |
Метод | Описание | |
---|---|---|
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
|
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public Deserialize ( NetworkingStream stream ) : void | ||
stream | NetworkingStream | Stream of data to use |
Результат | void |
public DeserializeManualProperties ( NetworkingStream stream ) : void | ||
stream | NetworkingStream | |
Результат | void |
protected InputCheck ( KeyCode keyCode ) : void | ||
keyCode | KeyCode | |
Результат | void |
public static Locate ( ulong id ) : |
||
id | ulong | ID of the NetworkedMonoBehavior |
Результат |
public PrepareDeserialize ( NetworkingStream stream ) : void | ||
stream | NetworkingStream | Stream of data to use |
Результат | void |
public ProximityInCheck ( |
||
other | ||
Результат | void |
public ProximityOutCheck ( |
||
other | ||
Результат | 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 |
Результат | 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 | |
Результат | void |
public float authoritativeTeleportSyncDistance | ||
Результат | float |
protected Collider,UnityEngine colliderRef | ||
Результат |