using ET; using UnityEngine; namespace GFGGame { public class QDQuickManager : SingletonBase { public bool isLogining; public string uid; public void Init() { } public void Login() { // if (!string.IsNullOrEmpty(uid)) // { // EventAgent.DispatchEvent(ConstMessage.ON_PLATFORM_SDK_LOGINED, uid); // return; // } // if (isLogining) return; // Debug.Log($"quick Login"); // isLogining = true; DouYouSDK.Instance().ShowLogin(); } public void OnCreateRole() { var zoneScene = GameGlobal.zoneScene; var roleInfo = zoneScene.GetComponent().GetCurrentRole(); } public void OnEnterGame() { Debug.Log($"quick OnEnterGame"); var zoneScene = GameGlobal.zoneScene; var roleInfo = zoneScene.GetComponent().GetCurrentRole(); } public void OnQuitToLoginView() { Debug.Log($"quick OnQuitToLoginView"); } public void Logout() { Debug.Log($"quick Logout"); } public void Pay(int buyID, int count, string orderID, long price) { ShopCfg shopCfg = ShopCfgArray.Instance.GetCfg(buyID); if(shopCfg == null) { Log.Error($"recharge {buyID} config not found!"); return; } } public void Exit() { } } }