fl_char_load panelclient
Panel defined in plugin/views/cl_character_load.lua
Part of Characters System
The character loading screen (fl_char_load): a fullscreen list with one
fl_character_panel for every character of the local player. It is rebuilt whenever the
server sends the character list again or refuses a request to load or delete a character.
Summary
Methods
close(callback)client
Removes the panel, then calls the callback.
Init()client
Creates the fullscreen character list and the button that leads back to the main menu.
Paint(w, h)client
Draws the panel through the theme's PaintCharCreationLoadPanel hook.
rebuild()client
Recreates a character panel for each of the local player's characters, and goes back to the main menu when there are none.
Methods
Removes the panel, then calls the callback.
Parameters
- callback Function optional, defaults to
nilcalled without arguments
Creates the fullscreen character list and the button that leads back to the main menu.
Draws the panel through the theme's PaintCharCreationLoadPanel hook.
Parameters
- w Number
- h Number
Recreates a character panel for each of the local player's characters, and goes back to the main menu when there are none.