mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-22 10:10:13 +01:00
Added recent command
This commit is contained in:
parent
88fb85b126
commit
6139c43c16
6 changed files with 177 additions and 0 deletions
|
|
@ -1240,6 +1240,18 @@ struct happyhour {
|
|||
int ticks_left;
|
||||
};
|
||||
|
||||
/** structure for list of recent players (see 'recent' command) */
|
||||
struct recent_player
|
||||
{
|
||||
int vnum; /* The ID number for this instance */
|
||||
char name[MAX_NAME_LENGTH]; /* The char name of the player */
|
||||
bool new_player; /* Is this a new player? */
|
||||
bool copyover_player; /* Is this a player that was on during the last copyover? */
|
||||
time_t time; /* login time */
|
||||
char host[HOST_LENGTH+1]; /* Host IP address */
|
||||
struct recent_player *next; /* Pointer to the next instance */
|
||||
};
|
||||
|
||||
/* Config structs */
|
||||
|
||||
/** The game configuration structure used for configurating the game play
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue