summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/PtcC2M_FriendQueryReportNew.cs
blob: a4e3bc701ed98445aa82a85a5122353b3a00d931 (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
using System;
using System.IO;
using KKSG;
using ProtoBuf;

namespace XMainClient
{
	internal class PtcC2M_FriendQueryReportNew : Protocol
	{
		public FriendQueryReportNew Data = new FriendQueryReportNew();

		public override uint GetProtoType()
		{
			return 15079u;
		}

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

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

		public override void Process()
		{
			throw new Exception("Send only protocol can not call process");
		}
	}
}