SWJoinRoomEventData Class

Event Data of the OnNewPlayerJoinRoomEvent

Declaration

public class SWJoinRoomEventData

Properties

Type

Description

roomId

string

RoomId

newPlayerId

string

New playerId

data

string

string player custom data

Methods

Description

GetString()

Gets the new player custom data in string format.

GetMessageData<T>()

Gets the deserialized new player custom data

Last updated