blob: 276a72dffc09c181f3746635e00337246f8a27e1 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001// MorgenGrauen MUDlib
2//
3// userinfo.h -- Daten im Spieler-Cache (siehe /secure/master/userinfo.c)
4//
5// $Id: userinfo.h 6207 2007-02-18 23:32:35Z Zesstra $
6
7#ifndef _USERINFO_
8#define _USERINFO_
9
10/*
Zesstra79c61dd2020-01-17 19:39:06 +010011 * Indices for the fields in the userlist of /secure/master/userinfo.c
12 * Important: these are the *internal* field indices. When obtained by
13 * get_userinfo(), the fields in the resulting array are off by +1,
14 * i.e. to get the level, you need to index with USER_LEVEL+1.
Zesstrae8900152020-01-21 18:38:31 +010015 * Therefore get_userinfo() is currently deprecated in favor
16 * of query_userlist().
MG Mud User88f12472016-06-24 23:31:02 +020017 */
18
19/* password (encrypted) */
20#define USER_PASSWORD 0
21
22/* wizard level (or programming level) (0 for simple users) */
23#define USER_LEVEL 1
24
25/* domain (if any) master == *domainname */
26#define USER_DOMAIN 2
27
28/* player object to be loaded by /secure/login */
29#define USER_OBJECT 3
30
31/* time of first login */
32#define USER_CREATION_DATE 4
33
34/* Time userinfo has been touched last */
35#define USER_TOUCH 5
36
37/* exploration points of player */
38#define USER_EP 6
39
40/* npcs killed by player */
41#define USER_EK 7
42
43/* miniquests solved by player */
44#define USER_MQ 8
45
46/* guilds (if any) master == *guildname */
47#define USER_GUILD 9
48
49/* tips for eks given to player */
50#define USER_EKTIPS 10
51
52/* tips for fps given to player */
53#define USER_FPTIPS 11
54
55/* UIDs fuer den ein Magier u.U. explizit verantwortlich ist */
56#define USER_UIDS_TO_TAKE_CARE 12
57
58#endif