mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 03:42:37 +01:00
Core/Object: Removed unused LoadValues method
This commit is contained in:
@@ -768,21 +768,6 @@ void Object::BuildFieldsUpdate(Player *pl, UpdateDataMapType &data_map) const
|
||||
BuildValuesUpdateBlockForPlayer(&iter->second, iter->first);
|
||||
}
|
||||
|
||||
bool Object::LoadValues(const char* data)
|
||||
{
|
||||
if (!m_uint32Values) _InitValues();
|
||||
|
||||
Tokens tokens(data, ' ');
|
||||
|
||||
if (tokens.size() != m_valuesCount)
|
||||
return false;
|
||||
|
||||
for (uint16 index = 0; index < m_valuesCount; ++index)
|
||||
m_uint32Values[index] = atol(tokens[index]);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void Object::_LoadIntoDataField(const char* data, uint32 startOffset, uint32 count)
|
||||
{
|
||||
if (!data)
|
||||
|
||||
@@ -309,8 +309,6 @@ class Object
|
||||
|
||||
void ClearUpdateMask(bool remove);
|
||||
|
||||
bool LoadValues(const char* data);
|
||||
|
||||
uint16 GetValuesCount() const { return m_valuesCount; }
|
||||
|
||||
virtual bool hasQuest(uint32 /* quest_id */) const { return false; }
|
||||
|
||||
Reference in New Issue
Block a user