Add version to game settings
This commit is contained in:
@@ -221,6 +221,7 @@ void GameSettings::Deserialize(DeserializeStream& stream, ISerializeModifier* mo
|
||||
ProductName = JsonTools::GetString(stream, "ProductName");
|
||||
CompanyName = JsonTools::GetString(stream, "CompanyName");
|
||||
CopyrightNotice = JsonTools::GetString(stream, "CopyrightNotice");
|
||||
Version = JsonTools::GetString(stream, "Version");
|
||||
Icon = JsonTools::GetGuid(stream, "Icon");
|
||||
FirstScene = JsonTools::GetGuid(stream, "FirstScene");
|
||||
NoSplashScreen = JsonTools::GetBool(stream, "NoSplashScreen", NoSplashScreen);
|
||||
|
||||
@@ -33,6 +33,12 @@ public:
|
||||
API_FIELD(Attributes="EditorOrder(15), EditorDisplay(\"General\")")
|
||||
String CopyrightNotice;
|
||||
|
||||
/// <summary>
|
||||
/// The game version number. Usually in format: MAJOR.MINOR.BUILD.REVISION
|
||||
/// </summary>
|
||||
API_FIELD(Attributes="EditorOrder(20), EditorDisplay(\"General\")")
|
||||
String Version;
|
||||
|
||||
/// <summary>
|
||||
/// The default application icon.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user