WeaponEditorData struct
#include <Jazz2/WeaponDefinition.h>
What a level keeps of a weapon only for the editor.
The game doesn't read it (see Formats::
Public functions
- auto IsEmpty() const -> bool
- Returns
trueif there's nothing to keep. - auto operator==(const WeaponEditorData& other) const -> bool
- auto operator!=(const WeaponEditorData& other) const -> bool
Public variables
- String ScriptLibrary
- Script file that has the weapon, for WeaponKind::
Script. - String ScriptConstructor
- Script code that creates the weapon, for WeaponKind::
Script. -
SmallVector<std::
uint8_t, 0> UnknownProperties - Properties of a newer version, kept as they are.