| | |
| | |
|
| | | readonly List<int> m_GemHoleItemIds = new List<int> { 0, 0, 0, 0 };
|
| | |
|
| | | public readonly Redpoint redpoint = new Redpoint(106, 10609);
|
| | | public readonly Redpoint redpoint = new Redpoint(106, 10602);
|
| | |
|
| | | public const int EQUIPGEM_HOLE_COUNT = 4;
|
| | | public static int REDPOINTBASE = 106090000;
|
| | | public static int REDPOINTBASE = 106020000;
|
| | |
|
| | | int m_SelectLevel = 0;
|
| | | public int selectLevel
|
| | |
| | | foreach (var level in totalEquipLevels)
|
| | | {
|
| | | var equipSetRedpointBase = REDPOINTBASE++;
|
| | | m_EquipSetRedpoints[level] = new Redpoint(10609, equipSetRedpointBase);
|
| | | m_EquipSetRedpoints[level] = new Redpoint(redpoint.id, equipSetRedpointBase);
|
| | | foreach (var place in m_EquipPlaces)
|
| | | {
|
| | | var packIndex = EquipPlaceMapConfig.GetServerPlace(level, place);
|
| | | if (!m_EquipGemRedpoints.ContainsKey(packIndex))
|
| | | {
|
| | | EquipGemRedpoint redpoint = new EquipGemRedpoint(equipSetRedpointBase);
|
| | | m_EquipGemRedpoints.Add(packIndex, redpoint);
|
| | | EquipGemRedpoint _redpoint = new EquipGemRedpoint(equipSetRedpointBase);
|
| | | m_EquipGemRedpoints.Add(packIndex, _redpoint);
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | return m_GemTypes.TryGetValue(type, out gemType);
|
| | | }
|
| | |
|
| | | public bool TryGetRedpoint(int level, int place, out EquipGemRedpoint redpoint)
|
| | | public bool TryGetRedpoint(int level, int place, out EquipGemRedpoint _redpoint)
|
| | | {
|
| | | var packIndex = EquipPlaceMapConfig.GetServerPlace(level, place);
|
| | | return m_EquipGemRedpoints.TryGetValue(packIndex, out redpoint);
|
| | | return m_EquipGemRedpoints.TryGetValue(packIndex, out _redpoint);
|
| | | }
|
| | |
|
| | | public bool TryGetRedpoint(int level, out Redpoint redpoint)
|
| | | public bool TryGetRedpoint(int level, out Redpoint _redpoint)
|
| | | {
|
| | | return m_EquipSetRedpoints.TryGetValue(level, out redpoint);
|
| | | return m_EquipSetRedpoints.TryGetValue(level, out _redpoint);
|
| | | }
|
| | |
|
| | | public Int2 TryGotoUseGem(int itemId)
|