• Home
  • Tutorials
  • API Documentation
  • Asset Store
Show / Hide Table of Contents
  • SuperNet.Netcode.Compress
    • CompressorDeflate
    • CompressorLZF
    • ICompressor
  • SuperNet.Netcode.Crypto
    • CryptoAES
    • CryptoECDH
    • CryptoRandom
    • CryptoRSA
    • Curve25519
    • ICryptoAuthenticator
    • ICryptoEncryptor
    • ICryptoExchanger
    • ICryptoRandom
  • SuperNet.Netcode.Transport
    • ConnectionRequest
    • DisconnectReason
    • Host
    • HostConfig
    • HostEvents
    • HostStatistics
    • HostTimespan
    • HostTimestamp
    • IHostListener
    • IMessage
    • IMessageListener
    • IPeerListener
    • MessageEvents
    • MessageReceived
    • MessageSent
    • Peer
    • PeerConfig
    • PeerEvents
    • PeerStatistics
  • SuperNet.Netcode.Util
    • Allocator
    • ArrayPool<T>
    • CRC32
    • IPComparer
    • IPResolver
    • IWritable
    • ObjectPool<T>
    • Reader
    • Serializer
    • Writer
  • SuperNet.Unity.Components
    • INetworkAuthoritative
    • INetworkRegisterable
    • INetworkRollbackable
    • NetworkAnimation
    • NetworkAnimator
    • NetworkAuthority
    • NetworkPrefab
    • NetworkRegistrar
    • NetworkSpawner
    • NetworkSyncModeMethod
    • NetworkSyncModeVector2
    • NetworkSyncModeVector3
    • NetworkTransform
  • SuperNet.Unity.Core
    • NetworkComponent
    • NetworkHost
    • NetworkIdentity
    • NetworkIdentityExtensions
    • NetworkManager
  • SuperNet.Unity.Editor
    • NetworkAuthorityEditor
    • NetworkHostEditor
    • NetworkHostEditor.BandwithUnit
    • NetworkIdentityDrawer
    • NetworkManagerEditor
    • NetworkPrefabEditor
    • NetworkSpawnerEditor

Interface IMessage

Implements a message that can be sent by the netcode to a connected peer.

Namespace: SuperNet.Netcode.Transport
Assembly: cs.temp.dll.dll
Syntax
public interface IMessage : IWritable

Properties

Channel

Which data channel to send the message on.

Declaration
byte Channel { get; }
Property Value
Type Description
System.Byte

Ordered

Message must be delivered in order within the channel.

Any unreliable messages that arrive out of order are dropped.

Any reliable messages that arrive out of order are reordered automatically.

Declaration
bool Ordered { get; }
Property Value
Type Description
System.Boolean

Reliable

Message requires an acknowledgment and needs to be resent until acknowledged.

This makes sure the message will never be lost.

Declaration
bool Reliable { get; }
Property Value
Type Description
System.Boolean

Timed

Message includes a timestamp of the moment of creation.

If false, received timestamp might be innacurate due to message delays.

Declaration
bool Timed { get; }
Property Value
Type Description
System.Boolean

Timestamp

Timestamp of this message.

If message is not timed, this is ignored.

Declaration
HostTimestamp Timestamp { get; }
Property Value
Type Description
HostTimestamp

Unique

Message is guaranteed not to be duplicated.

Declaration
bool Unique { get; }
Property Value
Type Description
System.Boolean
Back to top Generated by DocFX