EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EVE_Roles.h
Go to the documentation of this file.
1 
2 /*
3  * EVE_Roles.h
4  * namespace data for Account and Corporation
5  *
6  *
7  */
8 
9 
10 #ifndef EVE_ROLES_H
11 #define EVE_ROLES_H
12 
13 namespace Acct {
14 
15  namespace Type {
16  enum {
17  CCP = 13,
18  UK = 17,
19  PBC = 20,
20  ETC = 21,
21  Trial = 23, // most client tests are >22
22  Mammon = 30, // this is default player account type
23  Media = 31,
24  CDKey = 33,
25  IA = 34,
26  // not used here
27  DustPlayer = 101,
28  DustCCP = 102,
30  };
31  }
32 
33  namespace Role {
34  enum:int64_t {
35  DUST = 1L, // 0x01 0b0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0001
36  BANNING = 2L, // 0x02 0b0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0010
37  MARKET = 4L, // 0x04 0b0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0100
38  MARKETH = 8L, // 0x08 0b0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 1000
39  CSMADMIN = 16L, // 0x010
40  CSMDELEGATE = 32L, // 0x020
41  EXPOPLAYER = 64L, // 0x040
42  PETITIONEE = 256L, // 0x0100
43  CENTURION = 2048L, // 0x0800
44  // the client requires a module named "dna" for many menu items for the "worldmod" role
45  // we do not have this module, which leads to an error, and an inoperable rclick menu
46  // when WORLDMOD is part of a client's roles
47  WORLDMOD = 4096L, // 0x01000
48  DBA = 16384L,
49  REMOTESERVICE = 131072L,
50  LEGIONEER = 262144L, // get ALL corp chat channels (and is usually invis)
51  TRANSLATION = 524288L,
52  CHTINVISIBLE = 1048576L,
53  CHTADMINISTRATOR = 2097152L,
54  HEALSELF = 4194304L,
55  HEALOTHERS = 8388608L,
56  NEWSREPORTER = 16777216L,
57  TRANSLATIONADMIN = 134217728L,
58  ACCOUNTMANAGEMENT = 536870912L,
59  SPAWN = 8589934592L, // 0x0200000000
60  IGB = 2147483648L,
61  TRANSLATIONEDITOR = 4294967296L,
62  BATTLESERVER = 17179869184LL,
63  TRANSLATIONTESTER = 34359738368LL,
64  WIKIEDITOR = 68719476736LL,
65  TRANSFER = 137438953472LL,
66  GMS = 274877906944LL,
67  CL = 549755813888LL,
68  CR = 1099511627776LL,
69  CM = 2199023255552LL,
70  BSDADMIN = 35184372088832LL,
71  PROGRAMMER = 2251799813685248LL,
72  QA = 4503599627370496LL,
73  GMH = 9007199254740992LL,
74  // the client requires a module named "dna" for many menu items for the "gml" role
75  // we do not have this module, which leads to an error, and an inoperable rclick menu
76  // when GML is part of a client's roles
77  // groove fixed this in a previous "liveupdates" patch
78  GML = 18014398509481984LL,
79  CONTENT = 36028797018963968LL,
80  ADMIN = 72057594037927936LL,
81  VIPLOGIN = 144115188075855872LL,
82  ROLEADMIN = 288230376151711744LL,
83  NEWBIE = 576460752303423488LL,
84  SERVICE = 1152921504606846976LL, // can use station services without being docked.
85  PLAYER = 2305843009213693952LL, // 0x02
86  LOGIN = 4611686018427387904LL, // 0x04000000000000000 0b100 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
87 
88  //ANY = 18446744073709551615LL & ~IGB, max uint64 invalid. unsigned types removed from this version. -allan 10Dec17
89 
96  BOSS = DEV | ADMIN,
97  EPLAYER = VIP | HEALOTHERS, //VIP+
98  VIEW = ADMIN | CONTENT | GML | GMH | QA
99  /*
100  * 23:05:28 G EVEMu: Common Account Roles:
101  * 23:05:28 W DEV: 7131450020691447808(0x62f8000280c41000)
102  * 23:05:28 W STD: 6917529029788565504(0x6000000080000000)
103  * 23:05:28 W VIP: 7061644217868615680(0x6200000080400000)
104  * 23:05:28 W VIP+: 7061644217877004288(0x6200000080c00000)
105  * 23:05:28 W VIEW: 139611588448485376(0x1f0000000000000)
106  * 23:05:28 W BOSS: 7203507614729375744(0x63f8000280c41000)
107  * 23:05:28 W SLASH: 7079658624976683008(0x6240000280c40000)
108  * 23:05:28 W CREATOR: 7124694621250392064(0x62e0000280c41000)
109  *
110  */
111  };
112  }
113 }
114 
115 namespace Corp {
116  namespace Role {
117  enum:int64_t {
118  Member = 0,
119  Director = 1, // only role that can lock/unlock bp
121  Accountant = 256,
125  Auditor = 4096,
127  HangarCanTake2 = 16384,
128  HangarCanTake3 = 32768,
129  HangarCanTake4 = 65536,
130  HangarCanTake5 = 131072,
131  HangarCanTake6 = 262144,
132  HangarCanTake7 = 524288,
133  HangarCanQuery1 = 1048576,
134  HangarCanQuery2 = 2097152,
135  HangarCanQuery3 = 4194304,
136  HangarCanQuery4 = 8388608,
137  HangarCanQuery5 = 16777216,
138  HangarCanQuery6 = 33554432,
139  HangarCanQuery7 = 67108864,
140  AccountCanTake1 = 134217728,
141  AccountCanTake2 = 268435456,
142  AccountCanTake3 = 536870912,
143  AccountCanTake4 = 1073741824,
144  AccountCanTake5 = 2147483648L,
145  AccountCanTake6 = 4294967296L,
146  AccountCanTake7 = 8589934592L,
147  Diplomat = 17179869184L,
148  EquipmentConfig = 2199023255552L,
149  ContainerCanTake1 = 4398046511104L,
150  ContainerCanTake2 = 8796093022208L,
151  ContainerCanTake3 = 17592186044416L,
152  ContainerCanTake4 = 35184372088832L,
153  ContainerCanTake5 = 70368744177664L,
154  ContainerCanTake6 = 140737488355328L,
155  ContainerCanTake7 = 281474976710656L,
156  CanRentOffice = 562949953421312L,
157  CanRentFactorySlot = 1125899906842624L,
158  CanRentResearchSlot = 2251799813685248L,
159  JuniorAccountant = 4503599627370496L,
160  StarbaseConfig = 9007199254740992L,
161  Trader = 18014398509481984L,
162  ChatManager = 36028797018963968L,
163  ContractManager = 72057594037927936L,
164  InfrastructureTacticalOfficer = 144115188075855872L,
165  StarbaseCaretaker = 288230376151711744L,
166  FittingManager = 576460752303423488L,
167  Missing = 3458764513820540928L, // 0x3000000000000000 <-- seen in logs, but not defined in client ** not used **
168 
169  //Some Combos
176 
179 
180  /*
181  * 23:05:28 G EVEMu: Common Corp Roles:
182  * 23:05:28 W Role_All: 1134904941433847168(0xfbffe07fffffd80)
183  * 23:05:28 W Role_Cont: 558551906910208(0x1fc0000000000)
184  * 23:05:28 W Role_Admin: 1152919339943329665(0xffffe07ffffff81)
185  * 23:05:28 W Role_Hangar: 134209536(0x7ffe000)
186  * 23:05:28 W Role_Account: 4503616673022208(0x100003f8000100)
187  * 23:05:28 W Role_Starbase: 441354962505564160(0x620020000000000)
188  *
189  */
190 
191  };
192  }
193 }
194 
195 #endif //EVE_ROLES_H
Definition: EVE_Corp.h:15
Type
Definition: EVE_LSC.h:71
Definition: EVE_Roles.h:13