Jazz2::Editor::EventPreviewCase struct

How an event looks for a value of one of its parameters, see EventDescriptor::PreviewCases.

Public static variables

static std::int32_t AnyValue constexpr
Value of the case for the values that no other case is for

Public variables

std::int32_t Value
Value the case is for, AnyValue for all the others.
const char* Metadata
Path of the metadata, nullptr to show the event as a box.
std::uint32_t Animation
Animation of the metadata (see AnimState).
bool FlipX
Whether the sprite is mirrored horizontally.
std::int16_t OffsetX
Horizontal offset of the sprite from where the object is spawned, in pixels.
std::int16_t OffsetY
Vertical offset of the sprite from where the object is spawned, in pixels.