pub trait IMapDispos_ActualDataMethods: IMapDispos_ActualData {
Show 29 methods
// Provided methods
fn ctor(
self,
data: impl Into<DisposData>,
position_data: impl Into<DisposData>,
) { ... }
fn calc(self, dispos_flag: impl Into<MapDispos_Flag>) -> bool { ... }
fn unit_move(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
move_flag: impl Into<MapDeployTemplate_1_Flag<MapDeploy>>,
) { ... }
fn get_data(self) -> DisposData { ... }
fn get_data_dispos_x(self) -> i32 { ... }
fn get_data_dispos_z(self) -> i32 { ... }
fn get_calc_result(self) -> MapDispos_ActualData_CalcResults { ... }
fn get_unit_index(self) -> i32 { ... }
fn get_calc_appear_x(self) -> i32 { ... }
fn get_calc_appear_z(self) -> i32 { ... }
fn get_calc_dispos_x(self) -> i32 { ... }
fn get_calc_dispos_z(self) -> i32 { ... }
fn get_dispos_dir(self) -> DisposData_Directions { ... }
fn calc_dispos_xz(self, unit: impl Into<Unit>) -> (bool, i32, i32) { ... }
fn calc_apper_xz(
self,
unit: impl Into<Unit>,
dispos_x: impl Into<i32>,
dispos_z: impl Into<i32>,
) -> (bool, i32, i32) { ... }
fn is_forced(self, flag: impl Into<MapDispos_Flag>) -> bool { ... }
fn is_enable(self, flag: impl Into<MapDispos_Flag>) -> bool { ... }
fn is_create(self) -> bool { ... }
fn get_unit(self, dispos_flag: impl Into<MapDispos_Flag>) -> Unit { ... }
fn get_terrain(self, x: impl Into<i32>, z: impl Into<i32>) -> TerrainData_2 { ... }
fn is_out_of_play_area(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool { ... }
fn is_unit_exist(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool { ... }
fn is_terrain_immobile(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... }
fn is_terrain_immobile_2(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool { ... }
fn unit_ai_move_limit_for_big_unit(
self,
unit: impl Into<Unit>,
move_flag: impl Into<MapDeployTemplate_1_Flag<MapDeploy>>,
) { ... }
fn get_data_person(self) -> PersonData { ... }
fn get_data_force_type(self) -> Force_Type { ... }
fn get_data_appear_x(self) -> i32 { ... }
fn get_data_appear_z(self) -> i32 { ... }
}Provided Methods§
Sourcefn ctor(self, data: impl Into<DisposData>, position_data: impl Into<DisposData>)
fn ctor(self, data: impl Into<DisposData>, position_data: impl Into<DisposData>)
.ctor(crate::app::disposdata::DisposData, crate::app::disposdata::DisposData) overload
Sourcefn calc(self, dispos_flag: impl Into<MapDispos_Flag>) -> bool
fn calc(self, dispos_flag: impl Into<MapDispos_Flag>) -> bool
Calc(crate::app::mapdispos::MapDispos_Flag) overload
Sourcefn unit_move(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
move_flag: impl Into<MapDeployTemplate_1_Flag<MapDeploy>>,
)
fn unit_move( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, move_flag: impl Into<MapDeployTemplate_1_Flag<MapDeploy>>, )
UnitMove(crate::app::unit::Unit, i32, i32, crate::app::mapdeploytemplate_1::MapDeployTemplate_1_Flag<crate::app::mapdeploy::MapDeploy>) overload
Sourcefn get_data(self) -> DisposData
fn get_data(self) -> DisposData
get_Data() overload
Sourcefn get_data_dispos_x(self) -> i32
fn get_data_dispos_x(self) -> i32
get_DataDisposX() overload
Sourcefn get_data_dispos_z(self) -> i32
fn get_data_dispos_z(self) -> i32
get_DataDisposZ() overload
Sourcefn get_calc_result(self) -> MapDispos_ActualData_CalcResults
fn get_calc_result(self) -> MapDispos_ActualData_CalcResults
get_CalcResult() overload
Sourcefn get_unit_index(self) -> i32
fn get_unit_index(self) -> i32
get_UnitIndex() overload
Sourcefn get_calc_appear_x(self) -> i32
fn get_calc_appear_x(self) -> i32
get_CalcAppearX() overload
Sourcefn get_calc_appear_z(self) -> i32
fn get_calc_appear_z(self) -> i32
get_CalcAppearZ() overload
Sourcefn get_calc_dispos_x(self) -> i32
fn get_calc_dispos_x(self) -> i32
get_CalcDisposX() overload
Sourcefn get_calc_dispos_z(self) -> i32
fn get_calc_dispos_z(self) -> i32
get_CalcDisposZ() overload
Sourcefn get_dispos_dir(self) -> DisposData_Directions
fn get_dispos_dir(self) -> DisposData_Directions
get_DisposDir() overload
Sourcefn calc_dispos_xz(self, unit: impl Into<Unit>) -> (bool, i32, i32)
fn calc_dispos_xz(self, unit: impl Into<Unit>) -> (bool, i32, i32)
CalcDisposXZ(crate::app::unit::Unit, *muti32, *muti32) overload
Sourcefn calc_apper_xz(
self,
unit: impl Into<Unit>,
dispos_x: impl Into<i32>,
dispos_z: impl Into<i32>,
) -> (bool, i32, i32)
fn calc_apper_xz( self, unit: impl Into<Unit>, dispos_x: impl Into<i32>, dispos_z: impl Into<i32>, ) -> (bool, i32, i32)
CalcApperXZ(crate::app::unit::Unit, i32, i32, *muti32, *muti32) overload
Sourcefn is_forced(self, flag: impl Into<MapDispos_Flag>) -> bool
fn is_forced(self, flag: impl Into<MapDispos_Flag>) -> bool
IsForced(crate::app::mapdispos::MapDispos_Flag) overload
Sourcefn is_enable(self, flag: impl Into<MapDispos_Flag>) -> bool
fn is_enable(self, flag: impl Into<MapDispos_Flag>) -> bool
IsEnable(crate::app::mapdispos::MapDispos_Flag) overload
Sourcefn get_unit(self, dispos_flag: impl Into<MapDispos_Flag>) -> Unit
fn get_unit(self, dispos_flag: impl Into<MapDispos_Flag>) -> Unit
GetUnit(crate::app::mapdispos::MapDispos_Flag) overload
Sourcefn get_terrain(self, x: impl Into<i32>, z: impl Into<i32>) -> TerrainData_2
fn get_terrain(self, x: impl Into<i32>, z: impl Into<i32>) -> TerrainData_2
GetTerrain(i32, i32) overload
Sourcefn is_out_of_play_area(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool
fn is_out_of_play_area( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) -> bool
IsOutOfPlayArea(crate::app::unit::Unit, i32, i32) overload
Sourcefn is_unit_exist(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool
fn is_unit_exist( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) -> bool
IsUnitExist(crate::app::unit::Unit, i32, i32) overload
Sourcefn is_terrain_immobile(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
fn is_terrain_immobile(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
IsTerrainImmobile(i32, i32) overload
Sourcefn is_terrain_immobile_2(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
) -> bool
fn is_terrain_immobile_2( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, ) -> bool
IsTerrainImmobile(crate::app::unit::Unit, i32, i32) overload
Sourcefn unit_ai_move_limit_for_big_unit(
self,
unit: impl Into<Unit>,
move_flag: impl Into<MapDeployTemplate_1_Flag<MapDeploy>>,
)
fn unit_ai_move_limit_for_big_unit( self, unit: impl Into<Unit>, move_flag: impl Into<MapDeployTemplate_1_Flag<MapDeploy>>, )
UnitAIMoveLimitForBigUnit(crate::app::unit::Unit, crate::app::mapdeploytemplate_1::MapDeployTemplate_1_Flag<crate::app::mapdeploy::MapDeploy>) overload
Sourcefn get_data_person(self) -> PersonData
fn get_data_person(self) -> PersonData
get_DataPerson() overload
Sourcefn get_data_force_type(self) -> Force_Type
fn get_data_force_type(self) -> Force_Type
get_DataForceType() overload
Sourcefn get_data_appear_x(self) -> i32
fn get_data_appear_x(self) -> i32
get_DataAppearX() overload
Sourcefn get_data_appear_z(self) -> i32
fn get_data_appear_z(self) -> i32
get_DataAppearZ() 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: IMapDispos_ActualData> IMapDispos_ActualDataMethods for __T
app-mapdispos only.