mirror of
https://github.com/brighton-chi/mod-aoe-loot.git
synced 2026-01-13 00:58:34 +00:00
Update aoe_loot.h
This commit is contained in:
@@ -23,18 +23,18 @@ enum AoeLootString
|
||||
AOE_ACORE_STRING_MESSAGE = 50000
|
||||
};
|
||||
|
||||
class AOELootServer : public ServerScript
|
||||
class AoeLootServer : public ServerScript
|
||||
{
|
||||
public:
|
||||
AOELootServer() : ServerScript("AOELootServer") {}
|
||||
AoeLootServer() : ServerScript("AoeLootServer") {}
|
||||
|
||||
bool CanPacketReceive(WorldSession* session, WorldPacket& packet) override;
|
||||
};
|
||||
|
||||
class AOELootPlayer : public PlayerScript
|
||||
class AoeLootPlayer : public PlayerScript
|
||||
{
|
||||
public:
|
||||
AOELootPlayer() : PlayerScript("AOELootPlayer") {}
|
||||
AoeLootPlayer() : PlayerScript("AoeLootPlayer") {}
|
||||
|
||||
void OnPlayerLogin(Player* player) override;
|
||||
|
||||
@@ -47,10 +47,11 @@ public:
|
||||
ChatCommandTable GetCommands() const override;
|
||||
|
||||
static bool HandleStartAoeLootCommand(ChatHandler* handler, Optional<std::string> args);
|
||||
static bool ProcessLootSlot(Player* player, ObjectGuid lguid, uint8 lootSlot);
|
||||
static bool ProcessLootMoney(Player* player, Creature* creature);
|
||||
|
||||
};
|
||||
|
||||
void AddSC_AoeLoot();
|
||||
|
||||
|
||||
#endif //MODULE_AOELOOT_H
|
||||
|
||||
Reference in New Issue
Block a user