| | |
| | | public readonly Redpoint redpoint = new Redpoint(MainRedDot.RedPoint_key, 110);
|
| | | public readonly Redpoint alchemyDrugRedpoint1 = new Redpoint(110, 11001);
|
| | | public readonly Redpoint alchemyDrugRedpoint2 = new Redpoint(110, 11002);
|
| | | public readonly Redpoint alchemyDrugREdpoint3 = new Redpoint(110, 11003);
|
| | | Dictionary<int, Dictionary<int, Redpoint>> alchemyQualityRedpoints = new Dictionary<int, Dictionary<int, Redpoint>>();
|
| | | Dictionary<int, AlchemyRedpoint> alchemyRedpoints = new Dictionary<int, AlchemyRedpoint>();
|
| | |
|
| | |
| | | {
|
| | | CheckRedpoint();
|
| | | }
|
| | |
|
| | | if (m_AlchemyDrugs.Contains(itemId))
|
| | | {
|
| | | RefreshUseDrugRedpoint();
|
| | | }
|
| | | }
|
| | |
|
| | | private void PlayerDataRefreshEvent(PlayerDataType dataType)
|
| | |
| | | if (id == (int)FuncOpenEnum.BlastFurnace)
|
| | | {
|
| | | CheckRedpoint();
|
| | | RefreshUseDrugRedpoint();
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | void RefreshUseDrugRedpoint()
|
| | | {
|
| | | var useable = false;
|
| | | if (FuncOpen.Instance.IsFuncOpen((int)FuncOpenEnum.BlastFurnace))
|
| | | {
|
| | | foreach (var itemId in m_AlchemyDrugs)
|
| | | {
|
| | | if (GetAlchemyDrugState(itemId) == 0)
|
| | | {
|
| | | useable = true;
|
| | | break;
|
| | | }
|
| | | }
|
| | | }
|
| | | alchemyDrugREdpoint3.state = useable ? RedPointState.Simple : RedPointState.None;
|
| | | }
|
| | | }
|
| | |
|
| | | public enum AlchemyType
|