![]() |
DDNet documentation
|
#include <gamecore.h>
Classes | |
| class | CWeaponStat |
| struct | [struct].m_Ninja |
Public Member Functions | |
| int | HookedPlayer () const |
| void | SetHookedPlayer (int HookedPlayer) |
| void | Init (CWorldCore *pWorld, CCollision *pCollision, CTeamsCore *pTeams=nullptr) |
| void | SetCoreWorld (CWorldCore *pWorld, CCollision *pCollision, CTeamsCore *pTeams) |
| void | Reset () |
| void | TickDeferred () |
| void | Tick (bool UseInput, bool DoDeferredTick=true) |
| void | Move () |
| void | Read (const CNetObj_CharacterCore *pObjCore) |
| void | Write (CNetObj_CharacterCore *pObjCore) const |
| void | Quantize () |
| CCollision * | Collision () |
| void | SetTeamsCore (CTeamsCore *pTeams) |
| void | ReadDDNet (const CNetObj_DDNetCharacter *pObjDDNet) |
| void | SetAntiPingInterfereCallback (FAntiPingInterfereCallback Callback) |
Static Public Member Functions | |
| static constexpr float | PhysicalSize () |
| static constexpr vec2 | PhysicalSizeVec2 () |
Public Attributes | |
| vec2 | m_Pos |
| vec2 | m_Vel |
| vec2 | m_HookPos |
| vec2 | m_HookDir |
| vec2 | m_HookTeleBase |
| int | m_HookTick |
| int | m_HookState |
| std::set< int > | m_AttachedPlayers |
| int | m_ActiveWeapon |
| class CCharacterCore::CWeaponStat | m_aWeapons [NUM_WEAPONS] |
| struct | m_Ninja |
| bool | m_NewHook |
| int | m_Jumped |
| int | m_JumpedTotal |
| int | m_Jumps |
| int | m_Direction |
| int | m_Angle |
| CNetObj_PlayerInput | m_Input |
| int | m_TriggeredEvents |
| int | m_Id |
| bool | m_Reset |
| int | m_Colliding |
| bool | m_LeftWall |
| bool | m_Solo |
| bool | m_Jetpack |
| bool | m_CollisionDisabled |
| bool | m_EndlessHook |
| bool | m_EndlessJump |
| bool | m_HammerHitDisabled |
| bool | m_GrenadeHitDisabled |
| bool | m_LaserHitDisabled |
| bool | m_ShotgunHitDisabled |
| bool | m_HookHitDisabled |
| bool | m_Super |
| bool | m_Invincible |
| bool | m_HasTelegunGun |
| bool | m_HasTelegunGrenade |
| bool | m_HasTelegunLaser |
| int | m_FreezeStart |
| int | m_FreezeEnd |
| bool | m_IsInFreeze |
| bool | m_DeepFrozen |
| bool | m_LiveFrozen |
| CTuningParams | m_Tuning |
Static Private Member Functions | |
| static bool | IsSwitchActiveCb (unsigned char Number, void *pUser) |
Private Attributes | |
| CWorldCore * | m_pWorld = nullptr |
| CCollision * | m_pCollision |
| CTeamsCore * | m_pTeams |
| int | m_MoveRestrictions |
| int | m_HookedPlayer |
| FAntiPingInterfereCallback | m_AntiPingInterfereCallback = [](int ClientId, bool DisallowReset) {} |
|
inline |
|
inline |
| void CCharacterCore::Init | ( | CWorldCore * | pWorld, |
| CCollision * | pCollision, | ||
| CTeamsCore * | pTeams = nullptr ) |
|
staticprivate |
| void CCharacterCore::Move | ( | ) |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
| void CCharacterCore::Quantize | ( | ) |
| void CCharacterCore::Read | ( | const CNetObj_CharacterCore * | pObjCore | ) |
| void CCharacterCore::ReadDDNet | ( | const CNetObj_DDNetCharacter * | pObjDDNet | ) |
| void CCharacterCore::Reset | ( | ) |
| void CCharacterCore::SetAntiPingInterfereCallback | ( | FAntiPingInterfereCallback | Callback | ) |
| void CCharacterCore::SetCoreWorld | ( | CWorldCore * | pWorld, |
| CCollision * | pCollision, | ||
| CTeamsCore * | pTeams ) |
| void CCharacterCore::SetHookedPlayer | ( | int | HookedPlayer | ) |
| void CCharacterCore::SetTeamsCore | ( | CTeamsCore * | pTeams | ) |
| void CCharacterCore::Tick | ( | bool | UseInput, |
| bool | DoDeferredTick = true ) |
| void CCharacterCore::TickDeferred | ( | ) |
| void CCharacterCore::Write | ( | CNetObj_CharacterCore * | pObjCore | ) | const |
| int CCharacterCore::m_ActiveWeapon |
| int CCharacterCore::m_Angle |
|
private |
| std::set<int> CCharacterCore::m_AttachedPlayers |
| class CCharacterCore::CWeaponStat CCharacterCore::m_aWeapons[NUM_WEAPONS] |
| int CCharacterCore::m_Colliding |
| bool CCharacterCore::m_CollisionDisabled |
| bool CCharacterCore::m_DeepFrozen |
| int CCharacterCore::m_Direction |
| bool CCharacterCore::m_EndlessHook |
| bool CCharacterCore::m_EndlessJump |
| int CCharacterCore::m_FreezeEnd |
| int CCharacterCore::m_FreezeStart |
| bool CCharacterCore::m_GrenadeHitDisabled |
| bool CCharacterCore::m_HammerHitDisabled |
| bool CCharacterCore::m_HasTelegunGrenade |
| bool CCharacterCore::m_HasTelegunGun |
| bool CCharacterCore::m_HasTelegunLaser |
| vec2 CCharacterCore::m_HookDir |
|
private |
| bool CCharacterCore::m_HookHitDisabled |
| vec2 CCharacterCore::m_HookPos |
| int CCharacterCore::m_HookState |
| vec2 CCharacterCore::m_HookTeleBase |
| int CCharacterCore::m_HookTick |
| int CCharacterCore::m_Id |
| CNetObj_PlayerInput CCharacterCore::m_Input |
| bool CCharacterCore::m_Invincible |
| bool CCharacterCore::m_IsInFreeze |
| bool CCharacterCore::m_Jetpack |
| int CCharacterCore::m_Jumped |
| int CCharacterCore::m_JumpedTotal |
| int CCharacterCore::m_Jumps |
| bool CCharacterCore::m_LaserHitDisabled |
| bool CCharacterCore::m_LeftWall |
| bool CCharacterCore::m_LiveFrozen |
|
private |
| bool CCharacterCore::m_NewHook |
| struct CCharacterCore::[struct].m_Ninja CCharacterCore::m_Ninja |
|
private |
| vec2 CCharacterCore::m_Pos |
|
private |
|
private |
| bool CCharacterCore::m_Reset |
| bool CCharacterCore::m_ShotgunHitDisabled |
| bool CCharacterCore::m_Solo |
| bool CCharacterCore::m_Super |
| int CCharacterCore::m_TriggeredEvents |
| CTuningParams CCharacterCore::m_Tuning |
| vec2 CCharacterCore::m_Vel |