AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SmartScriptMgr.cpp File Reference
#include "SmartScriptMgr.h"
#include "CellImpl.h"
#include "CreatureTextMgr.h"
#include "DatabaseEnv.h"
#include "GameEventMgr.h"
#include "GridDefines.h"
#include "InstanceScript.h"
#include "ObjectDefines.h"
#include "ObjectMgr.h"
#include "ScriptedCreature.h"
#include "SpellMgr.h"

Go to the source code of this file.

Macros

#define AC_SAI_IS_BOOLEAN_VALID(e, value)
 

Macro Definition Documentation

◆ AC_SAI_IS_BOOLEAN_VALID

#define AC_SAI_IS_BOOLEAN_VALID (   e,
  value 
)
Value:
{ \
if (value > 1) \
{ \
LOG_ERROR("sql.sql", "SmartAIMgr: Entry {} SourceType {} Event {} Action {} uses param {} of type Boolean with value {}, valid values are 0 or 1, skipped.", \
e.entryOrGuid, e.GetScriptType(), e.event_id, e.GetActionType(), STRINGIZE(value), value); \
return false; \
} \
}
#define STRINGIZE(a)
Definition: Common.h:41