The Battle for Wesnoth  1.19.7+dev
unit Member List

This is the complete list of members for unit, including all inherited members.

abilities() constunitinline
abilities_unitprivate
ability_active(const std::string &ability, const config &cfg, const map_location &loc) constunitprivate
ability_active_impl(const std::string &ability, const config &cfg, const map_location &loc) constunitprivate
ability_affects_adjacent(const std::string &ability, const config &cfg, int dir, const map_location &loc, const unit &from) constunitprivate
ability_affects_self(const std::string &ability, const config &cfg, const map_location &loc) constunitprivate
ability_affects_weapon(const config &cfg, const const_attack_ptr &weapon, bool is_opp) constunitprivate
ability_matches_filter(const config &cfg, const std::string &tag_name, const config &filter) constunit
ability_tooltips() constunit
ability_tooltips(boost::dynamic_bitset<> &active_list, const map_location &loc) constunit
absolute_image() constunit
add_attack(attack_itors::iterator position, Args &&... args)unitinline
add_modification(const std::string &type, const config &modification, bool no_add=false)unit
add_trait_description(const config &trait, const t_string &description)unit
advance_to(const unit_type &t, bool use_traits=false)unit
advancement_icons() constunit
advancements_unitprivate
advancements_count() constunitinline
advances() constunitinline
advances_to() constunitinline
advances_to_unitprivate
advances_to_t typedefunit
advances_to_translated() constunit
alignment() constunitinline
alignment_unitprivate
amla_icons() constunit
anim_comp() constunitinline
anim_comp_unitprivate
appearance_changed() constunitinline
appearance_changed_unitmutableprivate
apply_builtin_effect(const std::string &type, const config &effect)unit
apply_modifications()unit
attacks()unitinline
attacks() constunitinline
attacks_unitprivate
attacks_left() constunitinline
attacks_left(bool base_value) constunitinline
attacks_left_unitprivate
big_profile() constunit
builtin_effectsunitstatic
can_advance() constunitinline
can_recruit() constunitinline
canrecruit_unitprivate
changed_attributes_unitprivate
checking_tags() constunitinline
checking_tags_unitprivate
clear_changed_attributes()unitprivate
clear_status_caches()unitstatic
clear_visibility_cache() constunitinlineprivate
clone() constunitinline
cost() constunitinline
create(const config &cfg, bool use_traits=false, const vconfig *vcfg=nullptr)unitinlinestatic
create(const unit_type &t, int side, bool real_unit, unit_race::GENDER gender=unit_race::NUM_GENDERS, const std::string &variation="")unitinlinestatic
damage_from(const attack_type &attack, bool attacker, const map_location &loc, const_attack_ptr weapon=nullptr) constunitinline
default_anim_image() constunit
defense_modifier(const t_translation::terrain_code &terrain) constunit
describe_builtin_effect(const std::string &type, const config &effect)unit
description_unitprivate
effect_image_mods() constunitinline
ellipse_unitprivate
emit_zoc_unitprivate
emits_zoc() constunitinline
end_turn()unit
end_turn_unitprivate
events_unitprivate
experience() constunitinline
experience_unitprivate
experience_overflow() constunitinline
experience_to_advance() constunitinline
expire_modifications(const std::string &duration)unit
facing() constunitinline
facing_unitmutableprotected
filter_recall_unitprivate
flag_rgb() constunit
flag_rgb_unitprivate
formula_man_unitprivate
formula_manager() constunitinline
gender() constunitinline
gender_unitprivate
generate_name()unit
generate_name_unitprivate
generate_traits(bool must_have_only=false)unit
get_abilities(const std::string &tag_name, const map_location &loc) constunit
get_abilities(const std::string &tag_name) constunitinline
get_abilities_weapons(const std::string &tag_name, const map_location &loc, const_attack_ptr weapon=nullptr, const_attack_ptr opp_weapon=nullptr) constunit
get_abilities_weapons(const std::string &tag_name, const_attack_ptr weapon=nullptr, const_attack_ptr opp_weapon=nullptr) constunitinline
get_ability_bool(const std::string &tag_name, const map_location &loc) constunit
get_ability_bool(const std::string &tag_name) constunitinline
get_ability_list() constunit
get_adj_ability_bool(const config &cfg, const std::string &ability, int dir, const map_location &loc, const unit &from) constunit
get_adj_ability_bool_weapon(const config &special, const std::string &tag_name, int dir, const map_location &loc, const unit &from, const const_attack_ptr &weapon=nullptr, const const_attack_ptr &opp_weapon=nullptr) constunit
get_advancements_list() constunitinline
get_attacks_changed() constunitprivate
get_attr_changed(UNIT_ATTRIBUTE attr) constunitinlineprivate
get_base_resistances() constunitinline
get_emit_zoc() constunitinline
get_goto() constunitinline
get_hidden() constunitinline
get_interrupted_move() constunitinline
get_known_boolean_state_id(const std::string &state)unitstatic
get_known_boolean_state_name(state_t state)unitstatic
get_location() constunitinline
get_modification_advances() constunit
get_modifications()unitinline
get_modifications() constunitinline
get_modifications_list(const std::string &mod_type) constunit
get_objects_list() constunitinline
get_role() constunitinline
get_self_ability_bool(const config &cfg, const std::string &ability, const map_location &loc) constunit
get_self_ability_bool_weapon(const config &special, const std::string &tag_name, const map_location &loc, const const_attack_ptr &weapon=nullptr, const const_attack_ptr &opp_weapon=nullptr) constunit
get_state(const std::string &state) constunit
get_state(state_t state) constunit
get_states() constunit
get_traits_list() constunitinline
goto_unitprivate
halo_unitprivate
halo_abilities() constunitinline
halo_or_icon_abilities(const std::string &image_type) constunit
has_ability_by_id(const std::string &ability) constunit
has_ability_type(const std::string &ability) constunit
has_goto() constunitinline
has_moved() constunitinline
heal(int amount)unit
heal_fully()unitinline
hidden_unitmutableprivate
hit_points_unitprivate
hitpoints() constunitinline
hold_position() constunitinline
hold_position_unitprivate
hp_bar_scaling() constunitinline
hp_bar_scaling_unitprivate
hp_color() constunit
hp_color(int hitpoints) constunit
hp_color_max()unitstatic
id() constunitinline
id_unitprivate
image_ellipse() constunitinline
image_halo() constunitinline
image_mods() constunit
image_mods_unitprivate
incapacitated() constunitinline
init(const config &cfg, bool use_traits=false, const vconfig *vcfg=nullptr)unitprivate
init(const unit_type &t, int side, bool real_unit, unit_race::GENDER gender=unit_race::NUM_GENDERS, const std::string &variation="")unitprivate
interrupted_move_unitprivate
invisibility_cache_unitmutableprivate
invisible(const map_location &loc, bool see_all=true) constunit
is_fearless() constunitinline
is_fearless_unitprivate
is_flying() constunitinline
is_healthy() constunitinline
is_healthy_unitprivate
is_visible_to_team(const team &team, bool const see_all=true) constunit
is_visible_to_team(const map_location &loc, const team &team, bool const see_all=true) constunit
jamming() constunitinline
jamming_unitprivate
jamming_cost(const t_translation::terrain_code &terrain) constunitinline
known_boolean_state_names_unitprivatestatic
known_boolean_states_unitprivate
leader_crown()unitstatic
level() constunitinline
level_unitprivate
loc_unitprivate
loyal() constunit
mark_clone(bool is_temporary)unit
max_attacks() constunitinline
max_attacks_unitprivate
max_experience() constunitinline
max_experience_unitprivate
max_hit_points_unitprivate
max_hitpoints() constunitinline
max_movement_unitprivate
modification_advancements() constunitinline
modification_count(const std::string &type, const std::string &id) constunit
modification_count(const std::string &type) constunit
modification_descriptions_unitprivate
modifications_unitprivate
move_interrupted() constunitinline
movement_unitprivate
movement_cost(const t_translation::terrain_code &terrain) constunitinline
movement_left() constunitinline
movement_left(bool base_value) constunitinline
movement_type() constunitinline
movement_type_unitprivate
name() constunitinline
name_unitprivate
new_scenario()unit
new_turn()unit
num_bool_statesunitprivatestatic
NUMBER_OF_STATES enum valueunit
objects_count() constunitinline
open_queries_unitmutableprivate
operator=(const unit &)=deleteunit
overlays() constunitinline
overlays_unitprivate
overlays_abilities() constunitinline
parse_upkeep(const config::attribute_value &upkeep)unitprivate
poisoned() constunitinline
profile_unitprivate
race() constunitinline
race_unitprivate
random_traits_unitprivate
recall_cost() constunitinline
recall_cost_unitprivate
recall_filter() constunitinline
recruit_list_unitprivate
recruits() constunitinline
remove_ability_by_attribute(const config &filter)unit
remove_ability_by_id(const std::string &ability)unit
remove_attack(const attack_ptr &atk)unit
remove_attacks_ai()unit
remove_movement_ai()unit
rename(const std::string &name)unitinline
resistance_against(const std::string &damage_name, bool attacker, const map_location &loc, const_attack_ptr weapon=nullptr, const const_attack_ptr &opp_weapon=nullptr) constunit
resistance_against(const attack_type &atk, bool attacker, const map_location &loc, const_attack_ptr weapon=nullptr) constunitinline
resistance_filter_matches(const config &cfg, const std::string &damage_name, int res) constunitprivate
resistance_value(unit_ability_list resistance_list, const std::string &damage_name) constunit
resting() constunitinline
resting_unitprivate
role_unitprivate
set_advancements(std::vector< config > advancements)unit
set_advances_to(const std::vector< std::string > &advances_to)unit
set_alignment(unit_alignments::type alignment)unitinline
set_appearance_changed(bool value)unitinline
set_attacks(int left)unitinline
set_attr_changed(UNIT_ATTRIBUTE attr)unitinlineprivate
set_big_profile(const std::string &value)unit
set_can_recruit(bool canrecruit)unitinline
set_emit_zoc(bool val)unitinline
set_experience(int xp)unitinline
set_facing(map_location::direction dir) constunit
set_goto(const map_location &new_goto)unitinline
set_hidden(bool state) constunit
set_hitpoints(int hp)unitinline
set_id(const std::string &id)unitinline
set_image_ellipse(const std::string &ellipse)unitinline
set_image_halo(const std::string &halo)unit
set_interrupted_move(const map_location &interrupted_move)unitinline
set_level(int level)unitinline
set_location(const map_location &loc)unitinline
set_loyal(bool loyal)unit
set_max_attacks(int value)unitinline
set_max_experience(int value)unitinline
set_max_hitpoints(int value)unitinline
set_movement(int moves, bool unit_action=false)unit
set_name(const t_string &name)unitinline
set_recall_cost(int recall_cost)unitinline
set_recall_filter(const config &filter)unitinline
set_recruits(const std::vector< std::string > &recruits)unit
set_resting(bool rest)unitinline
set_role(const std::string &role)unitinline
set_side(unsigned int new_side)unitinline
set_small_profile(const std::string &value)unitinline
set_state(const std::string &state, bool value)unit
set_state(state_t state, bool value)unit
set_total_movement(int value)unitinline
set_undead_variation(const std::string &value)unitinline
set_underlying_id(n_unit::id_manager &id_manager)unitprivate
set_unit_description(const t_string &new_desc)unitinline
set_unrenamable(bool unrenamable)unitinline
set_upkeep(upkeep_t v)unitinline
set_usage(const std::string &usage)unitinline
set_user_end_turn(bool value=true)unitinline
side() constunitinline
side_unitprivate
slowed() constunitinline
small_profile() constunit
small_profile_unitprivate
special_notes_unitprivate
STATE_GUARDIAN enum valueunit
STATE_INVULNERABLE enum valueunit
STATE_NOT_MOVED enum valueunit
STATE_PETRIFIED enum valueunit
STATE_POISONED enum valueunit
STATE_SLOWED enum valueunit
state_t enum nameunit
STATE_UNCOVERED enum valueunit
STATE_UNHEALABLE enum valueunit
STATE_UNKNOWN enum valueunit
states_unitprivate
take_hit(int damage)unitinline
TC_image_mods() constunit
toggle_hold_position()unitinline
toggle_user_end_turn()unitinline
total_movement() constunitinline
trait_descriptions() constunitinline
trait_descriptions_unitprivate
trait_names() constunitinline
trait_names_unitprivate
trait_nonhidden_ids() constunitinline
trait_nonhidden_ids_unitprivate
traits_count() constunitinline
type() constunitinline
type_unitprivate
type_id() constunit
type_name() constunitinline
type_name_unitprivate
UA_ABILITIES enum valueunitprivate
UA_ADVANCE_TO enum valueunitprivate
UA_ADVANCEMENTS enum valueunitprivate
UA_ALIGNMENT enum valueunitprivate
UA_ATTACKS enum valueunitprivate
UA_COUNT enum valueunitprivate
UA_IS_FEARLESS enum valueunitprivate
UA_IS_HEALTHY enum valueunitprivate
UA_LEVEL enum valueunitprivate
UA_MAX_AP enum valueunitprivate
UA_MAX_HP enum valueunitprivate
UA_MAX_MP enum valueunitprivate
UA_MAX_XP enum valueunitprivate
UA_MOVEMENT_TYPE enum valueunitprivate
UA_NOTES enum valueunitprivate
UA_PROFILE enum valueunitprivate
UA_SMALL_PROFILE enum valueunitprivate
UA_UNDEAD_VARIATION enum valueunitprivate
UA_UPKEEP enum valueunitprivate
UA_ZOC enum valueunitprivate
undead_variation() constunitinline
undead_variation_unitprivate
underlying_id() constunitinline
underlying_id_unitprivate
unit(const unit &u)unitprivate
unit(unit_ctor_t)unit
unit()=deleteunit
unit_animation_component classunitfriend
UNIT_ATTRIBUTE enum nameunitprivate
unit_description() constunitinline
unit_special_notes() constunit
unit_value_unitprivate
unrenamable() constunitinline
unrenamable_unitprivate
update_variables_recursion(const config &ability) constunitprivate
upkeep() constunit
upkeep_unitprivate
upkeep_raw() constunitinline
upkeep_t typedefunit
usage() constunitinline
usage_unitprivate
user_end_turn() constunitinline
variables()unitinline
variables() constunitinline
variables_unitprivate
variation() constunitinline
variation_unitprivate
vision() constunitinline
vision_unitprivate
vision_cost(const t_translation::terrain_code &terrain) constunitinline
write(config &cfg, bool write_all=true) constunit
write_upkeep(config::attribute_value &upkeep) constunitprivate
xp_bar_scaling() constunitinline
xp_bar_scaling_unitprivate
xp_color() constunit
xp_color(int xp_to_advance, bool can_advance, bool has_amla)unitstatic
~unit()unitvirtual