ENetPacket.UInt16Value Method
Gets or sets a UInt16 value at a given offset in the packet.

UInt16Value(
offset
as Integer)
as UInt16

UInt16Value(
offset
as Integer
assigns value
as UInt16)
Parameters
- offset
- Offset is in bytes from the beginning of the ENetPacket.
- value (assignment parameter)
- The value to be set
Returns
- UInt16
- The value at the given offset or 0 if the ENetPacket is dead because it has already been sent.
Remarks
See Also
ENetPacket Class