Struct yy_typings::Yyp
source · [−]pub struct Yyp {
pub common_data: CommonData<ConstGmProject>,
pub resources: Vec<YypResource>,
pub options: Vec<FilesystemPath>,
pub default_script_type: i32,
pub is_ecma: bool,
pub configs: YypConfig,
pub room_order_nodes: Vec<RoomOrderId>,
pub folders: Vec<YypFolder>,
pub audio_groups: Vec<AudioGroup>,
pub texture_groups: Vec<TextureGroup>,
pub included_files: Vec<YypIncludedFile>,
pub meta_data: YypMetaData,
}
Expand description
GMS2 project file typings
Fields
common_data: CommonData<ConstGmProject>
resources: Vec<YypResource>
Contains all project resources, ordered by KeyID.
options: Vec<FilesystemPath>
default_script_type: i32
Denotes whether this project uses drag and drop or not
is_ecma: bool
Allows for experimental JS editing. Unfinished or legacy feature. It’s a secret.
configs: YypConfig
Lists all known configs. Note that this top level
config will always have the name
"Default"
.
room_order_nodes: Vec<RoomOrderId>
This is the order rooms are loaded in. The first room is the default room which GMS2 will load on GameStart.
folders: Vec<YypFolder>
This represents all the Views in the Project, which will have resource paths within them.
audio_groups: Vec<AudioGroup>
The Audio Groups present within the project. Relationship to the inherited.yy is unclear
texture_groups: Vec<TextureGroup>
The Texture groups present within the project. Relationship to the inherited.yy is unclear
included_files: Vec<YypIncludedFile>
The included files within the projects.
meta_data: YypMetaData
The MetaData for the project.
Implementations
sourceimpl Yyp
impl Yyp
pub const DEFAULT_VERSION: &'static str = "8.0.34"
Trait Implementations
sourceimpl Default for Yyp
impl Default for Yyp
sourcefn default() -> Self
fn default() -> Self
Return Yyp { common_data: Default::default(), resources: Default::default(), options: Default::default(), default_script_type: Default::default(), is_ecma: Default::default(), configs: Default::default(), room_order_nodes: Default::default(), folders: Default::default(), audio_groups: Default::default(), texture_groups: Default::default(), included_files: Default::default(), meta_data: Default::default() }
sourceimpl<'de> Deserialize<'de> for Yyp
impl<'de> Deserialize<'de> for Yyp
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Yyp> for Yyp
impl PartialEq<Yyp> for Yyp
impl StructuralPartialEq for Yyp
Auto Trait Implementations
impl RefUnwindSafe for Yyp
impl Send for Yyp
impl Sync for Yyp
impl Unpin for Yyp
impl UnwindSafe for Yyp
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more