Skip to main content

IAICrossfire_CrossfireMethods

Trait IAICrossfire_CrossfireMethods 

Source
pub trait IAICrossfire_CrossfireMethods: IAICrossfire_Crossfire {
    // Provided methods
    fn get_target(self) -> Unit { ... }
    fn set_target(self, value: impl Into<Unit>) { ... }
    fn get_num(self) -> i32 { ... }
    fn set_num(self, value: impl Into<i32>) { ... }
    fn get_actor_fire_index(self) -> i32 { ... }
    fn get_actor_position_index(self) -> i32 { ... }
    fn get_fire(self, index: impl Into<i32>) -> AICrossfire_Fire { ... }
    fn ctor(self) { ... }
    fn calculate_score(
        self,
        fire_comparer: impl Into<AICrossfire_FireComparer>,
    ) -> i32 { ... }
}

Provided Methods§

Source

fn get_target(self) -> Unit

get_Target() overload

Source

fn set_target(self, value: impl Into<Unit>)

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

Source

fn get_num(self) -> i32

get_Num() overload

Source

fn set_num(self, value: impl Into<i32>)

set_Num(i32) overload

Source

fn get_actor_fire_index(self) -> i32

get_ActorFireIndex() overload

Source

fn get_actor_position_index(self) -> i32

get_ActorPositionIndex() overload

Source

fn get_fire(self, index: impl Into<i32>) -> AICrossfire_Fire

GetFire(i32) overload

Source

fn ctor(self)

.ctor() overload

Source

fn calculate_score( self, fire_comparer: impl Into<AICrossfire_FireComparer>, ) -> i32

CalculateScore(crate::app::aicrossfire::AICrossfire_FireComparer) 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: IAICrossfire_Crossfire> IAICrossfire_CrossfireMethods for __T

Available on crate feature app-aicrossfire only.