This is the complete list of members for battle_context, including all inherited members.
| attacker_combatant_ | battle_context | private |
| attacker_stats_ | battle_context | private |
| battle_context(const unit_map &units, const map_location &attacker_loc, const map_location &defender_loc, int attacker_weapon=-1, int defender_weapon=-1, double aggression=0.0, const combatant *prev_def=nullptr, unit_const_ptr attacker_ptr=unit_const_ptr(), unit_const_ptr defender_ptr=unit_const_ptr()) | battle_context | |
| battle_context(const battle_context_unit_stats &att, const battle_context_unit_stats &def) | battle_context | |
| battle_context(battle_context &&other)=default | battle_context | |
| battle_context(nonempty_unit_const_ptr attacker, const map_location &attacker_loc, int attacker_weapon, nonempty_unit_const_ptr defender, const map_location &defender_loc, int defender_weapon) | battle_context | private |
| better_attack(class battle_context &that, double harm_weight) | battle_context | |
| better_combat(const combatant &us_a, const combatant &them_a, const combatant &us_b, const combatant &them_b, double harm_weight) | battle_context | static |
| better_defense(class battle_context &that, double harm_weight) | battle_context | |
| choose_attacker_weapon(nonempty_unit_const_ptr attacker, const nonempty_unit_const_ptr &defender, const map_location &attacker_loc, const map_location &defender_loc, double harm_weight, const combatant *prev_def) | battle_context | privatestatic |
| choose_defender_weapon(nonempty_unit_const_ptr attacker, nonempty_unit_const_ptr defender, unsigned attacker_weapon, const map_location &attacker_loc, const map_location &defender_loc, const combatant *prev_def) | battle_context | privatestatic |
| defender_combatant_ | battle_context | private |
| defender_stats_ | battle_context | private |
| get_attacker_combatant(const combatant *prev_def=nullptr) | battle_context | |
| get_attacker_stats() const | battle_context | inline |
| get_defender_combatant(const combatant *prev_def=nullptr) | battle_context | |
| get_defender_stats() const | battle_context | inline |
| operator=(battle_context &&other)=default | battle_context | |
| simulate(const combatant *prev_def) | battle_context |