using PhxhSDK; using Framework.UI; using Framework.BI; using Gameplay.Game; using Gameplay.Login; using Gameplay.Manager; using Framework.Manager; using Framework.Constants; using Gameplay.LoadingExecutor; namespace Gameplay { public class MyGame : PhxhSDK.Game { protected override void _RegisterSubSystems() { _Register(); SDKManager.Instance.AfterLoginInit(); _Register(); _Register(); _Register(); _Register(); _Register(); _Register(); _Register(); _Register(); _Register(); _Register(); _Register(); SDKManager.Instance.Init(); } protected override void _OnAllSystemStarted() { GameStateManager.Instance.ChangeState(new GameStateStart()); } private void _Register() where T : class, new() { _subSystemManager.AddSubSystem(); } } }