*Event Hooks (OnLogin, OnLogout, OnPVPKill) by Hawthorne

*Boss Emote Command for DB Scripts by XTElite1

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-13 00:01:35 -07:00
parent c61bb37a0e
commit eef5abe6e1
14 changed files with 105 additions and 4 deletions

View File

@@ -42,6 +42,7 @@
#include "SocialMgr.h"
#include "UpdateMask.h"
#include "Util.h"
#include "ScriptCalls.h"
class LoginQueryHolder : public SqlQueryHolder
{
@@ -812,6 +813,10 @@ void WorldSession::HandlePlayerLogin(LoginQueryHolder * holder)
pCurrChar->SetStandState(UNIT_STAND_STATE_STAND);
m_playerLoading = false;
//Hook for OnLogin Event
Script->OnLogin(pCurrChar);
delete holder;
}