namespace ET { public static class TaskHelper { public static async ETTask UpdateTask(Unit unit, int itemId) { await Game.EventSystem.Publish(new EventType.UpdateTaskState { unit = unit, type = TaskTargetType.CollectionTask, value = itemId }); } } }