CItem: Difference between revisions

From SigMod
Jump to navigation Jump to search
(Created page with "== Overview == ... '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/items.h /game/server/items.h]''' ==Classes|Class Struc...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
A base class for generic pickups available to players.


'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/items.h /game/server/items.h]'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/items.h /game/server/items.h]'''
Line 8: Line 8:
**'''[[CBaseAnimating]]'''
**'''[[CBaseAnimating]]'''
***'''CItem'''
***'''CItem'''
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CItem
! style="width: 50%; background-color: #303030; color: white" |Name
! style="width: 15%; background-color: #303030; color: white" |Type
! style="width: 35%; background-color: #303030; color: white" |Description
|-
| style="width: 50%;" |'''CItemComeToRest'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CItemFallThink'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CItemItemTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''CItemMaterialize'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnCacheInteraction'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_OnPlayerTouch'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_bActivateWhenAtRest'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_flNextResetCheckTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_pConstraint'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalSpawnAngles'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_vOriginalSpawnOrigin'''
| style="width: 15%;" |
| style="width: 35%;" |
|}

Latest revision as of 20:20, 10 August 2022

Overview[edit | edit source]

A base class for generic pickups available to players.

Source location : /game/server/items.h

Class Structure[edit | edit source]

Entity DataMaps[edit | edit source]

CItem
Name Type Description
CItemComeToRest
CItemFallThink
CItemItemTouch
CItemMaterialize
m_OnCacheInteraction
m_OnPlayerTouch
m_bActivateWhenAtRest
m_flNextResetCheckTime
m_pConstraint
m_vOriginalSpawnAngles
m_vOriginalSpawnOrigin