pub trait IMapKillBonusMethods: IMapKillBonus {
Show 31 methods
// Provided methods
fn on_create(self) { ... }
fn on_dispose(self) { ... }
fn download(self, super_: impl Into<ProcInst>) -> bool { ... }
fn upload(self, super_: impl Into<ProcInst>) -> bool { ... }
fn setup(self) { ... }
fn try_gain(self, super_: impl Into<ProcInst>, unit: impl Into<Unit>) { ... }
fn get_kind(
self,
x: impl Into<i32>,
z: impl Into<i32>,
) -> MapKillBonus_Kinds { ... }
fn copy_kind_image_to(self, kind_image: impl Into<MapKillBonus_KindImage>) { ... }
fn try_create_effect(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
fn try_create_effect_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
) { ... }
fn try_delete_effect(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
fn try_delete_effect_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
) { ... }
fn add_count(self, dead_unit: impl Into<Unit>) { ... }
fn add_count_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
) { ... }
fn get_count_image(
self,
kind: impl Into<MapKillBonus_Kinds>,
) -> MapKillBonus_CountImage { ... }
fn clear_net_succeeded(self) { ... }
fn get_bonus_index(self, kind: impl Into<MapKillBonus_Kinds>) -> i32 { ... }
fn rewind_bonus(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
bonus_index: impl Into<i32>,
) { ... }
fn rewind_count(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
count: impl Into<i32>,
) { ... }
fn get_is_net_succeeded(self) -> bool { ... }
fn decide_cells(
self,
map_max_kill_bonus_count: impl Into<i32>,
map_max_killed_bonus_count: impl Into<i32>,
) { ... }
fn decide_kill_bonus(self, map_max_bonus_count: impl Into<i32>) { ... }
fn decide_killed_bonus(self, map_max_bonus_count: impl Into<i32>) { ... }
fn get_kill_bonus_data(self) -> StructDataArrayList_1<KillBonusData> { ... }
fn get_killed_bonus_data(self) -> StructDataArrayList_1<KilledBonusData> { ... }
fn clear(self) { ... }
fn get_version(self) -> i32 { ... }
fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
fn on_deserialize(
self,
stream: impl Into<Stream_2>,
version: impl Into<i32>,
) { ... }
fn dbg_dump(self) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_dispose(self)
fn on_dispose(self)
OnDispose() overload
Sourcefn download(self, super_: impl Into<ProcInst>) -> bool
fn download(self, super_: impl Into<ProcInst>) -> bool
Download(crate::app::procinst::ProcInst) overload
Sourcefn upload(self, super_: impl Into<ProcInst>) -> bool
fn upload(self, super_: impl Into<ProcInst>) -> bool
Upload(crate::app::procinst::ProcInst) overload
Sourcefn try_gain(self, super_: impl Into<ProcInst>, unit: impl Into<Unit>)
fn try_gain(self, super_: impl Into<ProcInst>, unit: impl Into<Unit>)
TryGain(crate::app::procinst::ProcInst, crate::app::unit::Unit) overload
Sourcefn get_kind(self, x: impl Into<i32>, z: impl Into<i32>) -> MapKillBonus_Kinds
fn get_kind(self, x: impl Into<i32>, z: impl Into<i32>) -> MapKillBonus_Kinds
GetKind(i32, i32) overload
Sourcefn copy_kind_image_to(self, kind_image: impl Into<MapKillBonus_KindImage>)
fn copy_kind_image_to(self, kind_image: impl Into<MapKillBonus_KindImage>)
CopyKindImageTo(crate::app::mapkillbonus::MapKillBonus_KindImage) overload
Sourcefn try_create_effect(self, x: impl Into<i32>, z: impl Into<i32>)
fn try_create_effect(self, x: impl Into<i32>, z: impl Into<i32>)
TryCreateEffect(i32, i32) overload
Sourcefn try_create_effect_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
)
fn try_create_effect_2( self, x: impl Into<i32>, z: impl Into<i32>, kind: impl Into<MapKillBonus_Kinds>, )
TryCreateEffect(i32, i32, crate::app::mapkillbonus::MapKillBonus_Kinds) overload
Sourcefn try_delete_effect(self, x: impl Into<i32>, z: impl Into<i32>)
fn try_delete_effect(self, x: impl Into<i32>, z: impl Into<i32>)
TryDeleteEffect(i32, i32) overload
Sourcefn try_delete_effect_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
)
fn try_delete_effect_2( self, x: impl Into<i32>, z: impl Into<i32>, kind: impl Into<MapKillBonus_Kinds>, )
TryDeleteEffect(i32, i32, crate::app::mapkillbonus::MapKillBonus_Kinds) overload
Sourcefn add_count_2(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
)
fn add_count_2( self, x: impl Into<i32>, z: impl Into<i32>, kind: impl Into<MapKillBonus_Kinds>, )
AddCount(i32, i32, crate::app::mapkillbonus::MapKillBonus_Kinds) overload
Sourcefn get_count_image(
self,
kind: impl Into<MapKillBonus_Kinds>,
) -> MapKillBonus_CountImage
fn get_count_image( self, kind: impl Into<MapKillBonus_Kinds>, ) -> MapKillBonus_CountImage
GetCountImage(crate::app::mapkillbonus::MapKillBonus_Kinds) overload
Sourcefn clear_net_succeeded(self)
fn clear_net_succeeded(self)
ClearNetSucceeded() overload
Sourcefn get_bonus_index(self, kind: impl Into<MapKillBonus_Kinds>) -> i32
fn get_bonus_index(self, kind: impl Into<MapKillBonus_Kinds>) -> i32
GetBonusIndex(crate::app::mapkillbonus::MapKillBonus_Kinds) overload
Sourcefn rewind_bonus(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
bonus_index: impl Into<i32>,
)
fn rewind_bonus( self, x: impl Into<i32>, z: impl Into<i32>, kind: impl Into<MapKillBonus_Kinds>, bonus_index: impl Into<i32>, )
RewindBonus(i32, i32, crate::app::mapkillbonus::MapKillBonus_Kinds, i32) overload
Sourcefn rewind_count(
self,
x: impl Into<i32>,
z: impl Into<i32>,
kind: impl Into<MapKillBonus_Kinds>,
count: impl Into<i32>,
)
fn rewind_count( self, x: impl Into<i32>, z: impl Into<i32>, kind: impl Into<MapKillBonus_Kinds>, count: impl Into<i32>, )
RewindCount(i32, i32, crate::app::mapkillbonus::MapKillBonus_Kinds, i32) overload
Sourcefn get_is_net_succeeded(self) -> bool
fn get_is_net_succeeded(self) -> bool
get_IsNetSucceeded() overload
Sourcefn decide_cells(
self,
map_max_kill_bonus_count: impl Into<i32>,
map_max_killed_bonus_count: impl Into<i32>,
)
fn decide_cells( self, map_max_kill_bonus_count: impl Into<i32>, map_max_killed_bonus_count: impl Into<i32>, )
DecideCells(i32, i32) overload
Sourcefn decide_kill_bonus(self, map_max_bonus_count: impl Into<i32>)
fn decide_kill_bonus(self, map_max_bonus_count: impl Into<i32>)
DecideKillBonus(i32) overload
Sourcefn decide_killed_bonus(self, map_max_bonus_count: impl Into<i32>)
fn decide_killed_bonus(self, map_max_bonus_count: impl Into<i32>)
DecideKilledBonus(i32) overload
Sourcefn get_kill_bonus_data(self) -> StructDataArrayList_1<KillBonusData>
fn get_kill_bonus_data(self) -> StructDataArrayList_1<KillBonusData>
GetKillBonusData() overload
Sourcefn get_killed_bonus_data(self) -> StructDataArrayList_1<KilledBonusData>
fn get_killed_bonus_data(self) -> StructDataArrayList_1<KilledBonusData>
GetKilledBonusData() overload
Sourcefn get_version(self) -> i32
fn get_version(self) -> i32
get_Version() overload
Sourcefn on_serialize(self, stream: impl Into<Stream_2>)
fn on_serialize(self, stream: impl Into<Stream_2>)
OnSerialize(crate::app::stream_2::Stream_2) overload
Sourcefn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
OnDeserialize(crate::app::stream_2::Stream_2, i32) 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: IMapKillBonus> IMapKillBonusMethods for __T
app-mapkillbonus only.