GodotMattohaLobbySystem 0.2.4
|
Public Member Functions | |
virtual Dictionary< string, Variant > | BeforeSetPlayerData (Dictionary< string, Variant > payload, long sender) |
Executed before setting player data. | |
virtual void | AfterSetPlayerData (Dictionary< string, Variant > payload, long sender) |
Executed after setting player data. | |
virtual Dictionary< string, Variant > | BeforeCreateLobby (Dictionary< string, Variant > lobbyData, long sender) |
Executed before creating a lobby. | |
virtual void | AfterCreateLobby (Dictionary< string, Variant > lobbyData, long sender) |
Executed after creating a lobby. | |
virtual Dictionary< string, Variant > | BeforeSetLobbyData (int lobbyId, Dictionary< string, Variant > payload, long sender) |
Executed before setting lobby data. | |
virtual void | AfterSetLobbyData (int lobbyId, Dictionary< string, Variant > payload, long sender) |
Executed after setting lobby data. | |
virtual Dictionary< string, Variant > | BeforeSetLobbyOwner (Dictionary< string, Variant > lobby, long sender) |
Executed before setting the lobby owner. | |
virtual void | AfterSetLobbyOwner (Dictionary< string, Variant > lobby, long sender) |
Executed after setting the lobby owner. | |
virtual Dictionary< string, Variant > | BeforeLoadAvailableLobbies (long sender, Array< Dictionary< string, Variant > > lobbies) |
Executed before loading available lobbies. | |
virtual void | AfterLoadAvailableLobbies (long sender, Array< Dictionary< string, Variant > > lobbies) |
Executed after loading available lobbies. | |
virtual Dictionary< string, Variant > | BeforeJoinLobby (Dictionary< string, Variant > lobby, long sender) |
Executed before joining a lobby. | |
virtual void | AfterJoinLobby (Dictionary< string, Variant > lobby, long sender) |
Executed after joining a lobby. | |
virtual Dictionary< string, Variant > | BeforeStartGame (Dictionary< string, Variant > lobby, long sender) |
Executed before starting a game. | |
virtual void | AfterStartGame (Dictionary< string, Variant > lobby, long sender) |
Executed after starting a game. | |
virtual Dictionary< string, Variant > | BeforeEndGame (Dictionary< string, Variant > lobby, long sender) |
Executed Before ending the game. | |
virtual void | AfterEndGame (Dictionary< string, Variant > lobby, long sender) |
Executed after ending a game. | |
virtual Dictionary< string, Variant > | BeforeLoadLobbyPlayers (long sender) |
Executed before loading lobby players. | |
virtual void | AfterLoadLobbyPlayers (long sender) |
virtual Dictionary< string, Variant > | BeforeSpawnNode (Dictionary< string, Variant > lobby, long sender) |
virtual void | AfterSpawnNode (Dictionary< string, Variant > lobby, long sender) |
Executed after loading lobby players. | |
virtual Dictionary< string, Variant > | BeforeSpawnLobbyNodes (Dictionary< string, Variant > lobby, long sender) |
Executed before spawning a node. | |
virtual void | AfterSpawnLobbyNodes (Dictionary< string, Variant > lobby, long sender) |
Executed after spawning a node. | |
virtual Dictionary< string, Variant > | BeforeDespawnNode (Dictionary< string, Variant > lobby, long sender) |
Executed before spawning lobby nodes. | |
virtual void | AfterDespawnNode (Dictionary< string, Variant > lobby, long sender) |
Executed after spawning lobby nodes. | |
virtual Dictionary< string, Variant > | BeforeDespawnRemovedSceneNodes (int lobbyId, long sender) |
Executed before despawning removed scene nodes. | |
virtual void | AfterDespawnRemovedSceneNodes (int lobbyId, long sender) |
Executed after despawning removed scene nodes. | |
virtual Dictionary< string, Variant > | BeforeJoinTeam (long sender, Variant teamId) |
Executed before joining a team. | |
virtual void | AfterJoinTeam (long sender, Variant teamId) |
Executed after joining a team. | |
virtual Dictionary< string, Variant > | BeforeSendGlobalMessage (long sender, string message) |
Executed before sending a global message. | |
virtual void | AfterSendGlobalMessage (long sender, string message) |
Executed after sending a global message. | |
virtual Dictionary< string, Variant > | BeforeSendLobbyMessage (Dictionary< string, Variant > lobby, long sender, string message) |
Executed before sending a lobby message. | |
virtual void | AfterSendLobbyMessage (Dictionary< string, Variant > lobby, long sender, string message) |
Executed after sending a lobby message. | |
virtual Dictionary< string, Variant > | BeforeSendTeamMessage (Dictionary< string, Variant > lobby, int teamId, long sender, string message) |
Executed before sending a team message. | |
virtual void | AfterSendTeamMessage (Dictionary< string, Variant > lobby, int teamId, long sender, string message) |
Executed after sending a team message. | |
virtual void | BeforeRemovePlayerFromLobby (long playerId) |
Executed before removing a player from a lobby. | |
virtual void | AfterRemovePlayerFromLobby (long playerId) |
Executed after removing a player from a lobby. | |
virtual void | BeforeRegisterPlayer (long id) |
Executed before registering a player. | |
virtual void | AfterRegisterPlayer (long id) |
Executed after registering a player. | |
virtual void | BeforeUnRegisterPlayer (long id) |
Executed before unregistering a player. | |
virtual void | AfterUnRegisterPlayer (long id) |
Executed after unregistering a player. | |
|
virtual |
Executed after creating a lobby.
lobbyData | The data of the created lobby. |
sender | The ID of the sender who created the lobby. |
|
virtual |
Executed after spawning lobby nodes.
lobby | The data of the lobby where nodes were spawned. |
sender | The ID of the sender who requested the nodes spawn. |
|
virtual |
Executed after despawning removed scene nodes.
lobbyId | The ID of the lobby where the nodes were despawned. |
sender | The ID of the sender who requested the nodes despawn. |
|
virtual |
Executed after ending a game.
lobby | The data of the lobby where the game has ended. |
sender | The ID of the sender who ended the game. |
|
virtual |
Executed after joining a lobby.
lobby | The data of the joined lobby. |
sender | The ID of the sender who joined the lobby. |
|
virtual |
Executed after joining a team.
sender | The ID of the sender who joined the team. |
teamId | The ID of the team that was joined. |
|
virtual |
Executed after loading available lobbies.
sender | The ID of the sender who requested available lobbies. |
lobbies | lobbies array. |
|
virtual |
Executed after registering a player.
id | The ID of the player who was registered. |
|
virtual |
Executed after removing a player from a lobby.
playerId | The ID of the player who was removed. |
|
virtual |
Executed after sending a global message.
sender | The ID of the sender who sent the message. |
message | The message that was sent. |
|
virtual |
Executed after sending a lobby message.
lobby | The data of the lobby where the message was sent. |
sender | The ID of the sender who sent the message. |
message | The message that was sent. |
|
virtual |
Executed after sending a team message.
lobby | The data of the lobby where the message was sent. |
teamId | The ID of the team that received the message. |
sender | The ID of the sender who sent the message. |
message | The message that was sent. |
|
virtual |
Executed after setting lobby data.
lobbyId | The ID of the lobby. |
payload | The payload containing the updated data. |
sender | The ID of the sender who set the data. |
|
virtual |
Executed after setting the lobby owner.
lobby | The data of the lobby with the new owner set. |
sender | The ID of the sender who set the owner. |
|
virtual |
Executed after setting player data.
payload | the final payload. |
sender | sender id |
|
virtual |
Executed after spawning a node.
lobby | The data of the lobby where the node was spawned. |
sender | The ID of the sender who requested the node spawn. |
|
virtual |
Executed after loading lobby players.
sender | The ID of the sender who requested lobby players. |
|
virtual |
Executed after starting a game.
lobby | The data of the lobby where the game has started. |
sender | The ID of the sender who started the game. |
|
virtual |
Executed after unregistering a player.
id | The ID of the player who was unregistered. |
|
virtual |
Executed before creating a lobby.
lobbyData | The data for the lobby to be created. |
sender | The ID of the sender creating the lobby. |
|
virtual |
Executed before spawning lobby nodes.
lobby | The data of the lobby where nodes will be spawned. |
sender | The ID of the sender requesting the nodes spawn. |
|
virtual |
Executed before despawning removed scene nodes.
lobbyId | The ID of the lobby where the nodes will be despawned. |
sender | The ID of the sender requesting the nodes despawn. |
|
virtual |
Executed Before ending the game.
lobby | The data of the lobby where the game will be ended. |
sender | The ID of the sender ending the game. |
|
virtual |
Executed before joining a lobby.
lobby | The data of the lobby to join. |
sender | The ID of the sender joining the lobby. |
|
virtual |
Executed before joining a team.
sender | The ID of the sender requesting to join a team. |
teamId | The ID of the team to join. |
|
virtual |
Executed before loading available lobbies.
sender | The ID of the sender requesting available lobbies. |
lobbies | lobbies array. |
|
virtual |
Executed before loading lobby players.
sender | The ID of the sender requesting lobby players. |
|
virtual |
Executed before registering a player.
id | The ID of the player being registered. |
|
virtual |
Executed before removing a player from a lobby.
playerId | The ID of the player being removed. |
|
virtual |
Executed before sending a global message.
sender | The ID of the sender sending the message. |
message | The message to be sent. |
|
virtual |
Executed before sending a lobby message.
lobby | The data of the lobby where the message will be sent. |
sender | The ID of the sender sending the message. |
message | The message to be sent. |
|
virtual |
Executed before sending a team message.
lobby | The data of the lobby where the message will be sent. |
teamId | The ID of the team receiving the message. |
sender | The ID of the sender sending the message. |
message | The message to be sent. |
|
virtual |
Executed before setting lobby data.
lobbyId | The ID of the lobby. |
payload | The payload containing keys and values to be set. |
sender | The ID of the sender setting the data. |
|
virtual |
Executed before setting the lobby owner.
lobby | The data of the lobby where the owner is being set. |
sender | The ID of the sender setting the owner. |
|
virtual |
Executed before setting player data.
payload | payload that contains keys and values |
sender | the sender id, who want to change his data. |
|
virtual |
Executed before spawning a node.
lobby | The data of the lobby where the node will be spawned. |
sender | The ID of the sender requesting the node spawn. |
|
virtual |
|
virtual |
Executed before starting a game.
lobby | The data of the lobby where the game will be started. |
sender | The ID of the sender starting the game. |
|
virtual |
Executed before unregistering a player.
id | The ID of the player being unregistered. |