Class ArrayBatch
Inherited Members
Show
Mirage.SocketLayer.Batch.MESSAGE_LENGTH_SIZE
Mirage.SocketLayer.Batch.Flush()
Syntax
public class ArrayBatch : Batch
Constructors
ArrayBatch(Int32, Action<Byte[], Int32>, PacketType)
Declaration
public ArrayBatch(int maxPacketSize, Action<byte[], int> send, PacketType reliable)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxPacketSize | |
System.Action<System.Byte[], System.Int32> | send | |
Mirage.SocketLayer.PacketType | reliable |
Properties
Created
Declaration
protected override bool Created { get; }
Methods
GetBatch()
Declaration
protected override byte[] GetBatch()
Returns
Type | Description |
---|---|
System.Byte[] |
GetBatchLength()
Declaration
protected override int GetBatchLength()
Returns
Type | Description |
---|---|
System.Int32 |
CreateNewBatch()
Declaration
protected override void CreateNewBatch()
SendAndReset()
Declaration
protected override void SendAndReset()