diff options
author | Tycho <work.tycho+git@gmail.com> | 2014-03-17 17:44:34 +0100 |
---|---|---|
committer | Tycho <work.tycho+git@gmail.com> | 2014-03-17 17:44:34 +0100 |
commit | 90ab055eab62b35a8ddc681e6d79aa1d42afae9f (patch) | |
tree | b71798809ca05c1d904a18083a8c652a4954306a /src/Defines.h | |
parent | Made buffers static const (diff) | |
parent | Fixed double to float conversions. (diff) | |
download | cuberite-90ab055eab62b35a8ddc681e6d79aa1d42afae9f.tar cuberite-90ab055eab62b35a8ddc681e6d79aa1d42afae9f.tar.gz cuberite-90ab055eab62b35a8ddc681e6d79aa1d42afae9f.tar.bz2 cuberite-90ab055eab62b35a8ddc681e6d79aa1d42afae9f.tar.lz cuberite-90ab055eab62b35a8ddc681e6d79aa1d42afae9f.tar.xz cuberite-90ab055eab62b35a8ddc681e6d79aa1d42afae9f.tar.zst cuberite-90ab055eab62b35a8ddc681e6d79aa1d42afae9f.zip |
Diffstat (limited to 'src/Defines.h')
-rw-r--r-- | src/Defines.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/Defines.h b/src/Defines.h index 2e412209d..7f7a2eeb1 100644 --- a/src/Defines.h +++ b/src/Defines.h @@ -529,16 +529,22 @@ enum eMessageType // http://forum.mc-server.org/showthread.php?tid=1212 // MessageType... - mtCustom, // Send raw data without any processing - mtFailure, // Something could not be done (i.e. command not executed due to insufficient privilege) - mtInformation, // Informational message (i.e. command usage) - mtSuccess, // Something executed successfully - mtWarning, // Something concerning (i.e. reload) is about to happen - mtFatal, // Something catastrophic occured (i.e. plugin crash) - mtDeath, // Denotes death of player - mtPrivateMessage, // Player to player messaging identifier - mtJoin, // A player has joined the server - mtLeave, // A player has left the server + mtCustom, // Send raw data without any processing + mtFailure, // Something could not be done (i.e. command not executed due to insufficient privilege) + mtInformation, // Informational message (i.e. command usage) + mtSuccess, // Something executed successfully + mtWarning, // Something concerning (i.e. reload) is about to happen + mtFatal, // Something catastrophic occured (i.e. plugin crash) + mtDeath, // Denotes death of player + mtPrivateMessage, // Player to player messaging identifier + mtJoin, // A player has joined the server + mtLeave, // A player has left the server + + // Common aliases: + mtFail = mtFailure, + mtError = mtFailure, + mtInfo = mtInformation, + mtPM = mtPrivateMessage, }; |