GameRules_Enums

Enumerations used in CryAction GameRules.

EChatMessageType Enumeration

Types for the different kind of chat messages.

C++
enum EChatMessageType {
  eChatToTarget = 0,
  eChatToTeam,
  eChatToAll
};
File

IGameRulesSystem.h

Members
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.
EFriendyFireType Enumeration

Friendly fire types for explosions

C++
enum EFriendyFireType {
  eFriendyFireNone = 0,
  eFriendyFireSelf,
  eFriendyFireTeam
};
File

IGameRulesSystem.h

Members
Members
Description
eFriendyFireSelf
doesn't hurt shooter
eFriendyFireTeam
doesn't hurt shooter or shooter's teammates
EGameResourceType Enumeration

Types of resources to cache

C++
enum EGameResourceType {
  eGameResourceType_Loadout = 0,
  eGameResourceType_Item
};
File

IGameRulesSystem.h

ETextMessageType Enumeration

Types for the different kind of messages.

C++
enum ETextMessageType {
  eTextMessageCenter = 0,
  eTextMessageConsole,
  eTextMessageError,
  eTextMessageInfo,
  eTextMessageServer,
  eTextMessageAnnouncement
};
File

IGameRulesSystem.h

Members
Members
Description
eTextMessageConsole
Console message.
eTextMessageError
Error message.
eTextMessageInfo
Info message.