mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-22 17:47:38 +08: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
|