Struct BufferedPacket
A buffered packet.
Namespace: FNNLib.Messaging
Assembly: FNNLib.dll
Syntax
public struct BufferedPacket
Constructors
| Improve this Doc View SourceBufferedPacket(ISerializable, UInt64, NetworkChannel)
Declaration
public BufferedPacket(ISerializable packet, ulong sender, NetworkChannel channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ISerializable | packet | |
| UInt64 | sender | |
| NetworkChannel | channel |
Fields
| Improve this Doc View Sourcechannel
The channel the packet was received on, and should be handled by.
Declaration
public NetworkChannel channel
Field Value
| Type | Description |
|---|---|
| NetworkChannel |
packet
The packet itself.
Declaration
public ISerializable packet
Field Value
| Type | Description |
|---|---|
| ISerializable |
receiveTime
The time the packet was received.
Declaration
public float receiveTime
Field Value
| Type | Description |
|---|---|
| Single |
sender
The packet sender.
Declaration
public ulong sender
Field Value
| Type | Description |
|---|---|
| UInt64 |