Added common eMessageType aliases.
This commit is contained in:
parent
62629825ce
commit
ef50e73a9c
|
@ -530,16 +530,22 @@ enum eMessageType
|
||||||
// http://forum.mc-server.org/showthread.php?tid=1212
|
// http://forum.mc-server.org/showthread.php?tid=1212
|
||||||
// MessageType...
|
// MessageType...
|
||||||
|
|
||||||
mtCustom, // Send raw data without any processing
|
mtCustom, // Send raw data without any processing
|
||||||
mtFailure, // Something could not be done (i.e. command not executed due to insufficient privilege)
|
mtFailure, // Something could not be done (i.e. command not executed due to insufficient privilege)
|
||||||
mtInformation, // Informational message (i.e. command usage)
|
mtInformation, // Informational message (i.e. command usage)
|
||||||
mtSuccess, // Something executed successfully
|
mtSuccess, // Something executed successfully
|
||||||
mtWarning, // Something concerning (i.e. reload) is about to happen
|
mtWarning, // Something concerning (i.e. reload) is about to happen
|
||||||
mtFatal, // Something catastrophic occured (i.e. plugin crash)
|
mtFatal, // Something catastrophic occured (i.e. plugin crash)
|
||||||
mtDeath, // Denotes death of player
|
mtDeath, // Denotes death of player
|
||||||
mtPrivateMessage, // Player to player messaging identifier
|
mtPrivateMessage, // Player to player messaging identifier
|
||||||
mtJoin, // A player has joined the server
|
mtJoin, // A player has joined the server
|
||||||
mtLeave, // A player has left the server
|
mtLeave, // A player has left the server
|
||||||
|
|
||||||
|
// Common aliases:
|
||||||
|
mtFail = mtFailure,
|
||||||
|
mtError = mtFailure,
|
||||||
|
mtInfo = mtInformation,
|
||||||
|
mtPM = mtPrivateMessage,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user