Enumerations used in CryAction GameRules.
Types for the different kind of chat messages.
enum EChatMessageType { eChatToTarget = 0, eChatToTeam, eChatToAll };
IGameRulesSystem.h
Members |
Description |
eChatToTarget = 0 |
The message is to be sent to the target entity. |
eChatToTeam |
The message is to be sent to the team of the sender. |
eChatToAll |
The message is to be sent to all client connected. |
Friendly fire types for explosions
enum EFriendyFireType { eFriendyFireNone = 0, eFriendyFireSelf, eFriendyFireTeam };
IGameRulesSystem.h
Members |
Description |
eFriendyFireSelf |
doesn't hurt shooter |
eFriendyFireTeam |
doesn't hurt shooter or shooter's teammates |
Types of resources to cache
enum EGameResourceType { eGameResourceType_Loadout = 0, eGameResourceType_Item };
IGameRulesSystem.h
Types for the different kind of messages.
enum ETextMessageType { eTextMessageCenter = 0, eTextMessageConsole, eTextMessageError, eTextMessageInfo, eTextMessageServer, eTextMessageAnnouncement };
IGameRulesSystem.h
Members |
Description |
eTextMessageConsole |
Console message. |
eTextMessageError |
Error message. |
eTextMessageInfo |
Info message. |