Преглед на файлове

Update lib/CCreatureSet.h

Use a better name and add a comment to explain what it does.

Co-authored-by: Ivan Savenko <[email protected]>

Xilmi преди 1 година
родител
ревизия
044dc272c2
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      lib/CCreatureSet.h

+ 2 - 1
lib/CCreatureSet.h

@@ -109,7 +109,8 @@ public:
 	FactionID getFaction() const override;
 
 	virtual ui64 getPower() const;
-	virtual ui64 getCost() const;
+	/// Returns total market value of resources needed to recruit this unit
+	virtual ui64 getMarketValue() const;
 	CCreature::CreatureQuantityId getQuantityID() const;
 	std::string getQuantityTXT(bool capitalized = true) const;
 	virtual int getExpRank() const;