Core: Update to 10.2.0
Port From (https://github.com/TrinityCore/TrinityCore/commit/1eea1d11b14d2ae065ab0f1888fba3b1ef03874f)
This commit is contained in:
@@ -832,6 +832,15 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
public void SetUpdateFieldValue(ref string value, string newValue)
|
||||
{
|
||||
if (!newValue.Equals(value))
|
||||
{
|
||||
value = newValue;
|
||||
AddToObjectUpdateIfNeeded();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetUpdateFieldValue<T>(DynamicUpdateField<T> updateField, int index, T newValue) where T : new()
|
||||
{
|
||||
if (!newValue.Equals(updateField[index]))
|
||||
|
||||
Reference in New Issue
Block a user