Lua ConstEngine

From Spring
Revision as of 23:10, 28 February 2021 by Master-athmos (talk | contribs) (Updated page with new anchorable templates)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Development < Lua Scripting < Lua ConstEngine

Engine

string Engine.version

Returns the same as `spring --sync-version`, e.g. "92"


string Engine.versionFull


string Engine.versionPatchSet


string Engine.buildFlags

(unsynced only) Gets additional engine buildflags, e.g. "OMP" or "MT-Sim DEBUG"


number Engine.wordSize

indicates the build type and is either 32 or 64 (or 0 in synced code)