CMonsterResource: Difference between revisions

From SigMod
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
== Overview ==
...
Manages and networks data needed by clients for non-player AI characters.


'''Source location : ...'''
'''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/tf/player_vs_environment/monster_resource.h /game/server/tf/player_vs_environment/monster_resource.h]'''


'''Linked entity : ...'''
'''Linked Entity : [https://developer.valvesoftware.com/wiki/monster_resource monster_resource]'''


==[[SendProps|Class Structure]]==
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
*'''[[CBaseEntity]]'''
**'''[[CBaseAnimating]]'''
**'''CMonsterResource'''
***'''[[CBaseAnimatingOverlay]]'''
****'''[[CBaseFlex]]'''
*****'''[[CBaseCombatCharacter]]'''
******'''[[CBasePlayer]]'''
*******'''CTFPlayer'''


== SendProps ==
== SendProps ==
{| class="wikitable sortable" style="margin: 0 auto; width: 100%; padding: 0;"
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;"
|+CMonsterResource  
|+CMonsterResource  
! style="width: 50%; background-color: #303030; color: white" |Name  
! style="width: 50%; background-color: #303030; color: white" |Name  
Line 40: Line 35:
| style="width: 50%;" |'''m_iBossState'''
| style="width: 50%;" |'''m_iBossState'''
| style="width: 15%;" |Integer
| style="width: 15%;" |Integer
| style="width: 35%;" |
|}
== Entity DataMaps ==
{| class="wikitable sortable mw-collapsible mw-collapsed" style="margin: 0 auto; width: 100%; padding: 0;
|+CMonsterResource
! 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%;" |'''CMonsterResourceUpdate'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fSkillShotComboEndTime'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iBossHealthPercentageByte'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iBossStunPercentageByte'''
| style="width: 15%;" |
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iSkillShotCompleteCount'''
| style="width: 15%;" |
| style="width: 35%;" |
| style="width: 35%;" |
|}
|}

Latest revision as of 23:33, 10 August 2022

Overview[edit | edit source]

Manages and networks data needed by clients for non-player AI characters.

Source location : /game/server/tf/player_vs_environment/monster_resource.h

Linked Entity : monster_resource

Class Structure[edit | edit source]

SendProps[edit | edit source]

CMonsterResource
Name Type Description
m_iBossHealthPercentageByte Integer
m_iBossStunPercentageByte Integer
m_iSkillShotCompleteCount Integer
m_fSkillShotComboEndTime Float
m_iBossState Integer

Entity DataMaps[edit | edit source]

CMonsterResource
Name Type Description
CMonsterResourceUpdate
m_fSkillShotComboEndTime
m_iBossHealthPercentageByte
m_iBossStunPercentageByte
m_iSkillShotCompleteCount