]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/playerstats.qh
Forgot a debug print :(
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / playerstats.qh
index 2d004c1207b4580929de5325c5543341d42741b1..f546e560590025c124a4615905e07a2c15252a3e 100644 (file)
@@ -4,6 +4,7 @@ string PLAYERSTATS_WINS = "wins";
 string PLAYERSTATS_MATCHES = "matches";
 string PLAYERSTATS_JOINS = "joins";
 string PLAYERSTATS_SCOREBOARD_VALID = "scoreboardvalid";
+string PLAYERSTATS_RANK = "rank";
 
 string PLAYERSTATS_TOTAL = "total-";
 string PLAYERSTATS_SCOREBOARD = "scoreboard-";
@@ -28,12 +29,18 @@ void PlayerStats_Init();
 // add a new player
 void PlayerStats_AddPlayer(entity e);
 
+// add a new team
+void PlayerStats_AddTeam(float t);
+
 // add a new event
 void PlayerStats_AddEvent(string event_id);
 
 // call on each event to track, or at player disconnect OR match end for "global stuff"
 void PlayerStats_Event(entity e, string event_id, float value);
 
+// add a team score
+void PlayerStats_TeamScore(float t, string event_id, float value);
+
 // call at game over
 void PlayerStats_Shutdown(); // send stats to the server