summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/RPC/RpcC2G_OpenSceneChest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/RPC/RpcC2G_OpenSceneChest.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/RPC/RpcC2G_OpenSceneChest.cs40
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/RPC/RpcC2G_OpenSceneChest.cs b/Client/Assets/Scripts/XMainClient/RPC/RpcC2G_OpenSceneChest.cs
new file mode 100644
index 00000000..1c9e5f35
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/RPC/RpcC2G_OpenSceneChest.cs
@@ -0,0 +1,40 @@
+using System;
+using System.IO;
+using KKSG;
+using ProtoBuf;
+
+namespace XMainClient
+{
+ internal class RpcC2G_OpenSceneChest : Rpc
+ {
+ public OpenSceneChestArg oArg = new OpenSceneChestArg();
+
+ public OpenSceneChestRes oRes = new OpenSceneChestRes();
+
+ public override uint GetRpcType()
+ {
+ return 27401u;
+ }
+
+ public override void Serialize(MemoryStream stream)
+ {
+ Serializer.Serialize<OpenSceneChestArg>(stream, this.oArg);
+ }
+
+ public override void DeSerialize(MemoryStream stream)
+ {
+ this.oRes = Serializer.Deserialize<OpenSceneChestRes>(stream);
+ }
+
+ public override void Process()
+ {
+ base.Process();
+ Process_RpcC2G_OpenSceneChest.OnReply(this.oArg, this.oRes);
+ }
+
+ public override void OnTimeout(object args)
+ {
+ Process_RpcC2G_OpenSceneChest.OnTimeout(this.oArg);
+ }
+ }
+}