Deprecate Hook.HookMethod

This commit is contained in:
peelz
2022-08-03 21:34:41 -04:00
parent ca51130517
commit 69c627b651
2 changed files with 2 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ function Hook.Call(eventName, parameters) end
-- @tparam string methodName
-- @tparam function callback
-- @realm shared
-- @deprecated
-- @usage
-- Hook.HookMethod("Barotrauma.CharacterInfo", "IncreaseSkillLevel", function (instance, ptable)
-- print(string.format("%s gained % xp", instance.Character.Name, ptable.increase))