EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ModuleDefs.h
Go to the documentation of this file.
1 /*
2  ------------------------------------------------------------------------------------
3  This file is for decoding the module states for EVEmu
4  Copyright 2017 Alasiya-EVEmu Team
5  ------------------------------------------------------------------------------------
6  Author: Allan
7  Based on original idea and code from Aknor Jaden and Luck
8 */
9 
10 #ifndef MODULE_DEFS_H
11 #define MODULE_DEFS_H
12 
13 
14 namespace Module {
15  namespace State {
16  enum {
17  // internal module states
18  // to be used in conjunction with effectState (when to apply effect)
19  /* 'Online' is used for:
20  * ACTIVE modules fitted and online, but not activated (using the PASSIVE effects only where applicable)
21  * PASSSIVE modules fitted and online
22  * RIG modules fitted (always online when fit)
23  */
24  Unfitted = 0,
25  Offline = 1, // module fitted, but NOT put online yet - NOT used for rigs
26  Online = 2, // module online - rigs are either online or unfitted.
27  Deactivating = 3, // module transitioning from Activated to Online (deactivate module - waiting for timer to run out)
28  Activated = 4, // used only for activated ACTIVE modules (Overloaded mode is calculated separately)
29 
30  // internal charge states
31  Unloaded = 5,
32  Loaded = 6,
33  Loading = 7,
35  };
36  }
37 
38  namespace Bank {
39  enum {
40  Undefined = 0,
41  Low = 1,
42  Mid = 2,
43  High = 3,
44  Rig = 4,
46  };
47  }
48 
49  namespace Size {
50  enum {
51  Undefined = 0,
52  Small = 1,
53  Medium = 2,
54  Large = 3,
55  Capitol = 4
56  };
57  }
58 }
59 
60 #endif