添加getItemMaxCount接口

This commit is contained in:
子沐呀
2024-07-29 14:34:40 +08:00
Unverified
parent 3b8a463b62
commit a01ba9655d
3 changed files with 20 additions and 2 deletions
+3
View File
@@ -1283,6 +1283,9 @@ interface Item {
/** (GMLIB)物品是否为食物 */
isFood(): boolean;
/** (GMLIB)获取物品最大堆叠数量 */
getMaxCount(): number;
}
interface Container {