mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-14 17:49:10 +00:00
feat(Core/Scripting): OnBuildValuesUpdate hook (#9961)
This commit is contained in:
@@ -20082,8 +20082,15 @@ void Unit::BuildValuesUpdate(uint8 updateType, ByteBuffer* data, Player* target)
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!sScriptMgr->OnBuildValuesUpdate(this, updateType, fieldBuffer, target, index))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// send in current format (float as float, uint32 as uint32)
|
||||
fieldBuffer << m_uint32Values[index];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user