using System; using System.Collections.Generic; namespace ET { [ActorMessageHandler] public class C2M_GetPetQuickEndPriceHandler : AMActorLocationRpcHandler { protected override async ETTask Run(Unit unit, C2M_GetPetQuickEndPrice request, M2C_GetPetQuickEndPrice response, Action reply) { Pet pet = unit.GetComponent(); response.voucher = pet.GetQuickEndPrice(); reply(); await ETTask.CompletedTask; } } }