Skip to content

Mason Miscellaneous Events

Client to server


login

Description: Sets the account key for your session.
Parameters:

NAMETYPE
userKeystring

logout

Description: Clears the account key for your session.

refresh

Description: Makes the server re-send all the initialization messages. (clansData, friendsData, friendRequests)

setPlatform

Description: Sets your platform. Before client and mobile lobbies were fused, this was what the matchmaking system used to determing your platform.
Parameters:

NAMETYPE
platformstring

setVersion

Description: Sets your game version.
Parameters:

NAMETYPE
versionstring

setName

Description: Sets your nickname which will be used in-game.
Parameters:

NAMETYPE
namestring

setStatus

Description: Sets your status. If you set it to ingame or offline, your friends won’t be able to send you party invites through the Friends tab.
Parameters:

NAMETYPEOPTIONS
statusstringonline, ingame, offline

setIsInRound

Description: Sets your in-game status.
Parameters:

NAMETYPE
inRoundboolean

Server to client


loggedIn

Description: Is sent once your login message is processed.
Parameters:

NAMETYPE
userData{ userData: ApiUser }