通用
适用于 Menu 中所有位置
名 称:
取页数
getPage
参 数:
无
使 用:
'DawnMenu.GetPage()'
正确返回值: 当前菜单当前页数
错误返回值: 1
名 称:
取物品名
getItemName
参 数:
槽位
使 用:
'DawnMenu.GetItemName(0)'
正确返回值: 槽位物品名
错误返回值: AIR
名 称:
取物品数
getAmount
参 数:
槽位
使 用:
'DawnMenu.GetAmount(1)'
正确返回值: 槽位物品数量
错误返回值: 0.0
名 称:
判断Lore
HasItemLore
参 数:
槽位,文本
使 用:
'DawnMenu.HasItemLore(1,文本)'
返回值: true/false
名 称:
取Lore
getItemLore
参 数:
槽位,文本
使 用:
'DawnMenu.GetItemLore(1,文本)'
正确返回值: Lore所在的位置
错误返回值: -1
名 称:
取Lore文本
getItemLoreText
参 数:
槽位,位置
使 用:
'DawnMenu.GetAmount(1,0)'
正确返回值: 对应位置文本
错误返回值: 0.0
Last updated