Useful Code Files: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
* [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_shareddefs.cpp tf_shareddefs.cpp] | * [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_shareddefs.cpp tf_shareddefs.cpp] | ||
SendProps (CNetwork*) are defined in entity header files (.h); DataMaps are defined in the entity code files (.cpp). | SendProps (CNetwork*) are defined in entity header files (.h); DataMaps (DEFINE*) are defined in the entity code files (.cpp). | ||
(Some entities will have a copy of the same variable as both a SendProp and DataMap.) | (Some entities will have a copy of the same variable as both a SendProp and DataMap.) | ||
* [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/public/datamap.h datamap.h] | * [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/public/datamap.h datamap.h] | ||
* [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/public/networkvar.h networkvar.h] | * [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/public/networkvar.h networkvar.h] |
Revision as of 18:45, 12 November 2022
SendProps (CNetwork*) are defined in entity header files (.h); DataMaps (DEFINE*) are defined in the entity code files (.cpp).
(Some entities will have a copy of the same variable as both a SendProp and DataMap.)