cull(engine-cleanup): pass-8 phase-2 cascade round 1 after GachaUI stub

This commit is contained in:
gamer147
2026-07-03 22:25:44 -04:00
parent a0533bf2e3
commit e3b8b8dc0c
69 changed files with 4 additions and 6301 deletions

View File

@@ -212,12 +212,10 @@ public class PlayerStaticData : MonoBehaviour
public enum LootBoxType
{
GACHA,
TWOPICK,
SEALED,
COLOSSEUM,
COMPETITION,
SPECIAL_CRYSTAL }
COMPETITION}
public static AgreementState _tosAgreementState = AgreementState.NotAgree;
@@ -347,11 +345,6 @@ public class PlayerStaticData : MonoBehaviour
}
}
public static bool IsLootBoxRegulation(LootBoxType type)
{
return Data.Load.data.LootBoxReguration[(int)type];
}
public static int GetItemNum(int itemId)
{
if (Data.Load.data._userItemDict == null)
@@ -483,28 +476,4 @@ public class PlayerStaticData : MonoBehaviour
break;
}
}
public static int GetHaveUserGoods(UserGoods.Type type, long userGoodsId)
{
int result = 0;
switch (type)
{
case UserGoods.Type.RedEther:
result = UserRedEtherCount;
break;
case UserGoods.Type.Crystal:
result = UserCrystalCount;
break;
case UserGoods.Type.Item:
result = GetItemNum((int)userGoodsId);
break;
case UserGoods.Type.Rupy:
result = UserRupyCount;
break;
case UserGoods.Type.SpotCardPoint:
result = UserSpotCardPointCount;
break;
}
return result;
}
}