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