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