mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
20 lines
516 B
Plaintext
20 lines
516 B
Plaintext
/datum/player_details
|
|
var/list/player_actions = list()
|
|
var/list/logging = list()
|
|
var/list/post_login_callbacks = list()
|
|
var/list/post_logout_callbacks = list()
|
|
var/list/played_names = list() //List of names this key played under this round
|
|
var/byond_version = "Unknown"
|
|
|
|
/proc/log_played_names(ckey, ...)
|
|
if(!ckey)
|
|
return
|
|
if(args.len < 2)
|
|
return
|
|
var/list/names = args.Copy(2)
|
|
var/datum/player_details/P = GLOB.player_details[ckey]
|
|
if(P)
|
|
for(var/name in names)
|
|
if(name)
|
|
P.played_names |= name
|