core: Add support for networked CUtlVector (#1330)

* Add offset-reading capability for networked CUtlVector instances

* Use strncmp instead of strstr

* Use strcmp instead of strncmp

Co-authored-by: Asher Baker <[email protected]>

* Move CSendPropExtra_UtlVector offset to gamedata

* Update name of offset + add gamedata entry

* tiny nits

Co-authored-by: Asher Baker <[email protected]>
Co-authored-by: Kyle Sanderson <[email protected]>
This commit is contained in:
nosoop
2020-08-06 19:15:20 -07:00
committed by GitHub
co-authored by Asher Baker Kyle Sanderson
parent bb25b03884
commit c5619f887d
2 changed files with 22 additions and 2 deletions
+5
View File
@@ -20,6 +20,11 @@
"class" "CBasePlayer"
"prop" "m_lifeState"
}
"CSendPropExtra_UtlVector::m_Offset"
{
"windows" "16"
"linux" "16"
}
}
}