|
staticprivate |
Register a new item.
| id | int The unique ID of the item in the range [0,512] |
| shortcut | string The keyboard shortcut of the item |
| name | string The name of the item |
| parent | int The index of the parent of the item |
| values | string The values of the item separated by commas, internally this will be an int starting at 0 for the first item |
| callback | func Callback to call when the value is changed (OPTIONAL) (Also read BindCallback) |
Перекрестные ссылки name.