source-engine/game/server/tf2/order_repair.h

43 lines
825 B
C
Raw Normal View History

2020-04-22 16:56:21 +00:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef ORDER_REPAIR_H
#define ORDER_REPAIR_H
#ifdef _WIN32
#pragma once
#endif
#include "orders.h"
class CPlayerClass;
class CPlayerClassDefender;
class COrderRepair : public COrder
{
public:
DECLARE_CLASS( COrderRepair, COrder );
DECLARE_SERVERCLASS();
// Create an order for the defender to fix friendly objects.
static bool CreateOrder_RepairFriendlyObjects( CPlayerClassDefender *pClass );
// Create an order for anyone to repair their own objects.
static bool CreateOrder_RepairOwnObjects( CPlayerClass *pClass );
// COrder overrides.
public:
virtual bool Update( void );
};
#endif // ORDER_REPAIR_H