コード例 #1
0
ファイル: BattlegroundKT.cpp プロジェクト: 3DViking/MistCore
void BattlegroundKT::HandleKillPlayer(Player *player, Player *killer)
{
    if (GetStatus() != STATUS_IN_PROGRESS)
        return;

    EventPlayerDroppedOrb(player);

    Battleground::HandleKillPlayer(player, killer);
}
コード例 #2
0
ファイル: BattlegroundKT.cpp プロジェクト: 3DViking/MistCore
void BattlegroundKT::RemovePlayer(Player* plr, ObjectGuid guid)
{
    EventPlayerDroppedOrb(plr);
    m_playersZone.erase(plr->GetGUID());
}
コード例 #3
0
ファイル: BattlegroundKT.cpp プロジェクト: lukaasm/Core
void BattlegroundKT::RemovePlayer(Player* player, uint64 guid, uint32 /*team*/)
{
    EventPlayerDroppedOrb(player, guid);
    m_playersZone.erase(guid ? guid : player->GetGUID());
}