EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EVE_Inventory.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  *
5  */
6 
7 
8 #ifndef EVE_INVENTORY_H
9 #define EVE_INVENTORY_H
10 
11 namespace Inv {
12 
13  namespace Container {
14  enum {
15  Wallet = 10001,
16  Global = 10002,
17  SolarSystem = 10003,
18  Hangar = 10004,
19  ScrapHeap = 10005,
20  Factory = 10006,
21  Bank = 10007,
22  Recycler = 10008,
23  Offices = 10009,
25  Character = 10011,
26  CorpMarket = 10012
27  };
28  }
29 
30  namespace Update {
31  //these are used with the OnItemChange packet to update client's item data (and trigger other actions)
32  // updated for crucible. -allan 16May16
33  enum {
34  Item = 0, //also ixLauncherCapacity?
35  Type = 1, //also ixLauncherUsed = 1,
36  Owner = 2, //also ixLauncherChargeItem?
37  Location = 3,
38  Flag = 4,
39  Quantity = 5,
40  Group = 6,
41  Category = 7,
43  StackSize = 9,
44  Singleton = 10,
45  Subitems = 11 // not in client data
46  };
47  }
48 
49  /* POD structure for Inventory categories */
50  struct CatData {
51  bool published :1;
53  std::string name;
54  std::string description;
55  };
56 
57  /* POD structure for Inventory groups */
58  struct GrpData {
59  bool useBasePrice :1;
61  bool allowRecycler :1;
62  bool anchored :1;
63  bool anchorable :1;
65  bool published :1;
68  std::string name;
69  std::string description;
70  };
71 
72  /* POD structure for Inventory types */
73  struct TypeData {
74  bool published :1;
75  bool isRefinable :1;
76  bool isRecyclable :1;
84  float radius;
85  float mass;
86  float volume;
87  float capacity;
88  double basePrice;
89  std::string name;
90  std::string description;
91  };
92 
93  /* POD structure for saving items */
94  struct SaveData {
95  bool contraband :1;
96  bool singleton :1;
104  std::string customInfo;
105  };
106 
107  /* POD structure for attribute data */
108  struct AttrData {
109  bool type; // 0=int, 1=float
111  uint32 itemID; // itemID or typeID
113  double valueFloat;
114  };
115 
116 }
117 
118 /* AuditLogSecureContainer shit here....
119 */
120 namespace ALSC {
121 
122  namespace Action {
123  enum {
124  Assemble = 1,
126  SetName = 3,
127  Move = 4,
129  Add = 6,
130  Lock = 7,
131  Unlock = 8,
134  };
135  }
136 
137  namespace NeedPass {
138  enum {
139  ToOpen = 1,
140  ToLock = 2,
141  ToUnlock = 4,
143  };
144  }
145 }
146 
147 #endif // EVE_INVENTORY_H
148 
149 /*{'FullPath': u'UI/Inventory', 'messageID': 251033, 'label': u'CantOpenItemsInThisLocations'}(u'You can not open items in the delivery bay.', None, None)
150 {'FullPath': u'UI/Inventory', 'messageID': 251034, 'label': u'CantRename'}(u'You cannot rename this type of object.', None, None)
151 {'FullPath': u'UI/Inventory', 'messageID': 251035, 'label': u'CantSeeItem'}(u'You can not open that as you can not see it.', None, None)
152 {'FullPath': u'UI/Inventory', 'messageID': 251036, 'label': u'CorporationDoesntOwn'}(u'You can not open that as it does not belong to your corporation.', None, None)
153 {'FullPath': u'UI/Inventory', 'messageID': 251037, 'label': u'CanTakeDivisionContainer'}(u'Can Take Containers From Division {[numeric]number} Hangar', None, {u'{[numeric]number}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'number'}})
154 {'FullPath': u'UI/Inventory', 'messageID': 251038, 'label': u'NoTakeRole'}(u'You require take access to open the container requested.', None, None)
155 {'FullPath': u'UI/Inventory', 'messageID': 251039, 'label': u'CanTakeDivision'}(u'Can Take From Division {[numeric]number} Hangar', None, {u'{[numeric]number}': {'conditionalValues': [], 'variableType': 9, 'propertyName': None, 'args': 0, 'kwargs': {}, 'variableName': 'number'}})
156 {'FullPath': u'UI/Inventory', 'messageID': 251040, 'label': u'NotSecurityOfficer'}(u'You do not have the role <b>Security Officer</b>.', None, None)
157 {'FullPath': u'UI/Inventory', 'messageID': 251041, 'label': u'NoOfficeAtThisSTations'}(u'Your corporation does not have an office at this station.', None, None)
158 {'FullPath': u'UI/Inventory', 'messageID': 251042, 'label': u'NoStaionIdInSession'}(u'You can not see that which does not exist.', None, None)
159 {'FullPath': u'UI/Inventory', 'messageID': 251043, 'label': u'NoDeliveryHangerForYourCorp'}(u'The requested market delivery area does not belong to your corporation.', None, None)
160 {'FullPath': u'UI/Inventory', 'messageID': 251044, 'label': u'CorpRoleMissing'}(u'You do not have the role <b>Accountant</b>, <b>Junior Accountant</b> or <b>Trader</b>.', None, None)
161 {'FullPath': u'UI/Inventory', 'messageID': 251045, 'label': u'NoCorpHangerAtThisStations'}(u"You don't get delivery bays in the middle of nowhere.", None, None)
162 {'FullPath': u'UI/Inventory', 'messageID': 251046, 'label': u'OfficeDoesntBelongToYou'}(u'The requested hangar does not belong to a member of your corporation.', None, None)
163 
164 */
unsigned __int8 uint8
Definition: eve-compat.h:46
bool allowRecycler
Definition: EVE_Inventory.h:61
A lock for a Lockable object.
Definition: Lock.h:70
bool fittableNonSingleton
Definition: EVE_Inventory.h:64
EVEItemFlags
Definition: EVE_Flags.h:13
std::string description
Definition: EVE_Inventory.h:90
std::string name
Definition: EVE_Inventory.h:53
std::string name
Definition: EVE_Inventory.h:68
uint32 marketGroupID
Definition: EVE_Inventory.h:82
uint16 portionSize
Definition: EVE_Inventory.h:81
Definition: gpoint.h:33
std::string customInfo
EVEItemFlags flag
Definition: EVE_Inventory.h:97
float chanceOfDuplicating
Definition: EVE_Inventory.h:83
std::string description
Definition: EVE_Inventory.h:69
unsigned __int32 uint32
Definition: eve-compat.h:50
signed __int64 int64
Definition: eve-compat.h:51
std::string description
Definition: EVE_Inventory.h:54
double basePrice
Definition: EVE_Inventory.h:88
Template used for singleton classes.
Definition: Singleton.h:43
bool allowManufacture
Definition: EVE_Inventory.h:60
unsigned __int16 uint16
Definition: eve-compat.h:48
std::string name
Definition: EVE_Inventory.h:89