Constants

reapi_engine_const.inc

For native rh_get_mapname

MapNameType
enum MapNameType
{
	MNT_TRUE,   // return the original map name independant of the name set with via rh_set_mapname
	MNT_SET     // return the name of the current map
};

For native CheckVisibilityInOrigin

CheckVisibilityType
enum CheckVisibilityType
{
	VisibilityInPVS = 0, // Check in Potentially Visible Set (PVS)
	VisibilityInPAS      // Check in Potentially Audible Set (PAS)
};

For RH_SV_AddResource hook

ResourceType_t
enum ResourceType_t
{
	t_sound = 0,
	t_skin,
	t_model,
	t_decal,
	t_generic,
	t_eventscript,
	t_world,		// Fake type for world, is really t_model
	rt_unk,

	rt_max
};

rh_emit_sound2 flags

SND_EMIT2_NOPAS
#define SND_EMIT2_NOPAS   BIT(0) // Never to check PAS
#define SND_EMIT2_INVOKER BIT(1) // Do not send to the client invoker

enum EngineFunc

EngineFunc
enum EngineFunc
{

enum EntVars

EntVars
enum EntVars
{

enum UCmd

UCmd
enum UCmd
{

enum NetSrc

NetSrc
enum NetSrc
{
	NS_CLIENT,
	NS_SERVER,
	NS_MULTICAST	// xxxMO
};

enum NetChan

NetChan
enum NetChan
{

Message argument types used with GetMessageArgType()

MsgArgType
enum MsgArgType
{
	ArgByte,
	ArgChar,
	ArgShort,
	ArgLong,
	ArgAngle,
	ArgCoord,
	ArgString,
	ArgEntity,
};

Message data types used with SetMessageData()/GetMessageData() HasModifiedMessageData()/ResetModifiedMessageData()

MsgDataType
enum MsgDataType
{

Blocking behavior types for messages Flags for natives SetMessageBlock()/GetMessageBlock()

MsgBlockType
enum MsgBlockType
{
	MSG_BLOCK_NOT,  // Not a block
	MSG_BLOCK_ONCE, // Block once
	MSG_BLOCK_SET   // Set block
};