[][src]Struct yy_typings::Yyp

pub struct Yyp {
    pub resources: Vec<YypResource>,
    pub options: Vec<FilesystemPath>,
    pub is_dn_d_project: bool,
    pub is_ecma: bool,
    pub tutorial_path: String,
    pub configs: YypConfig,
    pub room_order: Vec<FilesystemPath>,
    pub folders: Vec<YypFolder>,
    pub audio_groups: Vec<AudioGroup>,
    pub texture_groups: Vec<TextureGroup>,
    pub included_files: Vec<YypIncludedFile>,
    pub meta_data: YypMetaData,
    pub resource_version: ResourceVersion,
    pub name: String,
    pub tags: Tags,
    pub resource_type: ConstGmProject,
}

GMS2 project file typings

Fields

resources: Vec<YypResource>

Contains all project resources, ordered by KeyID.

options: Vec<FilesystemPath>is_dn_d_project: bool

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.

tutorial_path: String

Unknown property, usually an empty string.

configs: YypConfig

Lists all known configs. Note that this top level config will always have the name "Default".

room_order: Vec<FilesystemPath>

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.

resource_version: ResourceVersion

The version of the YYP. Currently, that is "1.3"

name: String

The actual human-readable name of the Project, such as "Forager" or "Fields of Mistria" or "Test1122 please work".

tags: Tags

Somehow, the Tags field, which exists purely due to OOP, I assume. It should always be empty and does nothing.

resource_type: ConstGmProject

The ResourceType of the YYP, which is "GMProject"

Trait Implementations

impl Clone for Yyp[src]

impl Debug for Yyp[src]

impl Default for Yyp[src]

fn default() -> Self[src]

Return Yyp { resources: Default::default(), options: Default::default(), is_dn_d_project: Default::default(), is_ecma: Default::default(), tutorial_path: Default::default(), configs: Default::default(), room_order: Default::default(), folders: Default::default(), audio_groups: Default::default(), texture_groups: Default::default(), included_files: Default::default(), meta_data: Default::default(), resource_version: ResourceVersion :: new(1, 3), name: Default::default(), tags: Default::default(), resource_type: Default::default() }

impl<'de> Deserialize<'de> for Yyp[src]

impl Eq for Yyp[src]

impl PartialEq<Yyp> for Yyp[src]

impl Serialize for Yyp[src]

impl StructuralEq for Yyp[src]

impl StructuralPartialEq for Yyp[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,