ks.server.interfaces
Interface IPluginStatistics

All Known Subinterfaces:
IServerPluginManager

public interface IPluginStatistics

Enable one to update the statistics for a given plugin.


Method Summary
 void updateStats(java.lang.String gameType, int numPlayed, int numWon)
          Updates statistics regarding the specified game Type.
 

Method Detail

updateStats

public void updateStats(java.lang.String gameType,
                        int numPlayed,
                        int numWon)
Updates statistics regarding the specified game Type.

Requires: numWon <= numPlayed and numPlayed >= 1.

Parameters:
gameType - java.lang.String
numPlayed - int
numWon - int