diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/RPC/RpcC2M_LeavePartner.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/RPC/RpcC2M_LeavePartner.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_LeavePartner.cs b/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_LeavePartner.cs new file mode 100644 index 00000000..13cf4f21 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_LeavePartner.cs @@ -0,0 +1,40 @@ +using System;
+using System.IO;
+using KKSG;
+using ProtoBuf;
+
+namespace XMainClient
+{
+ internal class RpcC2M_LeavePartner : Rpc
+ {
+ public LeavePartnerArg oArg = new LeavePartnerArg();
+
+ public LeavePartnerRes oRes = null;
+
+ public override uint GetRpcType()
+ {
+ return 63769u;
+ }
+
+ public override void Serialize(MemoryStream stream)
+ {
+ Serializer.Serialize<LeavePartnerArg>(stream, this.oArg);
+ }
+
+ public override void DeSerialize(MemoryStream stream)
+ {
+ this.oRes = Serializer.Deserialize<LeavePartnerRes>(stream);
+ }
+
+ public override void Process()
+ {
+ base.Process();
+ Process_RpcC2M_LeavePartner.OnReply(this.oArg, this.oRes);
+ }
+
+ public override void OnTimeout(object args)
+ {
+ Process_RpcC2M_LeavePartner.OnTimeout(this.oArg);
+ }
+ }
+}
|