Team Fortress 2 Source Code as on 22/4/2020
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.

43 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef MOVEHELPER_SERVER_H
  8. #define MOVEHELPER_SERVER_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "imovehelper.h"
  13. //-----------------------------------------------------------------------------
  14. // Forward declarations
  15. //-----------------------------------------------------------------------------
  16. class CBasePlayer;
  17. class CBaseEntity;
  18. //-----------------------------------------------------------------------------
  19. // Implementation of the movehelper on the server
  20. //-----------------------------------------------------------------------------
  21. abstract_class IMoveHelperServer : public IMoveHelper
  22. {
  23. public:
  24. virtual void SetHost( CBasePlayer *host ) = 0;
  25. };
  26. //-----------------------------------------------------------------------------
  27. // Singleton access
  28. //-----------------------------------------------------------------------------
  29. IMoveHelperServer* MoveHelperServer();
  30. #endif // MOVEHELPER_SERVER_H