CharCreateDialog

From Vendetta Lua
Jump to navigationJump to search

Dialog that handles character creation. Created with CreateCharCreateMenu.

The dialog is divided into two parts, nation and name selection. The parts are contained in a zbox. The buttons at the bottom toggle the visible part.

The dialog is registered with the events: UPDATE_CHARACTER_LIST, LOGIN_FAILED

Functions

Clear

Definition:
Clear(userdata self) -> nil

Description:
Reset dialog to its empty state

Arguments:
self this dialog

OnEvent

Definition:
OnEvent(userdata self) -> nil

Description:
Eventhandler

Arguments:
self this dialog