Interface INetworkSerializable
This interface defines a network-serializable object.
Namespace: Evergine.Networking
Assembly: Evergine.Networking.dll
Syntax
public interface INetworkSerializable
Methods
Read(NetBuffer)
Reads this instance's fields from a network buffer.
Declaration
void Read(NetBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
NetBuffer | buffer | The network buffer. |
Write(NetBuffer)
Writes the fields of this instance to a network buffer.
Declaration
void Write(NetBuffer buffer)
Parameters
Type | Name | Description |
---|---|---|
NetBuffer | buffer | The network buffer. |