ScriptWeaponParam struct
#include <Jazz2/Editor/Shell/WeaponScripts.h>
A parameter of a weapon of a script, in the order the library reads them.
Constructors, destructors, conversion operators
Public variables
- String Name
- Name shown in the editor.
- String Description
- What it does, shown as a tooltip.
- ScriptParamType Type
- Type.
- double Default
- Value of a number or a choice when the weapon is chosen.
- String DefaultText
- Value of a text when the weapon is chosen.
- double Min
- Smallest value, the smallest of the type if it's not a number.
- double Max
- Largest value, the largest of the type if it's not a number.
- SmallVector<ScriptParamChoice, 0> Choices
- Named values, a choice of them is shown instead of a number if there are any.