C# Класс BeardedManStudios.Forge.Networking.Frame.Binary

二进制流
Наследование: BeardedManStudios.Forge.Networking.Frame.FrameStream
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
ReadFrame ( Array frame, int payloadStart, byte receivers = 255 ) : void

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

Описание методов

Binary() публичный Метод

public Binary ( )

Binary() публичный Метод

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

Binary() публичный Метод

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 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 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 Clone ( ) : object
Результат object

ReadFrame() защищенный Метод

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
Результат void