ENet Xojo plugin

ENetPacket.SingleValue Method

Gets or sets a Single value at a given offset in the packet. (4 bytes)

SingleValue(
   offset as Integer) as Single

SingleValue(
   offset as Integer
   assigns value as Single)

Parameters

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

Returns

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

Remarks

See Also

ENetPacket Class