diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-04 23:39:57 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-04 23:39:57 +0100 |
commit | 9eeeb91fa6e3df67aa1dc8aae54da8e6631d25be (patch) | |
tree | 9615b05c74b4745914882d76a61fad5ab1af32fd /src/Entities/Player.h | |
parent | Pickup constructor no longer exported (diff) | |
download | cuberite-9eeeb91fa6e3df67aa1dc8aae54da8e6631d25be.tar cuberite-9eeeb91fa6e3df67aa1dc8aae54da8e6631d25be.tar.gz cuberite-9eeeb91fa6e3df67aa1dc8aae54da8e6631d25be.tar.bz2 cuberite-9eeeb91fa6e3df67aa1dc8aae54da8e6631d25be.tar.lz cuberite-9eeeb91fa6e3df67aa1dc8aae54da8e6631d25be.tar.xz cuberite-9eeeb91fa6e3df67aa1dc8aae54da8e6631d25be.tar.zst cuberite-9eeeb91fa6e3df67aa1dc8aae54da8e6631d25be.zip |
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r-- | src/Entities/Player.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 764b47ae0..784aac327 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -199,6 +199,10 @@ public: 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)); } + void SendMessageWarning(const AString & a_Message) { SendMessage(AppendChatEpithet(a_Message, mtWarning)); } + void SendMessageFatal(const AString & a_Message) { SendMessage(AppendChatEpithet(a_Message, mtFailure)); } + void SendMessageDeath(const AString & a_Message) { SendMessage(AppendChatEpithet(a_Message, mtDeath)); } + void SendMessagePrivateMsg(const AString & a_Message) { SendMessage(AppendChatEpithet(a_Message, mtPrivateMessage)); } const AString & GetName(void) const { return m_PlayerName; } void SetName(const AString & a_Name) { m_PlayerName = a_Name; } |