示例#1
0
 public static void ToLoginScene()
 {
     Connecting.GetInst().ForceHide();
     Time.timeScale = 1;
     SocketHandler.GetInst().LongClose(0);
     SocketHandler.GetInst().LongClose(1);
     ClearCache();
     SceneLoader.ToLoginScene(true);
 }
示例#2
0
    public override bool OnPay(int id, string sIAPID, int iPrice, string sName, int iCount,
                               string sAccount, int iRoleId, string sRoleName, int iRoleLv, int iVipLv, int iGoldNum, string sFamilyName,
                               string sServerId, string sServerName, string sZoneId, string sGoldName, string sSingleName)
    {
        Connecting.GetInst().Show();
        string extInfo = string.Format("{0}|{1}|{2}|{3}", System.Guid.NewGuid(), sServerId, id, iRoleId);

        string sUrl = "";

        if ("LJ" == m_sPlatformID)
        {
            sUrl = ConfigData.GetValue("InitValues_Common", "LJ_PAY_URL", "Value");
        }

        BuyProduct(sIAPID, extInfo, iPrice, iCount, sName, sGoldName, sUrl);
        return(true);
    }
示例#3
0
 public static void ToLoginScene()
 {
     Connecting.GetInst().ForceHide();
     SceneLoader.ToLoginScene(true);
 }