summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/RPC/RpcC2G_GetDesignationReq.cs
blob: 8b848e7f3c8266eca58ef6b6531f1380a6f81912 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using System;
using System.IO;
using KKSG;
using ProtoBuf;

namespace XMainClient
{
	internal class RpcC2G_GetDesignationReq : Rpc
	{
		public GetDesignationReq oArg = new GetDesignationReq();

		public GetDesignationRes oRes = new GetDesignationRes();

		public override uint GetRpcType()
		{
			return 44412u;
		}

		public override void Serialize(MemoryStream stream)
		{
			Serializer.Serialize<GetDesignationReq>(stream, this.oArg);
		}

		public override void DeSerialize(MemoryStream stream)
		{
			this.oRes = Serializer.Deserialize<GetDesignationRes>(stream);
		}

		public override void Process()
		{
			base.Process();
			Process_RpcC2G_GetDesignationReq.OnReply(this.oArg, this.oRes);
		}

		public override void OnTimeout(object args)
		{
			Process_RpcC2G_GetDesignationReq.OnTimeout(this.oArg);
		}
	}
}