| | |
| | | |
| | | public int[] gameCashShow; //代金券特殊显示 除以100 |
| | | public int[] autoUseItemIDs; |
| | | |
| | | public int[] noRedpointComposeItemIDs; |
| | | |
| | | public override void Init() |
| | | { |
| | | DTC0102_tagCDBPlayer.beforePlayerDataInitializeEvent += OnBeforePlayerDataInitialize; |
| | |
| | | |
| | | config = FuncConfigConfig.Get("ItemCountShow"); |
| | | gameCashShow = JsonMapper.ToObject<int[]>(config.Numerical1); |
| | | |
| | | config = FuncConfigConfig.Get("ComposeRedpoint"); |
| | | noRedpointComposeItemIDs = JsonMapper.ToObject<int[]>(config.Numerical1); |
| | | } |
| | | |
| | | void ParsePackConfigIni() |
| | |
| | | redpointComposePack.state = RedPointState.None; |
| | | foreach (var item in items.Values) |
| | | { |
| | | if (noRedpointComposeItemIDs.Contains(item.itemId)) |
| | | { |
| | | continue; |
| | | } |
| | | int makeID = ItemCompoundConfig.GetMakeIDByMaterial(item.itemId); |
| | | if (makeID != 0) |
| | | { |