806 {
808
811 {
812 LocaleConstant loc_idx = player->GetSession()->GetSessionDbLocaleIndex();
813
815 {
818 player->TextEmote(bct->GetText(loc_idx, player->getGender()), player);
819 break;
822 player->TextEmote(bct->GetText(loc_idx, player->getGender()), player);
823 break;
826 player->TextEmote(bct->GetText(loc_idx, player->getGender()), player);
827 break;
830 player->TextEmote(bct->GetText(loc_idx, player->getGender()), player);
831 break;
832 }
833 }
834 }
LocaleConstant
Definition Common.h:117
#define sObjectMgr
Definition ObjectMgr.h:1712
Player * ToPlayer()
Definition Object.h:202
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:411
void PreventHitDefaultEffect(SpellEffIndex effIndex)
Definition SpellScript.cpp:590
Unit * GetCaster()
Definition SpellScript.cpp:401
@ SPELL_GREAT_FEAST
Definition spell_item.cpp:785
@ SPELL_SMALL_FEAST
Definition spell_item.cpp:787
@ GIGANTIC_FEAST_BROADCAST_TEXT_ID_PREPARE
Definition spell_item.cpp:793
@ GREAT_FEAST_BROADCAST_TEXT_ID_PREPARE
Definition spell_item.cpp:790
@ SPELL_GIGANTIC_FEAST
Definition spell_item.cpp:788
@ FISH_FEAST_BROADCAST_TEXT_ID_PREPARE
Definition spell_item.cpp:791
@ SPELL_FISH_FEAST
Definition spell_item.cpp:786
@ SMALL_FEAST_BROADCAST_TEXT_ID_PREPARE
Definition spell_item.cpp:792
Definition ObjectMgr.h:435