namespace Unity.Netcode { /// /// Metadata passed into the Receive handler for . /// internal ref struct NetworkContext { /// /// An opaque object used to represent the owner of the MessagingSystem that's receiving the message. /// Outside of testing environments, the type of this variable will be /// public object SystemOwner; /// /// The originator of the message /// public ulong SenderId; /// /// The timestamp at which the message was received /// public float Timestamp; /// /// The header data that was sent with the message /// public MessageHeader Header; /// /// The actual serialized size of the header when packed into the buffer /// public int SerializedHeaderSize; /// /// The size of the message in the buffer, header excluded /// public uint MessageSize; } }