summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/PtcM2C_NotifyMarriageApply.cs
blob: 96412f0bb41d9f3501a4ac13fad5f647b1a8e946 (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 PtcM2C_NotifyMarriageApply : Protocol
	{
		public NotifyMarriageApplyData Data = new NotifyMarriageApplyData();

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

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

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

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