Skip to content

Commit

Permalink
Add comments for finding new offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
nosoop committed Apr 11, 2019
1 parent 6284381 commit 3d83956
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gamedata/tf2.econ_data.txt
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@

"CEconItemQualityDefinition::m_iValue"
{
// refer to CEconItemQualityDefinition::BInitFromKV()
"linux" "0"
"windows" "0"
}
Expand All @@ -151,6 +152,7 @@

"CEconItemRarityDefinition::m_iValue"
{
// refer to CEconItemRarityDefinition::BInitFromKV()
"linux" "0"
"windows" "0"
}
Expand All @@ -162,11 +164,13 @@

"CEconItemSchema::m_ItemRarities"
{
// offset into `ebx` in CEconItemSchema::GetQualityDefinition() on linux
"linux" "124"
"windows" "124"
}
"CEconItemSchema::m_iLastValidRarity"
{
// offset into `ebx` inside second block within CEconItemSchema::GetRarityDefinition() on linux
"linux" "152"
"windows" "152"
}
Expand Down

0 comments on commit 3d83956

Please sign in to comment.