Struct yy_typings::object_yy::ObjectOverrideProperty[][src]

pub struct ObjectOverrideProperty {
    pub property_id: FilesystemPath,
    pub object_id: FilesystemPath,
    pub value: String,
    pub resource_version: ResourceVersion,
    pub name: String,
    pub tags: Tags,
    pub resource_type: ConstGmObjectOverrideProperty,
}

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.

Fields

property_id: FilesystemPath

This is not a real filesystem path, but instead just looks like one. Eventually, this will receive better typing. @todo The name is the name of the prperty, and the path is to the ORIGINATOR of the property.

object_id: FilesystemPath

The path to the object which this property last overrides.

value: String

The serialized value of the property type. This corresponds exactly to what the Gms2 box will have inside it as a string.

resource_version: ResourceVersion

The resource version for this property override

name: String

The name of the property, which appears to always be an empty string.

tags: Tags

The tags assigned to the property. Probably shouldn’t be assigned.

resource_type: ConstGmObjectOverrideProperty

The resource type const of the property.

Trait Implementations

impl Clone for ObjectOverrideProperty[src]

impl Debug for ObjectOverrideProperty[src]

impl Default for ObjectOverrideProperty[src]

fn default() -> Self[src]

Return ObjectOverrideProperty { property_id: Default::default(), object_id: Default::default(), value: Default::default(), resource_version: Default::default(), name: Default::default(), tags: Default::default(), resource_type: Default::default() }

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

impl PartialEq<ObjectOverrideProperty> for ObjectOverrideProperty[src]

impl PartialOrd<ObjectOverrideProperty> for ObjectOverrideProperty[src]

impl Serialize for ObjectOverrideProperty[src]

impl StructuralPartialEq for ObjectOverrideProperty[src]

Auto Trait Implementations

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.