pub trait IMapRouteMethods: IMapRoute {
Show 49 methods
// Provided methods
fn get_goal_x_2(self) -> i32 { ... }
fn get_goal_z_2(self) -> i32 { ... }
fn get_goal_x_3(self, x: impl Into<i32>) -> i32 { ... }
fn get_goal_z_3(self, z: impl Into<i32>) -> i32 { ... }
fn get_goal_dir_2(self) -> Dir_Type { ... }
fn ctor(self) { ... }
fn reset(self) { ... }
fn reset_2(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
fn reset_3(self, mind: impl Into<MapMind_Type>) { ... }
fn tick(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
fn get_mind_mask(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> MapRoute_Flag { ... }
fn tick_mind(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> bool { ... }
fn can_mind_seek(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> bool { ... }
fn can_passable(self, deploy: impl Into<MapDeploy>) -> bool { ... }
fn get_cross(self, x: impl Into<i32>, z: impl Into<i32>) -> i32 { ... }
fn set_for_ai(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
) { ... }
fn set_for_replay(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
) { ... }
fn set_for_resume(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
) { ... }
fn set_for_event(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
) { ... }
fn set_for_event_2(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
str: impl Into<Il2CppString>,
) { ... }
fn set_for_escape(self, dir: impl Into<Dir_Type>) { ... }
fn get_routes(self) -> Array<Dir_Type> { ... }
fn get_count(self) -> i32 { ... }
fn get_first_x(self) -> i32 { ... }
fn get_first_z(self) -> i32 { ... }
fn get_last_x(self) -> i32 { ... }
fn get_last_z(self) -> i32 { ... }
fn get_cursor_x(self) -> i32 { ... }
fn get_cursor_z(self) -> i32 { ... }
fn get_mind(self) -> MapMind_Type { ... }
fn get_move_power(self, unit: impl Into<Unit>) -> i32 { ... }
fn try_add_move(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... }
fn tick_move(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
fn tick_mind_here(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> bool { ... }
fn try_get_candidate(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> (bool, i32, i32, MapMind_Type, i32) { ... }
fn begin_mask_move(
self,
unit: impl Into<Unit>,
start_x: impl Into<i32>,
start_z: impl Into<i32>,
move_power: impl Into<i32>,
) { ... }
fn end_mask_move(self) { ... }
fn tick_mind_seek(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> bool { ... }
fn get_mind_seek_score(self, mind: impl Into<MapMind_Type>) -> i32 { ... }
fn get_mind_seek_score_terrain(
self,
x: impl Into<i32>,
z: impl Into<i32>,
range: impl Into<i32>,
) -> i32 { ... }
fn seek(self, x: impl Into<i32>, z: impl Into<i32>) { ... }
fn add_route_last(self, dir: impl Into<Dir_Type>) { ... }
fn add_route_first(self, dir: impl Into<Dir_Type>) { ... }
fn clamp(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
) { ... }
fn try_back(self, x: impl Into<i32>, z: impl Into<i32>) -> bool { ... }
fn back(self, index: impl Into<i32>) { ... }
fn is_enable(self) -> bool { ... }
fn is_active(self) -> bool { ... }
fn set_active(self, active: impl Into<bool>) { ... }
}Provided Methods§
Sourcefn get_goal_x_2(self) -> i32
fn get_goal_x_2(self) -> i32
GetGoalX() overload
Sourcefn get_goal_z_2(self) -> i32
fn get_goal_z_2(self) -> i32
GetGoalZ() overload
Sourcefn get_goal_x_3(self, x: impl Into<i32>) -> i32
fn get_goal_x_3(self, x: impl Into<i32>) -> i32
GetGoalX(i32) overload
Sourcefn get_goal_z_3(self, z: impl Into<i32>) -> i32
fn get_goal_z_3(self, z: impl Into<i32>) -> i32
GetGoalZ(i32) overload
Sourcefn get_goal_dir_2(self) -> Dir_Type
fn get_goal_dir_2(self) -> Dir_Type
GetGoalDir() overload
Sourcefn reset_3(self, mind: impl Into<MapMind_Type>)
fn reset_3(self, mind: impl Into<MapMind_Type>)
Reset(crate::app::mapmind::MapMind_Type) overload
Sourcefn get_mind_mask(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> MapRoute_Flag
fn get_mind_mask( self, x: impl Into<i32>, z: impl Into<i32>, flag: impl Into<MapRoute_Flag>, ) -> MapRoute_Flag
GetMindMask(i32, i32, crate::app::maproute::MapRoute_Flag) overload
Sourcefn tick_mind(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> bool
fn tick_mind( self, x: impl Into<i32>, z: impl Into<i32>, flag: impl Into<MapRoute_Flag>, ) -> bool
TickMind(i32, i32, crate::app::maproute::MapRoute_Flag) overload
Sourcefn can_mind_seek(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> bool
fn can_mind_seek( self, x: impl Into<i32>, z: impl Into<i32>, flag: impl Into<MapRoute_Flag>, ) -> bool
CanMindSeek(i32, i32, crate::app::maproute::MapRoute_Flag) overload
Sourcefn can_passable(self, deploy: impl Into<MapDeploy>) -> bool
fn can_passable(self, deploy: impl Into<MapDeploy>) -> bool
CanPassable(crate::app::mapdeploy::MapDeploy) overload
Sourcefn set_for_ai(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
)
fn set_for_ai( self, first_x: impl Into<i32>, first_z: impl Into<i32>, last_x: impl Into<i32>, last_z: impl Into<i32>, )
SetForAI(i32, i32, i32, i32) overload
Sourcefn set_for_replay(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
)
fn set_for_replay( self, first_x: impl Into<i32>, first_z: impl Into<i32>, last_x: impl Into<i32>, last_z: impl Into<i32>, )
SetForReplay(i32, i32, i32, i32) overload
Sourcefn set_for_resume(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
)
fn set_for_resume( self, first_x: impl Into<i32>, first_z: impl Into<i32>, last_x: impl Into<i32>, last_z: impl Into<i32>, )
SetForResume(i32, i32, i32, i32) overload
Sourcefn set_for_event(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
)
fn set_for_event( self, first_x: impl Into<i32>, first_z: impl Into<i32>, last_x: impl Into<i32>, last_z: impl Into<i32>, )
SetForEvent(i32, i32, i32, i32) overload
Sourcefn set_for_event_2(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
str: impl Into<Il2CppString>,
)
fn set_for_event_2( self, first_x: impl Into<i32>, first_z: impl Into<i32>, str: impl Into<Il2CppString>, )
SetForEvent(i32, i32, ::unity::Il2CppString) overload
Sourcefn set_for_escape(self, dir: impl Into<Dir_Type>)
fn set_for_escape(self, dir: impl Into<Dir_Type>)
SetForEscape(crate::app::dir_2::Dir_Type) overload
Sourcefn get_routes(self) -> Array<Dir_Type>
fn get_routes(self) -> Array<Dir_Type>
get_Routes() overload
Sourcefn get_first_x(self) -> i32
fn get_first_x(self) -> i32
get_FirstX() overload
Sourcefn get_first_z(self) -> i32
fn get_first_z(self) -> i32
get_FirstZ() overload
Sourcefn get_last_x(self) -> i32
fn get_last_x(self) -> i32
get_LastX() overload
Sourcefn get_last_z(self) -> i32
fn get_last_z(self) -> i32
get_LastZ() overload
Sourcefn get_cursor_x(self) -> i32
fn get_cursor_x(self) -> i32
get_CursorX() overload
Sourcefn get_cursor_z(self) -> i32
fn get_cursor_z(self) -> i32
get_CursorZ() overload
Sourcefn get_mind(self) -> MapMind_Type
fn get_mind(self) -> MapMind_Type
get_Mind() overload
Sourcefn get_move_power(self, unit: impl Into<Unit>) -> i32
fn get_move_power(self, unit: impl Into<Unit>) -> i32
GetMovePower(crate::app::unit::Unit) overload
Sourcefn try_add_move(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
fn try_add_move(self, x: impl Into<i32>, z: impl Into<i32>) -> bool
TryAddMove(i32, i32) overload
Sourcefn tick_mind_here(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> bool
fn tick_mind_here( self, x: impl Into<i32>, z: impl Into<i32>, flag: impl Into<MapRoute_Flag>, ) -> bool
TickMindHere(i32, i32, crate::app::maproute::MapRoute_Flag) overload
Sourcefn try_get_candidate(
self,
unit: impl Into<Unit>,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> (bool, i32, i32, MapMind_Type, i32)
fn try_get_candidate( self, unit: impl Into<Unit>, x: impl Into<i32>, z: impl Into<i32>, flag: impl Into<MapRoute_Flag>, ) -> (bool, i32, i32, MapMind_Type, i32)
TryGetCandidate(crate::app::unit::Unit, i32, i32, crate::app::maproute::MapRoute_Flag, *muti32, *muti32, *mutcrate::app::mapmind::MapMind_Type, *muti32) overload
Sourcefn begin_mask_move(
self,
unit: impl Into<Unit>,
start_x: impl Into<i32>,
start_z: impl Into<i32>,
move_power: impl Into<i32>,
)
fn begin_mask_move( self, unit: impl Into<Unit>, start_x: impl Into<i32>, start_z: impl Into<i32>, move_power: impl Into<i32>, )
BeginMaskMove(crate::app::unit::Unit, i32, i32, i32) overload
Sourcefn end_mask_move(self)
fn end_mask_move(self)
EndMaskMove() overload
Sourcefn tick_mind_seek(
self,
x: impl Into<i32>,
z: impl Into<i32>,
flag: impl Into<MapRoute_Flag>,
) -> bool
fn tick_mind_seek( self, x: impl Into<i32>, z: impl Into<i32>, flag: impl Into<MapRoute_Flag>, ) -> bool
TickMindSeek(i32, i32, crate::app::maproute::MapRoute_Flag) overload
Sourcefn get_mind_seek_score(self, mind: impl Into<MapMind_Type>) -> i32
fn get_mind_seek_score(self, mind: impl Into<MapMind_Type>) -> i32
GetMindSeekScore(crate::app::mapmind::MapMind_Type) overload
Sourcefn get_mind_seek_score_terrain(
self,
x: impl Into<i32>,
z: impl Into<i32>,
range: impl Into<i32>,
) -> i32
fn get_mind_seek_score_terrain( self, x: impl Into<i32>, z: impl Into<i32>, range: impl Into<i32>, ) -> i32
GetMindSeekScoreTerrain(i32, i32, i32) overload
Sourcefn add_route_last(self, dir: impl Into<Dir_Type>)
fn add_route_last(self, dir: impl Into<Dir_Type>)
AddRouteLast(crate::app::dir_2::Dir_Type) overload
Sourcefn add_route_first(self, dir: impl Into<Dir_Type>)
fn add_route_first(self, dir: impl Into<Dir_Type>)
AddRouteFirst(crate::app::dir_2::Dir_Type) overload
Sourcefn clamp(
self,
first_x: impl Into<i32>,
first_z: impl Into<i32>,
last_x: impl Into<i32>,
last_z: impl Into<i32>,
)
fn clamp( self, first_x: impl Into<i32>, first_z: impl Into<i32>, last_x: impl Into<i32>, last_z: impl Into<i32>, )
Clamp(i32, i32, i32, i32) overload
Sourcefn set_active(self, active: impl Into<bool>)
fn set_active(self, active: impl Into<bool>)
SetActive(bool) 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: IMapRoute> IMapRouteMethods for __T
app-maproute only.