Client Character
Last updated
Was this helpful?
Last updated
Was this helpful?
listenSelectedCharacter(callback, on_destroy_callback)
callback
(function) - The callback function that will be called when a character is selected.
char_id
(number) - The character id of the selected character.
on_destroy_callback
(function, optional) - The callback function that will be called when the listener is destroyed.
event_handler_api
() - The event handler api instance.
If the callback returns false
the listener will not be destroyed.
Returns an instance. The listener is initially active.
resetAllSelectedCharacterListener()
Resets only all "on selected character" event handler of the given resource name.
resetApi()
Resets the whole character api for the given resource name.
Returns the current used instance.
Returns the current used instance.