Class MessageSent
Network message that has been sent to a connected peer.
Inheritance
System.Object
MessageSent
Namespace: SuperNet.Netcode.Transport
Assembly: cs.temp.dll.dll
Syntax
public class MessageSent
Fields
Channel
Data channel this message is sent over.
Declaration
public readonly byte Channel
Field Value
Type | Description |
---|---|
System.Byte |
Listener
Listener used for this message or null if not provided.
Declaration
public readonly IMessageListener Listener
Field Value
Type | Description |
---|---|
IMessageListener |
Payload
Message payload that is used to write to internal buffers.
Declaration
public readonly IWritable Payload
Field Value
Type | Description |
---|---|
IWritable |
Sequence
Internal sequence number of the message.
Declaration
public readonly ushort Sequence
Field Value
Type | Description |
---|---|
System.UInt16 |
Timestamp
Timestamp included in the message.
Declaration
public readonly HostTimestamp Timestamp
Field Value
Type | Description |
---|---|
HostTimestamp |
Properties
Ordered
Sent message is ordered.
Declaration
public bool Ordered { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Reliable
Sent message is reliable.
Declaration
public bool Reliable { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Timed
Sent message is timed.
Declaration
public bool Timed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Unique
Sent message is unique.
Declaration
public bool Unique { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
StopResending()
Stop resending this message if reliable. May cause the message to be lost.
Declaration
public void StopResending()