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.

21 lines
887 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Functions related to quests
  4. //
  5. //=============================================================================
  6. #ifndef ECON_QUESTS
  7. #define ECON_QUESTS
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. //-----------------------------------------------------------------------------
  12. // Purpose: Given a quest item, return if the quest is considered "unidentified"
  13. //-----------------------------------------------------------------------------
  14. bool IsQuestItemUnidentified( const CEconItem* pQuestItem );
  15. bool IsQuestItemReadyToTurnIn( const IEconItemInterface* pQuestItem );
  16. bool IsQuestItemFullyCompleted( const IEconItemInterface* pQuestItem );
  17. uint32 GetEarnedStandardPoints( const IEconItemInterface* pQuestItem );
  18. uint32 GetEarnedBonusPoints( const IEconItemInterface* pQuestItem );
  19. #endif // ECON_QUESTS