summaryrefslogtreecommitdiff
path: root/src/script/api/script_list.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/script/api/script_list.hpp')
-rw-r--r--src/script/api/script_list.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/script/api/script_list.hpp b/src/script/api/script_list.hpp
index e6f4d137d..4e844e1c9 100644
--- a/src/script/api/script_list.hpp
+++ b/src/script/api/script_list.hpp
@@ -153,6 +153,12 @@ public:
void AddList(ScriptList *list);
/**
+ * Swap the contents of two lists.
+ * @param list The list that will be swapped with.
+ */
+ void SwapList(ScriptList *list);
+
+ /**
* Removes all items with a higher value than 'value'.
* @param value the value above which all items are removed.
*/