From b088123d1818b9b3585032906036778128c76bfc Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Thu, 22 Sep 2016 11:51:22 +0200 Subject: Added SendMessageRaw for sending json string. --- Server/Plugins/APIDump/APIDesc.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'Server/Plugins/APIDump/APIDesc.lua') diff --git a/Server/Plugins/APIDump/APIDesc.lua b/Server/Plugins/APIDump/APIDesc.lua index 15960f6d3..4d8499687 100644 --- a/Server/Plugins/APIDump/APIDesc.lua +++ b/Server/Plugins/APIDump/APIDesc.lua @@ -11698,6 +11698,22 @@ a_Player:OpenWindow(Window); }, Notes = "Sends the specified message to the player.", }, + SendMessageRaw = + { + Params = + { + { + Name = "Json", + Type = "string", + }, + { + Name = "eChatType", + Type = "number", + IsOptional = true, + } + }, + Notes = "Sends the specified json string to the player. The optional value eChatType (default ctChatBox) can be ctChatBox, ctSystem or ctAboveActionBar. You can use {{cJson}} to build a json string.", + }, SendMessageFailure = { Params = -- cgit v1.2.3