增加3个接口

- getPlayerHungry
- getPlayerArmorCoverPercentage
- getPlayerArmorValue
This commit is contained in:
子沐呀
2024-07-13 13:13:40 +08:00
Unverified
parent cd1933519a
commit a47f8c729d
3 changed files with 53 additions and 1 deletions
+9
View File
@@ -1229,4 +1229,13 @@ interface Item {
/** 能放置的方块 */
blocks: string[]
): void;
/** (GMLIB)获取玩家饱食度 */
getHungry(): number;
/** (GMLIB)获取玩家盔甲覆盖百分比 */
getArmorCoverPercentage(): number;
/** (GMLIB)获取玩家盔甲值 */
getArmorValue(): number;
}