mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-19 08:11:30 +00:00
[Feature] Add IsOfClientBotMerc() virtual method. (#2843)
This commit is contained in:
parent
0a114fae9a
commit
14addd4869
@ -472,6 +472,7 @@ public:
|
|||||||
bool IsBotArcher() { return m_bot_archery_setting; }
|
bool IsBotArcher() { return m_bot_archery_setting; }
|
||||||
bool IsBotCharmer() { return _botCharmer; }
|
bool IsBotCharmer() { return _botCharmer; }
|
||||||
bool IsBot() const override { return true; }
|
bool IsBot() const override { return true; }
|
||||||
|
bool IsOfClientBotMerc() const override { return true; }
|
||||||
bool GetRangerAutoWeaponSelect() { return _rangerAutoWeaponSelect; }
|
bool GetRangerAutoWeaponSelect() { return _rangerAutoWeaponSelect; }
|
||||||
BotRoleType GetBotRole() { return _botRole; }
|
BotRoleType GetBotRole() { return _botRole; }
|
||||||
EQ::constants::StanceType GetBotStance() { return _botStance; }
|
EQ::constants::StanceType GetBotStance() { return _botStance; }
|
||||||
|
|||||||
@ -278,6 +278,7 @@ public:
|
|||||||
bool KeyRingCheck(uint32 item_id);
|
bool KeyRingCheck(uint32 item_id);
|
||||||
void KeyRingList();
|
void KeyRingList();
|
||||||
virtual bool IsClient() const { return true; }
|
virtual bool IsClient() const { return true; }
|
||||||
|
bool IsOfClientBotMerc() const override { return true; }
|
||||||
void CompleteConnect();
|
void CompleteConnect();
|
||||||
bool TryStacking(EQ::ItemInstance* item, uint8 type = ItemPacketTrade, bool try_worn = true, bool try_cursor = true);
|
bool TryStacking(EQ::ItemInstance* item, uint8 type = ItemPacketTrade, bool try_worn = true, bool try_cursor = true);
|
||||||
void SendTraderPacket(Client* trader, uint32 Unknown72 = 51);
|
void SendTraderPacket(Client* trader, uint32 Unknown72 = 51);
|
||||||
|
|||||||
@ -81,6 +81,7 @@ public:
|
|||||||
virtual bool IsEncounter() const { return false; }
|
virtual bool IsEncounter() const { return false; }
|
||||||
virtual bool IsBot() const { return false; }
|
virtual bool IsBot() const { return false; }
|
||||||
virtual bool IsAura() const { return false; }
|
virtual bool IsAura() const { return false; }
|
||||||
|
virtual bool IsOfClientBotMerc() const { return false; }
|
||||||
|
|
||||||
virtual bool Process() { return false; }
|
virtual bool Process() { return false; }
|
||||||
virtual bool Save() { return true; }
|
virtual bool Save() { return true; }
|
||||||
|
|||||||
@ -123,6 +123,7 @@ public:
|
|||||||
bool UseDiscipline(int32 spell_id, int32 target);
|
bool UseDiscipline(int32 spell_id, int32 target);
|
||||||
|
|
||||||
virtual bool IsMerc() const { return true; }
|
virtual bool IsMerc() const { return true; }
|
||||||
|
bool IsOfClientBotMerc() const override { return true; }
|
||||||
|
|
||||||
virtual void FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho);
|
virtual void FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho);
|
||||||
static Merc* LoadMerc(Client *c, MercTemplate* merc_template, uint32 merchant_id, bool updateFromDB = false);
|
static Merc* LoadMerc(Client *c, MercTemplate* merc_template, uint32 merchant_id, bool updateFromDB = false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user