mirror of
https://github.com/mangosfour/server.git
synced 2026-01-02 01:37:05 +00:00
[10914] Remove ObjectLevelLockable inheritance in Map class + cleanup locks in Map code. Restore build after recent commits.
Signed-off-by: Ambal <pogrebniak@gala.net>
This commit is contained in:
parent
8f37314950
commit
f56e13966f
4 changed files with 124 additions and 133 deletions
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "Common.h"
|
||||
#include "Policies/Singleton.h"
|
||||
#include "ObjectGuid.h"
|
||||
|
||||
enum eScriptCommand
|
||||
{
|
||||
|
|
@ -269,6 +270,14 @@ struct ScriptInfo
|
|||
}
|
||||
};
|
||||
|
||||
struct ScriptAction
|
||||
{
|
||||
ObjectGuid sourceGuid;
|
||||
ObjectGuid targetGuid;
|
||||
ObjectGuid ownerGuid; // owner of source if source is item
|
||||
ScriptInfo const* script; // pointer to static script data
|
||||
};
|
||||
|
||||
typedef std::multimap<uint32, ScriptInfo> ScriptMap;
|
||||
typedef std::map<uint32, ScriptMap > ScriptMapMap;
|
||||
extern ScriptMapMap sQuestEndScripts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue