CArtifactFittingSet.h 809 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * CArtifactFittingSet.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "CArtifactSet.h"
  12. #include "../../callback/GameCallbackHolder.h"
  13. VCMI_LIB_NAMESPACE_BEGIN
  14. // Used to try on artifacts before the claimed changes have been applied
  15. class DLL_LINKAGE CArtifactFittingSet : public CArtifactSet, public GameCallbackHolder
  16. {
  17. IGameInfoCallback * getCallback() const final
  18. {
  19. return cb;
  20. }
  21. public:
  22. CArtifactFittingSet(IGameInfoCallback * cb, ArtBearer Bearer);
  23. explicit CArtifactFittingSet(const CArtifactSet & artSet);
  24. ArtBearer bearerType() const override;
  25. protected:
  26. ArtBearer bearer;
  27. };
  28. VCMI_LIB_NAMESPACE_END