The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
unit Member List

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

abilities_unitprivate
ability_active(const std::string &ability, const config &cfg, const map_location &loc) const unitprivate
ability_affects_adjacent(const std::string &ability, const config &cfg, int dir, const map_location &loc, const unit &from) const unitprivate
ability_affects_self(const std::string &ability, const config &cfg, const map_location &loc) const unitprivate
ability_tooltips(std::vector< bool > *active_list=nullptr) const unit
absolute_image() const unit
add_modification(const std::string &type, const config &modification, bool no_add=false)unit
add_trait_description(const config &trait, const t_string &description)unitprivate
advance_to(const unit_type &t, bool use_traits=false)unit
advancement_icons() const unit
advancements_unitprivate
advances() const unitinline
advances_to() const unitinline
advances_to_unitprivate
advances_to_translated() const unit
alignment() const unitinline
alignment_unitprivate
alpha() const unitinline
alpha_unitprivate
amla_icons() const unit
anim_comp() const unitinline
anim_comp_unitprivate
apply_builtin_effect(std::string type, const config &effect)unit
apply_modifications()unit
attacks() const unitinline
attacks()unitinline
attacks_unitprivate
attacks_left() const unitinline
attacks_left_unitprivate
backup_state()unit
big_profile() const unit
builtin_effectsunitstatic
can_advance() const unitinline
can_recruit() const unitinline
canrecruit_unitprivate
clear_status_caches()unitstatic
clear_visibility_cache() const unitinlineprivate
clone(bool is_temporary=true)unit
cost() const unitinline
damage_from(const attack_type &attack, bool attacker, const map_location &loc) const unitinline
default_anim_image() const unit
defense_modifier(const t_translation::t_terrain &terrain) const unit
describe_builtin_effect(std::string type, const config &effect)unit
description_unitprivate
effect_image_mods() const unit
ellipse_unitprivate
emit_zoc_unitprivate
emits_zoc() const unitinline
end_turn()unit
end_turn_unitprivate
events_unitprivate
experience() const unitinline
experience_unitprivate
expire_modifications(const std::string &duration)unit
facing() const unitinline
facing_unitmutableprotected
filter_recall_unitprivate
flag_rgb_unitprivate
formula_man_unitprivate
formula_manager() const unitinline
gender() const unitinline
gender_unitprivate
generate_name()unit
generate_name_unitprivate
generate_traits(bool musthaveonly=false)unit
get_abilities(const std::string &tag_name, const map_location &loc) const unit
get_abilities(const std::string &tag_name) const unitinline
get_ability_bool(const std::string &tag_name, const map_location &loc) const unit
get_ability_bool(const std::string &tag_name) const unitinline
get_ability_list() const unit
get_base_resistances() const unitinline
get_emit_zoc() const unitinline
get_goto() const unitinline
get_hidden() const unitinline
get_interrupted_move() const unitinline
get_known_boolean_state_id(const std::string &state)unitstatic
get_known_boolean_state_names()unitstatic
get_location() const unitinline
get_modification_advances() const unit
get_role() const unitinline
get_state(const std::string &state) const unit
get_state(state_t state) const unit
get_states() const unit
get_traits_list() const unit
getsHit_unitprivate
goto_unitprivate
halo_unitprivate
has_ability_by_id(const std::string &ability) const unit
has_ability_type(const std::string &ability) const unit
has_goto() const unitinline
has_moved() const unitinline
heal(int amount)unit
heal_all()unitinline
hidden_unitmutableprivate
hit_points_unitprivate
hitpoints() const unitinline
hold_position() const unitinline
hold_position_unitprivate
hp_bar_scaling() const unitinline
hp_bar_scaling_unitprivate
hp_color() const unit
hp_color(int hitpoints) const unit
id() const unitinline
id_unitprivate
image_ellipse() const unitinline
image_halo() const unitinline
image_mods() const unit
image_mods_unitprivate
incapacitated() const unitinline
interrupted_move_unitprivate
intrusive_ptr_add_ref(const unit *)unitfriend
intrusive_ptr_release(const unit *)unitfriend
invisibility_cache_unitmutableprivate
invisible(const map_location &loc, bool see_all=true) const unit
is_fearless() const unitinline
is_fearless_unitprivate
is_flying() const unitinline
is_healthy() const unitinline
is_healthy_unitprivate
is_visible_to_team(team const &team, gamemap const &map, bool const see_all=true) const unit
jamming() const unitinline
jamming_unitprivate
jamming_cost(const t_translation::t_terrain &terrain) const unitinline
known_boolean_state_names_unitprivatestatic
known_boolean_states_unitprivate
leader_crown()unitstatic
level() const unitinline
level_unitprivate
loc_unitprivate
loyal() const unit
matches_id(const std::string &unit_id) const unit
max_attacks() const unitinline
max_attacks_unitprivate
max_experience() const unitinline
max_experience_unitprivate
max_hit_points_unitprivate
max_hitpoints() const unitinline
max_movement_unitprivate
modification_advancements() const unitinline
modification_count(const std::string &type, const std::string &id) const unit
modification_descriptions_unitprivate
modifications_unitprivate
move_interrupted() const unitinline
movement_unitprivate
movement_cost(const t_translation::t_terrain &terrain) const unitinline
movement_left() const unitinline
movement_left(bool base_value) const unitinline
movement_type() const unitinline
movement_type_unitprivate
name() const unitinline
name_unitprivate
new_scenario()unit
new_turn()unit
operator=(unit)unit
overlays() const unitinline
overlays_unitprivate
parse_upkeep(const config::attribute_value &upkeep)unitprivate
poisoned() const unitinline
profile_unitprivate
race() const unitinline
race_unitprivate
random_traits_unitprivate
recall_cost() const unitinline
recall_cost_unitprivate
recall_filter() const unitinline
recruit_list_unitprivate
recruits() const unitinline
ref_count() const unitinline
ref_count_unitmutableprotected
remove_ability_by_id(const std::string &ability)unitprivate
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 unit
resistance_against(const attack_type &damage_type, bool attacker, const map_location &loc) const unitinline
resistance_filter_matches(const config &cfg, bool attacker, const std::string &damage_name, int res) const unitprivate
resting() const unitinline
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_type::ALIGNMENT alignment)unitinline
set_attacks(int left)unitinline
set_can_recruit(bool canrecruit)unitinline
set_emit_zoc(bool val)unitinline
set_experience(int xp)unitinline
set_facing(map_location::DIRECTION dir) const unit
set_goto(const map_location &new_goto)unitinline
set_hidden(bool state) const unit
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_movement(int moves, bool unit_action=false)unit
set_name(const t_string &name)unitinline
set_recall_cost(int recall_cost)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_state(const std::string &state, bool value)unit
set_state(state_t state, bool value)unit
set_underlying_id(n_unit::id_manager &id_manager)unitprivate
set_unrenamable(bool unrenamable)unitinline
set_upkeep(t_upkeep v)unitinline
set_usage(const std::string &usage)unitinline
set_user_end_turn(bool value=true)unitinline
side() const unitinline
side_unitprivate
slowed() const unitinline
small_profile() const unit
small_profile_unitprivate
STATE_GUARDIAN 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
swap(unit &)unit
t_advancements typedefunit
t_upkeep typedefunit
take_hit(int damage)unitinline
TC_image_mods() const unit
team_color() const unitinline
toggle_hold_position()unitinline
toggle_user_end_turn()unitinline
total_movement() const unitinline
trait_descriptions() const unitinline
trait_descriptions_unitprivate
trait_names() const unitinline
trait_names_unitprivate
type() const unitinline
type_unitprivate
type_id() const unitinline
type_name() const unitinline
type_name_unitprivate
undead_variation() const unitinline
undead_variation_unitprivate
underlying_id() const unitinline
underlying_id_unitprivate
unit(const unit &u)unit
unit(const config &cfg, bool use_traits=false, const vconfig *vcfg=nullptr, n_unit::id_manager *id_manager=nullptr)unitexplicit
unit(const unit_type &t, int side, bool real_unit, unit_race::GENDER gender=unit_race::NUM_GENDERS)unit
unit_animation_component classunitfriend
unit_description() const unitinline
unit_value_unitprivate
unrenamable() const unitinline
unrenamable_unitprivate
upkeep() const unit
upkeep_unitprivate
upkeep_raw() const unitinline
usage() const unitinline
usage_unitprivate
user_end_turn() const unitinline
variables()unitinline
variables() const unitinline
variables_unitprivate
variation() const unitinline
variation_unitprivate
vision() const unitinline
vision_unitprivate
vision_cost(const t_translation::t_terrain &terrain) const unitinline
write(config &cfg) const unit
write_upkeep(config::attribute_value &upkeep) const unitprivate
xp_bar_scaling() const unitinline
xp_bar_scaling_unitprivate
xp_color() const unit
~unit()unitvirtual