Events List

Server Events


Event Name / Name Construction Callback Parameters

Description

reldens.actionsPrepareEventsListeners ActionsPack
classPath
Actions Pack
reldens.beforeLoadConfigurations Obj.configManager Config Pack
reldens.afterLoadConfigurations Obj.configManager
reldens.beforeGetParsedValue Obj.configManager
Obj.config
reldens.createNewUserAfter newUser
LoginManager
Game Pack
reldens.serverBeforeListen Obj.serverManager
reldens.serverReady Obj.serverManager
reldens.serverStartBegin Obj.serverManager
reldens.serverConfigReady Obj.serverManager
Obj.configProcessor
reldens.serverConfigFeaturesReady Obj.serverManager
Obj.configProcessor
reldens.serverBeforeLoginManager Obj.serverManager
reldens.serverBeforeDefineRooms Obj.serverManager
reldens.onJoinRoomGame client
options
authResult
RoomGame
Rooms Pack
reldens.beforeSuperInitialGameData superInitialGameData
RoomGame
reldens.roomsDefinition defineExtraRooms
reldens.roomsMessageActionsGlobal globalMessageActions
reldens.roomsMessageActionsByRoom roomMessageActions
roomName
reldens.sceneRoomOnCreate RoomScene
reldens.createPlayerBefore client
authResult
RoomScene
reldens.createPlayerAfter client
authResult
currentPlayer
RoomScene
reldens.createWorld roomData
objectsManager
RoomScene
reldens.parsingMapLayerBefore layer
P2world
World Pack
reldens.parsingMapLayerAfter layer
P2world



Client Events


Event Name / Name Construction Callback Parameters

Description

reldens.playerAttack message
room
Actions Pack
reldens.loadFeatures FeaturesManager Features Pack
reldens.loadFeature_ + [featureCode] FeaturesManager.featuresList[featureCode]
FeaturesManager
reldens.updateGameSizeBefore GameEngine
newWidth
newHeight
Game Pack
reldens.updateGameSizeAfter GameEngine
newWidth
newHeight
reldens.setupClasses GameManager
customClasses
reldens.beforeJoinGame Obj.gameManager
Obj.formData
Obj.isNewUser
reldens.beforeJoinGameRoom gameRoom
reldens.beforeInitEngineAndStartGame initialGameData
GameManager
reldens.joinedRoom joinedFirstRoom
GameManager
reldens.joinedRoom_ + [initialGameData.player.state.scene] joinedFirstRoom
GameManager
reldens.afterInitEngineAndStartGame initialGameData
joinedFirstRoom
reldens.joinedRoom joinedRoom
GameManager
reldens.joinedRoom_ + [joinRoomName] joinedRoom
GameManager
reldens.joinedRoom sceneRoom
GameManager
reldens.joinedRoom_ + [message.player.state.scene] sceneRoom
GameManager
reldens.activateRoom room
GameManager
reldens.playersOnAdd player
key
previousScene
RoomEvents
reldens.playersOnRemove player
key
RoomEvents
reldens.gameOver message
RoomEvents
reldens.changedScene message
RoomEvents
reldens.beforeReconnectGameClient message
RoomEvents
reldens.playerStatsUpdateBefore message
RoomEvents
reldens.initUi message
RoomEvents
reldens.playerStatsUpdateAfter message
RoomEvents
reldens.startEngineScene RoomEvents
player
room
previousScene
reldens.createdPreloaderInstance RoomEvents
scenePreloader
reldens.createdPreloaderRecurring RoomEvents
scenePreloader
reldens.createEngineScene player
room
previousScene
RoomEvents
reldens.playersOnAddReady player
playerId
previousScene
RoomEvents
reldens.beforeSceneDynamicCreate SceneDynamic
reldens.afterSceneDynamicCreate SceneDynamic
reldens.beforePreload ScenePreloader
eventUiScene
reldens.beforePreloadUiScene ScenePreloader
reldens.preloadUiScene ScenePreloader
reldens.createPreload ScenePreloader
reldens.beforeCreateUiScene ScenePreloader
reldens.createUiScene ScenePreloader
reldens.defineUserInterface gameManager
id
template
UserInterface
reldens.createdUserInterface gameManager
id
template
UserInterface
reldens.createDynamicAnimationsBefore ObjectsPack
sceneDynamic
Objects Pack
reldens.createDynamicAnimation_ + [animProps.key] ObjectsPack
animProps
reldens.runPlayerAnimation PlayerEngine
playerId
player
Users Pack