Drag[en]gine Script Module DragonScript
1.23
|
Features supported by a ServiceMods instance. More...
Public Member Functions | |
ServiceModsFeatures | new () |
Create new instance of class ServiceModsFeatures. More... | |
Public Attributes | |
bool | canRateMods |
User can submit and revoke ratings for modifications. More... | |
bool | canReportMods |
Reporting modifications is supported. More... | |
String | currency |
Monetization currency name. More... | |
bool | hasMarketplace |
Monetization is supported using marketplace or store functionality. More... | |
int | modRatingCount |
Count of rating types. More... | |
String | name |
Display name for example for use in UI elements. More... | |
Features supported by a ServiceMods instance.
ServiceModsFeatures Dragengine.Services.Mods.ServiceModsFeatures.new | ( | ) |
Create new instance of class ServiceModsFeatures.
bool Dragengine.Services.Mods.ServiceModsFeatures.canRateMods |
User can submit and revoke ratings for modifications.
If false and modRatingCount is not 0 ratings will be shown but the user is not able to submit or revoke ratings.
bool Dragengine.Services.Mods.ServiceModsFeatures.canReportMods |
Reporting modifications is supported.
String Dragengine.Services.Mods.ServiceModsFeatures.currency |
Monetization currency name.
If hasMarketplace is true contains the currency name which can be a real currency code or a virtual currency name.
bool Dragengine.Services.Mods.ServiceModsFeatures.hasMarketplace |
Monetization is supported using marketplace or store functionality.
If true paid modifications can be purchased by the used.
int Dragengine.Services.Mods.ServiceModsFeatures.modRatingCount |
Count of rating types.
Mod rating ranges from 0 to modRatingCount inclusive. The UI widget is choosen to represent ratings.
For a rating count of 2 a thumbs up/down type widget is used to represent 'positive' and 'negative' ratings.
For a rating count of 3 a thumbs up/down/neutral type widget is used to represent 'positive', 'negative' and 'neutral' ratings.
For a rating count greater than 3 either a star or bar type widget is used. The count of shown stars is one less than the rating count. Hence a rating count of 5 shows 4 stars which can be all disabled which is the rating 0.
With a rating count of 0 the service does not support rating modifications.
String Dragengine.Services.Mods.ServiceModsFeatures.name |
Display name for example for use in UI elements.