客户端代码修改提交
This commit is contained in:
10
Assets/Scripts/Common/Utils/ItemHelper.cs
Normal file
10
Assets/Scripts/Common/Utils/ItemHelper.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace NBF.Utils
|
||||
{
|
||||
public static class ItemHelper
|
||||
{
|
||||
public static ItemType GetItemType(this uint id)
|
||||
{
|
||||
return (ItemType)(id / 10000);
|
||||
}
|
||||
}
|
||||
}
|
||||
3
Assets/Scripts/Common/Utils/ItemHelper.cs.meta
Normal file
3
Assets/Scripts/Common/Utils/ItemHelper.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bbfb10d099a14e8b9b8aea80b789bdf3
|
||||
timeCreated: 1760429516
|
||||
Reference in New Issue
Block a user