Yogstation 13 - Modules - TypesVar Details - Proc Details

/datum/tgui_panel

tgui_panel datum Hosts tgchat and other nice features.

Vars

telemetry_analyzed_atTime of telemetry analysis completion
telemetry_connectionsList of previous client connections
telemetry_requested_atTime of telemetry request

Procs

Initializepublic
analyze_telemetryprivate
is_readypublic
on_initialize_timed_outprivate
on_messageprivate
play_musicpublic
request_telemetryprivate
send_roundrestartpublic
stop_musicpublic

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

Initialize

public

Initializes tgui panel.

analyze_telemetry

private

Analyzes a telemetry packet.

Is currently only useful for detecting ban evasion attempts.

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:

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.