CorsixTH Lua Documentation

UICheats Class

A dialog for activating cheats

Declared on: line 23 of Lua/dialogs/resizables/cheats_dialog.lua.
Inheritance: UICheats » UIResizable » Window

Method Index

Member Index

(*) only used in superclass methods
function UICheats:UICheats(ui)

Constructs the cheat dialog.

Parameters:

NameTypeDescription
ui UI The active ui.

Declared on: line 59 of Lua/dialogs/resizables/cheats_dialog.lua.

function UICheats:afterLoad(old, new)

Parameters:

NameTypeDescription
old ? ?
new ? ?

Overrides: UIResizable:afterLoad.
Declared on: line 154 of Lua/dialogs/resizables/cheats_dialog.lua.

function UICheats:buttonClicked(num)

Handles the choice of a cheat from the dialog

Parameters:

NameTypeDescription
num number the index in the cheat list

Declared on: line 130 of Lua/dialogs/resizables/cheats_dialog.lua.