mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
44 lines
1.1 KiB
C++
44 lines
1.1 KiB
C++
//========= 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
|