41 lines
1.8 KiB
C#
41 lines
1.8 KiB
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
public class KuangChangTest : MonoBehaviour
|
|||
|
{
|
|||
|
queryMiningContractList101 queryMiningContractList = new queryMiningContractList101();//10.110.1<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ѯ<EFBFBD>ɹ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ڿ<EFBFBD><EFBFBD><EFBFBD>Լ
|
|||
|
queryMiningContracDetail102 queryMiningContracDetail = new queryMiningContracDetail102();//10.2
|
|||
|
MiningContracDetail miningContracDetail = new MiningContracDetail();
|
|||
|
buyMiningContract103 buyMiningContract = new buyMiningContract103();//10.3
|
|||
|
queryUserMiningSlot104 queryUserMiningSlot = new queryUserMiningSlot104();//10.4
|
|||
|
openSlot105 openSlot5 = new openSlot105();//10.5
|
|||
|
queryMyPureContract106 queryMyPureContract = new queryMyPureContract106();//10.6
|
|||
|
bindSlot107 bindSlot = new bindSlot107();
|
|||
|
queryUserVoluteCoin108 queryUserVoluteCoin = new queryUserVoluteCoin108();
|
|||
|
|
|||
|
async void Start()
|
|||
|
{
|
|||
|
queryMiningContractList.QueryMiningContract();
|
|||
|
miningContracDetail = await queryMiningContracDetail.QueryMiningContracDetail(2L);
|
|||
|
//Debug.Log("====bbb======" + miningContracDetail.data.createTime);
|
|||
|
bool isBuySucceed = await buyMiningContract.BuyMiningContract(1);
|
|||
|
//Debug.Log("====<3D><><EFBFBD><EFBFBD>===" + isBuySucceed);
|
|||
|
//Debug.Log(buyMiningContract.BuyMiningContract(2) + "==========<3D><>");
|
|||
|
//Debug.Log(openSlot5.OpenSlot() + "===============<3D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>");
|
|||
|
queryMyPureContract.QueryMyPureContract();
|
|||
|
queryUserMiningSlot.QueryUserMiningSlot();
|
|||
|
bool isSucceed = await bindSlot.BindSlot(1, 1);
|
|||
|
//Debug.Log(isSucceed + "========<3D><EFBFBD><F3B6A8BF><EFBFBD>");
|
|||
|
QueryUserVoluteCoinResponse queryUserVoluteCoinResponse = await queryUserVoluteCoin.QueryUserVoluteCoin();
|
|||
|
//Debug.Log(queryUserVoluteCoinResponse.data + "============================");
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
// Update is called once per frame
|
|||
|
void Update()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|