AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
AchievementCriteriaScript Class Reference

#include "AchievementCriteriaScript.h"

Inheritance diagram for AchievementCriteriaScript:
ScriptObject achievement_algalon_he_feeds_on_your_tears achievement_algalon_herald_of_the_titans achievement_all_you_can_eat achievement_arena_by_type achievement_assembly_of_iron achievement_auriaya_crazy_cat_lady achievement_auriaya_nine_lives achievement_been_waiting_long_time achievement_better_off_dred achievement_bg_av_perfection achievement_bg_control_all_nodes achievement_bg_ic_glaive_grave achievement_bg_ic_mowed_down achievement_bg_ic_resource_glut achievement_bg_sa_artillery achievement_cant_do_that_while_stunned achievement_chaos_theory achievement_cheese_the_freeze achievement_consumption_junction achievement_everything_counts achievement_flame_leviathan_garage achievement_flame_leviathan_shutout achievement_flame_leviathan_towers achievement_flame_leviathan_unbroken achievement_flirt_with_disaster_perf_check achievement_flu_shot_shortage achievement_freya_getting_back_to_nature achievement_freya_knock_on_wood achievement_getting_cold_in_here achievement_hadronox_denied achievement_i_could_say_that_this_cache_was_rare achievement_i_have_the_coolest_friends achievement_ignis_shattered achievement_im_on_a_boat achievement_intense_cold achievement_iron_dwarf_medium_rare achievement_ive_gone_and_made_a_mess achievement_killed_exp_or_honor_target achievement_kologarn_looks_could_kill achievement_kologarn_rubble_and_roll achievement_kologarn_with_open_arms achievement_less_rabi achievement_mimiron_firefighter achievement_mimiron_set_up_us_the_bomb_11 achievement_mimiron_set_up_us_the_bomb_12 achievement_mimiron_set_up_us_the_bomb_13 achievement_neck_deep_in_vile achievement_not_even_a_scratch achievement_oh_novos achievement_once_bitten_twice_shy achievement_pb_pilgrims_peril achievement_pb_terokkar_turkey_time achievement_portal_jockey achievement_quick_shave achievement_resilient_victory achievement_respect_your_elders achievement_sa_defense_of_the_ancients achievement_save_the_day achievement_shadowdodger achievement_share_the_love achievement_sickly_gazelle achievement_smell_saronite achievement_snakes_whyd_it_have_to_be_snakes achievement_split_personality achievement_staying_buffed_all_winter_10 achievement_staying_buffed_all_winter_25 achievement_thorim_lose_your_illusion achievement_thorim_stand_in_the_lightning achievement_tilted achievement_volunteer_work achievement_watch_him_die achievement_wg_didnt_stand_a_chance achievement_wg_vehicular_gnomeslaughter achievement_wg_within_our_grasp achievement_xt002_nerf_engineering achievement_xt002_nerf_gravity_bombs achievement_yogg_saron_darkness achievement_yogg_saron_drive_me_crazy achievement_yogg_saron_he_waits_dreaming achievement_yogg_saron_kiss_and_make_up

Public Member Functions

bool IsDatabaseBound () const override
 
virtual bool OnCheck (Player *, Unit *, uint32)
 
- Public Member Functions inherited from ScriptObject
virtual bool IsDatabaseBound () const
 
virtual bool isAfterLoadScript () const
 
virtual void checkValidity ()
 
const std::string & GetName () const
 
uint16 GetTotalAvailableHooks ()
 

Protected Member Functions

 AchievementCriteriaScript (const char *name)
 
- Protected Member Functions inherited from ScriptObject
 ScriptObject (const char *name, uint16 totalAvailableHooks=0)
 
virtual ~ScriptObject ()=default
 

Detailed Description

Constructor & Destructor Documentation

◆ AchievementCriteriaScript()

AchievementCriteriaScript::AchievementCriteriaScript ( const char *  name)
protected
30 :
31 ScriptObject(name)
32{
34}
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:735
Definition: ScriptObject.h:43

References ScriptRegistry< TScript >::AddScript().

Member Function Documentation

◆ IsDatabaseBound()

bool AchievementCriteriaScript::IsDatabaseBound ( ) const
inlineoverridevirtual

Reimplemented from ScriptObject.

29{ return true; }

◆ OnCheck()

virtual bool AchievementCriteriaScript::OnCheck ( Player ,
Unit ,
uint32   
)
inlinevirtual

Reimplemented in achievement_wg_within_our_grasp, achievement_respect_your_elders, achievement_volunteer_work, achievement_hadronox_denied, achievement_watch_him_die, achievement_better_off_dred, achievement_oh_novos, achievement_consumption_junction, achievement_share_the_love, achievement_less_rabi, achievement_snakes_whyd_it_have_to_be_snakes, achievement_ive_gone_and_made_a_mess, achievement_flu_shot_shortage, achievement_im_on_a_boat, achievement_all_you_can_eat, achievement_been_waiting_long_time, achievement_neck_deep_in_vile, achievement_portal_jockey, achievement_chaos_theory, achievement_split_personality, achievement_algalon_he_feeds_on_your_tears, achievement_algalon_herald_of_the_titans, achievement_assembly_of_iron, achievement_cant_do_that_while_stunned, achievement_auriaya_crazy_cat_lady, achievement_auriaya_nine_lives, achievement_flame_leviathan_towers, achievement_flame_leviathan_shutout, achievement_freya_getting_back_to_nature, achievement_freya_knock_on_wood, achievement_smell_saronite, achievement_shadowdodger, achievement_cheese_the_freeze, achievement_getting_cold_in_here, achievement_i_could_say_that_this_cache_was_rare, achievement_i_have_the_coolest_friends, achievement_ignis_shattered, achievement_kologarn_looks_could_kill, achievement_kologarn_rubble_and_roll, achievement_kologarn_with_open_arms, achievement_mimiron_firefighter, achievement_mimiron_set_up_us_the_bomb_11, achievement_mimiron_set_up_us_the_bomb_12, achievement_mimiron_set_up_us_the_bomb_13, achievement_quick_shave, achievement_iron_dwarf_medium_rare, achievement_xt002_nerf_engineering, achievement_xt002_nerf_gravity_bombs, achievement_yogg_saron_drive_me_crazy, achievement_yogg_saron_kiss_and_make_up, achievement_sickly_gazelle, achievement_flame_leviathan_garage, achievement_flame_leviathan_unbroken, achievement_staying_buffed_all_winter_10, achievement_staying_buffed_all_winter_25, achievement_thorim_stand_in_the_lightning, achievement_thorim_lose_your_illusion, achievement_yogg_saron_darkness, achievement_yogg_saron_he_waits_dreaming, achievement_tilted, achievement_flirt_with_disaster_perf_check, achievement_intense_cold, achievement_killed_exp_or_honor_target, achievement_pb_pilgrims_peril, achievement_pb_terokkar_turkey_time, achievement_resilient_victory, achievement_bg_control_all_nodes, achievement_bg_ic_resource_glut, achievement_bg_ic_glaive_grave, achievement_bg_ic_mowed_down, achievement_bg_sa_artillery, achievement_arena_by_type, achievement_everything_counts, achievement_bg_av_perfection, achievement_sa_defense_of_the_ancients, achievement_not_even_a_scratch, achievement_once_bitten_twice_shy, achievement_wg_didnt_stand_a_chance, achievement_wg_vehicular_gnomeslaughter, and achievement_save_the_day.

31{ return true; };