コード例 #1
0
    //取得转盘状态Suc
    void GetRouletteStateSuc(BaseHttpRequest req, BaseResponse resp)
    {
        ComLoading.Close();
        GetAwardActivity re = resp as GetAwardActivity;

        ActivityManager.activityZPID = re.data.status.id;

//		if (re.data.status.id == 0)
//		{
//			UIInformation.GetInstance ().SetInformation (Core.Data.stringManager.getString (5206), Core.Data.stringManager.getString (5030), OpenZhuanPanUI);
//		}
//		else
//		{
//			if(ActivityManager.activityZPID != 4)
//			{
//				SQYAlertViewMove.CreateAlertViewMove (Core.Data.stringManager.getString(5207));
//				return;
//			}
//			else
//			{
        if (!Core.Data.gpsWarManager.SyncGPSSuc)
        {
            //启动GPS服务
            m_gpsLocation.StartCoroutine(m_gpsLocation.StartGPS());
            type = 1;
        }
        else
        {
            SendCreateRoomRQ();
        }

        //}
        //}
    }