summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/PtcG2C_LevelSealNtf.cs
blob: 2e57f1dd3898f1d610f96cd066da31614a6cb018 (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 PtcG2C_LevelSealNtf : Protocol
	{
		public LevelSealInfo Data = new LevelSealInfo();

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

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

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

		public override void Process()
		{
			Process_PtcG2C_LevelSealNtf.Process(this);
		}
	}
}