CMonsterResource: Difference between revisions

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


'''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 : [https://developer.valvesoftware.com/wiki/monster_resource monster_resource]'''
==[[Classes|Class Structure]]==
*'''[[CBaseEntity]]'''
**'''CMonsterResource'''
== SendProps ==
{| 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%;" |'''m_iBossHealthPercentageByte'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iBossStunPercentageByte'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iSkillShotCompleteCount'''
| style="width: 15%;" |Integer
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_fSkillShotComboEndTime'''
| style="width: 15%;" |Float
| style="width: 35%;" |
|-
| style="width: 50%;" |'''m_iBossState'''
| 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%;" |
|}

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