Skip to main content

IBattleSceneMethods

Trait IBattleSceneMethods 

Source
pub trait IBattleSceneMethods: IBattleScene {
Show 39 methods // Provided methods fn get_debugger_display(self) -> Il2CppString { ... } fn ctor(self) { ... } fn clear(self) { ... } fn on_enter(self) { ... } fn on_exit(self) { ... } fn setup( self, list: impl Into<BattleSceneList>, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleSide_Type>, target: impl Into<BattleSide_Type>, info: impl Into<BattleInfo>, index: impl Into<i32>, ) { ... } fn get_kind(self) -> BattleScene_Kind { ... } fn get_index(self) -> i32 { ... } fn get_result(self) -> BattleScene_FieldResult { ... } fn is_result(self, result: impl Into<BattleScene_Result>) -> bool { ... } fn set_result(self, result: impl Into<BattleScene_Result>) -> BattleScene { ... } fn set_kind(self, kind: impl Into<BattleScene_Kind>) -> BattleScene { ... } fn get_damage(self, side: impl Into<BattleSide_Type>) -> i32 { ... } fn get_heal(self, side: impl Into<BattleSide_Type>) -> i32 { ... } fn set_damage( self, side: impl Into<BattleSide_Type>, damage: impl Into<i32>, ) -> BattleScene { ... } fn get_hp(self, side: impl Into<BattleSide_Type>) -> i32 { ... } fn add_hp(self, side: impl Into<BattleSide_Type>, value: impl Into<i32>) { ... } fn commit(self, info: impl Into<BattleInfo>) { ... } fn get_engage_count(self, side: impl Into<BattleSide_Type>) -> i32 { ... } fn get_clamp_damage(self, side: impl Into<BattleSide_Type>) -> i32 { ... } fn set_skill(self, skill: impl Into<i32>) -> BattleScene { ... } fn set_skill_2(self, skill: impl Into<SkillData>) -> BattleScene { ... } fn set_skill_3(self, sid: impl Into<Il2CppString>) -> BattleScene { ... } fn get_skill(self) -> SkillData { ... } fn set_item(self, item: impl Into<i32>) -> BattleScene { ... } fn set_item_2(self, item: impl Into<ItemData>) -> BattleScene { ... } fn set_item_3(self, iid: impl Into<Il2CppString>) -> BattleScene { ... } fn get_item(self) -> ItemData { ... } fn set_god(self, god: impl Into<GodData>) -> BattleScene { ... } fn get_god(self) -> GodData { ... } fn get_show_skill(self) -> SkillData { ... } fn get_skill_name_for_debugger_display(self) -> Il2CppString { ... } fn get_side(self) -> BattleSide_Type { ... } fn get_target(self) -> BattleSide_Type { ... } fn get_guardian(self) -> BattleSide_Type { ... } fn set_guardian(self, value: impl Into<BattleSide_Type>) { ... } fn get_current(self) -> BattleSide_Type { ... } fn get_reverse(self) -> BattleSide_Type { ... } fn is_entry(self, side: impl Into<BattleSide_Type>) -> bool { ... }
}

Provided Methods§

Source

fn get_debugger_display(self) -> Il2CppString

get_DebuggerDisplay() overload

Source

fn ctor(self)

.ctor() overload

Source

fn clear(self)

Clear() overload

Source

fn on_enter(self)

OnEnter() overload

Source

fn on_exit(self)

OnExit() overload

Source

fn setup( self, list: impl Into<BattleSceneList>, kind: impl Into<BattleScene_Kind>, current: impl Into<BattleSide_Type>, target: impl Into<BattleSide_Type>, info: impl Into<BattleInfo>, index: impl Into<i32>, )

Setup(crate::app::battlescenelist::BattleSceneList, crate::app::battlescene::BattleScene_Kind, crate::app::battleside::BattleSide_Type, crate::app::battleside::BattleSide_Type, crate::app::battleinfo::BattleInfo, i32) overload

Source

fn get_kind(self) -> BattleScene_Kind

GetKind() overload

Source

fn get_index(self) -> i32

GetIndex() overload

Source

fn get_result(self) -> BattleScene_FieldResult

GetResult() overload

Source

fn is_result(self, result: impl Into<BattleScene_Result>) -> bool

IsResult(crate::app::battlescene::BattleScene_Result) overload

Source

fn set_result(self, result: impl Into<BattleScene_Result>) -> BattleScene

SetResult(crate::app::battlescene::BattleScene_Result) overload

Source

fn set_kind(self, kind: impl Into<BattleScene_Kind>) -> BattleScene

SetKind(crate::app::battlescene::BattleScene_Kind) overload

Source

fn get_damage(self, side: impl Into<BattleSide_Type>) -> i32

GetDamage(crate::app::battleside::BattleSide_Type) overload

Source

fn get_heal(self, side: impl Into<BattleSide_Type>) -> i32

GetHeal(crate::app::battleside::BattleSide_Type) overload

Source

fn set_damage( self, side: impl Into<BattleSide_Type>, damage: impl Into<i32>, ) -> BattleScene

SetDamage(crate::app::battleside::BattleSide_Type, i32) overload

Source

fn get_hp(self, side: impl Into<BattleSide_Type>) -> i32

GetHp(crate::app::battleside::BattleSide_Type) overload

Source

fn add_hp(self, side: impl Into<BattleSide_Type>, value: impl Into<i32>)

AddHp(crate::app::battleside::BattleSide_Type, i32) overload

Source

fn commit(self, info: impl Into<BattleInfo>)

Commit(crate::app::battleinfo::BattleInfo) overload

Source

fn get_engage_count(self, side: impl Into<BattleSide_Type>) -> i32

GetEngageCount(crate::app::battleside::BattleSide_Type) overload

Source

fn get_clamp_damage(self, side: impl Into<BattleSide_Type>) -> i32

GetClampDamage(crate::app::battleside::BattleSide_Type) overload

Source

fn set_skill(self, skill: impl Into<i32>) -> BattleScene

SetSkill(i32) overload

Source

fn set_skill_2(self, skill: impl Into<SkillData>) -> BattleScene

SetSkill(crate::app::skilldata::SkillData) overload

Source

fn set_skill_3(self, sid: impl Into<Il2CppString>) -> BattleScene

SetSkill(::unity::Il2CppString) overload

Source

fn get_skill(self) -> SkillData

GetSkill() overload

Source

fn set_item(self, item: impl Into<i32>) -> BattleScene

SetItem(i32) overload

Source

fn set_item_2(self, item: impl Into<ItemData>) -> BattleScene

SetItem(crate::app::itemdata::ItemData) overload

Source

fn set_item_3(self, iid: impl Into<Il2CppString>) -> BattleScene

SetItem(::unity::Il2CppString) overload

Source

fn get_item(self) -> ItemData

GetItem() overload

Source

fn set_god(self, god: impl Into<GodData>) -> BattleScene

SetGod(crate::app::goddata::GodData) overload

Source

fn get_god(self) -> GodData

GetGod() overload

Source

fn get_show_skill(self) -> SkillData

GetShowSkill() overload

Source

fn get_skill_name_for_debugger_display(self) -> Il2CppString

GetSkillNameForDebuggerDisplay() overload

Source

fn get_side(self) -> BattleSide_Type

get_Side() overload

Source

fn get_target(self) -> BattleSide_Type

get_Target() overload

Source

fn get_guardian(self) -> BattleSide_Type

get_Guardian() overload

Source

fn set_guardian(self, value: impl Into<BattleSide_Type>)

set_Guardian(crate::app::battleside::BattleSide_Type) overload

Source

fn get_current(self) -> BattleSide_Type

get_Current() overload

Source

fn get_reverse(self) -> BattleSide_Type

get_Reverse() overload

Source

fn is_entry(self, side: impl Into<BattleSide_Type>) -> bool

IsEntry(crate::app::battleside::BattleSide_Type) 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: IBattleScene> IBattleSceneMethods for __T

Available on crate feature app-battlescene only.