Useful Code Files: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
* [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/public/const.h const.h] | * [https://github.com/sr2echa/TF2-Source-Code/blob/master/tf2_src/public/const.h const.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/public/dt_common.h dt_common.h] | |||
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] |
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.)