|
|
(4 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| == Overview == | | == Overview == |
| ...
| | Manages and networks generic statistics concerning player performance (scoreboard data). |
|
| |
|
| '''Source location : ...''' | | '''Source location : [https://github.com/sreechar/TF2-Source-Code/tree/master/tf2_src/game/server/player_resource.h /game/server/player_resource.h]''' |
|
| |
|
| '''Linked entity : ...''' | | '''Linked Entity : [https://developer.valvesoftware.com/wiki/player_manager player_manager]''' |
|
| |
|
| ==[[SendProps|Class Structure]]== | | ==[[Classes|Class Structure]]== |
| *'''[[CBaseEntity]]''' | | *'''[[CBaseEntity]]''' |
| **'''[[CBaseAnimating]]''' | | **'''CPlayerResource''' |
| ***'''[[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;" |
| |+CPlayerResource | | |+CPlayerResource |
| ! style="width: 50%; background-color: #303030; color: white" |Name | | ! style="width: 50%; background-color: #303030; color: white" |Name |
Line 1,429: |
Line 1,424: |
| | style="width: 50%;" |'''033''' | | | style="width: 50%;" |'''033''' |
| | 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; |
| | |+CPlayerResource |
| | ! 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%;" |'''CPlayerResourceResourceThink''' |
| | | style="width: 15%;" | |
| | style="width: 35%;" | | | | style="width: 35%;" | |
| |} | | |} |
Manages and networks generic statistics concerning player performance (scoreboard data).
Source location : /game/server/player_resource.h
Linked Entity : player_manager
CPlayerResource
Name
|
Type
|
Description
|
m_iPing
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
|
m_iScore
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
|
m_iDeaths
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
|
m_bConnected
|
000
|
Boolean
|
|
001
|
Boolean
|
|
002
|
Boolean
|
|
003
|
Boolean
|
|
004
|
Boolean
|
|
005
|
Boolean
|
|
006
|
Boolean
|
|
007
|
Boolean
|
|
008
|
Boolean
|
|
009
|
Boolean
|
|
010
|
Boolean
|
|
011
|
Boolean
|
|
012
|
Boolean
|
|
013
|
Boolean
|
|
014
|
Boolean
|
|
015
|
Boolean
|
|
016
|
Boolean
|
|
017
|
Boolean
|
|
018
|
Boolean
|
|
019
|
Boolean
|
|
020
|
Boolean
|
|
021
|
Boolean
|
|
022
|
Boolean
|
|
023
|
Boolean
|
|
024
|
Boolean
|
|
025
|
Boolean
|
|
026
|
Boolean
|
|
027
|
Boolean
|
|
028
|
Boolean
|
|
029
|
Boolean
|
|
030
|
Boolean
|
|
031
|
Boolean
|
|
032
|
Boolean
|
|
033
|
Boolean
|
|
|
m_iTeam
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
|
m_bAlive
|
000
|
Boolean
|
|
001
|
Boolean
|
|
002
|
Boolean
|
|
003
|
Boolean
|
|
004
|
Boolean
|
|
005
|
Boolean
|
|
006
|
Boolean
|
|
007
|
Boolean
|
|
008
|
Boolean
|
|
009
|
Boolean
|
|
010
|
Boolean
|
|
011
|
Boolean
|
|
012
|
Boolean
|
|
013
|
Boolean
|
|
014
|
Boolean
|
|
015
|
Boolean
|
|
016
|
Boolean
|
|
017
|
Boolean
|
|
018
|
Boolean
|
|
019
|
Boolean
|
|
020
|
Boolean
|
|
021
|
Boolean
|
|
022
|
Boolean
|
|
023
|
Boolean
|
|
024
|
Boolean
|
|
025
|
Boolean
|
|
026
|
Boolean
|
|
027
|
Boolean
|
|
028
|
Boolean
|
|
029
|
Boolean
|
|
030
|
Boolean
|
|
031
|
Boolean
|
|
032
|
Boolean
|
|
033
|
Boolean
|
|
|
m_iHealth
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
|
m_iAccountID
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
|
m_bValid
|
000
|
Boolean
|
|
001
|
Boolean
|
|
002
|
Boolean
|
|
003
|
Boolean
|
|
004
|
Boolean
|
|
005
|
Boolean
|
|
006
|
Boolean
|
|
007
|
Boolean
|
|
008
|
Boolean
|
|
009
|
Boolean
|
|
010
|
Boolean
|
|
011
|
Boolean
|
|
012
|
Boolean
|
|
013
|
Boolean
|
|
014
|
Boolean
|
|
015
|
Boolean
|
|
016
|
Boolean
|
|
017
|
Boolean
|
|
018
|
Boolean
|
|
019
|
Boolean
|
|
020
|
Boolean
|
|
021
|
Boolean
|
|
022
|
Boolean
|
|
023
|
Boolean
|
|
024
|
Boolean
|
|
025
|
Boolean
|
|
026
|
Boolean
|
|
027
|
Boolean
|
|
028
|
Boolean
|
|
029
|
Boolean
|
|
030
|
Boolean
|
|
031
|
Boolean
|
|
032
|
Boolean
|
|
033
|
Boolean
|
|
|
m_iUserID
|
000
|
Integer
|
|
001
|
Integer
|
|
002
|
Integer
|
|
003
|
Integer
|
|
004
|
Integer
|
|
005
|
Integer
|
|
006
|
Integer
|
|
007
|
Integer
|
|
008
|
Integer
|
|
009
|
Integer
|
|
010
|
Integer
|
|
011
|
Integer
|
|
012
|
Integer
|
|
013
|
Integer
|
|
014
|
Integer
|
|
015
|
Integer
|
|
016
|
Integer
|
|
017
|
Integer
|
|
018
|
Integer
|
|
019
|
Integer
|
|
020
|
Integer
|
|
021
|
Integer
|
|
022
|
Integer
|
|
023
|
Integer
|
|
024
|
Integer
|
|
025
|
Integer
|
|
026
|
Integer
|
|
027
|
Integer
|
|
028
|
Integer
|
|
029
|
Integer
|
|
030
|
Integer
|
|
031
|
Integer
|
|
032
|
Integer
|
|
033
|
Integer
|
|
|
CPlayerResource
Name
|
Type
|
Description
|
CPlayerResourceResourceThink
|
|
|