summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_DragonGuildSettingChanged.cs
blob: 3f194263c5ebef0cbe59240e7c205a29cfa13591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;

namespace XMainClient
{
	internal class Process_PtcM2C_DragonGuildSettingChanged
	{
		public static void Process(PtcM2C_DragonGuildSettingChanged roPtc)
		{
			XDragonGuildApproveDocument specificDocument = XDocuments.GetSpecificDocument<XDragonGuildApproveDocument>(XDragonGuildApproveDocument.uuID);
			specificDocument.OnSetApprove(new DragonGuildApproveSetting
			{
				autoApprove = (roPtc.Data.needApproval == 0u),
				PPT = roPtc.Data.recuitPPT
			});
		}
	}
}