1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
hl2sdk/dlls/movehelper_server.h

44 lines
1.1 KiB
C++

//========= Copyright © 1996-2005, 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