Lua API
On this page

Communication_TurbineChat_S2C

Inherits from

Send or receive a message using Turbine Chat.

Fields:

DisplayName string

the name of the player sending the message

ExtraDataSize number

the number of bytes that follow after this DWORD

MessageSize number

the number of bytes that follow after this DWORD

ObjectId number

the object ID of the player sending the message

PayloadSize number

the number of bytes that follow after this DWORD

RoomId number

the channel number of the message

Text string

the message text

Type TurbineChatType

the type of data contained in this message

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string