UI update 02

This commit is contained in:
2026-06-30 21:21:30 +08:00
parent b2a1e307a4
commit f62f643cfc
1666 changed files with 211081 additions and 22799 deletions
@@ -14,6 +14,21 @@ public static class DlcContentAccess
return owningDlc == null || DlcOwnershipService.IsDlcOwned(owningDlc);
}
public static bool IsHeroAccessible(AllyHero_SO hero)
{
if (hero == null)
{
return false;
}
if (string.IsNullOrWhiteSpace(hero.sourceDlcId))
{
return true;
}
return DlcOwnershipService.IsDlcOwned(hero.sourceDlcId);
}
public static bool IsSkinAccessible(HeroSkinResolvedData skin)
{
if (skin == null)