| 
    Planeshift
    
   | 
 
This class generates logs at a particular interval that has information that can be displayed later on a website. More...
#include <serverstatus.h>
Static Public Member Functions | |
| static bool | Initialize (iObjectRegistry *objreg) | 
| Reads config files, starts periodical status generator.  More... | |
| static void | ScheduleNextRun () | 
| Has the generator run in a while.  More... | |
Static Public Attributes | |
| static unsigned int | count | 
| static unsigned int | mob_birthcount | 
| static unsigned int | mob_deathcount | 
| static unsigned int | player_deathcount | 
| static csString | reportFile | 
| File that it should log to.  More... | |
| static csTicks | reportRate | 
| Interval in milliseconds to generate a report file.  More... | |
| static unsigned int | sold_items | 
| static unsigned int | sold_value | 
This class generates logs at a particular interval that has information that can be displayed later on a website.
At the moment it overwrites logs but can be easily changed to either create a unique log file for each report ( such as daily ).
Log Format: <server_report time="Time stamp for report" number="number of this report" > <player name="player name" guild="guild name" title="guild rank" security="security level" secret="yes|no" /> <server_report>
Definition at line 64 of file serverstatus.h.
      
  | 
  static | 
Reads config files, starts periodical status generator.
      
  | 
  static | 
Has the generator run in a while.
Definition at line 79 of file serverstatus.h.
Definition at line 82 of file serverstatus.h.
Definition at line 81 of file serverstatus.h.
Definition at line 83 of file serverstatus.h.
      
  | 
  static | 
File that it should log to.
Definition at line 77 of file serverstatus.h.
      
  | 
  static | 
Interval in milliseconds to generate a report file.
Definition at line 74 of file serverstatus.h.
Definition at line 85 of file serverstatus.h.
Definition at line 86 of file serverstatus.h.