TrinityCore
Loading...
Searching...
No Matches
WorldDatabase.h
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#ifndef _WORLDDATABASE_H
19#define _WORLDDATABASE_H
20
21#include "MySQLConnection.h"
22
24{
25 /* Naming standard for defines:
26 {DB}_{SEL/INS/UPD/DEL/REP}_{Summary of data changed}
27 When updating more than one field, consider looking at the calling function
28 name for a suiting suffix.
29 */
30
89
91};
92
94{
95public:
97
100
101 //- Loads database type specific prepared statements
102 void DoPrepareStatements() override;
103};
104
105#endif
#define TC_DATABASE_API
Definition Define.h:111
uint32_t uint32
Definition Define.h:154
ConnectionFlags
WorldDatabaseStatements
@ WORLD_DEL_EVENT_GAMEOBJECT
@ WORLD_DEL_SPAWNGROUP_MEMBER
@ WORLD_INS_CONDITION
@ WORLD_INS_CREATURE_ADDON
@ MAX_WORLDDATABASE_STATEMENTS
@ WORLD_SEL_CREATURE_ADDON_BY_GUID
@ WORLD_DEL_GAME_EVENT_MODEL_EQUIP
@ WORLD_SEL_WAYPOINT_PATH_NODE_POS_FIRST_BY_PATHID
@ WORLD_UPD_CREATURE_POSITION
@ WORLD_UPD_CREATURE_NPCFLAG
@ WORLD_DEL_GAME_TELE
@ WORLD_SEL_GAMEOBJECT_TARGET
@ WORLD_INS_GRAVEYARD_ZONE
@ WORLD_SEL_GAMEOBJECT_NEAREST
@ WORLD_SEL_NPC_VENDOR_REF
@ WORLD_DEL_DISABLES
@ WORLD_SEL_CREATURE_NEAREST
@ WORLD_INS_WAYPOINT_PATH_NODE
@ WORLD_SEL_WAYPOINT_PATH_NODE
@ WORLD_REP_LINKED_RESPAWN
@ WORLD_INS_GAME_TELE
@ WORLD_DEL_WAYPOINT_PATH_NODE
@ WORLD_UPD_GAMEOBJECT_ZONE_AREA_DATA
@ WORLD_INS_WAYPOINT_PATH
@ WORLD_SEL_COMMANDS
@ WORLD_INS_CREATURE_FORMATION
@ WORLD_UPD_CREATURE_MOVEMENT_TYPE
@ WORLD_UPD_CREATURE_ZONE_AREA_DATA
@ WORLD_UPD_CREATURE_ADDON_PATH
@ WORLD_DEL_GAMEOBJECT
@ WORLD_DEL_CREATURE_ADDON
@ WORLD_SEL_SMART_SCRIPTS
@ WORLD_UPD_WAYPOINT_PATH_NODE
@ WORLD_UPD_CREATURE_SPAWN_TIME_SECS
@ WORLD_SEL_WAYPOINT_PATH_NODE_MAX_NODEID
@ WORLD_DEL_LINKED_RESPAWN
@ WORLD_SEL_CREATURE_TEMPLATE
@ WORLD_SEL_CREATURE_BY_ID
@ WORLD_DEL_GAME_EVENT_CREATURE
@ WORLD_INS_GAMEOBJECT
@ WORLD_UPD_WAYPOINT_PATH_NODE_POSITION
@ WORLD_SEL_WAYPOINT_PATH_NODE_MAX_PATHID
@ WORLD_DEL_CREATURE
@ WORLD_INS_DISABLES
@ WORLD_DEL_GAMEOBJECT_ADDON
@ WORLD_SEL_CREATURE_TEXT
@ WORLD_UPD_CREATURE_WANDER_DISTANCE
@ WORLD_SEL_WAYPOINT_PATH_NODE_BY_POS
@ WORLD_SEL_GUILD_REWARDS_REQ_ACHIEVEMENTS
@ WORLD_DEL_NPC_VENDOR
@ WORLD_INS_NPC_VENDOR
@ WORLD_DEL_GRAVEYARD_ZONE
@ WORLD_SEL_DISABLES
@ WORLD_SEL_WAYPOINT_PATH_NODE_POS_BY_PATHID
@ WORLD_DEL_LINKED_RESPAWN_MASTER
@ WORLD_SEL_WAYPOINT_PATH
@ WORLD_SEL_WAYPOINT_PATH_NODE_POS_LAST_BY_PATHID
@ WORLD_INS_CREATURE
@ WORLD_UPD_CREATURE_FACTION
virtual void DoPrepareStatements()=0
WorldDatabaseStatements Statements