少年修仙传客户端代码仓库
hch
2025-04-03 c154ac0832fe4379a00d3e1cda700e7d2a7383c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using LitJson;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
namespace vnxbqy.UI
{
 
    //仙盟充值互助活动信息
    public class OperationFamilyRechargeConn : OperationBase
    {
        //充值人数对应的奖励
        public Dictionary<int, HAA77_tagMCActFamilyCTGAssistInfo.tagMCActFamilyCTGAssistItem[]> rechargeInfo = new Dictionary<int, HAA77_tagMCActFamilyCTGAssistInfo.tagMCActFamilyCTGAssistItem[]>();
        public List<int> needPlayers = new List<int>();
 
        public override void Reset()
        {
            base.Reset();
            rechargeInfo.Clear();
        }
 
 
        public void ParseActFamilyCTGAssistInfo(HAA77_tagMCActFamilyCTGAssistInfo package)
        {
            for (int i = 0; i < package.AwardInfoList.Length; i++)
            {
                rechargeInfo[package.AwardInfoList[i].NeedCTGPlayers] = package.AwardInfoList[i].AwardItemList;
            }
 
            needPlayers = rechargeInfo.Keys.ToList();
        }
 
    }
}