Skip to content

Commit

Permalink
[#] ItemExpansionEvent 添加charIndex, slot 参数
Browse files Browse the repository at this point in the history
  • Loading branch information
Muscipular committed Jun 10, 2022
1 parent a400c45 commit 2d27197
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,20 @@ function NL.RegCallback(event, callbackStr) end

function NL.RemoveCallback(event) end

---道具说明修改事件
---@param callback string callback回调参数
---@see NL.RegItemExpansionEventCallback
function NL.RegItemExpansionEvent(dofile, callback) end

---道具说明修改事件回调
---@param itemIndex number
---@param type number
---@param msg string
---@param charIndex number
---@param slot number
---@return string
function NL.RegItemExpansionEventCallback(itemIndex, type, msg, charIndex, slot) end

---宝箱遇敌事件
---@param callback string callback回调参数 fun(charaIndex:number,mapId:number,floor:number,X:number,Y:number,boxType:number):number[]|nil
function NL.RegItemBoxEncountEvent(dofile, callback) end
Expand Down

0 comments on commit 2d27197

Please sign in to comment.