Private
adminPrivate
adminProtected
buttonProtected
buttonPrivate
Readonly
buttonProtected
buttonProtected
cancelPrivate
configProtected
cursorProtected
editingProtected
errorProtected
formProtected
inputProtected
inputsProtected
modalProtected
modalProtected
modeProtected
submitPrivate
tempProtected
titleProtected
tweenProtected
addAdds a hover effect to a game object which changes the cursor to a pointer
and tints it slighly
the game object to add hover events/effects to
Private
adminPrivate
adminPrivate
areOptional
service: stringPrivate
convertTo be implemented by individual handlers when necessary to free memory Called when BattleScene is reset
Optional
config: ModalConfigGet configuration for all fields that should be part of the modal
Gets used by updateFields
to add the proper text inputs and labels to the view
array of InputFieldConfig
Private
populatePrivate
populateThis is used to update the fields' text when loading in a new admin ui handler. It uses the adminResult
to update the input text based on the adminMode
. For a linking adminMode, it sets the username and discord.
For a search adminMode, it sets the username. For an admin adminMode, it sets all the info from adminResult in the
appropriate text boxes, and also sets the link/unlink icons for discord/google depending on the result
Protected
setChanges the style of the mouse cursor.
cursor style to apply
Private
updateOptional
mode: AdminModeOptional
config: ModalConfigProtected
updatePrivate
Static
ERR_"[field] is required"
Private
Static
SUCCESS_"Username and [service] successfully [mode]ed"
A basic abstract class to act as a holder and processor for UI elements.