73 lines
2.1 KiB
C#
73 lines
2.1 KiB
C#
|
using System.Collections;
|
|||
|
using System.Collections.Generic;
|
|||
|
using UnityEngine;
|
|||
|
|
|||
|
public class InitInfo : MonoBehaviour
|
|||
|
{
|
|||
|
|
|||
|
// Start is called before the first frame update
|
|||
|
private async void Start()
|
|||
|
{
|
|||
|
string response = await web.SendRequest("http://47.109.133.52/Item/GetList", "POST");
|
|||
|
Debug.Log(response);
|
|||
|
}
|
|||
|
|
|||
|
// Update is called once per frame
|
|||
|
void Update()
|
|||
|
{
|
|||
|
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7><EFBFBD><EFBFBD>
|
|||
|
/// </summary>
|
|||
|
|
|||
|
public class LevelUpNeedItem
|
|||
|
{
|
|||
|
public int Num;
|
|||
|
public int Count;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
public class LevelUpNeedThing
|
|||
|
{
|
|||
|
public int Gold;
|
|||
|
public List<LevelUpNeedItem> Items;
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
public class Character
|
|||
|
{
|
|||
|
public int Num; // <20><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>
|
|||
|
public string Name; // <20><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>
|
|||
|
public float Hp; // <20><><EFBFBD><EFBFBD>ֵ
|
|||
|
public float HpUpMul; // <20><><EFBFBD><EFBFBD>ֵ<EFBFBD>ɳ<EFBFBD><C9B3><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public float Attack; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public float AttackUpMul; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɳ<EFBFBD><C9B3><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public float Defense; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public float DefenseUpMul; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ɳ<EFBFBD><C9B3><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public float AttackSpeed; // <20><><EFBFBD><EFBFBD><EFBFBD>ٶ<EFBFBD>
|
|||
|
public float AttackSpeedUpMul; // <20><><EFBFBD><EFBFBD><EFBFBD>ٶȳɳ<C8B3><C9B3><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public float Move; // <20>ƶ<EFBFBD><C6B6>ٶ<EFBFBD>
|
|||
|
public float MoveUpMul; // <20>ƶ<EFBFBD><C6B6>ٶȳɳ<C8B3><C9B3><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public List<int> Skill; // <20><><EFBFBD><EFBFBD>ID<49>б<EFBFBD>
|
|||
|
public int Attribute; // <20><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>
|
|||
|
public string LevelUpNeedThingsJson; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʒ<EFBFBD><C6B7>JSON<4F>ַ<EFBFBD><D6B7><EFBFBD>
|
|||
|
public string Expand; // <20><>չ<EFBFBD>ֶΣ<D6B6><CEA3><EFBFBD><EFBFBD><EFBFBD>δ<EFBFBD><CEB4><EFBFBD><EFBFBD>չ<EFBFBD><EFBFBD><F2B8BDBC><EFBFBD><EFBFBD>ݣ<EFBFBD>
|
|||
|
public int Type; // <20><>ɫ<EFBFBD><C9AB><EFBFBD><EFBFBD>
|
|||
|
public int Rarity; // <20><>ɫϡ<C9AB>ж<EFBFBD>
|
|||
|
public string WeaponBulletEffectPath; // <20><><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD>Ч<EFBFBD><D0A7>·<EFBFBD><C2B7>
|
|||
|
public string WeaponBulletHitEffectPath; // <20><><EFBFBD><EFBFBD><EFBFBD>ӵ<EFBFBD><D3B5><EFBFBD><EFBFBD><EFBFBD>Ч<EFBFBD><D0A7>·<EFBFBD><C2B7>
|
|||
|
public int UltimateSkill; // <20>ռ<EFBFBD><D5BC><EFBFBD><EFBFBD><EFBFBD>ID
|
|||
|
public int Access; // <20><>ȡ;<C8A1><CDBE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
public List<string> SellDate; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>б<EFBFBD><D0B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ã<EFBFBD>
|
|||
|
}
|
|||
|
|
|||
|
public class CharacterListResponse
|
|||
|
{
|
|||
|
public List<Character> List;
|
|||
|
public int ErrorCode;
|
|||
|
public string ErrorMessage;
|
|||
|
}
|