diff options
Diffstat (limited to 'src/shared/Database/DBCFileLoader.h')
-rw-r--r-- | src/shared/Database/DBCFileLoader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/Database/DBCFileLoader.h b/src/shared/Database/DBCFileLoader.h index ef29af84bc1..a97ab4d60fa 100644 --- a/src/shared/Database/DBCFileLoader.h +++ b/src/shared/Database/DBCFileLoader.h @@ -89,11 +89,11 @@ class DBCFileLoader Record getRecord(size_t id); /// Get begin iterator over records - uint32 GetNumRows() const { return recordCount;} - uint32 GetRowSize() const { return recordSize;} + uint32 GetNumRows() const { return recordCount; } + uint32 GetRowSize() const { return recordSize; } uint32 GetCols() const { return fieldCount; } uint32 GetOffset(size_t id) const { return (fieldsOffset != NULL && id < fieldCount) ? fieldsOffset[id] : 0; } - bool IsLoaded() {return (data!=NULL);} + bool IsLoaded() { return data != NULL; } char* AutoProduceData(const char* fmt, uint32& count, char**& indexTable, uint32 sqlRecordCount, uint32 sqlHighestIndex, char *& sqlDataTable); char* AutoProduceStrings(const char* fmt, char* dataTable); static uint32 GetFormatRecordSize(const char * format, int32 * index_pos = NULL); |