mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-03 19:13:49 +00:00
feat(Core/Scripts): Optimize LootScript (#18715)
* Add files via upload * Add files via upload * Add files via upload * Add files via upload * Add files via upload * Update LootScript.h
This commit is contained in:
@@ -19,11 +19,18 @@
|
||||
#define SCRIPT_OBJECT_LOOT_SCRIPT_H_
|
||||
|
||||
#include "ScriptObject.h"
|
||||
#include <vector>
|
||||
|
||||
enum LootHook
|
||||
{
|
||||
LOOTHOOK_ON_LOOT_MONEY,
|
||||
LOOTHOOK_END
|
||||
};
|
||||
|
||||
class LootScript : public ScriptObject
|
||||
{
|
||||
protected:
|
||||
LootScript(const char* name);
|
||||
LootScript(const char* name, std::vector<uint16> enabledHooks = std::vector<uint16>());
|
||||
|
||||
public:
|
||||
[[nodiscard]] bool IsDatabaseBound() const override { return false; }
|
||||
|
||||
Reference in New Issue
Block a user