cull(engine-cleanup): pass-8 phase-2 cascade round 1 after GachaUI stub
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user