1
This commit is contained in:
47
unity/Assets/Script/UI/Bag/Date.cs
Normal file
47
unity/Assets/Script/UI/Bag/Date.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Date:Singleton<Date>
|
||||
{
|
||||
public List<Item> ItemDate = new List<Item>();
|
||||
|
||||
public List<LevelUpDefine> UpDate = new List<LevelUpDefine>();
|
||||
|
||||
}
|
||||
|
||||
public enum ItemClass
|
||||
{
|
||||
User,
|
||||
Up,
|
||||
}
|
||||
[Serializable]
|
||||
public class CharInfo
|
||||
{
|
||||
public string DatePath;
|
||||
|
||||
public string playerName;
|
||||
public int Level;
|
||||
public int exp;
|
||||
|
||||
public float maxHp;
|
||||
public float attack;
|
||||
|
||||
//局内属性
|
||||
public int currentMap;
|
||||
public float currentHp;
|
||||
public float testAttack;
|
||||
|
||||
//背包数据
|
||||
public Dictionary<int, int> BagInfo;//背包字典
|
||||
public List<int> BagKey;
|
||||
public List<int> BagValue;
|
||||
|
||||
//升级数据
|
||||
|
||||
public Dictionary<int, bool> UpInfo;//升级字典
|
||||
public List<int> UpKey;
|
||||
public List<bool> UpValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user