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.
44 lines
1.1 KiB
44 lines
1.1 KiB
5 years ago
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||
|
//
|
||
|
// Purpose:
|
||
|
//
|
||
|
// $NoKeywords: $
|
||
|
//=============================================================================//
|
||
|
|
||
|
#ifndef MOVEHELPER_SERVER_H
|
||
|
#define MOVEHELPER_SERVER_H
|
||
|
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "imovehelper.h"
|
||
|
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Forward declarations
|
||
|
//-----------------------------------------------------------------------------
|
||
|
|
||
|
class CBasePlayer;
|
||
|
class CBaseEntity;
|
||
|
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Implementation of the movehelper on the server
|
||
|
//-----------------------------------------------------------------------------
|
||
|
|
||
|
abstract_class IMoveHelperServer : public IMoveHelper
|
||
|
{
|
||
|
public:
|
||
|
virtual void SetHost( CBasePlayer *host ) = 0;
|
||
|
};
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
|
// Singleton access
|
||
|
//-----------------------------------------------------------------------------
|
||
|
|
||
|
IMoveHelperServer* MoveHelperServer();
|
||
|
|
||
|
|
||
|
#endif // MOVEHELPER_SERVER_H
|