// [MW3Tool] AutoGenerated Dumps for [1.9.441]
struct cvar_t
{
char *szName; //0x0000
char _0x0004[8];
byte Value; //0x000C
};
cvar_t *CGameCVars::GetCVar(char *szName)
{
for(int i=0;i<2048;++i)
{
cvar_t *pCVar=(cvar_t*)(OFFS_CVarList + 0x4C * i);
if(!strcmp(szName,pCVar->szName))
return pCVar;
}
return 0;
}
//Entity Types
#define ET_GENERAL 0
#define ET_PLAYER 1
#define ET_PLAYER_CORPSE 2
#define ET_ITEM 3
#define ET_MISSILE 4
#define ET_INVISIBLE 5
#define ET_SCRIPTMOVER 6
#define ET_SOUND_BLEND 7
#define ET_FX 8
#define ET_LOOP_FX 9
#define ET_PRIMARY_LIGHT 10
#define ET_TURRET 11
#define ET_HELICOPTER 12
#define ET_PLANE 13
#define ET_VEHICLE 14
#define ET_VEHICLE_COLLMAP 15
#define ET_VEHICLE_CORPSE 16
#define ET_VEHICLE_SPAWNER 17
//Events
#define EV_NONE 0
#define EV_FOLIAGE_SOUND 1
#define EV_STOP_WEAPON_SOUND 2
#define EV_SOUND_ALIAS 3
#define EV_SOUND_ALIAS_AS_MASTER 4
#define EV_STOPSOUNDS 5
#define EV_STANCE_FORCE_STAND 6
#define EV_STANCE_FORCE_CROUCH 7
#define EV_STANCE_FORCE_PRONE 8
#define EV_STANCE_INVALID 9
#define EV_ITEM_PICKUP 10
#define EV_AMMO_PICKUP 11
#define EV_NOAMMO 12
#define EV_EMPTYCLIP 13
#define EV_EMPTY_OFFHAND_PRIMARY 14
#define EV_EMPTY_OFFHAND_SECONDARY 15
#define EV_OFFHAND_END_NOTIFY 16
#define EV_RESET_ADS 17
#define EV_RELOAD 18
#define EV_RELOAD_FROM_EMPTY 19
#define EV_RELOAD_START 20
#define EV_RELOAD_END 21
#define EV_RELOAD_START_NOTIFY 22
#define EV_RELOAD_ADDAMMO 23
#define EV_RAISE_WEAPON 24
#define EV_FIRST_RAISE_WEAPON 25
#define EV_PUTAWAY_WEAPON 26
#define EV_WEAPON_ALT 27
#define EV_WEAPON_SWITCH_STARTED 28
#define EV_PULLBACK_WEAPON 29
#define EV_FIRE_WEAPON 30
#define EV_FIRE_WEAPON_LASTSHOT 31
#define EV_FIRE_RICOCHET 32
#define EV_RECHAMBER_WEAPON 33
#define EV_EJECT_BRASS 34
#define EV_FIRE_WEAPON_LEFT 35
#define EV_FIRE_WEAPON_LASTSHOT_LEFT 36
#define EV_EJECT_BRASS_LEFT 37
#define EV_HITCLIENT_FIRE_WEAPON 38
#define EV_HITCLIENT_FIRE_WEAPON_LASTSHOT 39
#define EV_HITCLIENT_FIRE_WEAPON_LEFT 40
#define EV_HITCLIENT_FIRE_WEAPON_LASTSHOT_LEFT 41
#define EV_SV_FIRE_WEAPON 42
#define EV_SV_FIRE_WEAPON_LASTSHOT 43
#define EV_SV_FIRE_WEAPON_LEFT 44
#define EV_SV_FIRE_WEAPON_LASTSHOT_LEFT 45
#define EV_MELEE_SWIPE 46
#define EV_FIRE_MELEE 47
#define EV_PREP_OFFHAND 48
#define EV_USE_OFFHAND 49
#define EV_SWITCH_OFFHAND 50
#define EV_MELEE_HIT 51
#define EV_MELEE_MISS 52
#define EV_MELEE_BLOOD 53
#define EV_SV_FIRE_TURRET 54
#define EV_FIRE_TURRET 55
#define EV_FIRE_SENTRY 56
#define EV_FIRE_QUADBARREL_1 57
#define EV_FIRE_QUADBARREL_2 58
#define EV_BULLET_HIT 59
#define EV_BULLET_HIT_SHIELD 60
#define EV_BULLET_HIT_EXPLODE 61
#define EV_BULLET_HIT_CLIENT_SMALL 62
#define EV_BULLET_HIT_CLIENT_LARGE 63
#define EV_BULLET_HIT_CLIENT_EXPLODE 64
#define EV_BULLET_HIT_CLIENT_SHIELD 65
#define EV_BULLET_DESTROY_CLIENT_SHIELD 66
#define EV_EXPLOSIVE_IMPACT_ON_SHIELD 67
#define EV_EXPLOSIVE_SPLASH_ON_SHIELD 68
#define EV_GRENADE_BOUNCE 69
#define EV_GRENADE_STICK 70
#define EV_GRENADE_REST 71
#define EV_GRENADE_ROLL 72
#define EV_GRENADE_EXPLODE 73
#define EV_GRENADE_PICKUP 74
#define EV_GRENADE_LETGO 75
#define EV_ROCKET_EXPLODE 76
#define EV_ROCKET_EXPLODE_NOMARKS 77
#define EV_FLASHBANG_EXPLODE 78
#define EV_CUSTOM_EXPLODE 79
#define EV_CUSTOM_EXPLODE_NOMARKS 80
#define EV_CHANGE_TO_DUD 81
#define EV_DUD_EXPLODE 82
#define EV_DUD_IMPACT 83
#define EV_TROPHY_EXPLODE 84
#define EV_BULLET 85
#define EV_PLAY_FX 86
#define EV_PLAY_FX_ON_TAG 87
#define EV_STOP_FX_ON_TAG 88
#define EV_PLAY_FX_ON_TAG_FOR_CLIENTS 89
#define EV_PHYS_EXPLOSION_SPHERE 90
#define EV_PHYS_EXPLOSION_CYLINDER 91
#define EV_PHYS_EXPLOSION_JOLT 92
#define EV_RADIUSDAMAGE 93
#define EV_PHYS_JITTER 94
#define EV_EARTHQUAKE 95
#define EV_GRENADE_SUICIDE 96
#define EV_DETONATE 97
#define EV_NIGHTVISION_WEAR 98
#define EV_NIGHTVISION_REMOVE 99
#define EV_MISSILE_REMOTE_BOOST 100
#define EV_VARIABLE_ZOOM_CHANGE 101
#define EV_OBITUARY 102
#define EV_NO_PRIMARY_GRENADE_HINT 103
#define EV_NO_SECONDARY_GRENADE_HINT 104
#define EV_TARGET_TOO_CLOSE_HINT 105
#define EV_TARGET_NOT_ENOUGH_CLEARANCE_HINT 106
#define EV_LOCKON_REQUIRED_HINT 107
#define EV_VEHICLE_COLLISION 108
#define EV_VEHICLE_SUSPENSION_SOFT 109
#define EV_VEHICLE_SUSPENSION_HARD 110
#define EV_FOOTSTEP_SPRINT 111
#define EV_FOOTSTEP_RUN 112
#define EV_FOOTSTEP_WALK 113
#define EV_FOOTSTEP_PRONE 114
#define EV_JUMP 115
#define EV_LANDING_DEFAULT 116
#define EV_LANDING_BARK 117
#define EV_LANDING_BRICK 118
#define EV_LANDING_CARPET 119
#define EV_LANDING_CLOTH 120
#define EV_LANDING_CONCRETE 121
#define EV_LANDING_DIRT 122
#define EV_LANDING_FLESH 123
#define EV_LANDING_FOLIAGE 124
#define EV_LANDING_GLASS 125
#define EV_LANDING_GRASS 126
#define EV_LANDING_GRAVEL 127
#define EV_LANDING_ICE 128
#define EV_LANDING_METAL 129
#define EV_LANDING_MUD 130
#define EV_LANDING_PAPER 131
#define EV_LANDING_PLASTER 132
#define EV_LANDING_ROCK 133
#define EV_LANDING_SAND 134
#define EV_LANDING_SNOW 135
#define EV_LANDING_WATER 136
#define EV_LANDING_WOOD 137
#define EV_LANDING_ASPHALT 138
#define EV_LANDING_CERAMIC 139
#define EV_LANDING_PLASTIC 140
#define EV_LANDING_RUBBER 141
#define EV_LANDING_CUSHION 142
#define EV_LANDING_FRUIT 143
#define EV_LANDING_PAINTEDMETAL 144
#define EV_LANDING_RIOTSHIELD 145
#define EV_LANDING_SLUSH 146
#define EV_LANDING_PAIN_DEFAULT 147
#define EV_LANDING_PAIN_BARK 148
#define EV_LANDING_PAIN_BRICK 149
#define EV_LANDING_PAIN_CARPET 150
#define EV_LANDING_PAIN_CLOTH 151
#define EV_LANDING_PAIN_CONCRETE 152
#define EV_LANDING_PAIN_DIRT 153
#define EV_LANDING_PAIN_FLESH 154
#define EV_LANDING_PAIN_FOLIAGE 155
#define EV_LANDING_PAIN_GLASS 156
#define EV_LANDING_PAIN_GRASS 157
#define EV_LANDING_PAIN_GRAVEL 158
#define EV_LANDING_PAIN_ICE 159
#define EV_LANDING_PAIN_METAL 160
#define EV_LANDING_PAIN_MUD 161
#define EV_LANDING_PAIN_PAPER 162
#define EV_LANDING_PAIN_PLASTER 163
#define EV_LANDING_PAIN_ROCK 164
#define EV_LANDING_PAIN_SAND 165
#define EV_LANDING_PAIN_SNOW 166
#define EV_LANDING_PAIN_WATER 167
#define EV_LANDING_PAIN_WOOD 168
#define EV_LANDING_PAIN_ASPHALT 169
#define EV_LANDING_PAIN_CERAMIC 170
#define EV_LANDING_PAIN_PLASTIC 171
#define EV_LANDING_PAIN_RUBBER 172
#define EV_LANDING_PAIN_CUSHION 173
#define EV_LANDING_PAIN_FRUIT 174
#define EV_LANDING_PAIN_PAINTEDMETAL 175
#define EV_LANDING_PAIN_RIOTSHIELD 176
#define EV_LANDING_PAIN_SLUSH 177
#define EV_MANTLE 178