Useful Code Files: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_shareddefs.h tf_shareddefs.h] | * [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/game/shared/tf/tf_shareddefs.h tf_shareddefs.h] | ||
* [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] | ||
* [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/public/dt_common.h dt_common.h] | |||
SendProps (CNetwork*) are defined in entity header files (.h); DataMaps (DEFINE*) 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). |
Latest revision as of 02:20, 20 December 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.)