TopDefenders: JUDGE ME I DARE YA.

This commit is contained in:
zaCade
2018-09-18 18:42:23 +02:00
parent db13adc4aa
commit e197cc83e0
2 changed files with 45 additions and 8 deletions
@@ -8,8 +8,9 @@
*
* @param iPlayers The sorted array of the Defenders' Client IDs. (iPlayers[0] is the TopDefender)
* @param iDamage The sorted array of the Defenders' Damages. (iDamage[0] is the TopDefender's Damage)
* @param iHits The sorted array of the Defenders' Hits. (iHits[0] is the TopDefender's Hits)
*/
forward void TopDefenders_OnRoundEnd(int iPlayers[MAXPLAYERS+1], int iDamage[MAXPLAYERS+1]);
forward void TopDefenders_OnRoundEnd(int iPlayers[MAXPLAYERS+1], int iDamage[MAXPLAYERS+1], int iHits[MAXPLAYERS+1]);
/**
* Returns the current damage of a client
@@ -17,4 +18,12 @@ forward void TopDefenders_OnRoundEnd(int iPlayers[MAXPLAYERS+1], int iDamage[MAX
* @param client Client index.
* @return The current damage of the client.
*/
native int TopDefenders_GetClientDamage(int client);
native int TopDefenders_GetClientDamage(int client);
/**
* Returns the current hits of a client
*
* @param client Client index.
* @return The current hits of the client.
*/
native int TopDefenders_GetClientHits(int client);