screpl.plugins.trigger.condedit module ¶
TrigConditionEditorApp
Offset |
Field name |
Position |
EPD Player |
---|---|---|---|
+00 |
locid |
dword0 |
EPD(cond)+0 |
+04 |
player |
dword1 |
EPD(cond)+1 |
+08 |
amount |
dword2 |
EPD(cond)+2 |
+0C |
unitid |
dword3 |
EPD(cond)+3 |
+0E |
comparison |
||
+0F |
condtype |
||
+10 |
restype |
dword4 |
EPD(cond)+4 |
+11 |
flags |
||
+12 |
internal[2] |
-
class
screpl.plugins.trigger.condedit.
TrigConditionEditorApp
[source] ¶ -
Bases:
screpl.core.application.Application
Trigger condition editor
Expected TUI:
Condition editor on 0x13131312 (Press F1 to get help) Switch("Switch 1", Set) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 entry name: amount [ Save (CTRL+Y) ] [ Cancel (CTRL+N) ]
Application Fields
Application Methods
-
loop
( self ) ¶ -
AppMethodN
(index=0)
-
on_destruct
( self ) ¶ -
AppMethodN
(index=2)
-
on_init
( self ) ¶ -
AppMethodN
(index=3)
-
on_resume
( self ) ¶ -
AppMethodN
(index=4)
-
print
( self , writer ) ¶ -
AppMethodN
(index=5)
-
get_focused_value
( self ) ¶ -
AppMethodN
(index=6)
-
set_focused_value
( self , value ) ¶ -
AppMethodN
(index=7)
-
Comparison
( self ) ¶
-
ConditionType
( self ) ¶
-
Location
( self ) ¶
-
Player
( self ) ¶
-
Resource
( self ) ¶
-
Score
( self ) ¶
-
Switch
( self ) ¶
-
SwitchState
( self ) ¶
-
Unit
( self ) ¶
-
setn
( self , value ) ¶
-