Deleted data blob in item_instance
Fixed issues with displaying sockets/enchants/durability on heroic items --HG-- branch : trunk
This commit is contained in:
1 parent
c227065fc0
commit
77fc91bde8
13 files changed
+243
-111
No files matched your search
@@ -769,6 +769,24 @@ bool Object::LoadValues(const char* data)
|
||||
return true;
|
||||
}
|
||||
|
||||
void Object::_LoadIntoDataField(const char* data, uint32 startOffset, uint32 count)
|
||||
{
|
||||
if (!data)
|
||||
return;
|
||||
|
||||
Tokens tokens = StrSplit(data, " ");
|
||||
|
||||
if (tokens.size() != count)
|
||||
return;
|
||||
|
||||
Tokens::iterator iter;
|
||||
uint32 index;
|
||||
for (iter = tokens.begin(), index = 0; index < count; ++iter, ++index)
|
||||
{
|
||||
m_uint32Values[startOffset + index] = atol((*iter).c_str());
|
||||
}
|
||||
}
|
||||
|
||||
void Object::_SetUpdateBits(UpdateMask *updateMask, Player* /*target*/) const
|
||||
{
|
||||
uint32 *value = m_uint32Values;
|
||||
|
||||
Reference in new issue
Block a user