using System; namespace ET { [ActorMessageHandler] public class C2M_RefreshEquipAffixHandler : AMActorLocationRpcHandler { protected override async ETTask Run(Unit unit, C2M_RefreshEquipAffix request, M2C_RefreshEquipAffix response, Action reply) { string retStr = await ItemComponent.Instance.RefreshEquipAffix(unit, request.bagIndex); if (retStr !=null) { response.Message = retStr; reply(); return; } reply(); await ETTask.CompletedTask; } } }