screpl.plugins.trigger.editor module ¶
Defines TriggerEditorApp
-
class
screpl.plugins.trigger.editor.
TriggerEditorApp
[source] ¶ -
Bases:
screpl.core.application.Application
Show trigger and modify trigger
Expected TUI
TrigEditorApp ptr=%H, next=%H Conditions: ... Actions: ...
Application Fields
-
trig_ptr
¶
-
trig_epd
¶
-
trig_type
¶
-
trig_epdsize
¶
-
cond_epd
¶
-
act_epd
¶
-
flag_epd
¶
-
olddb_epd
¶
-
cond_count
¶
-
act_count
¶
-
condtext_table_epd
¶
-
acttext_table_epd
¶
-
tab
¶
-
index
¶
Application Methods
-
loop
( self ) ¶ -
AppMethodN
(index=0)
-
on_destruct
( self ) ¶ -
AppMethodN
(index=2)
-
on_init
( self ) ¶ -
AppMethodN
(index=3)
-
print
( self , writer ) ¶ -
AppMethodN
(index=5)
-
update_index
( self , index ) ¶ -
AppMethodN
(index=6) - Update index with given valid index
-
update_text
( self ) ¶ -
AppMethodN
(index=7) - Update cached text for TUI
-
new
( self , ptr ) ¶ -
AppCommandN
- Start a new app with given ptr, link type
-
new_nolink
( self , ptr ) ¶ -
AppCommandN
- Start a new app with given ptr, nolink type
-
next
( self ) ¶ -
AppCommandN
- Set trigger pointer of current app to next trigger pointer
-
setflag
( self , value ) ¶ -
AppCommandN
- Update flag of current trigger with given value
-
setp
( self , ptr ) ¶ -
AppCommandN
- Set trigger pointer of current app to given argument
-