Class RigidbodyStateSerializers
Inheritance
System.Object
RigidbodyStateSerializers
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FishNet.Component.Prediction
Assembly: FishNet.Runtime.dll
Syntax
[Preserve]
public static class RigidbodyStateSerializers
Methods
ReadRigidbody2DState(Reader)
Declaration
public static Rigidbody2DState ReadRigidbody2DState(this Reader reader)
Parameters
Type | Name | Description |
---|---|---|
Reader | reader |
Returns
Type | Description |
---|---|
Rigidbody2DState |
ReadRigidbodyState(Reader)
Declaration
public static RigidbodyState ReadRigidbodyState(this Reader reader)
Parameters
Type | Name | Description |
---|---|---|
Reader | reader |
Returns
Type | Description |
---|---|
RigidbodyState |
WriteRigidbody2DState(Writer, Rigidbody2DState)
Declaration
public static void WriteRigidbody2DState(this Writer writer, Rigidbody2DState value)
Parameters
Type | Name | Description |
---|---|---|
Writer | writer | |
Rigidbody2DState | value |
WriteRigidbodyState(Writer, RigidbodyState)
Declaration
public static void WriteRigidbodyState(this Writer writer, RigidbodyState value)
Parameters
Type | Name | Description |
---|---|---|
Writer | writer | |
RigidbodyState | value |