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§
Sourcefn initialize(self)
fn initialize(self)
Initialize() overload
Sourcefn set_image(self, data: impl Into<MapEditorObjectData>)
fn set_image(self, data: impl Into<MapEditorObjectData>)
SetImage(crate::app::mapeditorobjectdata::MapEditorObjectData) overload
Sourcefn set_text_num(
self,
category: impl Into<MapEditorCategoryData>,
num: impl Into<i32>,
num_max: impl Into<i32>,
)
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
Sourcefn set_highlight(self, category: impl Into<MapEditorCategoryData>)
fn set_highlight(self, category: impl Into<MapEditorCategoryData>)
SetHighlight(crate::app::mapeditorcategorydata::MapEditorCategoryData) overload
Sourcefn get_thumb_sprite(self, name: impl Into<Il2CppString>) -> Sprite
fn get_thumb_sprite(self, name: impl Into<Il2CppString>) -> Sprite
GetThumbSprite(::unity::Il2CppString) overload
Sourcefn get_category_sprite(self, name: impl Into<Il2CppString>) -> Sprite
fn get_category_sprite(self, name: impl Into<Il2CppString>) -> Sprite
GetCategorySprite(::unity::Il2CppString) overload
Sourcefn open_to_one(self)
fn open_to_one(self)
OpenToOne() overload
Sourcefn open_to_everyone(self)
fn open_to_everyone(self)
OpenToEveryone() overload
Sourcefn is_open_to_everyone(self) -> bool
fn is_open_to_everyone(self) -> bool
IsOpenToEveryone() overload
Sourcefn is_open_to_everyone_end(self) -> bool
fn is_open_to_everyone_end(self) -> bool
IsOpenToEveryoneEnd() 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§
impl<__T: IVersusMapEditContent> IVersusMapEditContentMethods for __T
Available on crate feature
app-versusmapeditcontent only.