From 3ada3b9cc5b63a593c2b2655aafedbcbdedcd041 Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 21:03:17 +0000 Subject: (svn r23630) -Add: a Goal GUI to show your current goals --- src/script/api/script_object.hpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/script/api/script_object.hpp') diff --git a/src/script/api/script_object.hpp b/src/script/api/script_object.hpp index d12f006ee..86bdbf8df 100644 --- a/src/script/api/script_object.hpp +++ b/src/script/api/script_object.hpp @@ -160,6 +160,11 @@ protected: */ static GroupID GetNewGroupID(); + /** + * Get the latest stored new_goal_id. + */ + static GoalID GetNewGoalID(); + /** * Store a allow_do_command per company. * @param allow The new allow. @@ -228,6 +233,12 @@ private: * @param group_id The new GroupID. */ static void SetNewGroupID(GroupID group_id); + + /** + * Store a new_goal_id per company. + * @param goal_id The new GoalID. + */ + static void SetNewGoalID(GoalID goal_id); }; #endif /* SCRIPT_OBJECT_HPP */ -- cgit v1.2.3-54-g00ecf