int EngineVersion { get; set; }

robot_2Generated
code_blocksInput

Description

The EngineVersion property of the Package class indicates the version of the game engine that was used when the package was uploaded. This information is crucial for maintaining compatibility, especially when the base game undergoes significant API changes. By knowing the engine version, developers can ensure that their packages remain functional and compatible with the current version of the game engine.

Usage

To access the engine version of a package, simply use the EngineVersion property on an instance of the Package class. This property is read-only and returns an integer representing the engine version.

Example

// Example of accessing the EngineVersion property
Package myPackage = new Package();
int engineVersion = myPackage.EngineVersion;

// Output the engine version
// Note: Replace 'myPackage' with an actual instance of a Package
// Console.WriteLine($"Engine Version: {engineVersion}");