feat: Add metro transit, gadgets, shop, social apps, and traffic models checkpoint

This commit is contained in:
CAtlas0784 committed 2026-10-29 01:55:01 +07:00
1 parent caa42b84ed
commit 74e2963a12
79 files changed
+527962 -496

No files matched your search

@@ -28,6 +28,15 @@ internal static class EconomyConfigRepository
internal static bool TryPool(uint id, out GachaPool pool)
=> Cache.Value.Pools.TryGetValue(id, out pool!);
/// <summary>Distinct non-zero gacha ticket item ids (pool MoneyId) across every pool.</summary>
internal static IReadOnlyCollection<uint> GachaTicketItemIds()
=> Cache.Value.Pools.Values
.Select(p => p.MoneyId)
.Where(id => id != 0)
.Distinct()
.OrderBy(id => id)
.ToArray();
internal static bool TryTierRule(uint id, out GachaTierRule rule)
=> Cache.Value.TierRules.TryGetValue(id, out rule!);