This commit is contained in:
AffectedArc07
2021-08-16 10:21:23 +01:00
parent 9e69cce5d4
commit 94315d4a6c
3 changed files with 11 additions and 4 deletions
+6 -3
View File
@@ -230,9 +230,12 @@
return 0
. = ..()
// Returns the metrics for the subsystem.
// This can be overriden on subtypes for variables that could affect tick usage
// Example: ATs on SSair
/**
* Returns the metrics for the subsystem.
*
* This can be overriden on subtypes for variables that could affect tick usage
* Example: ATs on SSair
*/
/datum/controller/subsystem/proc/get_metrics()
SHOULD_CALL_PARENT(TRUE)
var/list/out = list()
+3
View File
@@ -39,6 +39,9 @@ SUBSYSTEM_DEF(metrics)
return json_encode(out)
/*
// Uncomment this if you add new metrics to verify how the JSON formats
/client/verb/debugmetricts()
usr << browse(SSmetrics.get_metrics_json(), "window=aadebug")
*/
+2 -1
View File
@@ -16,7 +16,6 @@
# - afk_configuration
# - custom_sprites_configuration
# - database_configuration
# - debug_configuration
# - discord_configuration
# - event_configuration
# - gamemode_configuration
@@ -25,6 +24,8 @@
# - ipintel_configuration
# - job_configuration
# - logging_configuration
# - mc_configuration
# - metrics_configuration
# - movement_configuration
# - overflow_configuration
# - ruin_configuration