Summary

Methods

Init()client
Sizes the attributes menu tab to the menu, creates its list and registers itself as cw.attributes.panel.
Rebuilds the list when the menu is opened while this tab is active.
Rebuilds the list when the tab is selected in the menu.
Draws the outlined panel background.
Does nothing; the list lays itself out.
Rebuild()client
Rebuilds the list of attributes the local player has access to.

Methods

Sizes the attributes menu tab to the menu, creates its list and registers itself as cw.attributes.panel.

Rebuilds the list when the menu is opened while this tab is active.

Rebuilds the list when the tab is selected in the menu.

Draws the outlined panel background.

Parameters

  • w
  • h

Does nothing; the list lays itself out.

Parameters

  • w
  • h

Rebuilds the list of attributes the local player has access to.

Attributes with a category are grouped under a form per category and sorted by translated name; the rest are listed on their own. Each entry is a cwAttributesItem row. Shows a notice instead when the player cannot access any attribute.

Defined in