summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/RPC/RpcC2M_GroupChatLeaderIssueInfo.cs
blob: 4433c477a6dd69b7b91c58b1d97253b09efb330d (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 RpcC2M_GroupChatLeaderIssueInfo : Rpc
	{
		public GroupChatLeaderIssueInfoC2S oArg = new GroupChatLeaderIssueInfoC2S();

		public GroupChatLeaderIssueInfoS2C oRes = null;

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

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

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

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

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