From 099e82db67b093eb009c6c5d80278c2e5ee128ee Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Fri, 4 Aug 2017 12:07:10 +0200 Subject: Added a new param to OnPlayerEditingBook and changed the names --- Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua | 2 +- Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'Server/Plugins') diff --git a/Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua b/Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua index 9a6c0bc8c..a34f93a08 100644 --- a/Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua +++ b/Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua @@ -12,7 +12,7 @@ return Params = { { Name = "Player", Type = "cPlayer", Notes = "The player that edited the book" }, - { Name = "BookContent", Type = "cBookContent", Notes = "The class that contains the current info of the book" }, + { Name = "NewContent", Type = "cBookContent", Notes = "Contains the new content of the book" }, { Name = "IsSigned", Type = "boolean", Notes = "Player has signed the book" }, }, Returns = [[ diff --git a/Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua b/Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua index 455bf4f69..082c6a4a2 100644 --- a/Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua +++ b/Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua @@ -12,7 +12,8 @@ return Params = { { Name = "Player", Type = "cPlayer", Notes = "The player that is editing the book" }, - { Name = "BookContent", Type = "cBookContent", Notes = "The class that contains the current info of the book" }, + { Name = "OriginalContent", Type = "cBookContent", Notes = "Contains the original content of the book" }, + { Name = "NewContent", Type = "cBookContent", Notes = "Contains the new content of the book" }, { Name = "IsSigned", Type = "boolean", Notes = "Player is signing the book" }, }, Returns = [[ -- cgit v1.2.3