CorsixTH Lua Documentation

Strings Class

Layer which handles the loading of localised text.

Declared on: line 28 of Lua/strings.lua.

Method Index

Member Index

function Strings:Strings(app)

Parameters:

NameTypeDescription
app ? ?

Declared on: line 31 of Lua/strings.lua.

function Strings:_loadPrivate(language, env, ...)

Parameters:

NameTypeDescription
language ? ?
env ? ?
... ? ?

Declared on: line 295 of Lua/strings.lua.

function Strings:getFont(language)

Get the Font() declaration of a language, if there was one.

Parameters:

NameTypeDescription
language ? ?

Declared on: line 284 of Lua/strings.lua.

function Strings:getLanguageNames(language)

Parameters:

NameTypeDescription
language ? ?

Declared on: line 290 of Lua/strings.lua.

function Strings:load(language, no_restriction, no_inheritance)

no_restriction disables errors on access to non-existant strings (for debug purposes) no_inheritance disables inheritance except original_strings (for debug purposes)

Parameters:

NameTypeDescription
language ? ?
no_restriction ? ?
no_inheritance ? ?

Declared on: line 163 of Lua/strings.lua.

function Strings:setupAdviserMessage(messages)

Parameters:

NameTypeDescription
messages ? ?

Declared on: line 311 of Lua/strings.lua.

Page generated on Sat Feb 07, 2015 at 18:38:28 by LDocGen.