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

二进制流
Inheritance: BeardedManStudios.Forge.Networking.Frame.FrameStream
Afficher le fichier Open project: phalasz/forgesteamworksexample

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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 méthode

public Binary ( )

Binary() public méthode

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

Binary() public méthode

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 méthode

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 méthode

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 méthode

public Clone ( ) : object
Résultat object

ReadFrame() protected méthode

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
Résultat void