Explorar el Código

Add description for modAssessment* functions

MichalZr6 hace 6 meses
padre
commit
8395557638
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      mapeditor/mapcontroller.h

+ 4 - 1
mapeditor/mapcontroller.h

@@ -71,7 +71,10 @@ public:
 	/// If the mod is missing, prompts the user to add it. Returns false if the user declines,
 	/// making the object invalid for placement.
 	bool checkRequiredMods(const CGObjectInstance * obj, QString & error) const;
-	
+
+	/// These functions collect mod verification data for gameplay objects by scanning map objects
+	/// and their nested elements (like spells and artifacts). The gathered information
+	/// is used to assess compatibility and integrity of mods used in a given map or game state
 	static void modAssessmentObject(const CGObjectInstance * obj, ModCompatibilityInfo & result);
 	static ModCompatibilityInfo modAssessmentAll();
 	static ModCompatibilityInfo modAssessmentMap(const CMap & map);