Lua ConstEngine: Difference between revisions
From FIGHTORDER
More actions
imported>Flozi 104.0 - add Engine global tables |
imported>Flozi m →Engine |
||
| Line 8: | Line 8: | ||
string '''Engine.versionPatchSet''' | string '''Engine.versionPatchSet''' | ||
string '''Engine.buildFlags''' | string '''Engine.buildFlags''' <span class="note">(unsynced only) Gets additional engine buildflags, e.g. "OMP" or "MT-Sim DEBUG"</span> | ||
number '''Engine.wordSize''' <span class="note">indicates the build type and is either 32 or 64 (or 0 in synced code)</span> | number '''Engine.wordSize''' <span class="note">indicates the build type and is either 32 or 64 (or 0 in synced code)</span> | ||
[[category: Lua]] | [[category: Lua]] | ||
Revision as of 18:34, 18 December 2017
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)