Skip to main content

IMapKillBonusMethods

Trait IMapKillBonusMethods 

Source
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§

Source

fn on_create(self)

OnCreate() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn download(self, super_: impl Into<ProcInst>) -> bool

Download(crate::app::procinst::ProcInst) overload

Source

fn upload(self, super_: impl Into<ProcInst>) -> bool

Upload(crate::app::procinst::ProcInst) overload

Source

fn setup(self)

Setup() overload

Source

fn try_gain(self, super_: impl Into<ProcInst>, unit: impl Into<Unit>)

TryGain(crate::app::procinst::ProcInst, crate::app::unit::Unit) overload

Source

fn get_kind(self, x: impl Into<i32>, z: impl Into<i32>) -> MapKillBonus_Kinds

GetKind(i32, i32) overload

Source

fn copy_kind_image_to(self, kind_image: impl Into<MapKillBonus_KindImage>)

CopyKindImageTo(crate::app::mapkillbonus::MapKillBonus_KindImage) overload

Source

fn try_create_effect(self, x: impl Into<i32>, z: impl Into<i32>)

TryCreateEffect(i32, i32) overload

Source

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

Source

fn try_delete_effect(self, x: impl Into<i32>, z: impl Into<i32>)

TryDeleteEffect(i32, i32) overload

Source

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

Source

fn add_count(self, dead_unit: impl Into<Unit>)

AddCount(crate::app::unit::Unit) overload

Source

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

Source

fn get_count_image( self, kind: impl Into<MapKillBonus_Kinds>, ) -> MapKillBonus_CountImage

GetCountImage(crate::app::mapkillbonus::MapKillBonus_Kinds) overload

Source

fn clear_net_succeeded(self)

ClearNetSucceeded() overload

Source

fn get_bonus_index(self, kind: impl Into<MapKillBonus_Kinds>) -> i32

GetBonusIndex(crate::app::mapkillbonus::MapKillBonus_Kinds) overload

Source

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

Source

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

Source

fn get_is_net_succeeded(self) -> bool

get_IsNetSucceeded() overload

Source

fn decide_cells( self, map_max_kill_bonus_count: impl Into<i32>, map_max_killed_bonus_count: impl Into<i32>, )

DecideCells(i32, i32) overload

Source

fn decide_kill_bonus(self, map_max_bonus_count: impl Into<i32>)

DecideKillBonus(i32) overload

Source

fn decide_killed_bonus(self, map_max_bonus_count: impl Into<i32>)

DecideKilledBonus(i32) overload

Source

fn get_kill_bonus_data(self) -> StructDataArrayList_1<KillBonusData>

GetKillBonusData() overload

Source

fn get_killed_bonus_data(self) -> StructDataArrayList_1<KilledBonusData>

GetKilledBonusData() overload

Source

fn clear(self)

Clear() overload

Source

fn get_version(self) -> i32

get_Version() overload

Source

fn on_serialize(self, stream: impl Into<Stream_2>)

OnSerialize(crate::app::stream_2::Stream_2) overload

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) overload

Source

fn dbg_dump(self)

DbgDump() 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: IMapKillBonus> IMapKillBonusMethods for __T

Available on crate feature app-mapkillbonus only.