少年修仙传客户端代码仓库
client_Zxw
2019-02-15 68aaaa24de3cd8f3c3e98c525150c00fcf29ea83
3005 【1.6】世界等级不同,登录奖励部分成就奖励显示与数值表不一致
3个文件已修改
12 ■■■■■ 已修改文件
System/OpenServerActivity/EntryInformationCell.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/LoginRewardModel.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/OpenServiceAchievementModel.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/EntryInformationCell.cs
@@ -54,9 +54,10 @@
            {
                m_Text2.text = SetText(id);
            }
            if (LoginAward.WeekPartyItem.Length >= 0)
            var weekPartyItemClass = loginRewardModel.GetLoginrewardItemList(loginRewardModel.SelectedNow, LoginAward.ItemJson);
            if (weekPartyItemClass.Length >= 0)
            {
                var Item = LoginAward.WeekPartyItem[0];
                var Item = weekPartyItemClass[0];
                ItemCellModel cellModel = new ItemCellModel(Item.ItemID, true, (ulong)Item.ItemCnt, Item.IsBind);
                m_ItemCell.Init(cellModel);
                m_ItemCell.cellBtn.SetListener(() =>
System/OpenServerActivity/LoginRewardModel.cs
@@ -160,7 +160,8 @@
            loginAward.TotalTimes = (int)ActionInfo.TotalTimes;
            loginAward.SingleTimes = (int)ActionInfo.SingleTimes;
            string ItemInfoJason = ActionInfo.ItemInfo;
            loginAward.WeekPartyItem = GetLoginrewardItemList(i, ItemInfoJason);
            loginAward.ItemJson = ItemInfoJason;
          //  loginAward.WeekPartyItem = GetLoginrewardItemList(i, ItemInfoJason);
            //for (int z = 0; z < ActionInfo.Count; z++)
            //{
@@ -182,7 +183,7 @@
        }
    }
    private WeekPartyItemClass[] GetLoginrewardItemList(int index, string jsonStr)
    public  WeekPartyItemClass[] GetLoginrewardItemList(int index, string jsonStr)
    {
        int count = 1;
        var jsonData = LitJson.JsonMapper.ToObject(jsonStr);
System/OpenServerActivity/OpenServiceAchievementModel.cs
@@ -52,7 +52,7 @@
    public int SingleTimes;  // 单次领奖需要的次数
    public int Point;    // 单次领奖积分
    public WeekPartyItemClass[] WeekPartyItem;//物品奖励列表
    public string ItemJson;
}
public class OpenServiceAchievementModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
{