SWMessagePlayerEventData Class

Namespace: SWNetwork.Lobby

Event Data of the OnPlayerMessageEvent

Declaration

public class SWMessagePlayerEventData

Properties

Type

Description

playerId

string

Sender playerId

targetPlayerId

string

Receiver playerId

data

string

string message data

Methods

Description

GetString()

Gets the message data in string format.

GetMessageData<T>()

Gets the deserialized message data.

Last updated