ENet Xojo plugin

ENetPacket.Int16Value Method

Gets or sets a Int16 value at a given offset in the packet.

Int16Value(
   offset as Integer) as Int16

Int16Value(
   offset as Integer
   assigns value as Int16)

Parameters

offset
Offset is in bytes from the beginning of the ENetPacket.
value (assignment parameter)
The value to be set

Returns

Int16
The value at the given offset or 0 if the ENetPacket is dead because it has already been sent.

Remarks

See Also

ENetPacket Class