diff options
author | jan64 <jan64.email@gmail.com> | 2015-06-02 19:59:46 +0200 |
---|---|---|
committer | jan64 <jan64.email@gmail.com> | 2015-06-02 19:59:46 +0200 |
commit | d37e0eb72b12cd47863bdca78a790a3f6193d863 (patch) | |
tree | 4036b4b29e577b4886ab2d77d7f2b9bc601b7091 /src/Entities | |
parent | Merge pull request #2182 from birkett/master (diff) | |
download | cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.gz cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.bz2 cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.lz cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.xz cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.zst cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index a84fdd0c7..799990bf2 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -235,14 +235,19 @@ public: // tolua_begin - void SendMessage (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtCustom); } - void SendMessageInfo (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtInformation); } - void SendMessageFailure (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtFailure); } - void SendMessageSuccess (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtSuccess); } - void SendMessageWarning (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtWarning); } - 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 SendMessage (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtCustom); } + void SendMessageInfo (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtInformation); } + void SendMessageFailure (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtFailure); } + void SendMessageSuccess (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtSuccess); } + void SendMessageWarning (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtWarning); } + 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 SendSystemMessage (const AString & a_Message) { m_ClientHandle->SendChatSystem(a_Message, mtCustom); } + void SendAboveActionBarMessage(const AString & a_Message) { m_ClientHandle->SendChatAboveActionBar(a_Message, mtCustom); } + void SendSystemMessage (const cCompositeChat & a_Message) { m_ClientHandle->SendChatSystem(a_Message); } + void SendAboveActionBarMessage(const cCompositeChat & a_Message) { m_ClientHandle->SendChatAboveActionBar(a_Message); } const AString & GetName(void) const { return m_PlayerName; } void SetName(const AString & a_Name) { m_PlayerName = a_Name; } |