3#ifndef GAME_SERVER_ENTITIES_PROJECTILE_H
4#define GAME_SERVER_ENTITIES_PROJECTILE_H
28 virtual void Reset()
override;
29 virtual void Tick()
override;
31 virtual void Snap(
int SnappingClient)
override;
32 virtual void SwapClients(
int Client1,
int Client2)
override;
Definition: gameworld.h:17
Definition: projectile.h:11
bool FillExtraInfoLegacy(CNetObj_DDRaceProjectile *pProj)
Definition: projectile.cpp:376
bool m_Freeze
Definition: projectile.h:55
virtual int GetOwnerId() const override
Definition: projectile.h:57
int m_Bouncing
Definition: projectile.h:54
vec2 m_Direction
Definition: projectile.h:43
void FillInfo(CNetObj_Projectile *pProj)
Definition: projectile.cpp:294
int m_SoundImpact
Definition: projectile.h:47
int m_Owner
Definition: projectile.h:45
CProjectile(CGameWorld *pGameWorld, int Type, int Owner, vec2 Pos, vec2 Dir, int Span, bool Freeze, bool Explosive, int SoundImpact, int Layer=0, int Number=0)
Definition: projectile.cpp:13
bool m_BelongsToPracticeTeam
Definition: projectile.h:49
void FillExtraInfo(CNetObj_DDNetProjectile *pProj)
Definition: projectile.cpp:409
virtual void TickPaused() override
Definition: projectile.cpp:289
int m_TuneZone
Definition: projectile.h:56
virtual void Reset() override
Definition: projectile.cpp:52
virtual void Snap(int SnappingClient) override
Definition: projectile.cpp:304
void SetBouncing(int Value)
bool m_Explosive
Definition: projectile.h:50
virtual void Tick() override
int m_StartTick
Definition: projectile.h:49
int m_LifeSpan
Definition: projectile.h:44
int m_Type
Definition: projectile.h:46
virtual void SwapClients(int Client1, int Client2) override
Definition: projectile.cpp:364
vec2 m_InitDir
Definition: projectile.h:50
Definition: protocol.h:568
Definition: protocol.h:543
Definition: protocol.h:375