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.

36 lines
809 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Defines a base class for all helper objects. Helper objects are
  4. // subordinate to their entity parents, and provide services such as
  5. // enhanced presentation and manipulation of keyvalues for their parent
  6. // entity.
  7. //
  8. // Like all children, helpers are transformed with their parent.
  9. //
  10. // $NoKeywords: $
  11. //=============================================================================//
  12. #ifndef MAPHELPER_H
  13. #define MAPHELPER_H
  14. #ifdef _WIN32
  15. #pragma once
  16. #endif
  17. #include "MapClass.h"
  18. class CMapHelper : public CMapClass
  19. {
  20. public:
  21. //
  22. // Serialization.
  23. //
  24. virtual bool ShouldSerialize(void) { return(false); }
  25. virtual CMapClass *PrepareSelection(SelectMode_t eSelectMode);
  26. };
  27. #endif // MAPHELPER_H