| | |
| | |
|
| | | public int RedEnvelopeID = 0;//发红包的ID(用于默认弹出开)
|
| | |
|
| | | private int GrabRedBagId = 0;
|
| | | public override void Init()
|
| | | {
|
| | | PlayerDatas.Instance.fairyData.OnRefreshFairyMine += OnRefreshFairyMine;
|
| | |
| | | _DicRedBag[(int)info.RedPacketInfo[i].RedPacketID].GetWay = (int)info.RedPacketInfo[i].GetWay;
|
| | | _DicRedBag[(int)info.RedPacketInfo[i].RedPacketID].PacketCnt = (int)info.RedPacketInfo[i].PacketCnt;
|
| | | _DicRedBag[(int)info.RedPacketInfo[i].RedPacketID].State = (int)info.RedPacketInfo[i].State;
|
| | | if ((int)info.RedPacketInfo[i].RedPacketID == RedBagId)
|
| | | if ((int)info.RedPacketInfo[i].RedPacketID == GrabRedBagId)
|
| | | {
|
| | | var Values = _DicRedGrabinfo.Values;
|
| | | foreach (var value in Values)
|
| | |
| | | public string RedPacketMaxName = null;//最大红包数量的ID
|
| | | public void GrabRedEnvelope( HA405_tagGCFamilyRedPacketGrabInfo info)//家族抢红包信息
|
| | | {
|
| | |
|
| | | GrabRedBagId = (int)info.RedPacketID;
|
| | | int _moneyNum = 0;
|
| | | _DicRedGrabinfo.Clear();
|
| | |
|