// Token: 0x06015A42 RID: 88642 RVA: 0x0058206C File Offset: 0x0058026C private IEnumerator Start() { if (DebugConsoleView.instance != null) { DebugConsoleView.instance.IsForceHide = true; } if (DebugConsoleMode.instance != null) { LogManager.Instance.FileLogger.EventOnLog += DebugConsoleMode.instance._LogReceived; Application.logMessageReceived -= DebugConsoleMode.instance._LogCallback; } global::Debug.Log("ProjectLGameLauncher.Start()"); if (!StringTable.Load()) { global::Debug.LogError("Failed to load string table."); } yield return(new WaitUntil(() => PDSDK.Instance != null)); PDSDK.Instance.Init(); yield return(new WaitUntil(() => PDSDK.IsInit)); PDSDK.Instance.printGameEventLog("1", string.Empty); if (!DefaultServerAddress.Load()) { global::Debug.LogError("call DefaultServerAddress.Load failed."); yield break; } this.m_gameManager = GameManager.CreateAndInitGameManager <ProjectLGameManager>(); if (this.m_gameManager == null) { global::Debug.LogError("CreateAndInitGameManager start fail"); yield break; } if (PDSDK.IsIosReview) { this.m_gameManager.GameClientSetting.ResourcesSetting.SkipStreamingAssetsFileProcessing = true; this.m_gameManager.GameClientSetting.ResourcesSetting.DisableAssetBundleDownload = true; this.m_gameManager.GameClientSetting.ResourcesSetting.SkipAssetBundlePreUpdateing = true; this.m_gameManager.GameClientSetting.ResourcesSetting.AssetBundleDownloadUrlRoot = string.Empty; if (ResourceManager.Instance != null && !ResourceManager.Instance.Initlize(this.m_gameManager.GameClientSetting.ResourcesSetting)) { global::Debug.LogError("ProjectLGameLauncher.Start failed to initialize resourcemanager."); } } yield return(null); UIManager.Instance.RegisterUITaskWithGroup(typeof(ProjectLGameEntryUITask).Name, new TypeDNName(typeof(ProjectLGameEntryUITask).FullName), 0, null); if (!(UIManager.Instance.StartUITask(new UIIntent(typeof(ProjectLGameEntryUITask).Name, null), false, false, null) is ProjectLGameEntryUITask)) { global::Debug.LogError("ProjectLGameEntryUITask start fail"); } Utility.LogMemorySize("ProjectLGameLauncher.Start"); yield break; }
public static int Load_s(IntPtr l) { int result; try { bool b = DefaultServerAddress.Load(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, b); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }
public static int constructor(IntPtr l) { int result; try { DefaultServerAddress o = new DefaultServerAddress(); LuaObject.pushValue(l, true); LuaObject.pushValue(l, o); result = 2; } catch (Exception e) { result = LuaObject.error(l, e); } return(result); }