Initial HSMappy release (fork of Mappy)

Made-with: Cursor
This commit is contained in:
2026-02-26 03:54:51 -05:00
commit 9659f7a7d1
72 changed files with 6625 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
using KamiLib.Classes;
using Lumina.Excel.Sheets;
using Lumina.Extensions;
namespace Mappy.Classes.Caches;
public class TooltipCache : Cache<uint, string>
{
protected override string LoadValue(uint key)
{
var mapMarker = Service.DataManager.GetExcelSheet<MapSymbol>().FirstOrNull(marker => marker.Icon == key);
if (mapMarker is null) return string.Empty;
if (!mapMarker.Value.PlaceName.IsValid) return string.Empty;
return mapMarker.Value.PlaceName.Value.Name.ExtractText();
}
}