Updated to OTCv8 3.1 rev 112

This commit is contained in:
OTCv8
2021-11-25 23:32:26 +00:00
parent dbe70e787a
commit bbcb7c2168
228 changed files with 3376 additions and 12584 deletions

View File

@@ -200,11 +200,31 @@ context.onAddItem = function(callback)
return context.callback("onAddItem", callback)
end
-- onRemoveItem - callback = function(container, slot, item)
context.onRemoveItem = function(callback)
return context.callback("onRemoveItem", callback)
end
-- onStatesChange - callback = function(states, oldStates)
context.onStatesChange = function(callback)
return context.callback("onStatesChange", callback)
end
-- onGameEditText - callback = function(id, itemId, maxLength, text, writer, time)
context.onGameEditText = function(callback)
return context.callback("onGameEditText", callback)
end
-- onSpellCooldown - callback = function(iconId, duration)
context.onSpellCooldown = function(callback)
return context.callback("onSpellCooldown", callback)
end
-- onGroupSpellCooldown - callback = function(iconId, duration)
context.onGroupSpellCooldown = function(callback)
return context.callback("onGroupSpellCooldown", callback)
end
-- CUSTOM CALLBACKS
-- listen(name, callback) -- callback = function(text, channelId, pos)