mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Chat history prototype (#17206)
* Chat history prototype * changes * static defines * bunch of fixes (#17207) * bunch of fixes * multi round export * allow to export 1 specific round * prepare for databse load * Update code/__defines/vchatlog.dm --------- Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> * fixed typo * beginning of loading * frontend * data/chatlogs * loading lines * lint fix * more fixes * new define * less spam * timeout the loading (#17214) * more frontend fixes * ckey * some comments and reverts (#17220) * some comments and reverts * we should fix that too * . * api * cleanup (#17232) * Button.Confirm * API * Up to date binaries * Default set for chatlog backend * Removed unused verbs * fix that * Update misc.dm * . * . --------- Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
@@ -178,3 +178,6 @@
|
||||
|
||||
/// If this client has been fully initialized or not
|
||||
var/fully_created = FALSE
|
||||
|
||||
/// Token used for the external chatlog api. Only valid for the current round.
|
||||
var/chatlog_token
|
||||
|
||||
@@ -244,6 +244,9 @@
|
||||
GLOB.clients += src
|
||||
GLOB.directory[ckey] = src
|
||||
|
||||
if (CONFIG_GET(flag/chatlog_database_backend))
|
||||
chatlog_token = vchatlog_generate_token(ckey)
|
||||
|
||||
// Instantiate stat panel
|
||||
stat_panel = new(src, "statbrowser")
|
||||
stat_panel.subscribe(src, .proc/on_stat_panel_message)
|
||||
|
||||
Reference in New Issue
Block a user