feat: adapted to GMLIB version and remove some shit
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
const getNextCallbackId = ll.import("GMLIB_FormAPI", "getNextFormCallbackId");
|
||||
// const getNextCallbackId = ll.import("GMLIB_FormAPI", "getNextFormCallbackId");
|
||||
|
||||
class ServerSettingForm {
|
||||
static getDefaultPriority() {
|
||||
|
||||
Vendored
+1
-1
@@ -1364,7 +1364,7 @@ interface Player {
|
||||
/** (GMLIB)获取玩家的rumtimeId */
|
||||
getRuntimeId(): number;
|
||||
|
||||
/** (GMLIB)获取玩家饱食度 */
|
||||
/** (GMLIB)获取玩家饥饿值 */
|
||||
getHungry(): number;
|
||||
|
||||
/** (GMLIB)获取玩家盔甲覆盖百分比 */
|
||||
|
||||
+2
-2
@@ -316,7 +316,7 @@ const GMLIB_API = {
|
||||
getItemCanPlaceOn: ll.import("GMLIB_API", "getItemCanPlaceOn"),
|
||||
/** 设置物品冒险模式下能放置在什么方块上 @type {function(Item,Array.<string>):void} */
|
||||
setItemCanPlaceOn: ll.import("GMLIB_API", "setItemCanPlaceOn"),
|
||||
/** 获取玩家饱食度 @type {function(Player):number} */
|
||||
/** 获取玩家饥饿值 @type {function(Player):number} */
|
||||
getPlayerHungry: ll.import("GMLIB_API", "getPlayerHungry"),
|
||||
/** 获取玩家盔甲覆盖百分比 @type {function(Player):number} */
|
||||
getPlayerArmorCoverPercentage: ll.import("GMLIB_API", "getPlayerArmorCoverPercentage"),
|
||||
@@ -2938,7 +2938,7 @@ LLSE_Item.prototype.setCanPlaceOn =
|
||||
|
||||
LLSE_Player.prototype.getHungry =
|
||||
/**
|
||||
* 获取玩家饱食度
|
||||
* 获取玩家饥饿值
|
||||
* @returns {number}
|
||||
*/
|
||||
function () {
|
||||
|
||||
Reference in New Issue
Block a user