C# Class BeardedManStudios.Forge.Networking.Frame.Binary

二进制流
Inheritance: BeardedManStudios.Forge.Networking.Frame.FrameStream
Mostra file Open project: phalasz/forgesteamworksexample

Public Methods

Method Description
Binary ( )
Binary ( Array frame, int payloadStart, int groupId, NetworkingPlayer sender, byte receivers )
Binary ( ulong timestep, bool useMask, Array payload, Receivers receivers, int groupId, bool isStream, byte routerId )
Binary ( ulong timestep, bool useMask, BMSByte payload, Receivers receivers, int groupId, bool isStream, byte routerId )
Binary ( ulong timestep, bool useMask, Receivers receivers, int groupId, bool isStream, byte routerId )
Clone ( ) : object

Protected Methods

Method Description
ReadFrame ( Array frame, int payloadStart, byte receivers = 255 ) : void

Take an existing byte[] frame and map it to this data type

Method Details

Binary() public method

public Binary ( )

Binary() public method

public Binary ( Array frame, int payloadStart, int groupId, NetworkingPlayer sender, byte receivers )
frame Array
payloadStart int
groupId int
sender NetworkingPlayer
receivers byte

Binary() public method

public Binary ( ulong timestep, bool useMask, Array payload, Receivers receivers, int groupId, bool isStream, byte routerId )
timestep ulong
useMask bool
payload Array
receivers Receivers
groupId int
isStream bool
routerId byte

Binary() public method

public Binary ( ulong timestep, bool useMask, BMSByte payload, Receivers receivers, int groupId, bool isStream, byte routerId )
timestep ulong
useMask bool
payload BMSByte
receivers Receivers
groupId int
isStream bool
routerId byte

Binary() public method

public Binary ( ulong timestep, bool useMask, Receivers receivers, int groupId, bool isStream, byte routerId )
timestep ulong
useMask bool
receivers Receivers
groupId int
isStream bool
routerId byte

Clone() public method

public Clone ( ) : object
return object

ReadFrame() protected method

Take an existing byte[] frame and map it to this data type
protected ReadFrame ( Array frame, int payloadStart, byte receivers = 255 ) : void
frame Array The existing frame data
payloadStart int The index that the payload starts at in the frame byte[]
receivers byte
return void