|
Atrinik Server 2.5
|
Go to the source code of this file.
Functions | |
| void | emergency_save (int flag) |
| int | check_name (player *pl, char *name) |
| int | save_player (object *op, int flag) |
| static int | spell_sort (const void *a1, const void *a2) |
| static void | reorder_inventory (object *op) |
| static void | wrong_password (player *pl) |
| void | check_login (object *op) |
Player login/save/logout related functions.
Definition in file login.c.
| void check_login | ( | object * | op | ) |
| int check_name | ( | player * | pl, |
| char * | name | ||
| ) |
Checks to see if the passed player name is valid or not. Does checks like min/max name length, whether there is anyone else playing by that name, and whether there are illegal characters in the player name.
| pl | Player. |
| name | Name to check. |
| void emergency_save | ( | int | flag | ) |
| static void reorder_inventory | ( | object * | op | ) | [static] |
| int save_player | ( | object * | op, |
| int | flag | ||
| ) |
| static int spell_sort | ( | const void * | a1, |
| const void * | a2 | ||
| ) | [static] |
1.7.4