Golden statue: Getters for editor actions

install-platforms
Mark 2017-08-12 10:58:08 +02:00
parent e4912b9fda
commit 5eaa5703a0
1 changed files with 13 additions and 0 deletions

View File

@ -38,6 +38,7 @@ public func Definition(proplist type)
Name = "$ChoosePose$",
EditorHelp = "$ChoosePoseHelp$",
Options = [],
AsyncGet = "GetAction",
Set = "SetAction",
};
}
@ -63,6 +64,7 @@ public func Definition(proplist type)
Name = "$ChooseItemLeft$",
EditorHelp = "$ChooseItemHelp$",
Options = [],
AsyncGet = "EditorGetItemLeft",
Set = "EditorSetItemLeft",
};
}
@ -74,6 +76,7 @@ public func Definition(proplist type)
Name = "$ChooseItemRight$",
EditorHelp = "$ChooseItemHelp$",
Options = [],
AsyncGet = "EditorGetItemRight",
Set = "EditorSetItemRight",
};
}
@ -152,6 +155,16 @@ private func EditorSetItem(proplist item_info, string parent_bone, proplist save
save_settings.Choice = item_info;
}
private func EditorGetItemLeft()
{
return this.EditorProps.IdolItemL.Choice;
}
private func EditorGetItemRight()
{
return this.EditorProps.IdolItemR.Choice;
}
/*-- Scenario saving --*/