Goonstation 13 - Modules - TypesVar Details - Proc Details

/datum/chatOutput

Vars

burstQueueIf they have loaded chat but there's too much chat the messages go here
connectionHistoryContains the connection history passed from chat cookie
cookieSentHas the client sent a cookie for analysis
ctxFlagContext menu flags for the admin powers
loadAttemptsHow many times has the client tried to load the output area?
loadedHas the client loaded the browser output area?
messageQueueIf they haven't loaded chat, this is where messages will go until they do
ownerclient ref

Procs

analyzeClientDataCalled by client, sent data to investigate (cookie history so far)
doneLoadingCalled on chat output done-loading by JS.
getContextFlagCalled in New() (/datum/admins)
handleContextMenuCalled by js client on admin command via context menu
loadAdminCalled in update_admins()
pingCalled by js client every 60 seconds
sendClientDataSends client connection details to the chat to handle and save

Var Details

burstQueue

If they have loaded chat but there's too much chat the messages go here

connectionHistory

Contains the connection history passed from chat cookie

cookieSent

Has the client sent a cookie for analysis

ctxFlag

Context menu flags for the admin powers

loadAttempts

How many times has the client tried to load the output area?

loaded

Has the client loaded the browser output area?

messageQueue

If they haven't loaded chat, this is where messages will go until they do

owner

client ref

Proc Details

analyzeClientData

Called by client, sent data to investigate (cookie history so far)

doneLoading

Called on chat output done-loading by JS.

getContextFlag

Called in New() (/datum/admins)

handleContextMenu

Called by js client on admin command via context menu

loadAdmin

Called in update_admins()

ping

Called by js client every 60 seconds

sendClientData

Sends client connection details to the chat to handle and save