(svn r26305) -Add: [nogo] ScriptStoryPageElementList() - a list of all story page elements for a given page

This commit is contained in:
zuu
2014-02-06 19:41:56 +00:00
parent 14d99c6961
commit 57a88c9de2
15 changed files with 154 additions and 4 deletions

View File

@@ -105,6 +105,13 @@
return StoryPage::Get(story_page_id)->sort_value;
}
/* static */ uint32 ScriptStoryPage::GetPageElementSort(StoryPageElementID story_page_element_id)
{
EnforcePrecondition(false, IsValidStoryPageElement(story_page_element_id));
return StoryPageElement::Get(story_page_element_id)->sort_value;
}
/* static */ bool ScriptStoryPage::SetTitle(StoryPageID story_page_id, Text *title)
{
CCountedPtr<Text> counter(title);