◆ GamePlayEvent() [6/6]

EdgeMultiplay.GamePlayEvent.GamePlayEvent ( string  roomId,
string  playerId,
string  eventName,
string[]  stringData,
int[]  integerData,
float[]  floatData,
bool[]  booleanData 
)

GamePlayEvent Constructor

Parameters
roomIdUnique room id assigned on room creation, the id is generated using uuid() module on the server
playerIdUnique ID assigned to player once the connection is established with the server, assigned on RegisterEvent
eventNamethe GamePlayEvent event name, use event names as a way to differentiate between your GamePlayEvents
stringDataAn Array of strings as part of the custom data in the GamePlayEvent
integerDataAn Array of integers as part of the custom data in the GamePlayEvent
floatDataAn Array of floating numbers as part of the custom data in the GamePlayEvent
booleanDataAn Array of boolean values as part of the custom data in the GamePlayEvent