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