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