Core/Scripts/SmartAI: added SmartAI files
Core/DBLayer/Texts: added CreatureTextMgr files BuildSystem: added cmake for above files Note: these are still under development and NOT USABLE should not effect anything now --HG-- branch : trunk
This commit is contained in:
1 parent
562e3955a9
commit
28e90bbb60
10 files changed
+758
No files matched your search
@@ -36,6 +36,7 @@ bool WorldDatabaseConnection::Open(const std::string& infoString)
|
||||
PrepareStatement(WORLD_DEL_CRELINKED_RESPAWN, "DELETE FROM creature_linked_respawn WHERE guid = ?");
|
||||
PrepareStatement(WORLD_REP_CRELINKED_RESPAWN, "REPLACE INTO creature_linked_respawn (guid,linkedGuid) VALUES (?, ?)");
|
||||
PrepareStatement(WORLD_DEL_GAMEOBJECT_RESPAWN_TIMES, "DELETE FROM gameobject_respawn WHERE respawntime <= UNIX_TIMESTAMP(NOW())");
|
||||
PrepareStatement(WORLD_LOAD_CRETEXT, "SELECT entry, groupid, id, text, type, language, probability, emote, duration, sound FROM creature_text");
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -49,6 +49,7 @@ enum WorldDatabaseStatements
|
||||
WORLD_DEL_CRELINKED_RESPAWN,
|
||||
WORLD_REP_CRELINKED_RESPAWN,
|
||||
WORLD_DEL_GAMEOBJECT_RESPAWN_TIMES,
|
||||
WORLD_LOAD_CRETEXT,
|
||||
MAX_WORLDDATABASE_STATEMENTS,
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user