-
Notifications
You must be signed in to change notification settings - Fork 312
Order of keyset consumption in spring:Game
Fireball edited this page Mar 22, 2022
·
1 revision
- gameTextInput (console edits)
- luaInputReceiver
- lua keyActions
- keyRepeat
- keyPress
- KeyPress handled directly inside a widget by function w:KeyPress(key, mods, isRepeat, label, unicode)
- lua keyActions
- InputReceivers
should be these and maybe more:
- EndGameBox
- GameInfo
- GameSetupDrawer
- Gui Handler
- InfoConsole
- Minimap
- QuitBox
- SelectionKeyHandler
- ShareBox
- StartPosSelecter
- TooltipConsole
- ActionList (actions defined in spring engine)
- First function inside 5) returning true breaks the chain inside 5), but 6) is processed as well
- LuaUI GotChatMsg(command, playerID)
- ConfigureLayout(command)
(If one of the following returns true, no others in this list will be executed)
- 'reconf'
- 'selector' -> selector.lua ... some more going on here
- 'togglewidget'
- 'enablewidget'
- 'disablewidget'
- actionHandler:TextAction
- TextCommandList
- Same as 5), but for LuaMenu GotChatMsg
- gameTextInput
- luaInputReceiver
- InputReceivers
- ActionList