JeremyStarTM
99703cf03e
Reviewed-on: StarOpenSource/core#1 Rewrote CORE and improved the startup process and startup time significantly. The documentation has been beefed up too and is now much better. Existing projects may need major refactoring however. Co-authored-by: JeremyStarTM <jeremystartm@staropensource.de> Co-committed-by: JeremyStarTM <jeremystartm@staropensource.de>
1.4 KiB
1.4 KiB
hide | |
---|---|
|
Events (/root/CORE/Events)
Just connect a signal to a function and get updates when something happens
Signals
window_title
- emitted on
window title change
- argument
window_title
(typeString
) - argument
previous_window_title
(typeString
)
window_size
- emitted on
window size change
- argument
update_coordinate
(typeString
, can beX
,Y
orBOTH
) - argument
window_size
(typeVector2i
) - argument
previous_window_size
(typeVector2i
)
window_pos
- emitted on
window position change
- argument
update_coordinate
(typeString
, can beX
,Y
orBOTH
) - argument
window_pos
(typeVector2i
) - argument
previous_window_pos
(typeVector2i
)
logger_all
- emitted on
log output
- argument
type
(typeString
, can be"DIAG"
,"INFO"
,"WARN"
or"ERROR"
) - argument
script
(typeString
) - argument
message
(typeString
)
logger_diag
- emitted on
diagnostic log output
- argument
script
(typeString
) - argument
message
(typeString
)
logger_info
- emitted on
informational log output
- argument
script
(typeString
) - argument
message
(typeString
)
logger_warn
- emitted on
warning log output
- argument
script
(typeString
) - argument
message
(typeString
)
logger_error
- emitted on
error log output
- argument
script
(typeString
) - argument
message
(typeString
)