فهرست منبع

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;