mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-05 00:37:49 +00:00
feat(Core/Instance): Add instance validation for creature scripts (#4596)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
|
||||
*/
|
||||
|
||||
#ifndef DEF_SCARLETMONANSTERY_H
|
||||
#define DEF_SCARLETMONANSTERY_H
|
||||
|
||||
#include "CreatureAIImpl.h"
|
||||
|
||||
#define ScarletMonasteryScriptName "instance_scarlet_monastery"
|
||||
|
||||
template <class AI, class T>
|
||||
inline AI* GetScarletMonasteryAI(T* obj)
|
||||
{
|
||||
return GetInstanceAI<AI>(obj, ScarletMonasteryScriptName);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user