diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_MSErrorNotify.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_MSErrorNotify.cs | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_MSErrorNotify.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_MSErrorNotify.cs new file mode 100644 index 00000000..48635efb --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcM2C_MSErrorNotify.cs @@ -0,0 +1,43 @@ +using System;
+using KKSG;
+using XMainClient.UI;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_PtcM2C_MSErrorNotify
+ {
+ public static void Process(PtcM2C_MSErrorNotify roPtc)
+ {
+ ErrorCode errorno = (ErrorCode)roPtc.Data.errorno;
+ if (errorno != ErrorCode.ERR_VERSION_FAILED)
+ {
+ if (errorno != ErrorCode.ERR_TEAM_LEADER_NOTHELPER)
+ {
+ if (errorno != ErrorCode.ERR_AUCT_AUCTOVER)
+ {
+ bool istip = roPtc.Data.istip;
+ if (istip)
+ {
+ XSingleton<UiUtility>.singleton.ShowSystemTip((ErrorCode)roPtc.Data.errorno, "fece00");
+ }
+ else
+ {
+ XSingleton<UiUtility>.singleton.ShowErrorCode((ErrorCode)roPtc.Data.errorno);
+ }
+ }
+ else
+ {
+ XSingleton<UiUtility>.singleton.ShowSystemTip((ErrorCode)roPtc.Data.errorno, "fece00");
+ AuctionHouseDocument specificDocument = XDocuments.GetSpecificDocument<AuctionHouseDocument>(AuctionHouseDocument.uuID);
+ specificDocument.QueryRefreshUI();
+ }
+ }
+ else
+ {
+ XSingleton<UiUtility>.singleton.ShowSystemTip((ErrorCode)roPtc.Data.errorno, "fece00");
+ }
+ }
+ }
+ }
+}
|