diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_DragonGuildSettingChanged.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_DragonGuildSettingChanged.cs | 17 |
1 files changed, 17 insertions, 0 deletions
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>(XDragonGuildApproveDocument.uuID);
+ specificDocument.OnSetApprove(new DragonGuildApproveSetting
+ {
+ autoApprove = (roPtc.Data.needApproval == 0u),
+ PPT = roPtc.Data.recuitPPT
+ });
+ }
+ }
+}
|