Mainmenu¶
This page documents the hooks defined by the mainmenu module.
GetMainCharacterID()View Source
Purpose
Allows code to override which character ID should be treated as the player's main character.
Realm
Client
Returns
number|nil Return the character ID that should be loaded as the main character.
ThirdPersonToggled(enabled)View Source
Purpose
Called whenever the third-person option is toggled through the main menu or option system.
Realm
Client
Parameters
boolean enabled The new third-person enabled state.