From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/RPC/RpcC2M_GoalAwardsGetAwards.cs | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GoalAwardsGetAwards.cs (limited to 'Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GoalAwardsGetAwards.cs') diff --git a/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GoalAwardsGetAwards.cs b/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GoalAwardsGetAwards.cs new file mode 100644 index 00000000..664f5875 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GoalAwardsGetAwards.cs @@ -0,0 +1,40 @@ +using System; +using System.IO; +using KKSG; +using ProtoBuf; + +namespace XMainClient +{ + internal class RpcC2M_GoalAwardsGetAwards : Rpc + { + public GoalAwardsGetAwards_C2M oArg = new GoalAwardsGetAwards_C2M(); + + public GoalAwardsGetAwards_M2C oRes = null; + + public override uint GetRpcType() + { + return 4985u; + } + + public override void Serialize(MemoryStream stream) + { + Serializer.Serialize(stream, this.oArg); + } + + public override void DeSerialize(MemoryStream stream) + { + this.oRes = Serializer.Deserialize(stream); + } + + public override void Process() + { + base.Process(); + Process_RpcC2M_GoalAwardsGetAwards.OnReply(this.oArg, this.oRes); + } + + public override void OnTimeout(object args) + { + Process_RpcC2M_GoalAwardsGetAwards.OnTimeout(this.oArg); + } + } +} -- cgit v1.1-26-g67d0