Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1.2 KiB

//===================== Copyright (c) Valve Corporation. All Rights Reserved. ======================
//
//
//
//==================================================================================================
#ifndef SENDPROP_PRIORITIES_H
#define SENDPROP_PRIORITIES_H
#ifdef _WIN32
#pragma once
#endif
#define SENDPROP_SIMULATION_TIME_PRIORITY 0
#define SENDPROP_TICKBASE_PRIORITY 1
#define SENDPROP_LOCALPLAYER_ORIGINXY_PRIORITY 2
#define SENDPROP_PLAYER_EYE_ANGLES_PRIORITY 3
#define SENDPROP_LOCALPLAYER_ORIGINZ_PRIORITY 4
#define SENDPROP_PLAYER_VELOCITY_XY_PRIORITY 5
#define SENDPROP_PLAYER_VELOCITY_Z_PRIORITY 6
// Nonlocal players exclude local player origin X and Y, not vice-versa,
// so our props should come after the most frequent local player props
// so we don't eat up their prop index bits.
#define SENDPROP_NONLOCALPLAYER_ORIGINXY_PRIORITY 7
#define SENDPROP_NONLOCALPLAYER_ORIGINZ_PRIORITY 8
#define SENDPROP_CELL_INFO_PRIORITY 32 // SendProp priority for cell bits and x/y/z.
// Set these to a low priority so that they don't push other
// props up -- this saves us from scanning across these 330
// props.
#define SENDPROP_MATCHSTATS_PRIORITY 140
#endif // SENDPROP_PRIORITIES_H