mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
Fixed comment text and code indentifiers spelling.
GetFieldNames part provided by Paradox.
This commit is contained in:
parent
4957d9f335
commit
4476d483d4
16 changed files with 192 additions and 193 deletions
|
|
@ -314,7 +314,7 @@ void LoadDBCStores(std::string dataPath)
|
|||
|
||||
LoadDBC(availableDbcLocales,bar,bad_dbc_files,sTalentTabStore, dbcPath,"TalentTab.dbc");
|
||||
|
||||
// preper fast data access to bit pos of talent ranks for use at inspecting
|
||||
// prepare fast data access to bit pos of talent ranks for use at inspecting
|
||||
{
|
||||
// fill table by amount of talent ranks and fill sTalentTabBitSizeInInspect
|
||||
// store in with (row,col,talent)->size key for correct sorting by (row,col)
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ class MANGOS_DLL_SPEC QueryResult
|
|||
|
||||
uint32 GetField_idx(const std::string &name) const
|
||||
{
|
||||
for(FieldNames::const_iterator iter = GetFiedNames().begin(); iter != GetFiedNames().end(); ++iter)
|
||||
for(FieldNames::const_iterator iter = GetFieldNames().begin(); iter != GetFieldNames().end(); ++iter)
|
||||
{
|
||||
if(iter->second == name)
|
||||
return iter->first;
|
||||
|
|
@ -53,7 +53,7 @@ class MANGOS_DLL_SPEC QueryResult
|
|||
|
||||
uint32 GetFieldCount() const { return mFieldCount; }
|
||||
uint64 GetRowCount() const { return mRowCount; }
|
||||
FieldNames const& GetFiedNames() const {return mFieldNames; }
|
||||
FieldNames const& GetFieldNames() const {return mFieldNames; }
|
||||
|
||||
protected:
|
||||
Field *mCurrentRow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue