| | |
| | | }
|
| | | else
|
| | | {
|
| | | |
| | |
|
| | | _DicRedBag[(int)info.RedPacketInfo[i].RedPacketID].RedPacketID = (int)info.RedPacketInfo[i].RedPacketID;
|
| | | _DicRedBag[(int)info.RedPacketInfo[i].RedPacketID].PlayerID = (int)info.RedPacketInfo[i].PlayerID;
|
| | | _DicRedBag[(int)info.RedPacketInfo[i].RedPacketID].Name = info.RedPacketInfo[i].Name;
|
| | |
| | | _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)
|
| | | {
|
| | | var Values = _DicRedGrabinfo.Values;
|
| | | foreach (var value in Values)
|
| | | {
|
| | | if (value.Name == PlayerDatas.Instance.baseData.PlayerName)
|
| | | {
|
| | | _DicRedBag[(int)info.RedPacketInfo[i].RedPacketID].State = 2;
|
| | | }
|
| | | }
|
| | | }
|
| | | _DicRedBag[(int)info.RedPacketInfo[i].RedPacketID].Wish = (string)info.RedPacketInfo[i].Wish;
|
| | | if (Event_RedEnvelopeToRefresh != null)
|
| | | {
|
| | |
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | |
|
| | | }
|
| | |
|
| | | IsRedBagGet();
|