#include <player.h>
◆ anonymous enum
Enumerator |
---|
PAUSE_NONE | |
PAUSE_PAUSED | |
PAUSE_SPEC | |
◆ anonymous enum
Enumerator |
---|
TIMERTYPE_DEFAULT | |
TIMERTYPE_GAMETIMER | |
TIMERTYPE_BROADCAST | |
TIMERTYPE_GAMETIMER_AND_BROADCAST | |
TIMERTYPE_SIXUP | |
TIMERTYPE_NONE | |
◆ CPlayer()
CPlayer::CPlayer |
( |
CGameContext * |
pGameServer, |
|
|
uint32_t |
UniqueClientId, |
|
|
int |
ClientId, |
|
|
int |
Team |
|
) |
| |
◆ ~CPlayer()
◆ AfkTimer()
void CPlayer::AfkTimer |
( |
| ) |
|
◆ CanOverrideDefaultEmote()
bool CPlayer::CanOverrideDefaultEmote |
( |
| ) |
const |
◆ CanSpec()
bool CPlayer::CanSpec |
( |
| ) |
const |
◆ FakeSnap()
void CPlayer::FakeSnap |
( |
| ) |
|
◆ ForcePause()
int CPlayer::ForcePause |
( |
int |
Time | ) |
|
◆ ForceSpawn()
◆ GameServer()
◆ GetCharacter() [1/2]
◆ GetCharacter() [2/2]
const CCharacter * CPlayer::GetCharacter |
( |
| ) |
const |
◆ GetCid()
int CPlayer::GetCid |
( |
| ) |
const |
|
inline |
◆ GetClientVersion()
int CPlayer::GetClientVersion |
( |
| ) |
const |
◆ GetDefaultEmote()
int CPlayer::GetDefaultEmote |
( |
| ) |
const |
◆ GetTeam()
int CPlayer::GetTeam |
( |
| ) |
const |
|
inline |
◆ GetUniqueCid()
uint32_t CPlayer::GetUniqueCid |
( |
| ) |
const |
|
inline |
◆ IsAfk()
bool CPlayer::IsAfk |
( |
| ) |
const |
|
inline |
◆ IsPaused()
int CPlayer::IsPaused |
( |
| ) |
const |
◆ IsPlaying()
bool CPlayer::IsPlaying |
( |
| ) |
const |
◆ KillCharacter()
void CPlayer::KillCharacter |
( |
int |
Weapon = WEAPON_GAME , |
|
|
bool |
SendKillMsg = true |
|
) |
| |
◆ OnDirectInput()
◆ OnDisconnect()
void CPlayer::OnDisconnect |
( |
| ) |
|
◆ OnPredictedEarlyInput()
◆ OnPredictedInput()
◆ OverrideDefaultEmote()
void CPlayer::OverrideDefaultEmote |
( |
int |
Emote, |
|
|
int |
Tick |
|
) |
| |
◆ Pause()
int CPlayer::Pause |
( |
int |
State, |
|
|
bool |
Force |
|
) |
| |
◆ PostPostTick()
void CPlayer::PostPostTick |
( |
| ) |
|
◆ PostTick()
void CPlayer::PostTick |
( |
| ) |
|
◆ ProcessPause()
void CPlayer::ProcessPause |
( |
| ) |
|
◆ ProcessScoreResult()
◆ Reset()
◆ Respawn()
void CPlayer::Respawn |
( |
bool |
WeakHook = false | ) |
|
◆ Server()
IServer * CPlayer::Server |
( |
| ) |
const |
|
private |
◆ SetAfk()
void CPlayer::SetAfk |
( |
bool |
Afk | ) |
|
◆ SetInitialAfk()
void CPlayer::SetInitialAfk |
( |
bool |
Afk | ) |
|
◆ SetTeam()
void CPlayer::SetTeam |
( |
int |
Team, |
|
|
bool |
DoChatMsg = true |
|
) |
| |
◆ SetTimerType()
bool CPlayer::SetTimerType |
( |
int |
TimerType | ) |
|
◆ Snap()
void CPlayer::Snap |
( |
int |
SnappingClient | ) |
|
◆ SpectatePlayerName()
void CPlayer::SpectatePlayerName |
( |
const char * |
pName | ) |
|
◆ Tick()
◆ TryRespawn()
void CPlayer::TryRespawn |
( |
| ) |
|
◆ UpdatePlaytime()
void CPlayer::UpdatePlaytime |
( |
| ) |
|
◆ m_Accum
◆ m_AccumMax
◆ m_AccumMin
◆ m_aCurLatency
◆ m_Afk
◆ m_aLastCommands
int CPlayer::m_aLastCommands[4] |
◆ m_aTimeoutCode
char CPlayer::m_aTimeoutCode[64] |
◆ m_Avg
◆ m_BirthdayAnnounced
bool CPlayer::m_BirthdayAnnounced |
◆ m_ChatScore
◆ m_ClientId
◆ m_DefEmote
◆ m_DieTick
◆ m_DND
◆ m_EligibleForFinishCheck
int64_t CPlayer::m_EligibleForFinishCheck |
◆ m_EyeEmoteEnabled
bool CPlayer::m_EyeEmoteEnabled |
◆ m_FirstPacket
bool CPlayer::m_FirstPacket |
◆ m_FirstVoteTick
int64_t CPlayer::m_FirstVoteTick |
◆ m_ForceBalanced
bool CPlayer::m_ForceBalanced |
◆ m_ForcePauseTime
int64_t CPlayer::m_ForcePauseTime |
|
private |
◆ m_Halloween
bool CPlayer::m_Halloween |
|
private |
◆ m_IsReady
◆ m_JoinTick
◆ m_Last_KickVote
int64_t CPlayer::m_Last_KickVote |
◆ m_Last_Team
int64_t CPlayer::m_Last_Team |
◆ m_LastActionTick
int CPlayer::m_LastActionTick |
◆ m_LastBroadcast
int64_t CPlayer::m_LastBroadcast |
◆ m_LastBroadcastImportance
bool CPlayer::m_LastBroadcastImportance |
◆ m_LastChangeInfo
int CPlayer::m_LastChangeInfo |
◆ m_LastChat
◆ m_LastCommandPos
int CPlayer::m_LastCommandPos |
◆ m_LastEmote
◆ m_LastEmoteGlobal
int CPlayer::m_LastEmoteGlobal |
◆ m_LastEyeEmote
int64_t CPlayer::m_LastEyeEmote |
◆ m_LastInvited
int CPlayer::m_LastInvited |
◆ m_LastKill
◆ m_LastPause
int64_t CPlayer::m_LastPause |
|
private |
◆ m_LastPlaytime
int64_t CPlayer::m_LastPlaytime |
◆ m_LastSetSpectatorMode
int CPlayer::m_LastSetSpectatorMode |
◆ m_LastSetTeam
int CPlayer::m_LastSetTeam |
◆ m_LastSqlQuery
int64_t CPlayer::m_LastSqlQuery |
◆ m_LastTargetInit
bool CPlayer::m_LastTargetInit |
◆ m_LastTeleTee
◆ m_LastVoteCall
int CPlayer::m_LastVoteCall |
◆ m_LastVoteTry
int CPlayer::m_LastVoteTry |
◆ m_LastWhisperTo
int CPlayer::m_LastWhisperTo |
struct { ... } CPlayer::m_Latency |
◆ m_Max
◆ m_Min
◆ m_Moderating
bool CPlayer::m_Moderating |
◆ m_NinjaJetpack
bool CPlayer::m_NinjaJetpack |
◆ m_NotEligibleForFinish
bool CPlayer::m_NotEligibleForFinish |
◆ m_NumInputs
◆ m_OverrideEmote
int CPlayer::m_OverrideEmote |
|
private |
◆ m_OverrideEmoteReset
int CPlayer::m_OverrideEmoteReset |
|
private |
◆ m_Paused
◆ m_pCharacter
◆ m_pGameServer
◆ m_pLastTarget
◆ m_PlayerFlags
int CPlayer::m_PlayerFlags |
◆ m_PreviousDieTick
int CPlayer::m_PreviousDieTick |
◆ m_RescueMode
int CPlayer::m_RescueMode |
◆ m_Score
std::optional<int> CPlayer::m_Score |
◆ m_ScoreFinishResult
◆ m_ScoreQueryResult
◆ m_SendVoteIndex
int CPlayer::m_SendVoteIndex |
◆ m_SentSnaps
int CPlayer::m_SentSnaps = 0 |
◆ m_ShowAll
◆ m_ShowDistance
vec2 CPlayer::m_ShowDistance |
◆ m_ShowOthers
int CPlayer::m_ShowOthers |
◆ m_Spawning
◆ m_SpectatorId
int CPlayer::m_SpectatorId |
◆ m_SpecTeam
◆ m_SwapTargetsClientId
int CPlayer::m_SwapTargetsClientId |
◆ m_Team
◆ m_TeamChangeTick
int CPlayer::m_TeamChangeTick |
◆ m_TeeInfos
◆ m_TimerType
◆ m_TuneZone
◆ m_TuneZoneOld
int CPlayer::m_TuneZoneOld |
◆ m_UniqueClientId
const uint32_t CPlayer::m_UniqueClientId |
|
private |
◆ m_ViewPos
◆ m_Vote
◆ m_VotedForPractice
bool CPlayer::m_VotedForPractice |
◆ m_VotePos
◆ m_WeakHookSpawn
bool CPlayer::m_WeakHookSpawn |
|
private |
◆ m_Whispers
The documentation for this class was generated from the following files: