C# Class UnityEngine.Networking.NetworkTransform

Inheritance: NetworkBehaviour
Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Méthode Description
GetNetworkChannel ( ) : int
GetNetworkSendInterval ( ) : float
HandleTransform ( NetworkMessage netMsg ) : void
OnDeserialize ( NetworkReader reader, bool initialState ) : void
OnSerialize ( NetworkWriter writer, bool initialState ) : bool
OnStartAuthority ( ) : void
OnStartServer ( ) : void
SerializeRotation2D ( NetworkWriter writer, float rot, CompressionSyncMode compression ) : void
SerializeRotation3D ( NetworkWriter writer, Quaternion rot, AxisSyncMode mode, CompressionSyncMode compression ) : void
SerializeSpin2D ( NetworkWriter writer, float angularVelocity, CompressionSyncMode compression ) : void
SerializeSpin3D ( NetworkWriter writer, Vector3 angularVelocity, AxisSyncMode mode, CompressionSyncMode compression ) : void
SerializeVelocity2D ( NetworkWriter writer, Vector2 velocity, CompressionSyncMode compression ) : void
SerializeVelocity3D ( NetworkWriter writer, Vector3 velocity, CompressionSyncMode compression ) : void
UnserializeRotation2D ( NetworkReader reader, CompressionSyncMode compression ) : float
UnserializeRotation3D ( NetworkReader reader, AxisSyncMode mode, CompressionSyncMode compression ) : Quaternion
UnserializeSpin2D ( NetworkReader reader, CompressionSyncMode compression ) : float
UnserializeSpin3D ( NetworkReader reader, AxisSyncMode mode, CompressionSyncMode compression ) : Vector3
UnserializeVelocity2D ( NetworkReader reader, CompressionSyncMode compression ) : Vector3
UnserializeVelocity3D ( NetworkReader reader, CompressionSyncMode compression ) : Vector3

Private Methods

Méthode Description
Awake ( ) : void
FixedUpdate ( ) : void
FixedUpdateClient ( ) : void
FixedUpdateServer ( ) : void
HasMoved ( ) : bool
InterpolateTransformMode2D ( ) : void
InterpolateTransformMode3D ( ) : void
InterpolateTransformModeCharacterController ( ) : void
OnValidate ( ) : void
ReadAngle ( NetworkReader reader, CompressionSyncMode compression ) : float
SendTransform ( ) : void
SerializeMode2D ( NetworkWriter writer ) : void
SerializeMode3D ( NetworkWriter writer ) : void
SerializeModeCharacterController ( NetworkWriter writer ) : void
SerializeModeTransform ( NetworkWriter writer ) : void
UnserializeMode2D ( NetworkReader reader, bool initialState ) : void
UnserializeMode3D ( NetworkReader reader, bool initialState ) : void
UnserializeModeCharacterController ( NetworkReader reader, bool initialState ) : void
UnserializeModeTransform ( NetworkReader reader, bool initialState ) : void
Update ( ) : void
WriteAngle ( NetworkWriter writer, float angle, CompressionSyncMode compression ) : void

Method Details

GetNetworkChannel() public méthode

public GetNetworkChannel ( ) : int
Résultat int

GetNetworkSendInterval() public méthode

public GetNetworkSendInterval ( ) : float
Résultat float

HandleTransform() public static méthode

public static HandleTransform ( NetworkMessage netMsg ) : void
netMsg NetworkMessage
Résultat void

OnDeserialize() public méthode

public OnDeserialize ( NetworkReader reader, bool initialState ) : void
reader NetworkReader
initialState bool
Résultat void

OnSerialize() public méthode

public OnSerialize ( NetworkWriter writer, bool initialState ) : bool
writer NetworkWriter
initialState bool
Résultat bool

OnStartAuthority() public méthode

public OnStartAuthority ( ) : void
Résultat void

OnStartServer() public méthode

public OnStartServer ( ) : void
Résultat void

SerializeRotation2D() public static méthode

public static SerializeRotation2D ( NetworkWriter writer, float rot, CompressionSyncMode compression ) : void
writer NetworkWriter
rot float
compression CompressionSyncMode
Résultat void

SerializeRotation3D() public static méthode

public static SerializeRotation3D ( NetworkWriter writer, Quaternion rot, AxisSyncMode mode, CompressionSyncMode compression ) : void
writer NetworkWriter
rot UnityEngine.Quaternion
mode AxisSyncMode
compression CompressionSyncMode
Résultat void

SerializeSpin2D() public static méthode

public static SerializeSpin2D ( NetworkWriter writer, float angularVelocity, CompressionSyncMode compression ) : void
writer NetworkWriter
angularVelocity float
compression CompressionSyncMode
Résultat void

SerializeSpin3D() public static méthode

public static SerializeSpin3D ( NetworkWriter writer, Vector3 angularVelocity, AxisSyncMode mode, CompressionSyncMode compression ) : void
writer NetworkWriter
angularVelocity Vector3
mode AxisSyncMode
compression CompressionSyncMode
Résultat void

SerializeVelocity2D() public static méthode

public static SerializeVelocity2D ( NetworkWriter writer, Vector2 velocity, CompressionSyncMode compression ) : void
writer NetworkWriter
velocity Vector2
compression CompressionSyncMode
Résultat void

SerializeVelocity3D() public static méthode

public static SerializeVelocity3D ( NetworkWriter writer, Vector3 velocity, CompressionSyncMode compression ) : void
writer NetworkWriter
velocity Vector3
compression CompressionSyncMode
Résultat void

UnserializeRotation2D() public static méthode

public static UnserializeRotation2D ( NetworkReader reader, CompressionSyncMode compression ) : float
reader NetworkReader
compression CompressionSyncMode
Résultat float

UnserializeRotation3D() public static méthode

public static UnserializeRotation3D ( NetworkReader reader, AxisSyncMode mode, CompressionSyncMode compression ) : Quaternion
reader NetworkReader
mode AxisSyncMode
compression CompressionSyncMode
Résultat UnityEngine.Quaternion

UnserializeSpin2D() public static méthode

public static UnserializeSpin2D ( NetworkReader reader, CompressionSyncMode compression ) : float
reader NetworkReader
compression CompressionSyncMode
Résultat float

UnserializeSpin3D() public static méthode

public static UnserializeSpin3D ( NetworkReader reader, AxisSyncMode mode, CompressionSyncMode compression ) : Vector3
reader NetworkReader
mode AxisSyncMode
compression CompressionSyncMode
Résultat Vector3

UnserializeVelocity2D() public static méthode

public static UnserializeVelocity2D ( NetworkReader reader, CompressionSyncMode compression ) : Vector3
reader NetworkReader
compression CompressionSyncMode
Résultat Vector3

UnserializeVelocity3D() public static méthode

public static UnserializeVelocity3D ( NetworkReader reader, CompressionSyncMode compression ) : Vector3
reader NetworkReader
compression CompressionSyncMode
Résultat Vector3