src/ai/api/ai_cargo.hpp
branchnoai
changeset 9529 5f26f4bc574b
parent 9526 a4ad60ba03be
child 9530 5b93bc87cc5e
--- a/src/ai/api/ai_cargo.hpp	Sun Mar 25 15:22:56 2007 +0000
+++ b/src/ai/api/ai_cargo.hpp	Sun Mar 25 16:10:40 2007 +0000
@@ -13,6 +13,11 @@
 class AICargo : public AIObject {
 public:
 	/**
+	 * The name of the class, needed by several sub-processes.
+	 */
+	static const char *GetClassName() { return "AICargo"; }
+
+	/**
 	 * Checks whether the given cargo type is valid.
 	 * @param cargo_type the cargo to check.
 	 * @return true if and only if the cargo type is valid.