Jazz2::WeaponEditorData struct

What a level keeps of a weapon only for the editor.

The game doesn't read it (see Formats::WeaponsChunk::Read()), so it isn't a part of WeaponDefinition.

Public functions

auto IsEmpty() const -> bool
Returns true if 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.