Constructor






Methods


DebugSystem:addToExclusiveMenu(state: any, id: any)

Arguments:

state: any
id: any


DebugSystem:appendBool(desc: any, bool: any)

Arguments:

desc: any
bool: any

Returns:

1: unknown






DebugSystem:copyObject(object: any)

Arguments:

object: any


DebugSystem:cutObject(object: any)

Arguments:

object: any


DebugSystem:detectObject(x: any, y: any)

Arguments:

x: any
y: any

Returns:

1: unknown|nil




DebugSystem:enterMenu(menu: any, soul: any, skip_history: any)

Arguments:

menu: any
soul: any
skip_history: any












DebugSystem:onKeyPressed(key: any, is_repeat: any)

Arguments:

key: any
is_repeat: any


DebugSystem:onKeyReleased(key: any)

Arguments:

key: any


DebugSystem:onMousePressed(x: any, y: any, button: any, istouch: any, presses: any)

Arguments:

x: any
y: any
button: any
istouch: any
presses: any


DebugSystem:onMouseReleased(x: any, y: any, button: any, istouch: any, presses: any)

Arguments:

x: any
y: any
button: any
istouch: any
presses: any


DebugSystem:onStateChange(old: any, new: any)

Arguments:

old: any
new: any


DebugSystem:onWheelMoved(x: any, y: any)

Arguments:

x: any
y: any




DebugSystem:openObjectContext(object: any)

Arguments:

object: any




DebugSystem:pasteObject(object: any)

Arguments:

object: any


DebugSystem:printShadow(text: any, x: any, y: any, color: any, align: any, limit: any, sx: any, sy: any)

Arguments:

text: any
x: any
y: any
color: any
align: any
limit: any
sx: any
sy: any




DebugSystem:registerConfigOption(menu: any, name: any, description: any, value: any, callback: any)

Arguments:

menu: any
name: any
description: any
value: any
callback: any




DebugSystem:registerMenu(id: any, name: any, type: any)

Arguments:

id: any
name: any
type: any


DebugSystem:registerOption(menu: any, name: any, description: any, func: any, visible_func: any)

Arguments:

menu: any
name: any
description: any
func: any
visible_func: any






DebugSystem:selectObject(object: any)

Arguments:

object: any






DebugSystem:setState(state: any, reason: any)

Arguments:

state: any
reason: any


DebugSystem:sortMenuOptions(options: any, filter: any)

Arguments:

options: any
filter: any


DebugSystem:startTextInput(tbl: any)

Arguments:

tbl: any






DebugSystem:updateBounds(options: number|table)

Arguments:

options: number|table



Fields


DebugSystem.filtered_flags_list: string[]

A list of filtered flag keys that should show in the flags menu


DebugSystem.flag_filter_mode: string

The current flag filter mode


DebugSystem.flag_query: string }

The current flag filter query


DebugSystem.flag_type: string

The current flag filter setting for value type


DebugSystem.temp_flag_filter_mode: string

Temporary version of flag_filter_mode. Only set as filter once the settings are saved.


DebugSystem.temp_flag_query: string }

Temporary version of flag_query. Only set as filter once the settings are saved.


DebugSystem.temp_flag_type: string

Temporary version of flag_type. Only set as filter once the settings are saved.



Undocumented



























































































































DebugSystem.grabbing: boolean

right clicking should not drag



















































































































































DebugSystem.state: string

States: IDLE, MENU, SELECTION, FACES