hellbound/Assets/Scripts/Core/Extensions/EnumExtensions.cs

18 lines
374 B
C#
Raw Normal View History

2021-11-26 11:16:25 +03:00
using game;
public static class EnumExtensions
{
public static uint GetItemID(this EnumConsumable item)
{
switch (item)
{
case EnumConsumable.COIN:
return 166039439;
case EnumConsumable.KEY:
return 49554996;
default:
return 0;
}
}
}