|
@@ -29,21 +29,21 @@ public class AccountFileInfo : Singleton<AccountFileInfo>
|
|
{
|
|
{
|
|
//地图探索进度
|
|
//地图探索进度
|
|
public int senceExplorationProgress;
|
|
public int senceExplorationProgress;
|
|
-
|
|
|
|
|
|
+
|
|
public int divineSenseLevel = 1;
|
|
public int divineSenseLevel = 1;
|
|
-
|
|
|
|
|
|
+
|
|
public int divineSensePoint = 0;
|
|
public int divineSensePoint = 0;
|
|
-
|
|
|
|
|
|
+
|
|
public int divineSenseexp = 0;
|
|
public int divineSenseexp = 0;
|
|
-
|
|
|
|
|
|
+
|
|
public List<EventData> events = new List<EventData>();
|
|
public List<EventData> events = new List<EventData>();
|
|
-
|
|
|
|
|
|
+
|
|
public List<EventList> eventList = new List<EventList>();
|
|
public List<EventList> eventList = new List<EventList>();
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+
|
|
public List<ItemData> ItemListData = new List<ItemData>();
|
|
public List<ItemData> ItemListData = new List<ItemData>();
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 关卡进度
|
|
/// 关卡进度
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -68,20 +68,23 @@ public class AccountFileInfo : Singleton<AccountFileInfo>
|
|
// /// </summary>
|
|
// /// </summary>
|
|
// public List<HeroData> HeroListInBackDatas = new List<HeroData>();
|
|
// public List<HeroData> HeroListInBackDatas = new List<HeroData>();
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ [System.Serializable]
|
|
public class EventData
|
|
public class EventData
|
|
{
|
|
{
|
|
- public int eventID ;
|
|
|
|
|
|
+ public int eventID;
|
|
|
|
+
|
|
//完成cishu
|
|
//完成cishu
|
|
public int completeCount = 0;
|
|
public int completeCount = 0;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
/// <summary>
|
|
/// <summary>
|
|
/// 刷出来的事件列表
|
|
/// 刷出来的事件列表
|
|
/// </summary>
|
|
/// </summary>
|
|
|
|
+ [System.Serializable]
|
|
public class EventList
|
|
public class EventList
|
|
{
|
|
{
|
|
- public int eventID ;
|
|
|
|
|
|
+ public int eventID;
|
|
|
|
|
|
public int curStep;
|
|
public int curStep;
|
|
}
|
|
}
|
|
@@ -143,7 +146,6 @@ public class AccountFileInfo : Singleton<AccountFileInfo>
|
|
|
|
|
|
private int lastHeroIdx = 0;
|
|
private int lastHeroIdx = 0;
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
private int lastItemIdx = 0;
|
|
private int lastItemIdx = 0;
|
|
|
|
|
|
@@ -298,19 +300,18 @@ public class AccountFileInfo : Singleton<AccountFileInfo>
|
|
public void ClearInitPlayerData()
|
|
public void ClearInitPlayerData()
|
|
{
|
|
{
|
|
ItemData coin = new ItemData(GlobalParam.Item_Coin_ID, 0);
|
|
ItemData coin = new ItemData(GlobalParam.Item_Coin_ID, 0);
|
|
-
|
|
|
|
|
|
+
|
|
ItemData diamond = new ItemData(GlobalParam.Item_Diamond_ID);
|
|
ItemData diamond = new ItemData(GlobalParam.Item_Diamond_ID);
|
|
-
|
|
|
|
|
|
+
|
|
ItemData heroExp = new ItemData(GlobalParam.Item_HeroExp_ID, 0);
|
|
ItemData heroExp = new ItemData(GlobalParam.Item_HeroExp_ID, 0);
|
|
-
|
|
|
|
|
|
+
|
|
playerData.ItemListData.Add(coin);
|
|
playerData.ItemListData.Add(coin);
|
|
playerData.ItemListData.Add(diamond);
|
|
playerData.ItemListData.Add(diamond);
|
|
playerData.ItemListData.Add(heroExp);
|
|
playerData.ItemListData.Add(heroExp);
|
|
-
|
|
|
|
|
|
+
|
|
// BagController.Instance.AddCoin(10000);
|
|
// BagController.Instance.AddCoin(10000);
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
// playerData.HeroListData.Add(heroData2);
|
|
// playerData.HeroListData.Add(heroData2);
|
|
// playerData.HeroListData.Add(heroData3);
|
|
// playerData.HeroListData.Add(heroData3);
|
|
// playerData.HeroListData.Add(heroData4);
|
|
// playerData.HeroListData.Add(heroData4);
|
|
@@ -329,7 +330,6 @@ public class AccountFileInfo : Singleton<AccountFileInfo>
|
|
/// 英雄等级
|
|
/// 英雄等级
|
|
/// </summary>
|
|
/// </summary>
|
|
public int heroPowerId;
|
|
public int heroPowerId;
|
|
-
|
|
|
|
}
|
|
}
|
|
|
|
|
|
[System.Serializable]
|
|
[System.Serializable]
|