Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

42 lines
825 B

//========= 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