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