diff options
author | Lukas Pioch <lukas@zgow.de> | 2016-09-22 11:51:22 +0200 |
---|---|---|
committer | Lukas Pioch <lukas@zgow.de> | 2016-10-21 11:17:39 +0200 |
commit | b088123d1818b9b3585032906036778128c76bfc (patch) | |
tree | e73bb368cc26cf3c6b5041bc27ae818ec50a25f9 /src/Entities | |
parent | StyleCheck: Add "else has to be on a separate line" (#3412) (diff) | |
download | cuberite-b088123d1818b9b3585032906036778128c76bfc.tar cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.gz cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.bz2 cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.lz cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.xz cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.zst cuberite-b088123d1818b9b3585032906036778128c76bfc.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 04cb5232b..cc83b1ca2 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -256,6 +256,7 @@ public: void SendMessageFatal (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtFailure); } void SendMessagePrivateMsg (const AString & a_Message, const AString & a_Sender) { m_ClientHandle->SendChat(a_Message, mtPrivateMessage, a_Sender); } void SendMessage (const cCompositeChat & a_Message) { m_ClientHandle->SendChat(a_Message); } + void SendMessageRaw (const AString & a_MessageRaw, eChatType a_Type = eChatType::ctChatBox) { m_ClientHandle->SendChatRaw(a_MessageRaw, a_Type); } void SendSystemMessage (const AString & a_Message) { m_ClientHandle->SendChatSystem(a_Message, mtCustom); } void SendAboveActionBarMessage(const AString & a_Message) { m_ClientHandle->SendChatAboveActionBar(a_Message, mtCustom); } |