(svn r26894) -Feature: Swap method for script lists

This commit is contained in:
fonsinchen
2014-09-21 16:25:15 +00:00
parent 2128f1e929
commit 1a5b2f0e17
6 changed files with 34 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ void SQGSList_Register(Squirrel *engine)
SQGSList.DefSQMethod(engine, &ScriptList::SetValue, "SetValue", 3, "xii");
SQGSList.DefSQMethod(engine, &ScriptList::Sort, "Sort", 3, "xib");
SQGSList.DefSQMethod(engine, &ScriptList::AddList, "AddList", 2, "xx");
SQGSList.DefSQMethod(engine, &ScriptList::SwapList, "SwapList", 2, "xx");
SQGSList.DefSQMethod(engine, &ScriptList::RemoveAboveValue, "RemoveAboveValue", 2, "xi");
SQGSList.DefSQMethod(engine, &ScriptList::RemoveBelowValue, "RemoveBelowValue", 2, "xi");
SQGSList.DefSQMethod(engine, &ScriptList::RemoveBetweenValue, "RemoveBetweenValue", 3, "xii");