1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-07 09:43:40 +08:00
hl2sdk/game/client/swarm/c_asw_objective_kill_eggs.h
2010-07-22 01:46:14 -05:00

38 lines
979 B
C++

#ifndef _INCLUDED_C_ASW_OBJECTIVE_KILL_EGGS_H
#define _INCLUDED_C_ASW_OBJECTIVE_KILL_EGGS_H
#include "c_asw_objective.h"
class C_ASW_Objective_Kill_Eggs : public C_ASW_Objective
{
public:
DECLARE_CLASS( C_ASW_Objective_Kill_Eggs, C_ASW_Objective );
DECLARE_CLIENTCLASS();
C_ASW_Objective_Kill_Eggs();
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_pKillText;
wchar_t *m_pAlienPluralText;
wchar_t *m_pAlienSingularText;
bool m_bFoundText;
wchar_t m_dest_buffer[64];
int m_iKillsLeft;
private:
C_ASW_Objective_Kill_Eggs( const C_ASW_Objective_Kill_Eggs & ); // not defined, not accessible
};
#endif // _INCLUDED_C_ASW_OBJECTIVE_KILL_EGGS_H