This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
2020-08-04 13:13:01 -04:00

42 lines
989 B
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//
//=============================================================================//
#if !defined EVENTLOG_H
#define EVENTLOG_H
#ifdef _WIN32
#pragma once
#endif
#include <igamesystem.h>
#include "GameEventListener.h"
class CEventLog : public CGameEventListener, public CBaseGameSystem {
public:
CEventLog();
virtual ~CEventLog();
public: // IGameEventListener Interface
virtual void FireGameEvent(IGameEvent* event);
public: // CBaseGameSystem overrides
virtual bool Init();
virtual void Shutdown();
protected:
virtual bool PrintEvent(IGameEvent* event);
virtual bool PrintGameEvent(IGameEvent* event);
virtual bool PrintPlayerEvent(IGameEvent* event);
virtual bool PrintTeamEvent(IGameEvent* event);
virtual bool PrintOtherEvent(IGameEvent* event);
};
extern IGameSystem* GameLogSystem();
#endif // EVENTLOG_H