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

namespace XMainClient
{
	internal class Process_PtcG2C_SceneStateNtf
	{
		public static void Process(PtcG2C_SceneStateNtf roPtc)
		{
			XSingleton<XScene>.singleton.SceneStarted = roPtc.Data.state.isready;
			bool flag = XSingleton<XEntityMgr>.singleton.Player != null;
			if (flag)
			{
				XSingleton<XEntityMgr>.singleton.Player.UpdateSpecialStateFromServer(roPtc.Data.rolespecialstate, uint.MaxValue);
			}
		}
	}
}