forked from rosebudai/OpenRCT2-Web
Merge pull request #11685 from IntelOrca/plugin/listview-widget
[Plugin] Implement the list view widget
This commit is contained in:
13 files changed
+1416
-48
No files matched your search
@@ -1140,6 +1140,13 @@ std::string OpenRCT2::Scripting::Stringify(const DukValue& val)
|
||||
return ExpressionStringifier::StringifyExpression(val);
|
||||
}
|
||||
|
||||
std::string OpenRCT2::Scripting::ProcessString(const DukValue& value)
|
||||
{
|
||||
if (value.type() == DukValue::Type::STRING)
|
||||
return language_convert_string(value.as_string());
|
||||
return {};
|
||||
}
|
||||
|
||||
bool OpenRCT2::Scripting::IsGameStateMutable()
|
||||
{
|
||||
// Allow single player to alter game state anywhere
|
||||
|
||||
Reference in new issue
Block a user