[][src]Module yy_typings::object_yy

Typings associated with Object .yy files, including typing for Events and Vk Keycodes.

Re-exports

pub use super::*;

Structs

EventIntermediary

A simpler, less idiomatic and less understandable, but more direct, representation of Gms2 event types and numbers. We use this internally in the serde of the higher level EventType enum, which is also given.

GestureEvent
MouseButton
Object
ObjectEvent
ObjectProperty

Object "properties" are set in the Gms2 window and allow the user to override those properties either in child objects of a parent, or in the Room (or both!). This allows for simple customization in the room editor.

Enums

AsyncEvent
ConstGmEvent
ConstGmObject
ConstGmObjectProperty
DrawEvent
EventType

Describes the current event type. Users can make most events freely, though special care should be taken that Alarm's .0 field is less than ALARM_MAX, and the same for the OtherEvent's usize wrappers. To make sure some event has been validly created, is_valid has been provided.

EventTypeConvertErrors
Gesture

Symbolic names for the Gestures used in Gms2

MouseButtonCode

Symbolic names for the mouse buttons used by Gms2.

MouseEvent
ObjectPropertyTypes

The types of object "Properties" as set in the Gms2 Widget pane by users.

OtherEvent
Stage
VirtualKeyCode

Symbolic names for the keycodes used by Gms2. These are a cutdown version of the Microsoft Virtual keycodes from winuser.h, and with Vk_Any and Vk_None (custom Gms2) added.