diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-03 23:46:56 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-03 23:46:56 +0100 |
commit | 3583a58cf7bbeb867e568f4210f270cd5058e9f3 (patch) | |
tree | e9f569df63724298f6ebee0bf5bf623bf06efb1a /src/Entities | |
parent | Partial fix for #130 (diff) | |
download | cuberite-3583a58cf7bbeb867e568f4210f270cd5058e9f3.tar cuberite-3583a58cf7bbeb867e568f4210f270cd5058e9f3.tar.gz cuberite-3583a58cf7bbeb867e568f4210f270cd5058e9f3.tar.bz2 cuberite-3583a58cf7bbeb867e568f4210f270cd5058e9f3.tar.lz cuberite-3583a58cf7bbeb867e568f4210f270cd5058e9f3.tar.xz cuberite-3583a58cf7bbeb867e568f4210f270cd5058e9f3.tar.zst cuberite-3583a58cf7bbeb867e568f4210f270cd5058e9f3.zip |
Diffstat (limited to 'src/Entities')
-rw-r--r-- | src/Entities/Player.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 50f7560d6..764b47ae0 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -196,6 +196,9 @@ public: cClientHandle * GetClientHandle(void) const { return m_ClientHandle; } void SendMessage(const AString & a_Message); + void SendMessageInfo(const AString & a_Message) { SendMessage(AppendChatEpithet(a_Message, mtInformation)); } + void SendMessageFailure(const AString & a_Message) { SendMessage(AppendChatEpithet(a_Message, mtFailure)); } + void SendMessageSuccess(const AString & a_Message) { SendMessage(AppendChatEpithet(a_Message, mtSuccess)); } const AString & GetName(void) const { return m_PlayerName; } void SetName(const AString & a_Name) { m_PlayerName = a_Name; } |