CTT/Server/Hotfix/Module/Numeric/NumericWatcher_Title.cs

13 lines
362 B
C#

namespace ET
{
[NumericWatcher(NumericType.Title)]
public class NumericWatcher_Title : INumericWatcher
{
public async ETTask Run(Entity entity, float old, float value)
{
DelaySendSyncAttributeComponent.instance.Add(entity.As<Unit>(), NumericType.Title, value);
await ETTask.CompletedTask;
}
}
}