| | |
| | | _DicRedBag.Remove(list[i].RedPacketID); |
| | | } |
| | | } |
| | | IsRedBagGet(); |
| | | } |
| | | } |
| | | public void RedEnvelopeInfo(HA404_tagGCFamilyRedPacketInfo info)//家族红包总信息 |
| | |
| | | |
| | | public void IsRedBagGet() |
| | | { |
| | | IsRedBagGetBool = false; |
| | | var existUnGetRedpack = false; |
| | | foreach (var value in _DicRedBag.Values) |
| | | { |
| | | if (!IsDisplayInFamily(value.GetWay)) |
| | |
| | | } |
| | | if (value.State == 1) |
| | | { |
| | | IsRedBagGetBool = true; |
| | | existUnGetRedpack = true; |
| | | break; |
| | | } |
| | | } |
| | | if (IsRedBagGetBool) |
| | | if (IsRedBagGetBool != existUnGetRedpack) |
| | | { |
| | | IsRedBagGetBool = existUnGetRedpack; |
| | | if (OnRedBagGetEvent != null) |
| | | { |
| | | OnRedBagGetEvent(); |