using System; using System.Net.Sockets; namespace ET { [ActorMessageHandler] public class C2M_FreeReSetSkillHandler : AMActorLocationRpcHandler { protected override async ETTask Run(Unit unit, C2M_FreeReSetSkill request, M2C_FreeReSetSkill response, Action reply) { UnitSkillComponent skill = unit.GetComponent(); skill.ResetFreeSkill(); reply(); await ETTask.CompletedTask; } } }