Module yy_typings::object_yy
source · [−]Expand description
Typings associated with Object .yy
files, including typing for Events
and Vk Keycodes.
Re-exports
pub use super::*;
Structs
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.
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.
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.
The types of physics object as specified in the Gms2 editor.
Enums
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.
Symbolic names for the Gestures used in Gms2
Symbolic names for the mouse buttons used by Gms2.
The types of object “Properties” as set in the Gms2 Widget pane by users.
The types of physics object as specified in the Gms2 editor.
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.