MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / VersionCache

Class VersionCache

Source/Editor/Editor.cpp:55–62  ·  view source on GitHub ↗

Load version cache file

Source from the content-addressed store, hash-verified

53
54 // Load version cache file
55 struct VersionCache
56 {
57 // When changing this ensure that Flax Launcher properly reads the version
58 int32 Major = FLAXENGINE_VERSION_MAJOR;
59 int32 Minor = FLAXENGINE_VERSION_MINOR;
60 int32 Build = FLAXENGINE_VERSION_BUILD;
61 int32 RealSize = sizeof(Real); // Rebuild when changing between Large Worlds
62 };
63 VersionCache lastVersion;
64 if (FileSystem::FileExists(versionFilePath))
65 {

Callers 1

CheckProjectUpgradeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected