From b0dc89004b43a97eeb4a5ed23644f924de4d7c4c Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Sun, 30 Jul 2017 18:31:59 +0200 Subject: Added hook constants --- Server/Plugins/APIDump/Classes/Plugins.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Server') diff --git a/Server/Plugins/APIDump/Classes/Plugins.lua b/Server/Plugins/APIDump/Classes/Plugins.lua index e22f4e3a0..cbaa034ca 100644 --- a/Server/Plugins/APIDump/Classes/Plugins.lua +++ b/Server/Plugins/APIDump/Classes/Plugins.lua @@ -816,6 +816,14 @@ cPluginManager.AddHook(cPluginManager.HOOK_CHAT, OnChatMessage); { Notes = "Called when the player starts eating a held item. Plugins may abort the eating.", }, + HOOK_PLAYER_EDITED_BOOK = + { + Notes = "This hook is called whenever a {{cPlayer|player}} has edited a book.", + }, + HOOK_PLAYER_EDITING_BOOK = + { + Notes = "This hook is called whenever a {{cPlayer|player}} is editing a book." + }, HOOK_PLAYER_FISHED = { Notes = "Called when the player reels the fishing rod back in, after the server decides the player's fishing reward.", -- cgit v1.2.3