thegates/app/scripts/resources/command_events.gd
2024-10-26 03:58:13 +04:00

23 lines
540 B
GDScript

extends Resource
class_name CommandEvents
signal send_filehandle(filehandle_path: String)
signal ext_texture_format(format: RenderingDevice.DataFormat)
signal set_mouse_mode(mode: int)
signal heartbeat()
func send_filehandle_emit(filehandle_path: String) -> void:
send_filehandle.emit(filehandle_path)
func ext_texture_format_emit(format: RenderingDevice.DataFormat) -> void:
ext_texture_format.emit(format)
func set_mouse_mode_emit(mode: int) -> void:
set_mouse_mode.emit(mode)
func heartbeat_emit() -> void:
heartbeat.emit()