Represents an envelope for sending network packets in the Fusion.Sockets namespace.
More...
Represents an envelope for sending network packets in the Fusion.Sockets namespace.
◆ TakeUserData< T >()
Takes the user data associated with the envelope and sets the UserData to null.
- Template Parameters
-
T | The type of the user data. |
- Returns
- The user data cast to the specified type.
- Exceptions
-
AssertException | Thrown if UserData is null. |
◆ SendTime
Gets or sets the time the packet was sent.
◆ Sequence
Gets or sets the sequence number of the packet.
◆ UserData
Gets or sets the user data associated with the envelope.