DDraceNetwork Docs
CSaveTee Class Reference

#include <save.h>

Collaboration diagram for CSaveTee:
[legend]

Classes

struct  WeaponStat
 

Public Types

enum  {
  HIT_ALL = 0 , HAMMER_HIT_DISABLED = 1 , SHOTGUN_HIT_DISABLED = 2 , GRENADE_HIT_DISABLED = 4 ,
  LASER_HIT_DISABLED = 8
}
 

Public Member Functions

 CSaveTee ()
 
 ~CSaveTee ()=default
 
void Save (CCharacter *pchr, bool AddPenalty=true)
 
bool Load (CCharacter *pchr, int Team, bool IsSwap=false)
 
char * GetString (const CSaveTeam *pTeam)
 
int FromString (const char *pString)
 
void LoadHookedPlayer (const CSaveTeam *pTeam)
 
bool IsHooking () const
 
vec2 GetPos () const
 
const char * GetName () const
 
int GetClientId () const
 
void SetClientId (int ClientId)
 

Private Attributes

int m_ClientId
 
char m_aString [2048]
 
char m_aName [16]
 
int m_Alive
 
int m_Paused
 
int m_NeededFaketuning
 
int m_TeeStarted
 
int m_TeeFinished
 
int m_IsSolo
 
struct CSaveTee::WeaponStat m_aWeapons [NUM_WEAPONS]
 
struct {
   vec2   m_ActivationDir
 
   int   m_ActivationTick
 
   int   m_CurrentMoveTime
 
   int   m_OldVelAmount
 
m_Ninja
 
int m_LastWeapon
 
int m_QueuedWeapon
 
int m_EndlessJump
 
int m_Jetpack
 
int m_NinjaJetpack
 
int m_FreezeTime
 
int m_FreezeStart
 
int m_DeepFrozen
 
int m_LiveFrozen
 
int m_EndlessHook
 
int m_DDRaceState
 
int m_HitDisabledFlags
 
int m_CollisionEnabled
 
int m_TuneZone
 
int m_TuneZoneOld
 
int m_HookHitEnabled
 
int m_Time
 
vec2 m_Pos
 
vec2 m_PrevPos
 
int m_TeleCheckpoint
 
int m_LastPenalty
 
int m_TimeCpBroadcastEndTime
 
int m_LastTimeCp
 
int m_LastTimeCpBroadcasted
 
float m_aCurrentTimeCp [MAX_CHECKPOINTS]
 
int m_NotEligibleForFinish
 
int m_HasTelegunGun
 
int m_HasTelegunGrenade
 
int m_HasTelegunLaser
 
vec2 m_CorePos
 
vec2 m_Vel
 
int m_ActiveWeapon
 
int m_Jumped
 
int m_JumpedTotal
 
int m_Jumps
 
vec2 m_HookPos
 
vec2 m_HookDir
 
vec2 m_HookTeleBase
 
int m_HookTick
 
int m_HookState
 
int m_HookedPlayer
 
int m_NewHook
 
int m_InputDirection
 
int m_InputJump
 
int m_InputFire
 
int m_InputHook
 
int m_ReloadTimer
 
char m_aGameUuid [UUID_MAXSTRSIZE]
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
HIT_ALL 
HAMMER_HIT_DISABLED 
SHOTGUN_HIT_DISABLED 
GRENADE_HIT_DISABLED 
LASER_HIT_DISABLED 

Constructor & Destructor Documentation

◆ CSaveTee()

CSaveTee::CSaveTee ( )
default

◆ ~CSaveTee()

CSaveTee::~CSaveTee ( )
default

Member Function Documentation

◆ FromString()

int CSaveTee::FromString ( const char *  pString)

◆ GetClientId()

int CSaveTee::GetClientId ( ) const
inline

◆ GetName()

const char * CSaveTee::GetName ( ) const
inline

◆ GetPos()

vec2 CSaveTee::GetPos ( ) const
inline

◆ GetString()

char * CSaveTee::GetString ( const CSaveTeam pTeam)

◆ IsHooking()

bool CSaveTee::IsHooking ( ) const

◆ Load()

bool CSaveTee::Load ( CCharacter pchr,
int  Team,
bool  IsSwap = false 
)

◆ LoadHookedPlayer()

void CSaveTee::LoadHookedPlayer ( const CSaveTeam pTeam)

◆ Save()

void CSaveTee::Save ( CCharacter pchr,
bool  AddPenalty = true 
)

◆ SetClientId()

void CSaveTee::SetClientId ( int  ClientId)
inline

Member Data Documentation

◆ m_ActivationDir

vec2 CSaveTee::m_ActivationDir

◆ m_ActivationTick

int CSaveTee::m_ActivationTick

◆ m_ActiveWeapon

int CSaveTee::m_ActiveWeapon
private

◆ m_aCurrentTimeCp

float CSaveTee::m_aCurrentTimeCp[MAX_CHECKPOINTS]
private

◆ m_aGameUuid

char CSaveTee::m_aGameUuid[UUID_MAXSTRSIZE]
private

◆ m_Alive

int CSaveTee::m_Alive
private

◆ m_aName

char CSaveTee::m_aName[16]
private

◆ m_aString

char CSaveTee::m_aString[2048]
private

◆ m_aWeapons

struct CSaveTee::WeaponStat CSaveTee::m_aWeapons[NUM_WEAPONS]
private

◆ m_ClientId

int CSaveTee::m_ClientId
private

◆ m_CollisionEnabled

int CSaveTee::m_CollisionEnabled
private

◆ m_CorePos

vec2 CSaveTee::m_CorePos
private

◆ m_CurrentMoveTime

int CSaveTee::m_CurrentMoveTime

◆ m_DDRaceState

int CSaveTee::m_DDRaceState
private

◆ m_DeepFrozen

int CSaveTee::m_DeepFrozen
private

◆ m_EndlessHook

int CSaveTee::m_EndlessHook
private

◆ m_EndlessJump

int CSaveTee::m_EndlessJump
private

◆ m_FreezeStart

int CSaveTee::m_FreezeStart
private

◆ m_FreezeTime

int CSaveTee::m_FreezeTime
private

◆ m_HasTelegunGrenade

int CSaveTee::m_HasTelegunGrenade
private

◆ m_HasTelegunGun

int CSaveTee::m_HasTelegunGun
private

◆ m_HasTelegunLaser

int CSaveTee::m_HasTelegunLaser
private

◆ m_HitDisabledFlags

int CSaveTee::m_HitDisabledFlags
private

◆ m_HookDir

vec2 CSaveTee::m_HookDir
private

◆ m_HookedPlayer

int CSaveTee::m_HookedPlayer
private

◆ m_HookHitEnabled

int CSaveTee::m_HookHitEnabled
private

◆ m_HookPos

vec2 CSaveTee::m_HookPos
private

◆ m_HookState

int CSaveTee::m_HookState
private

◆ m_HookTeleBase

vec2 CSaveTee::m_HookTeleBase
private

◆ m_HookTick

int CSaveTee::m_HookTick
private

◆ m_InputDirection

int CSaveTee::m_InputDirection
private

◆ m_InputFire

int CSaveTee::m_InputFire
private

◆ m_InputHook

int CSaveTee::m_InputHook
private

◆ m_InputJump

int CSaveTee::m_InputJump
private

◆ m_IsSolo

int CSaveTee::m_IsSolo
private

◆ m_Jetpack

int CSaveTee::m_Jetpack
private

◆ m_Jumped

int CSaveTee::m_Jumped
private

◆ m_JumpedTotal

int CSaveTee::m_JumpedTotal
private

◆ m_Jumps

int CSaveTee::m_Jumps
private

◆ m_LastPenalty

int CSaveTee::m_LastPenalty
private

◆ m_LastTimeCp

int CSaveTee::m_LastTimeCp
private

◆ m_LastTimeCpBroadcasted

int CSaveTee::m_LastTimeCpBroadcasted
private

◆ m_LastWeapon

int CSaveTee::m_LastWeapon
private

◆ m_LiveFrozen

int CSaveTee::m_LiveFrozen
private

◆ m_NeededFaketuning

int CSaveTee::m_NeededFaketuning
private

◆ m_NewHook

int CSaveTee::m_NewHook
private

◆ 

struct { ... } CSaveTee::m_Ninja

◆ m_NinjaJetpack

int CSaveTee::m_NinjaJetpack
private

◆ m_NotEligibleForFinish

int CSaveTee::m_NotEligibleForFinish
private

◆ m_OldVelAmount

int CSaveTee::m_OldVelAmount

◆ m_Paused

int CSaveTee::m_Paused
private

◆ m_Pos

vec2 CSaveTee::m_Pos
private

◆ m_PrevPos

vec2 CSaveTee::m_PrevPos
private

◆ m_QueuedWeapon

int CSaveTee::m_QueuedWeapon
private

◆ m_ReloadTimer

int CSaveTee::m_ReloadTimer
private

◆ m_TeeFinished

int CSaveTee::m_TeeFinished
private

◆ m_TeeStarted

int CSaveTee::m_TeeStarted
private

◆ m_TeleCheckpoint

int CSaveTee::m_TeleCheckpoint
private

◆ m_Time

int CSaveTee::m_Time
private

◆ m_TimeCpBroadcastEndTime

int CSaveTee::m_TimeCpBroadcastEndTime
private

◆ m_TuneZone

int CSaveTee::m_TuneZone
private

◆ m_TuneZoneOld

int CSaveTee::m_TuneZoneOld
private

◆ m_Vel

vec2 CSaveTee::m_Vel
private

The documentation for this class was generated from the following files: