mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 08:17:34 -04:00
analytics: first_frame event, floats
This commit is contained in:
parent
74e165b174
commit
6528dffe57
8 changed files with 43 additions and 29 deletions
|
@ -3,7 +3,6 @@ class_name CommandEvents
|
|||
|
||||
signal send_filehandle(filehandle_path: String)
|
||||
signal ext_texture_format(format: RenderingDevice.DataFormat)
|
||||
signal first_frame_drawn()
|
||||
signal set_mouse_mode(mode: int)
|
||||
|
||||
|
||||
|
@ -15,9 +14,5 @@ func ext_texture_format_emit(format: RenderingDevice.DataFormat) -> void:
|
|||
ext_texture_format.emit(format)
|
||||
|
||||
|
||||
func first_frame_drawn_emit() -> void:
|
||||
first_frame_drawn.emit()
|
||||
|
||||
|
||||
func set_mouse_mode_emit(mode: int) -> void:
|
||||
set_mouse_mode.emit(mode)
|
||||
|
|
|
@ -7,6 +7,7 @@ signal gate_config_loaded(url: String, config: ConfigGate)
|
|||
signal gate_info_loaded(gate: Gate, is_cached: bool)
|
||||
signal gate_loaded(gate: Gate)
|
||||
signal gate_entered
|
||||
signal first_frame
|
||||
signal exit_gate
|
||||
|
||||
signal download_progress(url: String, body_size: int, downloaded_bytes: int)
|
||||
|
@ -57,6 +58,10 @@ func gate_entered_emit() -> void:
|
|||
gate_entered.emit()
|
||||
|
||||
|
||||
func first_frame_emit() -> void:
|
||||
first_frame.emit()
|
||||
|
||||
|
||||
func exit_gate_emit() -> void:
|
||||
current_search_query = ""
|
||||
current_gate_url = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue