_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/SnailKnight52/knightTest.cs

51 lines
2.7 KiB
C#
Raw Normal View History

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
//<2F><><EFBFBD>Խ<EFBFBD><D4BD><EFBFBD><EFBFBD>ο<EFBFBD>
public class knightTest : MonoBehaviour
{
queryClosestKnight521 queryClosestKnight1 = new queryClosestKnight521();
queryKnightRoomList522 queryKnightRoomList = new queryKnightRoomList522();
SnailKnightBet523 queryClosestKnightBet5 = new SnailKnightBet523();
queryKnightKill524 queryKnightKill = new queryKnightKill524();
ClosestKnight knight;
queryKnightBetResult525 queryKnightBetResult525 = new queryKnightBetResult525();
queryKnightRecord526 queryKnightRecord = new queryKnightRecord526();
UnionPage16 unionPage = new UnionPage16();
UnionDetail17 unionDetail = new UnionDetail17();
GoodIdPage41 goodIdPage41 = new GoodIdPage41();
GoodIdResponse goodidpage = new GoodIdResponse();
async void Start()
{
UnionPage Page = await unionPage.queryUnionPage(1);
//UnionDetalResponse Detail = await unionDetail.queryUnionDetail(1);
goodidpage = await goodIdPage41.queryUnionPage();
//Debug.Log("+++++++++++++++"+ goodidpage.Data.TotalCount);
//knight = await queryClosestKnight1.queryClosestKnight();//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʿ<EFBFBD><CABF><EFBFBD><EFBFBD>
//queryKnightRoomList.queryKnightRoomLis(knight.Data.GameKnightRoomResponseVoList[0].KnightId);
//Debug.Log("=========================================="+knight.Data.GameKnightRoomResponseVoList[0].KnightId);//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
////KnightRoomBetList roomBetList = await queryKnightRoomList.queryKnightRoomLis(knight.Data.GameKnightRoomResponseVoList[0].KnightId);//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ע
//await queryClosestKnightBet5.SnailKnightBet(knight.Data.GameKnightRoomResponseVoList[0].KnightId, 20, 3);//<2F><>ע
////await queryKnightKill.queryKnightKill(knight.Data.GameKnightRoomResponseVoList[0].KnightId);//<2F><>ѯ<EFBFBD><D1AF>ɱ
////await queryKnightBetResult525.queryKnightBetResult(knight.Data.GameKnightRoomResponseVoList[0].KnightId);//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>
//// <20><><EFBFBD><EFBFBD> queryKnightKill <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>״<EFBFBD><D7B4>ӳ<EFBFBD> 3 <20>룬֮<EBA3AC><D6AE>ÿ 3 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>һ<EFBFBD><D2BB>
////KnightRecord knightRecord = await queryKnightRecord.queryKnightBetResult(1);//526<32><36>ѯ<EFBFBD>û<EFBFBD>ս<EFBFBD><D5BD><EFBFBD><EFBFBD>¼
//await queryKnightRecord.queryKnightBetResult(1);//526<32><36>ѯ<EFBFBD>û<EFBFBD>ս<EFBFBD><D5BD><EFBFBD><EFBFBD>¼
////Debug.Log("++++++++++++++++++++++++++++++++++++"+knightRecord.data.beansCoinWin);
//InvokeRepeating("RepeatedQueryKnightKill", 1f, 1f);
}
private void RepeatedQueryKnightKill()
{
if (knight != null && knight.Data.GameKnightRoomResponseVoList.Count > 0)
{
// queryKnightBetResult525.queryKnightBetResult(knight.Data.GameKnightRoomResponseVoList[0].KnightId);//<2F><>ѯ<EFBFBD><D1AF><EFBFBD><EFBFBD>
//queryKnightKill.queryKnightKill(knight.Data.GameKnightRoomResponseVoList[0].KnightId);//<2F><>ѯ<EFBFBD><D1AF>ɱ
}
}
}