55 TC_LOG_ERROR(
"server.loading",
">> Loaded 0 outdoor PvP definitions. DB table `outdoorpvp_template` is empty.");
64 Field* fields = result->Fetch();
73 TC_LOG_ERROR(
"sql.sql",
"Invalid OutdoorPvPTypes value %u in outdoorpvp_template; skipped.", typeId);
85 while (result->NextRow());
93 TC_LOG_ERROR(
"sql.sql",
"Could not initialize OutdoorPvP object for type ID %u; no entry in database.",
uint32(i));
97 pvp =
sScriptMgr->CreateOutdoorPvP(iter->second);
100 TC_LOG_ERROR(
"outdoorpvp",
"Could not initialize OutdoorPvP object for type ID %u; got NULL pointer from script.",
uint32(i));
106 TC_LOG_ERROR(
"outdoorpvp",
"Could not initialize OutdoorPvP object for type ID %u; SetupOutdoorPvP failed.",
uint32(i));
bool IsDisabledFor(DisableType type, uint32 entry, Unit const *unit, uint8 flags)
Definition: DisableMgr.cpp:277
OutdoorPvPSet m_OutdoorPvPSet
Definition: OutdoorPvPMgr.h:92
Class used to access individual fields of database query result.
Definition: Field.h:56
uint32 getMSTime()
Definition: Timer.h:24
arena_t NULL
Definition: jemalloc_internal.h:624
WorldDatabaseWorkerPool WorldDatabase
Accessor to the world database.
Definition: DatabaseEnv.cpp:20
Definition: OutdoorPvPMgr.h:31
#define sObjectMgr
Definition: ObjectMgr.h:1567
OutdoorPvPDataMap m_OutdoorPvPDatas
Definition: OutdoorPvPMgr.h:99
uint8 GetUInt8() const
Definition: Field.h:70
OutdoorPvPTypes TypeId
Definition: OutdoorPvPMgr.h:33
#define MAX_OUTDOORPVP_TYPES
Definition: OutdoorPvP.h:37
OutdoorPvPTypes
Definition: OutdoorPvP.h:28
uint32_t uint32
Definition: Define.h:150
std::shared_ptr< ResultSet > QueryResult
Definition: QueryResult.h:61
Definition: OutdoorPvP.h:188
uint32 GetMSTimeDiffToNow(uint32 oldMSTime)
Definition: Timer.h:42
QueryResult Query(const char *sql, T *connection=nullptr)
Definition: DatabaseWorkerPool.cpp:113
uint8_t uint8
Definition: Define.h:152
virtual bool SetupOutdoorPvP()
Definition: OutdoorPvP.h:217
#define TC_LOG_INFO(filterType__,...)
Definition: Log.h:201
#define sScriptMgr
Definition: ScriptMgr.h:837
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
Definition: DisableMgr.h:34
uint32_t uint32
Definition: g3dmath.h:168
uint32 ScriptId
Definition: OutdoorPvPMgr.h:34