| | |
| | | |
| | | public readonly List<int> showedSuitPlaceEffect = new List<int>(); |
| | | public readonly List<int> showedSuitLevelEffect = new List<int>(); |
| | | public readonly List<int> remindedSuitSetAppearances = new List<int>(); |
| | | |
| | | public readonly LogicInt selectedLevel = new LogicInt(); |
| | | public readonly LogicString selectedEquip = new LogicString(); |
| | |
| | | var showedSuitLevelEffectsRecord = LocalSave.GetIntArray(StringUtility.Contact(playerId, "_showedSuitLevelEffect")); |
| | | if (showedSuitLevelEffectsRecord != null) |
| | | { |
| | | showedSuitPlaceEffect.AddRange(showedSuitLevelEffectsRecord); |
| | | showedSuitLevelEffect.AddRange(showedSuitLevelEffectsRecord); |
| | | } |
| | | |
| | | remindedSuitSetAppearances.Clear(); |
| | | var remindedSetAppearancesRecord = LocalSave.GetIntArray(StringUtility.Contact(playerId, "_reminedSuitLevelSetAppearance")); |
| | | if (remindedSetAppearancesRecord != null) |
| | | { |
| | | remindedSuitSetAppearances.AddRange(remindedSetAppearancesRecord); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | } |
| | | |
| | | public bool IsSetAppearanceHinted(int level) |
| | | { |
| | | return remindedSuitSetAppearances.Contains(level); |
| | | } |
| | | |
| | | public void RecordSuitSetAppearanceHint(int level) |
| | | { |
| | | if (!remindedSuitSetAppearances.Contains(level)) |
| | | { |
| | | remindedSuitSetAppearances.Add(level); |
| | | var playerId = PlayerDatas.Instance.baseData.PlayerID; |
| | | LocalSave.SetIntArray(StringUtility.Contact(playerId, "_reminedSuitLevelSetAppearance"), remindedSuitSetAppearances.ToArray()); |
| | | } |
| | | } |
| | | |
| | | private void OnPlayerDataRefresh(PlayerDataType type) |
| | | { |
| | | switch (type) |