Difference between revisions of "CCSGameRules Offset List (Counter-Strike: Source)"

From AlliedModders Wiki
Jump to: navigation, search
(The List: Updated Offsets for the CSS Source2009 port)
(The List: Updated Offsets)
Line 6: Line 6:
 
This comes from the symbol tables, so you'll have to look in the SDK for return types...or guess for the CSS specific functions near the end.
 
This comes from the symbol tables, so you'll have to look in the SDK for return types...or guess for the CSS specific functions near the end.
  
<b>Last Updated 24 June 2010</b>
+
<b>Last Updated 17 July 2010</b>
  
 
<pre>
 
<pre>
// Auto reconstructed from vtable block @ 0x00A721A0
+
// Auto reconstructed from vtable block @ 0x00BCA260
 
// from "server.so", by ida_vtables.idc
 
// from "server.so", by ida_vtables.idc
 
0 CMultiplayRules::Init(void)
 
0 CMultiplayRules::Init(void)
Line 16: Line 16:
 
3 CCSGameRules::LevelInitPreEntity(void)
 
3 CCSGameRules::LevelInitPreEntity(void)
 
4 CCSGameRules::LevelInitPostEntity(void)
 
4 CCSGameRules::LevelInitPostEntity(void)
5 CBaseGameSystemPerFrame::LevelShutdownPreEntity(void)
+
5 CBaseGameSystemPerFrame::LevelShutdownPreClearSteamAPIConatext(void)
6 CBaseGameSystemPerFrame::LevelShutdownPostEntity(void)
+
6 CBaseGameSystemPerFrame::LevelShutdownPreEntity(void)
7 CBaseGameSystemPerFrame::OnSave(void)
+
7 CBaseGameSystemPerFrame::LevelShutdownPostEntity(void)
8 CBaseGameSystemPerFrame::OnRestore(void)
+
8 CBaseGameSystemPerFrame::OnSave(void)
9 CBaseGameSystemPerFrame::SafeRemoveIfDesired(void)
+
9 CBaseGameSystemPerFrame::OnRestore(void)
10 CBaseGameSystemPerFrame::IsPerFrame(void)
+
10 CBaseGameSystemPerFrame::SafeRemoveIfDesired(void)
11 CCSGameRules::~CCSGameRules()
+
11 CBaseGameSystemPerFrame::IsPerFrame(void)
 
12 CCSGameRules::~CCSGameRules()
 
12 CCSGameRules::~CCSGameRules()
13 CBaseGameSystemPerFrame::FrameUpdatePreEntityThink(void)
+
13 CCSGameRules::~CCSGameRules()
14 CGameRules::FrameUpdatePostEntityThink(void)
+
14 CBaseGameSystemPerFrame::FrameUpdatePreEntityThink(void)
15 CBaseGameSystemPerFrame::PreClientUpdate(void)
+
15 CGameRules::FrameUpdatePostEntityThink(void)
16 CMultiplayRules::Damage_IsTimeBased(int)
+
16 CBaseGameSystemPerFrame::PreClientUpdate(void)
17 CMultiplayRules::Damage_ShouldGibCorpse(int)
+
17 CMultiplayRules::Damage_IsTimeBased(int)
18 CMultiplayRules::Damage_ShowOnHUD(int)
+
18 CMultiplayRules::Damage_ShouldGibCorpse(int)
19 CMultiplayRules::Damage_NoPhysicsForce(int)
+
19 CMultiplayRules::Damage_ShowOnHUD(int)
20 CMultiplayRules::Damage_ShouldNotBleed(int)
+
20 CMultiplayRules::Damage_NoPhysicsForce(int)
21 CMultiplayRules::Damage_GetTimeBased(void)
+
21 CMultiplayRules::Damage_ShouldNotBleed(int)
22 CMultiplayRules::Damage_GetShouldGibCorpse(void)
+
22 CMultiplayRules::Damage_GetTimeBased(void)
23 CMultiplayRules::Damage_GetShowOnHud(void)
+
23 CMultiplayRules::Damage_GetShouldGibCorpse(void)
24 CMultiplayRules::Damage_GetNoPhysicsForce(void)
+
24 CMultiplayRules::Damage_GetShowOnHud(void)
25 CMultiplayRules::Damage_GetShouldNotBleed(void)
+
25 CMultiplayRules::Damage_GetNoPhysicsForce(void)
26 CMultiplayRules::SwitchToNextBestWeapon(CBaseCombatCharacter *,CBaseCombatWeapon *)
+
26 CMultiplayRules::Damage_GetShouldNotBleed(void)
27 CCSGameRules::GetNextBestWeapon(CBaseCombatCharacter *,CBaseCombatWeapon *)
+
27 CMultiplayRules::SwitchToNextBestWeapon(CBaseCombatCharacter *,CBaseCombatWeapon *)
28 CCSGameRules::ShouldCollide(int,int)
+
28 CCSGameRules::GetNextBestWeapon(CBaseCombatCharacter *,CBaseCombatWeapon *)
29 CCSGameRules::DefaultFOV(void)
+
29 CCSGameRules::ShouldCollide(int,int)
30 CCSGameRules::GetViewVectors(void)const
+
30 CCSGameRules::DefaultFOV(void)
31 CGameRules::GetAmmoDamage(CBaseEntity *,CBaseEntity *,int)
+
31 CCSGameRules::GetViewVectors(void)const
32 CGameRules::GetDamageMultiplier(void)
+
32 CGameRules::GetAmmoDamage(CBaseEntity *,CBaseEntity *,int)
33 CMultiplayRules::IsMultiplayer(void)
+
33 CGameRules::GetDamageMultiplier(void)
34 CCSGameRules::GetEncryptionKey(void)
+
34 CMultiplayRules::IsMultiplayer(void)
35 CGameRules::InRoundRestart(void)
+
35 CCSGameRules::GetEncryptionKey(void)
36 CGameRules::AllowThirdPersonCamera(void)
+
36 CGameRules::InRoundRestart(void)
37 CMultiplayRules::ClientCommandKeyValues(edict_t *,KeyValues *)
+
37 CGameRules::AllowThirdPersonCamera(void)
38 CMultiplayRules::GetTaggedConVarList(KeyValues *)
+
38 CMultiplayRules::ClientCommandKeyValues(edict_t *,KeyValues *)
39 CGameRules::CheckHaptics(CBasePlayer *)
+
39 CMultiplayRules::GetTaggedConVarList(KeyValues *)
40 CCSGameRules::LevelShutdown(void)
+
40 CGameRules::CheckHaptics(CBasePlayer *)
41 CTeamplayRules::Precache(void)
+
41 CCSGameRules::LevelShutdown(void)
42 CMultiplayRules::RefreshSkillData(bool)
+
42 CTeamplayRules::Precache(void)
43 CCSGameRules::Think(void)
+
43 CMultiplayRules::RefreshSkillData(bool)
44 CMultiplayRules::IsAllowedToSpawn(CBaseEntity *)
+
44 CCSGameRules::Think(void)
45 CCSGameRules::EndGameFrame(void)
+
45 CMultiplayRules::IsAllowedToSpawn(CBaseEntity *)
46 CGameRules::IsSkillLevel(int)
+
46 CCSGameRules::EndGameFrame(void)
47 CGameRules::GetSkillLevel(void)
+
47 CGameRules::IsSkillLevel(int)
48 CGameRules::OnSkillLevelChanged(int)
+
48 CGameRules::GetSkillLevel(void)
49 CGameRules::SetSkillLevel(int)
+
49 CGameRules::OnSkillLevelChanged(int)
50 CMultiplayRules::FAllowFlashlight(void)
+
50 CGameRules::SetSkillLevel(int)
51 CCSGameRules::FShouldSwitchWeapon(CBasePlayer *,CBaseCombatWeapon *)
+
51 CMultiplayRules::FAllowFlashlight(void)
52 CMultiplayRules::IsDeathmatch(void)
+
52 CCSGameRules::FShouldSwitchWeapon(CBasePlayer *,CBaseCombatWeapon *)
53 CTeamplayRules::IsTeamplay(void)
+
53 CMultiplayRules::IsDeathmatch(void)
54 CMultiplayRules::IsCoOp(void)
+
54 CTeamplayRules::IsTeamplay(void)
55 CCSGameRules::GetGameDescription(void)
+
55 CMultiplayRules::IsCoOp(void)
56 CMultiplayRules::ClientConnected(edict_t *,char  const*,char  const*,char *,int)
+
56 CCSGameRules::GetGameDescription(void)
57 CTeamplayRules::InitHUD(CBasePlayer *)
+
57 CMultiplayRules::ClientConnected(edict_t *,char  const*,char  const*,char *,int)
58 CCSGameRules::ClientDisconnected(edict_t *)
+
58 CTeamplayRules::InitHUD(CBasePlayer *)
59 CCSGameRules::FlPlayerFallDamage(CBasePlayer *)
+
59 CCSGameRules::ClientDisconnected(edict_t *)
60 CTeamplayRules::FPlayerCanTakeDamage(CBasePlayer *,CBaseEntity *)
+
60 CCSGameRules::FlPlayerFallDamage(CBasePlayer *)
61 CTeamplayRules::ShouldAutoAim(CBasePlayer *,edict_t *)
+
61 CTeamplayRules::FPlayerCanTakeDamage(CBasePlayer *,CBaseEntity *)
62 CGameRules::GetAutoAimScale(CBasePlayer *)
+
62 CTeamplayRules::ShouldAutoAim(CBasePlayer *,edict_t *)
63 CGameRules::GetAutoAimMode(void)
+
63 CGameRules::GetAutoAimScale(CBasePlayer *)
64 CGameRules::ShouldUseRobustRadiusDamage(CBaseEntity *)
+
64 CGameRules::GetAutoAimMode(void)
65 CCSGameRules::RadiusDamage(CTakeDamageInfo  const&,Vector  const&,float,int,CBaseEntity *)
+
65 CGameRules::ShouldUseRobustRadiusDamage(CBaseEntity *)
66 CCSGameRules::FlPlayerFallDeathDoesScreenFade(CBasePlayer *)
+
66 CCSGameRules::RadiusDamage(CTakeDamageInfo  const&,Vector  const&,float,int,CBaseEntity *)
67 CMultiplayRules::AllowDamage(CBaseEntity *,CTakeDamageInfo  const&)
+
67 CCSGameRules::FlPlayerFallDeathDoesScreenFade(CBasePlayer *)
68 CCSGameRules::PlayerSpawn(CBasePlayer *)
+
68 CMultiplayRules::AllowDamage(CBaseEntity *,CTakeDamageInfo  const&)
69 CMultiplayRules::PlayerThink(CBasePlayer *)
+
69 CCSGameRules::PlayerSpawn(CBasePlayer *)
70 CCSGameRules::FPlayerCanRespawn(CBasePlayer *)
+
70 CMultiplayRules::PlayerThink(CBasePlayer *)
71 CMultiplayRules::FlPlayerSpawnTime(CBasePlayer *)
+
71 CCSGameRules::FPlayerCanRespawn(CBasePlayer *)
72 CCSGameRules::GetPlayerSpawnSpot(CBasePlayer *)
+
72 CMultiplayRules::FlPlayerSpawnTime(CBasePlayer *)
73 CCSGameRules::IsSpawnPointValid(CBaseEntity *,CBasePlayer *)
+
73 CCSGameRules::GetPlayerSpawnSpot(CBasePlayer *)
74 CMultiplayRules::AllowAutoTargetCrosshair(void)
+
74 CCSGameRules::IsSpawnPointValid(CBaseEntity *,CBasePlayer *)
75 CCSGameRules::ClientCommand(CBaseEntity *,CCommand  const&)
+
75 CMultiplayRules::AllowAutoTargetCrosshair(void)
76 CCSGameRules::ClientSettingsChanged(CBasePlayer *)
+
76 CCSGameRules::ClientCommand(CBaseEntity *,CCommand  const&)
77 CTeamplayRules::IPointsForKill(CBasePlayer *,CBasePlayer *)
+
77 CCSGameRules::ClientSettingsChanged(CBasePlayer *)
78 CCSGameRules::PlayerKilled(CBasePlayer *,CTakeDamageInfo  const&)
+
78 CTeamplayRules::IPointsForKill(CBasePlayer *,CBasePlayer *)
79 CCSGameRules::DeathNotice(CBasePlayer *,CTakeDamageInfo  const&)
+
79 CCSGameRules::PlayerKilled(CBasePlayer *,CTakeDamageInfo  const&)
80 CGameRules::GetDamageCustomString(CTakeDamageInfo  const&)
+
80 CCSGameRules::DeathNotice(CBasePlayer *,CTakeDamageInfo  const&)
81 CGameRules::AdjustPlayerDamageInflicted(float)
+
81 CGameRules::GetDamageCustomString(CTakeDamageInfo  const&)
82 CGameRules::AdjustPlayerDamageTaken(CTakeDamageInfo *)
+
82 CGameRules::AdjustPlayerDamageInflicted(float)
83 CMultiplayRules::CanHavePlayerItem(CBasePlayer *,CBaseCombatWeapon *)
+
83 CGameRules::AdjustPlayerDamageTaken(CTakeDamageInfo *)
84 CMultiplayRules::WeaponShouldRespawn(CBaseCombatWeapon *)
+
84 CMultiplayRules::CanHavePlayerItem(CBasePlayer *,CBaseCombatWeapon *)
85 CMultiplayRules::FlWeaponRespawnTime(CBaseCombatWeapon *)
+
85 CMultiplayRules::WeaponShouldRespawn(CBaseCombatWeapon *)
86 CMultiplayRules::FlWeaponTryRespawn(CBaseCombatWeapon *)
+
86 CMultiplayRules::FlWeaponRespawnTime(CBaseCombatWeapon *)
87 CMultiplayRules::VecWeaponRespawnSpot(CBaseCombatWeapon *)
+
87 CMultiplayRules::FlWeaponTryRespawn(CBaseCombatWeapon *)
88 CMultiplayRules::CanHaveItem(CBasePlayer *,CItem *)
+
88 CMultiplayRules::VecWeaponRespawnSpot(CBaseCombatWeapon *)
89 CMultiplayRules::PlayerGotItem(CBasePlayer *,CItem *)
+
89 CMultiplayRules::CanHaveItem(CBasePlayer *,CItem *)
90 CMultiplayRules::ItemShouldRespawn(CItem *)
+
90 CMultiplayRules::PlayerGotItem(CBasePlayer *,CItem *)
91 CMultiplayRules::FlItemRespawnTime(CItem *)
+
91 CMultiplayRules::ItemShouldRespawn(CItem *)
92 CMultiplayRules::VecItemRespawnSpot(CItem *)
+
92 CMultiplayRules::FlItemRespawnTime(CItem *)
93 CMultiplayRules::VecItemRespawnAngles(CItem *)
+
93 CMultiplayRules::VecItemRespawnSpot(CItem *)
94 CGameRules::CanHaveAmmo(CBaseCombatCharacter *,int)
+
94 CMultiplayRules::VecItemRespawnAngles(CItem *)
95 CGameRules::CanHaveAmmo(CBaseCombatCharacter *,char  const*)
+
95 CGameRules::CanHaveAmmo(CBaseCombatCharacter *,int)
96 CMultiplayRules::PlayerGotAmmo(CBaseCombatCharacter *,char *,int)
+
96 CGameRules::CanHaveAmmo(CBaseCombatCharacter *,char  const*)
97 CGameRules::GetAmmoQuantityScale(int)
+
97 CMultiplayRules::PlayerGotAmmo(CBaseCombatCharacter *,char *,int)
98 CCSGameRules::InitDefaultAIRelationships(void)
+
98 CGameRules::GetAmmoQuantityScale(int)
99 CCSGameRules::AIClassText(int)
+
99 CCSGameRules::InitDefaultAIRelationships(void)
100 CMultiplayRules::FlHealthChargerRechargeTime(void)
+
100 CCSGameRules::AIClassText(int)
101 CMultiplayRules::FlHEVChargerRechargeTime(void)
+
101 CMultiplayRules::FlHealthChargerRechargeTime(void)
102 CMultiplayRules::DeadPlayerWeapons(CBasePlayer *)
+
102 CMultiplayRules::FlHEVChargerRechargeTime(void)
103 CMultiplayRules::DeadPlayerAmmo(CBasePlayer *)
+
103 CMultiplayRules::DeadPlayerWeapons(CBasePlayer *)
104 CTeamplayRules::GetTeamID(CBaseEntity *)
+
104 CMultiplayRules::DeadPlayerAmmo(CBasePlayer *)
105 CTeamplayRules::PlayerRelationship(CBaseEntity *,CBaseEntity *)
+
105 CTeamplayRules::GetTeamID(CBaseEntity *)
106 CTeamplayRules::PlayerCanHearChat(CBasePlayer *,CBasePlayer *)
+
106 CTeamplayRules::PlayerRelationship(CBaseEntity *,CBaseEntity *)
107 CGameRules::CheckChatText(CBasePlayer *,char *)
+
107 CTeamplayRules::PlayerCanHearChat(CBasePlayer *,CBasePlayer *)
108 CTeamplayRules::GetTeamIndex(char  const*)
+
108 CGameRules::CheckChatText(CBasePlayer *,char *)
109 CTeamplayRules::GetIndexedTeamName(int)
+
109 CTeamplayRules::GetTeamIndex(char  const*)
110 CTeamplayRules::IsValidTeam(char  const*)
+
110 CTeamplayRules::GetIndexedTeamName(int)
111 CTeamplayRules::ChangePlayerTeam(CBasePlayer *,char  const*,bool,bool)
+
111 CTeamplayRules::IsValidTeam(char  const*)
112 CCSGameRules::SetDefaultPlayerTeam(CBasePlayer *)
+
112 CTeamplayRules::ChangePlayerTeam(CBasePlayer *,char  const*,bool,bool)
113 CCSGameRules::UpdateClientData(CBasePlayer *)
+
113 CCSGameRules::SetDefaultPlayerTeam(CBasePlayer *)
114 CCSGameRules::PlayTextureSounds(void)
+
114 CCSGameRules::UpdateClientData(CBasePlayer *)
115 CMultiplayRules::PlayFootstepSounds(CBasePlayer *)
+
115 CCSGameRules::PlayTextureSounds(void)
116 CCSGameRules::FAllowNPCs(void)
+
116 CMultiplayRules::PlayFootstepSounds(CBasePlayer *)
117 CMultiplayRules::EndMultiplayerGame(void)
+
117 CCSGameRules::FAllowNPCs(void)
118 CGameRules::WeaponTraceEntity(CBaseEntity *,Vector  const&,Vector  const&,unsigned int,CGameTrace *)
+
118 CMultiplayRules::EndMultiplayerGame(void)
119 CCSGameRules::CreateStandardEntities(void)
+
119 CGameRules::WeaponTraceEntity(CBaseEntity *,Vector  const&,Vector  const&,unsigned int,CGameTrace *)
120 CCSGameRules::GetChatPrefix(bool,CBasePlayer *)
+
120 CCSGameRules::CreateStandardEntities(void)
121 CCSGameRules::GetChatLocation(bool,CBasePlayer *)
+
121 CCSGameRules::GetChatPrefix(bool,CBasePlayer *)
122 CCSGameRules::GetChatFormat(bool,CBasePlayer *)
+
122 CCSGameRules::GetChatLocation(bool,CBasePlayer *)
123 CGameRules::ShouldBurningPropsEmitLight(void)
+
123 CCSGameRules::GetChatFormat(bool,CBasePlayer *)
124 CGameRules::CanEntityBeUsePushed(CBaseEntity *)
+
124 CGameRules::ShouldBurningPropsEmitLight(void)
125 CCSGameRules::CreateCustomNetworkStringTables(void)
+
125 CGameRules::CanEntityBeUsePushed(CBaseEntity *)
126 CGameRules::MarkAchievement(IRecipientFilter &,char  const*)
+
126 CCSGameRules::CreateCustomNetworkStringTables(void)
127 CMultiplayRules::ResetMapCycleTimeStamp(void)
+
127 CGameRules::MarkAchievement(IRecipientFilter &,char  const*)
128 CGameRules::OnNavMeshLoad(void)
+
128 CMultiplayRules::ResetMapCycleTimeStamp(void)
129 CGameRules::TacticalMissionManagerFactory(void)
+
129 CGameRules::OnNavMeshLoad(void)
130 CGameRules::ProcessVerboseLogOutput(void)
+
130 CGameRules::TacticalMissionManagerFactory(void)
131 CGameRules::GetGameTypeName(void)
+
131 CGameRules::ProcessVerboseLogOutput(void)
132 CGameRules::GetGameType(void)
+
132 CGameRules::GetGameTypeName(void)
133 CGameRules::ShouldDrawHeadLabels(void)
+
133 CGameRules::GetGameType(void)
134 CMultiplayRules::GetDeathScorer(CBaseEntity *,CBaseEntity *,CBaseEntity *)
+
134 CGameRules::ShouldDrawHeadLabels(void)
135 CMultiplayRules::VoiceCommand(CBaseMultiplayerPlayer *,int,int)
+
135 CMultiplayRules::GetDeathScorer(CBaseEntity *,CBaseEntity *,CBaseEntity *)
136 CMultiplayRules::HandleTimeLimitChange(void)
+
136 CMultiplayRules::VoiceCommand(CBaseMultiplayerPlayer *,int,int)
137 CMultiplayRules::InitCustomResponseRulesDicts(void)
+
137 CMultiplayRules::HandleTimeLimitChange(void)
138 CMultiplayRules::ShutdownCustomResponseRulesDicts(void)
+
138 CMultiplayRules::InitCustomResponseRulesDicts(void)
139 CMultiplayRules::UseSuicidePenalty(void)
+
139 CMultiplayRules::ShutdownCustomResponseRulesDicts(void)
140 CMultiplayRules::GetNextLevelName(char *,int,bool)
+
140 CMultiplayRules::UseSuicidePenalty(void)
141 CMultiplayRules::ChangeLevel(void)
+
141 CMultiplayRules::GetNextLevelName(char *,int,bool)
142 CCSGameRules::GoToIntermission(void)
+
142 CMultiplayRules::ChangeLevel(void)
143 CTeamplayRules::GetCaptureValueForPlayer(CBasePlayer *)
+
143 CCSGameRules::GoToIntermission(void)
144 CTeamplayRules::TeamMayCapturePoint(int,int)
+
144 CTeamplayRules::GetCaptureValueForPlayer(CBasePlayer *)
145 CTeamplayRules::PlayerMayCapturePoint(CBasePlayer *,int,char *,int)
+
145 CTeamplayRules::TeamMayCapturePoint(int,int)
146 CTeamplayRules::PlayerMayBlockPoint(CBasePlayer *,int,char *,int)
+
146 CTeamplayRules::PlayerMayCapturePoint(CBasePlayer *,int,char *,int)
147 CTeamplayRules::PointsMayBeCaptured(void)
+
147 CTeamplayRules::PlayerMayBlockPoint(CBasePlayer *,int,char *,int)
148 CTeamplayRules::SetLastCapPointChanged(int)
+
148 CTeamplayRules::PointsMayBeCaptured(void)
149 CTeamplayRules::TimerMayExpire(void)
+
149 CTeamplayRules::SetLastCapPointChanged(int)
150 CTeamplayRules::SetWinningTeam(int,int,bool,bool,bool)
+
150 CTeamplayRules::TimerMayExpire(void)
151 CTeamplayRules::SetStalemate(int,bool,bool)
+
151 CTeamplayRules::SetWinningTeam(int,int,bool,bool,bool)
152 CTeamplayRules::SetSwitchTeams(bool)
+
152 CTeamplayRules::SetStalemate(int,bool,bool)
153 CTeamplayRules::ShouldSwitchTeams(void)
+
153 CTeamplayRules::SetSwitchTeams(bool)
154 CTeamplayRules::HandleSwitchTeams(void)
+
154 CTeamplayRules::ShouldSwitchTeams(void)
155 CTeamplayRules::SetScrambleTeams(bool)
+
155 CTeamplayRules::HandleSwitchTeams(void)
156 CTeamplayRules::ShouldScrambleTeams(void)
+
156 CTeamplayRules::SetScrambleTeams(bool)
157 CTeamplayRules::HandleScrambleTeams(void)
+
157 CTeamplayRules::ShouldScrambleTeams(void)
158 CTeamplayRules::PointsMayAlwaysBeBlocked(void)
+
158 CTeamplayRules::HandleScrambleTeams(void)
159 CCSGameRules::SpawningLatePlayer(CCSPlayer *)
+
159 CTeamplayRules::PointsMayAlwaysBeBlocked(void)
160 CCSGameRules::SetAllowWeaponSwitch(bool)
+
160 CCSGameRules::SpawningLatePlayer(CCSPlayer *)
161 CCSGameRules::GetAllowWeaponSwitch(void)
+
161 CCSGameRules::SetAllowWeaponSwitch(bool)
 +
162 CCSGameRules::GetAllowWeaponSwitch(void)
 
</pre>
 
</pre>

Revision as of 13:16, 17 July 2010

For use when using virtual offsets.

This is the list of offsets I've been using. These are the Linux offsets. Windows offsets are 1 less.

The List

This comes from the symbol tables, so you'll have to look in the SDK for return types...or guess for the CSS specific functions near the end.

Last Updated 17 July 2010

// Auto reconstructed from vtable block @ 0x00BCA260
// from "server.so", by ida_vtables.idc
0	CMultiplayRules::Init(void)
1	CBaseGameSystemPerFrame::PostInit(void)
2	CBaseGameSystemPerFrame::Shutdown(void)
3	CCSGameRules::LevelInitPreEntity(void)
4	CCSGameRules::LevelInitPostEntity(void)
5	CBaseGameSystemPerFrame::LevelShutdownPreClearSteamAPIConatext(void)
6	CBaseGameSystemPerFrame::LevelShutdownPreEntity(void)
7	CBaseGameSystemPerFrame::LevelShutdownPostEntity(void)
8	CBaseGameSystemPerFrame::OnSave(void)
9	CBaseGameSystemPerFrame::OnRestore(void)
10	CBaseGameSystemPerFrame::SafeRemoveIfDesired(void)
11	CBaseGameSystemPerFrame::IsPerFrame(void)
12	CCSGameRules::~CCSGameRules()
13	CCSGameRules::~CCSGameRules()
14	CBaseGameSystemPerFrame::FrameUpdatePreEntityThink(void)
15	CGameRules::FrameUpdatePostEntityThink(void)
16	CBaseGameSystemPerFrame::PreClientUpdate(void)
17	CMultiplayRules::Damage_IsTimeBased(int)
18	CMultiplayRules::Damage_ShouldGibCorpse(int)
19	CMultiplayRules::Damage_ShowOnHUD(int)
20	CMultiplayRules::Damage_NoPhysicsForce(int)
21	CMultiplayRules::Damage_ShouldNotBleed(int)
22	CMultiplayRules::Damage_GetTimeBased(void)
23	CMultiplayRules::Damage_GetShouldGibCorpse(void)
24	CMultiplayRules::Damage_GetShowOnHud(void)
25	CMultiplayRules::Damage_GetNoPhysicsForce(void)
26	CMultiplayRules::Damage_GetShouldNotBleed(void)
27	CMultiplayRules::SwitchToNextBestWeapon(CBaseCombatCharacter *,CBaseCombatWeapon *)
28	CCSGameRules::GetNextBestWeapon(CBaseCombatCharacter *,CBaseCombatWeapon *)
29	CCSGameRules::ShouldCollide(int,int)
30	CCSGameRules::DefaultFOV(void)
31	CCSGameRules::GetViewVectors(void)const
32	CGameRules::GetAmmoDamage(CBaseEntity *,CBaseEntity *,int)
33	CGameRules::GetDamageMultiplier(void)
34	CMultiplayRules::IsMultiplayer(void)
35	CCSGameRules::GetEncryptionKey(void)
36	CGameRules::InRoundRestart(void)
37	CGameRules::AllowThirdPersonCamera(void)
38	CMultiplayRules::ClientCommandKeyValues(edict_t *,KeyValues *)
39	CMultiplayRules::GetTaggedConVarList(KeyValues *)
40	CGameRules::CheckHaptics(CBasePlayer *)
41	CCSGameRules::LevelShutdown(void)
42	CTeamplayRules::Precache(void)
43	CMultiplayRules::RefreshSkillData(bool)
44	CCSGameRules::Think(void)
45	CMultiplayRules::IsAllowedToSpawn(CBaseEntity *)
46	CCSGameRules::EndGameFrame(void)
47	CGameRules::IsSkillLevel(int)
48	CGameRules::GetSkillLevel(void)
49	CGameRules::OnSkillLevelChanged(int)
50	CGameRules::SetSkillLevel(int)
51	CMultiplayRules::FAllowFlashlight(void)
52	CCSGameRules::FShouldSwitchWeapon(CBasePlayer *,CBaseCombatWeapon *)
53	CMultiplayRules::IsDeathmatch(void)
54	CTeamplayRules::IsTeamplay(void)
55	CMultiplayRules::IsCoOp(void)
56	CCSGameRules::GetGameDescription(void)
57	CMultiplayRules::ClientConnected(edict_t *,char  const*,char  const*,char *,int)
58	CTeamplayRules::InitHUD(CBasePlayer *)
59	CCSGameRules::ClientDisconnected(edict_t *)
60	CCSGameRules::FlPlayerFallDamage(CBasePlayer *)
61	CTeamplayRules::FPlayerCanTakeDamage(CBasePlayer *,CBaseEntity *)
62	CTeamplayRules::ShouldAutoAim(CBasePlayer *,edict_t *)
63	CGameRules::GetAutoAimScale(CBasePlayer *)
64	CGameRules::GetAutoAimMode(void)
65	CGameRules::ShouldUseRobustRadiusDamage(CBaseEntity *)
66	CCSGameRules::RadiusDamage(CTakeDamageInfo  const&,Vector  const&,float,int,CBaseEntity *)
67	CCSGameRules::FlPlayerFallDeathDoesScreenFade(CBasePlayer *)
68	CMultiplayRules::AllowDamage(CBaseEntity *,CTakeDamageInfo  const&)
69	CCSGameRules::PlayerSpawn(CBasePlayer *)
70	CMultiplayRules::PlayerThink(CBasePlayer *)
71	CCSGameRules::FPlayerCanRespawn(CBasePlayer *)
72	CMultiplayRules::FlPlayerSpawnTime(CBasePlayer *)
73	CCSGameRules::GetPlayerSpawnSpot(CBasePlayer *)
74	CCSGameRules::IsSpawnPointValid(CBaseEntity *,CBasePlayer *)
75	CMultiplayRules::AllowAutoTargetCrosshair(void)
76	CCSGameRules::ClientCommand(CBaseEntity *,CCommand  const&)
77	CCSGameRules::ClientSettingsChanged(CBasePlayer *)
78	CTeamplayRules::IPointsForKill(CBasePlayer *,CBasePlayer *)
79	CCSGameRules::PlayerKilled(CBasePlayer *,CTakeDamageInfo  const&)
80	CCSGameRules::DeathNotice(CBasePlayer *,CTakeDamageInfo  const&)
81	CGameRules::GetDamageCustomString(CTakeDamageInfo  const&)
82	CGameRules::AdjustPlayerDamageInflicted(float)
83	CGameRules::AdjustPlayerDamageTaken(CTakeDamageInfo *)
84	CMultiplayRules::CanHavePlayerItem(CBasePlayer *,CBaseCombatWeapon *)
85	CMultiplayRules::WeaponShouldRespawn(CBaseCombatWeapon *)
86	CMultiplayRules::FlWeaponRespawnTime(CBaseCombatWeapon *)
87	CMultiplayRules::FlWeaponTryRespawn(CBaseCombatWeapon *)
88	CMultiplayRules::VecWeaponRespawnSpot(CBaseCombatWeapon *)
89	CMultiplayRules::CanHaveItem(CBasePlayer *,CItem *)
90	CMultiplayRules::PlayerGotItem(CBasePlayer *,CItem *)
91	CMultiplayRules::ItemShouldRespawn(CItem *)
92	CMultiplayRules::FlItemRespawnTime(CItem *)
93	CMultiplayRules::VecItemRespawnSpot(CItem *)
94	CMultiplayRules::VecItemRespawnAngles(CItem *)
95	CGameRules::CanHaveAmmo(CBaseCombatCharacter *,int)
96	CGameRules::CanHaveAmmo(CBaseCombatCharacter *,char  const*)
97	CMultiplayRules::PlayerGotAmmo(CBaseCombatCharacter *,char *,int)
98	CGameRules::GetAmmoQuantityScale(int)
99	CCSGameRules::InitDefaultAIRelationships(void)
100	CCSGameRules::AIClassText(int)
101	CMultiplayRules::FlHealthChargerRechargeTime(void)
102	CMultiplayRules::FlHEVChargerRechargeTime(void)
103	CMultiplayRules::DeadPlayerWeapons(CBasePlayer *)
104	CMultiplayRules::DeadPlayerAmmo(CBasePlayer *)
105	CTeamplayRules::GetTeamID(CBaseEntity *)
106	CTeamplayRules::PlayerRelationship(CBaseEntity *,CBaseEntity *)
107	CTeamplayRules::PlayerCanHearChat(CBasePlayer *,CBasePlayer *)
108	CGameRules::CheckChatText(CBasePlayer *,char *)
109	CTeamplayRules::GetTeamIndex(char  const*)
110	CTeamplayRules::GetIndexedTeamName(int)
111	CTeamplayRules::IsValidTeam(char  const*)
112	CTeamplayRules::ChangePlayerTeam(CBasePlayer *,char  const*,bool,bool)
113	CCSGameRules::SetDefaultPlayerTeam(CBasePlayer *)
114	CCSGameRules::UpdateClientData(CBasePlayer *)
115	CCSGameRules::PlayTextureSounds(void)
116	CMultiplayRules::PlayFootstepSounds(CBasePlayer *)
117	CCSGameRules::FAllowNPCs(void)
118	CMultiplayRules::EndMultiplayerGame(void)
119	CGameRules::WeaponTraceEntity(CBaseEntity *,Vector  const&,Vector  const&,unsigned int,CGameTrace *)
120	CCSGameRules::CreateStandardEntities(void)
121	CCSGameRules::GetChatPrefix(bool,CBasePlayer *)
122	CCSGameRules::GetChatLocation(bool,CBasePlayer *)
123	CCSGameRules::GetChatFormat(bool,CBasePlayer *)
124	CGameRules::ShouldBurningPropsEmitLight(void)
125	CGameRules::CanEntityBeUsePushed(CBaseEntity *)
126	CCSGameRules::CreateCustomNetworkStringTables(void)
127	CGameRules::MarkAchievement(IRecipientFilter &,char  const*)
128	CMultiplayRules::ResetMapCycleTimeStamp(void)
129	CGameRules::OnNavMeshLoad(void)
130	CGameRules::TacticalMissionManagerFactory(void)
131	CGameRules::ProcessVerboseLogOutput(void)
132	CGameRules::GetGameTypeName(void)
133	CGameRules::GetGameType(void)
134	CGameRules::ShouldDrawHeadLabels(void)
135	CMultiplayRules::GetDeathScorer(CBaseEntity *,CBaseEntity *,CBaseEntity *)
136	CMultiplayRules::VoiceCommand(CBaseMultiplayerPlayer *,int,int)
137	CMultiplayRules::HandleTimeLimitChange(void)
138	CMultiplayRules::InitCustomResponseRulesDicts(void)
139	CMultiplayRules::ShutdownCustomResponseRulesDicts(void)
140	CMultiplayRules::UseSuicidePenalty(void)
141	CMultiplayRules::GetNextLevelName(char *,int,bool)
142	CMultiplayRules::ChangeLevel(void)
143	CCSGameRules::GoToIntermission(void)
144	CTeamplayRules::GetCaptureValueForPlayer(CBasePlayer *)
145	CTeamplayRules::TeamMayCapturePoint(int,int)
146	CTeamplayRules::PlayerMayCapturePoint(CBasePlayer *,int,char *,int)
147	CTeamplayRules::PlayerMayBlockPoint(CBasePlayer *,int,char *,int)
148	CTeamplayRules::PointsMayBeCaptured(void)
149	CTeamplayRules::SetLastCapPointChanged(int)
150	CTeamplayRules::TimerMayExpire(void)
151	CTeamplayRules::SetWinningTeam(int,int,bool,bool,bool)
152	CTeamplayRules::SetStalemate(int,bool,bool)
153	CTeamplayRules::SetSwitchTeams(bool)
154	CTeamplayRules::ShouldSwitchTeams(void)
155	CTeamplayRules::HandleSwitchTeams(void)
156	CTeamplayRules::SetScrambleTeams(bool)
157	CTeamplayRules::ShouldScrambleTeams(void)
158	CTeamplayRules::HandleScrambleTeams(void)
159	CTeamplayRules::PointsMayAlwaysBeBlocked(void)
160	CCSGameRules::SpawningLatePlayer(CCSPlayer *)
161	CCSGameRules::SetAllowWeaponSwitch(bool)
162	CCSGameRules::GetAllowWeaponSwitch(void)