diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EnterSceneNtf.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EnterSceneNtf.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EnterSceneNtf.cs b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EnterSceneNtf.cs new file mode 100644 index 00000000..c16d06c3 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PTC/Process/Process_PtcG2C_EnterSceneNtf.cs @@ -0,0 +1,23 @@ +using System;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class Process_PtcG2C_EnterSceneNtf
+ {
+ public static void Process(PtcG2C_EnterSceneNtf roPtc)
+ {
+ XSingleton<XClientNetwork>.singleton.XLoginStep = XLoginStep.Playing;
+ XHeroBattleDocument.LoadSkillHandler = roPtc.Data.canMorph;
+ bool sceneReady = XSingleton<XScene>.singleton.SceneReady;
+ if (sceneReady)
+ {
+ XSingleton<XScene>.singleton.SceneEnterTo(roPtc.Data, true);
+ }
+ else
+ {
+ XSingleton<XScene>.singleton.StoreSceneConfig(roPtc.Data);
+ }
+ }
+ }
+}
|