tgui_panel
Copyright (c) 2020 Aleksej Komarov SPDX-License-Identifier: MIT
tgui_panel datum Hosts tgchat and other nice features.
Vars | |
telemetry_analyzed_at | Time of telemetry analysis completion |
---|---|
telemetry_connections | List of previous client connections |
telemetry_requested_at | Time of telemetry request |
Procs | |
analyze_telemetry | private |
initialize | public |
is_ready | public |
on_initialize_timed_out | private |
on_message | private |
play_music | public |
request_telemetry | private |
send_roundrestart | public |
stop_music | public |
Var Details
telemetry_analyzed_at
Time of telemetry analysis completion
telemetry_connections
List of previous client connections
telemetry_requested_at
Time of telemetry request
Proc Details
analyze_telemetry
private
Analyzes a telemetry packet.
Is currently only useful for detecting ban evasion attempts.
initialize
public
Initializes tgui panel.
is_ready
public
TRUE if panel is initialized and ready to receive messages.
on_initialize_timed_out
private
Called when initialization has timed out.
on_message
private
Callback for handling incoming tgui messages.
play_music
public
Sends music data to the browser.
Optional settings:
- pitch: the playback rate
- start: the start time of the sound
- end: when the musics stops playing
required url string Must be an https URL. optional extra_data list Optional settings.
request_telemetry
private
Requests some telemetry from the client.
send_roundrestart
public
Sends a round restart notification.
stop_music
public
Stops playing music through the browser.