ENetPacket.WString Method
Gets or sets a UT16 String value at a given offset that will be terminated with a double byte 0 character.

WString(
offset
as Integer)
as String

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