ENet Xojo plugin

ENetPacket.Int8Value Method

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

Int8Value(
   offset as Integer) as Int8

Int8Value(
   offset as Integer
   assigns value as Int8)

Parameters

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

Returns

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

Remarks

See Also

ENetPacket Class