framework for handling stage lootbox drop

This commit is contained in:
rfi
2023-12-06 21:20:00 +07:00
parent f3468a908a
commit d6511d1088
4 changed files with 251 additions and 3 deletions

View File

@@ -44,6 +44,11 @@ namespace AscNet.Common
};
}
public static bool IsHidden(this ItemTable item)
{
return item.ItemType == (int)ItemType.UnShow;
}
public struct EquipUpgradeInfo
{
public int Cost { get; init; }
@@ -57,7 +62,7 @@ namespace AscNet.Common
}
}
enum ItemType
public enum ItemType
{
Assert = 1 << 0,
Money = 1 << 1 | 1 << 0,