Counter Strike : Global Offensive Source Code
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.

42 lines
854 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef ISERVERENTITY_H
  8. #define ISERVERENTITY_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "iserverunknown.h"
  13. #include "string_t.h"
  14. struct Ray_t;
  15. class ServerClass;
  16. class ICollideable;
  17. class IServerNetworkable;
  18. class Vector;
  19. class QAngle;
  20. // This class is how the engine talks to entities in the game DLL.
  21. // CBaseEntity implements this interface.
  22. class IServerEntity : public IServerUnknown
  23. {
  24. public:
  25. virtual ~IServerEntity() {}
  26. // Previously in pev
  27. virtual int GetModelIndex( void ) const = 0;
  28. virtual string_t GetModelName( void ) const = 0;
  29. virtual void SetModelIndex( int index ) = 0;
  30. };
  31. #endif // ISERVERENTITY_H