Network_Macros

_CRYNETWORK_CONCAT Macro
C++
#define _CRYNETWORK_CONCAT(x,y) x ## y
File

INetwork.h

ASPECT_TYPE Macro
C++
#define ASPECT_TYPE CRYNETWORK_CONCAT(uint,UNSAFE_NUM_ASPECTS)
File

INetwork.h

CRYNETWORK_API Macro
C++
#define CRYNETWORK_API DLL_IMPORT
File

INetwork.h

CRYNETWORK_CONCAT Macro
C++
#define CRYNETWORK_CONCAT(x,y) _CRYNETWORK_CONCAT(x,y)
File

INetwork.h

ENABLE_INDEPENDENT_RMIS Macro
C++
#define ENABLE_INDEPENDENT_RMIS 1        // For RMIs independent of the object update
File

INetwork.h

Description

For RMIs independent of the object update

ENABLE_PACKET_PREDICTION Macro
C++
#define ENABLE_PACKET_PREDICTION 0        // NOTE not supported by old message queue!
File

INetwork.h

Description

NOTE not supported by old message queue!

ENABLE_RMI_BENCHMARK Macro
C++
#define ENABLE_RMI_BENCHMARK 0
File

INetwork.h

ENABLE_URGENT_RMIS Macro
C++
#define ENABLE_URGENT_RMIS 1                // NOTE not supported by old message queue!
File

INetwork.h

Description

NOTE not supported by old message queue!

HIGH_PRIORITY_ASPECT_MASK Macro
C++
#define HIGH_PRIORITY_ASPECT_MASK 0x80000000
File

INetwork.h

HIGH_PRIORITY_LOGGING Macro
C++
#define HIGH_PRIORITY_LOGGING (1 && USE_HIGH_PRIORITY_ASPECT_HACK)
File

INetwork.h

HIGH_PRIORITY_SCHEDULING_POLICY_GROUP Macro
C++
#define HIGH_PRIORITY_SCHEDULING_POLICY_GROUP 13
File

INetwork.h

HOST_MIGRATION_LISTENER_NAME_SIZE Macro
C++
#define HOST_MIGRATION_LISTENER_NAME_SIZE (64)
File

INetwork.h

HOST_MIGRATION_MAX_PLAYER_NAME_SIZE Macro
C++
#define HOST_MIGRATION_MAX_PLAYER_NAME_SIZE (32)
File

INetwork.h

HOST_MIGRATION_MAX_SERVER_NAME_SIZE Macro
C++
#define HOST_MIGRATION_MAX_SERVER_NAME_SIZE (32)
File

INetwork.h

Description

Host Migration

NET_ASPECT_ALL Macro
C++
#define NET_ASPECT_ALL (NetworkAspectType(0xFFFFFFFF))
File

INetwork.h

NET_MINI_PROFILE Macro
C++
#define NET_MINI_PROFILE 0
File

INetwork.h

NET_PROFILE_BEGIN Macro
C++
#define NET_PROFILE_BEGIN(string, read) 
File

INetwork.h

NET_PROFILE_BEGIN_BUDGET Macro
C++
#define NET_PROFILE_BEGIN_BUDGET(string, read, budget) 
File

INetwork.h

NET_PROFILE_BEGIN_RMI Macro
C++
#define NET_PROFILE_BEGIN_RMI(string, read) 
File

INetwork.h

NET_PROFILE_COUNT_READ_BITS Macro
C++
#define NET_PROFILE_COUNT_READ_BITS(count) 
File

INetwork.h

NET_PROFILE_ENABLE Macro
C++
#define NET_PROFILE_ENABLE 0
File

INetwork.h

Description

N.B. if you turn this on in release, you need to make dev only cvars available in release as well - see ISystem.h, REGISTER_CVAR2_DEV_ONLY and netProfileRegisterCVars()

NET_PROFILE_END Macro
C++
#define NET_PROFILE_END 
File

INetwork.h

NET_PROFILE_SCOPE Macro
C++
#define NET_PROFILE_SCOPE(string, read) 
File

INetwork.h

NET_PROFILE_SCOPE_BUDGET Macro
C++
#define NET_PROFILE_SCOPE_BUDGET(string, read, budget) 
File

INetwork.h

NET_PROFILE_SCOPE_RMI Macro
C++
#define NET_PROFILE_SCOPE_RMI(string, read) 
File

INetwork.h

NetLogRMIReceived Macro
C++
#define NetLogRMIReceived( params, pChannel ) 
File

INetwork.h

NEW_BANDWIDTH_MANAGEMENT Macro
C++
#define NEW_BANDWIDTH_MANAGEMENT 1
File

INetwork.h

NUM_ASPECTS Macro
C++
#define NUM_ASPECTS (UNSAFE_NUM_ASPECTS)
File

INetwork.h

RESERVE_UNBOUND_ENTITIES Macro
C++
#define RESERVE_UNBOUND_ENTITIES 1
File

INetwork.h

Description

EntityID reservation for netIDs without bound entities

SERVER_DEFAULT_PORT Macro
C++
#define SERVER_DEFAULT_PORT 64087
File

INetwork.h

SERVER_DEFAULT_PORT_STRING Macro
C++
#define SERVER_DEFAULT_PORT_STRING "64087"
File

INetwork.h

STATS_MAX_MESSAGEQUEUE_ACCOUNTING_GROUPS Macro
C++
#define STATS_MAX_MESSAGEQUEUE_ACCOUNTING_GROUPS (64)
File

INetwork.h

Description

Must be at least the same as CMessageQueue::MAX_ACCOUNTING_GROUPS

STATS_MAX_NAME_SIZE Macro
C++
#define STATS_MAX_NAME_SIZE (32)
File

INetwork.h

STATS_MAX_NUMBER_OF_CHANNELS Macro
C++
#define STATS_MAX_NUMBER_OF_CHANNELS (32 + 1)
File

INetwork.h

Description

Max channels for peer hosted games = max server channels + local client

UNSAFE_NUM_ASPECTS Macro
C++
#define UNSAFE_NUM_ASPECTS 32                            // 8,16 or 32
File

INetwork.h

Description

8,16 or 32

USE_ACCURATE_NET_TIMERS Macro
C++
#define USE_ACCURATE_NET_TIMERS 0
File

INetwork.h

USE_HIGH_PRIORITY_ASPECT_HACK Macro
C++
#define USE_HIGH_PRIORITY_ASPECT_HACK 0
File

INetwork.h

Description

Enable the 'hack' scheduling policy group to be used for the aspects in HIGH_PRIORITY_ASPECT_MASK HIGH_PRIORITY_SCHEDULING_POLICY_GROUP is calculated by turning on the logging, running the game and seeing which index the generated hash for the policy group gets sorted to. The hash for 'hack' is 68617368 and currently gets sorted to index 13.