source-engine/game/client/swarm/c_asw_objective_kill_goo.h
2023-10-03 17:23:56 +03:00

33 lines
829 B
C++

#ifndef _INCLUDED_C_ASW_OBJECTIVE_KILL_GOO_H
#define _INCLUDED_C_ASW_OBJECTIVE_KILL_GOO_H
#include "c_asw_objective.h"
class C_ASW_Objective_Kill_Goo : public C_ASW_Objective
{
public:
DECLARE_CLASS( C_ASW_Objective_Kill_Goo, C_ASW_Objective );
DECLARE_CLIENTCLASS();
C_ASW_Objective_Kill_Goo();
virtual void OnDataChanged(DataUpdateType_t updateType);
virtual const wchar_t* GetObjectiveTitle();
virtual bool NeedsTitleUpdate();
virtual float GetObjectiveProgress();
void FindText();
wchar_t *GetPluralText();
wchar_t *GetSingularText();
CNetworkVar(int, m_iTargetKills);
CNetworkVar(int, m_iCurrentKills);
wchar_t m_dest_buffer[64];
int m_iKillsLeft;
private:
C_ASW_Objective_Kill_Goo( const C_ASW_Objective_Kill_Goo & ); // not defined, not accessible
};
#endif // _INCLUDED_C_ASW_OBJECTIVE_KILL_GOO_H