CBaseMultiplayerPlayer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Linking to the multiplayer class CPP)
Line 1: Line 1:
{{CD|CBaseMultiplayerPlayer|file1=[https://github.com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/server/basemultiplayerplayer.cpp basemultiplayerplayer.cpp]}}
'''<code>CBaseMultiplayerPlayer</code>''' is a stock C++ class that supports [[response rules]] and [[achievements]], regulates when the player can talk to others, and limits the rate at which he can execute sensitive rate-limited commands. It does ''not'' handle any networking features ([[prediction]], [[lag compensation]], etc).
'''<code>CBaseMultiplayerPlayer</code>''' is a stock C++ class that supports [[response rules]] and [[achievements]], regulates when the player can talk to others, and limits the rate at which he can execute sensitive rate-limited commands. It does ''not'' handle any networking features ([[prediction]], [[lag compensation]], etc).


Since it mentions "escorting the train", it is likely that the class was written for use in [[Team Fortress 2]].
Since it mentions "escorting the train", it is likely that the class was written for use in {{tf2|4}}.


[[Category:Classes|B]]
[[Category:Classes|B]]

Revision as of 08:57, 13 December 2024

C++ Class hierarchy
CBaseMultiplayerPlayer
CBasePlayer
CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
CBaseEntity
C++ basemultiplayerplayer.cpp

CBaseMultiplayerPlayer is a stock C++ class that supports response rules and achievements, regulates when the player can talk to others, and limits the rate at which he can execute sensitive rate-limited commands. It does not handle any networking features (prediction, lag compensation, etc).

Since it mentions "escorting the train", it is likely that the class was written for use in Team Fortress 2 Team Fortress 2.