108 for (WaypointPath::const_iterator it = itr->second.begin(); it != itr->second.end(); ++it)
127 Field* fields = result->Fetch();
147 TC_LOG_ERROR(
"sql.sql",
"Waypoint %u in waypoint_data has invalid move_type, ignoring", wp->
id);
159 while (result->NextRow());
uint32 event_id
Definition: WaypointManager.h:39
float x
Definition: WaypointManager.h:37
std::shared_ptr< PreparedResultSet > PreparedQueryResult
Definition: QueryResult.h:107
uint32 id
Definition: WaypointManager.h:36
float GetFloat() const
Definition: Field.h:222
float z
Definition: WaypointManager.h:37
Class used to access individual fields of database query result.
Definition: Field.h:56
WorldDatabaseWorkerPool WorldDatabase
Accessor to the world database.
Definition: DatabaseEnv.cpp:20
std::vector< WaypointData * > WaypointPath
Definition: WaypointManager.h:44
float orientation
Definition: WaypointManager.h:37
Definition: PreparedStatement.h:74
float y
Definition: WaypointManager.h:37
uint8 GetUInt8() const
Definition: Field.h:70
Definition: WorldDatabase.h:61
G3D::int16 z
Definition: Vector3int16.h:46
uint8 event_chance
Definition: WaypointManager.h:41
G3D::int16 y
Definition: Vector2int16.h:38
PreparedStatement * GetPreparedStatement(PreparedStatementIndex index)
Definition: DatabaseWorkerPool.h:263
void setUInt32(const uint8 index, const uint32 value)
Definition: PreparedStatement.cpp:115
void NormalizeMapCoord(float &c)
Definition: GridDefines.h:210
uint32 move_type
Definition: WaypointManager.h:40
QueryResult Query(const char *sql, T *connection=nullptr)
Definition: DatabaseWorkerPool.cpp:113
uint32 GetUInt32() const
Definition: Field.h:146
uint32 delay
Definition: WaypointManager.h:38
#define TC_LOG_ERROR(filterType__,...)
Definition: Log.h:207
G3D::int16 x
Definition: Vector2int16.h:37
WaypointPathContainer _waypointStore
Definition: WaypointManager.h:72
Definition: WaypointManager.h:31
Definition: WaypointManager.h:34