Skip to main content

IVersusMapEditContentMethods

Trait IVersusMapEditContentMethods 

Source
pub trait IVersusMapEditContentMethods: IVersusMapEditContent {
    // Provided methods
    fn destroy(self) { ... }
    fn initialize(self) { ... }
    fn set_image(self, data: impl Into<MapEditorObjectData>) { ... }
    fn set_text_num(
        self,
        category: impl Into<MapEditorCategoryData>,
        num: impl Into<i32>,
        num_max: impl Into<i32>,
    ) { ... }
    fn set_highlight(self, category: impl Into<MapEditorCategoryData>) { ... }
    fn get_thumb_sprite(self, name: impl Into<Il2CppString>) -> Sprite { ... }
    fn get_category_sprite(self, name: impl Into<Il2CppString>) -> Sprite { ... }
    fn open_to_one(self) { ... }
    fn open_to_everyone(self) { ... }
    fn is_open_to_everyone(self) -> bool { ... }
    fn is_open_to_everyone_end(self) -> bool { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn destroy(self)

Destroy() overload

Source

fn initialize(self)

Initialize() overload

Source

fn set_image(self, data: impl Into<MapEditorObjectData>)

SetImage(crate::app::mapeditorobjectdata::MapEditorObjectData) overload

Source

fn set_text_num( self, category: impl Into<MapEditorCategoryData>, num: impl Into<i32>, num_max: impl Into<i32>, )

SetTextNum(crate::app::mapeditorcategorydata::MapEditorCategoryData, i32, i32) overload

Source

fn set_highlight(self, category: impl Into<MapEditorCategoryData>)

SetHighlight(crate::app::mapeditorcategorydata::MapEditorCategoryData) overload

Source

fn get_thumb_sprite(self, name: impl Into<Il2CppString>) -> Sprite

GetThumbSprite(::unity::Il2CppString) overload

Source

fn get_category_sprite(self, name: impl Into<Il2CppString>) -> Sprite

GetCategorySprite(::unity::Il2CppString) overload

Source

fn open_to_one(self)

OpenToOne() overload

Source

fn open_to_everyone(self)

OpenToEveryone() overload

Source

fn is_open_to_everyone(self) -> bool

IsOpenToEveryone() overload

Source

fn is_open_to_everyone_end(self) -> bool

IsOpenToEveryoneEnd() overload

Source

fn ctor(self)

.ctor() overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IVersusMapEditContent> IVersusMapEditContentMethods for __T

Available on crate feature app-versusmapeditcontent only.