客户端代码修改提交

This commit is contained in:
2025-10-14 17:58:49 +08:00
parent c3284032cc
commit 7f599ba51d
27 changed files with 294 additions and 43 deletions

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 1a0c4fc0d6264961aeae4fd1036c8e26
timeCreated: 1760429230

View File

@@ -0,0 +1,27 @@
namespace NBF
{
public enum ItemType
{
None,
Currency,
Item,
Rod,
Reel,
Bobber,
Line,
Bait,
Lure,
Hook,
Weight,
Feeder,
Ring
}
public enum ItemBasicType
{
None,
Currency = 1,
Item = 2,
Fish = 3,
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: 96a7ec99208a4455ae850366a01e9bea
timeCreated: 1760429237

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: da865ce8b3954697b7c79adc6c3de5ec
timeCreated: 1760429508

View File

@@ -0,0 +1,10 @@
namespace NBF.Utils
{
public static class ItemHelper
{
public static ItemType GetItemType(this uint id)
{
return (ItemType)(id / 10000);
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: bbfb10d099a14e8b9b8aea80b789bdf3
timeCreated: 1760429516