ENet Xojo plugin

ENetPacket.Int32Value Method

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

Int32Value(
   offset as Integer) as Int32

Int32Value(
   offset as Integer
   assigns value as Int32)

Parameters

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

Returns

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

Remarks

See Also

ENetPacket Class