summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/PtcC2G_SynDoingGuildInherit.cs
blob: 20906f4f7407157da85f4f6f92d497319b5feed9 (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 PtcC2G_SynDoingGuildInherit : Protocol
	{
		public SynDoingGuildInherit Data = new SynDoingGuildInherit();

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

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

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

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