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§
Sourcefn get_debugger_display(self) -> Il2CppString
fn get_debugger_display(self) -> Il2CppString
get_DebuggerDisplay() overload
Sourcefn 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 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
Sourcefn get_kind(self) -> BattleScene_Kind
fn get_kind(self) -> BattleScene_Kind
GetKind() overload
Sourcefn get_result(self) -> BattleScene_FieldResult
fn get_result(self) -> BattleScene_FieldResult
GetResult() overload
Sourcefn is_result(self, result: impl Into<BattleScene_Result>) -> bool
fn is_result(self, result: impl Into<BattleScene_Result>) -> bool
IsResult(crate::app::battlescene::BattleScene_Result) overload
Sourcefn set_result(self, result: impl Into<BattleScene_Result>) -> BattleScene
fn set_result(self, result: impl Into<BattleScene_Result>) -> BattleScene
SetResult(crate::app::battlescene::BattleScene_Result) overload
Sourcefn set_kind(self, kind: impl Into<BattleScene_Kind>) -> BattleScene
fn set_kind(self, kind: impl Into<BattleScene_Kind>) -> BattleScene
SetKind(crate::app::battlescene::BattleScene_Kind) overload
Sourcefn get_damage(self, side: impl Into<BattleSide_Type>) -> i32
fn get_damage(self, side: impl Into<BattleSide_Type>) -> i32
GetDamage(crate::app::battleside::BattleSide_Type) overload
Sourcefn get_heal(self, side: impl Into<BattleSide_Type>) -> i32
fn get_heal(self, side: impl Into<BattleSide_Type>) -> i32
GetHeal(crate::app::battleside::BattleSide_Type) overload
Sourcefn set_damage(
self,
side: impl Into<BattleSide_Type>,
damage: impl Into<i32>,
) -> BattleScene
fn set_damage( self, side: impl Into<BattleSide_Type>, damage: impl Into<i32>, ) -> BattleScene
SetDamage(crate::app::battleside::BattleSide_Type, i32) overload
Sourcefn get_hp(self, side: impl Into<BattleSide_Type>) -> i32
fn get_hp(self, side: impl Into<BattleSide_Type>) -> i32
GetHp(crate::app::battleside::BattleSide_Type) overload
Sourcefn add_hp(self, side: impl Into<BattleSide_Type>, value: impl Into<i32>)
fn add_hp(self, side: impl Into<BattleSide_Type>, value: impl Into<i32>)
AddHp(crate::app::battleside::BattleSide_Type, i32) overload
Sourcefn commit(self, info: impl Into<BattleInfo>)
fn commit(self, info: impl Into<BattleInfo>)
Commit(crate::app::battleinfo::BattleInfo) overload
Sourcefn get_engage_count(self, side: impl Into<BattleSide_Type>) -> i32
fn get_engage_count(self, side: impl Into<BattleSide_Type>) -> i32
GetEngageCount(crate::app::battleside::BattleSide_Type) overload
Sourcefn get_clamp_damage(self, side: impl Into<BattleSide_Type>) -> i32
fn get_clamp_damage(self, side: impl Into<BattleSide_Type>) -> i32
GetClampDamage(crate::app::battleside::BattleSide_Type) overload
Sourcefn set_skill(self, skill: impl Into<i32>) -> BattleScene
fn set_skill(self, skill: impl Into<i32>) -> BattleScene
SetSkill(i32) overload
Sourcefn set_skill_2(self, skill: impl Into<SkillData>) -> BattleScene
fn set_skill_2(self, skill: impl Into<SkillData>) -> BattleScene
SetSkill(crate::app::skilldata::SkillData) overload
Sourcefn set_skill_3(self, sid: impl Into<Il2CppString>) -> BattleScene
fn set_skill_3(self, sid: impl Into<Il2CppString>) -> BattleScene
SetSkill(::unity::Il2CppString) overload
Sourcefn set_item(self, item: impl Into<i32>) -> BattleScene
fn set_item(self, item: impl Into<i32>) -> BattleScene
SetItem(i32) overload
Sourcefn set_item_2(self, item: impl Into<ItemData>) -> BattleScene
fn set_item_2(self, item: impl Into<ItemData>) -> BattleScene
SetItem(crate::app::itemdata::ItemData) overload
Sourcefn set_item_3(self, iid: impl Into<Il2CppString>) -> BattleScene
fn set_item_3(self, iid: impl Into<Il2CppString>) -> BattleScene
SetItem(::unity::Il2CppString) overload
Sourcefn set_god(self, god: impl Into<GodData>) -> BattleScene
fn set_god(self, god: impl Into<GodData>) -> BattleScene
SetGod(crate::app::goddata::GodData) overload
Sourcefn get_show_skill(self) -> SkillData
fn get_show_skill(self) -> SkillData
GetShowSkill() overload
Sourcefn get_skill_name_for_debugger_display(self) -> Il2CppString
fn get_skill_name_for_debugger_display(self) -> Il2CppString
GetSkillNameForDebuggerDisplay() overload
Sourcefn get_side(self) -> BattleSide_Type
fn get_side(self) -> BattleSide_Type
get_Side() overload
Sourcefn get_target(self) -> BattleSide_Type
fn get_target(self) -> BattleSide_Type
get_Target() overload
Sourcefn get_guardian(self) -> BattleSide_Type
fn get_guardian(self) -> BattleSide_Type
get_Guardian() overload
Sourcefn set_guardian(self, value: impl Into<BattleSide_Type>)
fn set_guardian(self, value: impl Into<BattleSide_Type>)
set_Guardian(crate::app::battleside::BattleSide_Type) overload
Sourcefn get_current(self) -> BattleSide_Type
fn get_current(self) -> BattleSide_Type
get_Current() overload
Sourcefn get_reverse(self) -> BattleSide_Type
fn get_reverse(self) -> BattleSide_Type
get_Reverse() overload
Sourcefn is_entry(self, side: impl Into<BattleSide_Type>) -> bool
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§
impl<__T: IBattleScene> IBattleSceneMethods for __T
app-battlescene only.