From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Process/Process_PtcM2C_DragonGuildSettingChanged.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_DragonGuildSettingChanged.cs (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_DragonGuildSettingChanged.cs') diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_DragonGuildSettingChanged.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_DragonGuildSettingChanged.cs new file mode 100644 index 00000000..3f194263 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_DragonGuildSettingChanged.cs @@ -0,0 +1,17 @@ +using System; + +namespace XMainClient +{ + internal class Process_PtcM2C_DragonGuildSettingChanged + { + public static void Process(PtcM2C_DragonGuildSettingChanged roPtc) + { + XDragonGuildApproveDocument specificDocument = XDocuments.GetSpecificDocument(XDragonGuildApproveDocument.uuID); + specificDocument.OnSetApprove(new DragonGuildApproveSetting + { + autoApprove = (roPtc.Data.needApproval == 0u), + PPT = roPtc.Data.recuitPPT + }); + } + } +} -- cgit v1.1-26-g67d0