summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/PtcG2C_ActivityRoleNotify.cs
blob: 164e0183271080a249d3c24d10b7326030b1410a (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_ActivityRoleNotify : Protocol
	{
		public ActivityRoleNotify Data = new ActivityRoleNotify();

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

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

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

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