EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
EffectsActions.cpp
Go to the documentation of this file.
1 
13 #include "Client.h"
14 #include "effects/EffectsActions.h"
15 #include "system/SystemEntity.h"
16 
17 /*
18  * # Effects Logging:
19  * EFFECTS=0
20  * EFFECTS__ERROR=1
21  * EFFECTS__WARNING=0
22  * EFFECTS__MESSAGE=0
23  * EFFECTS__DEBUG=0
24  * EFFECTS__TRACE=0
25  */
26 
27 
29 {
30  using namespace FX;
31  if (action == Action::dgmActInvalid)
32  ; //make error and return
33 
34  switch (action) {
35  case dgmATTACK: { // 13,
36  } break;
37  case dgmCHEATTELEDOCK: { // 15,
38  } break;
39  case dgmCHEATTELEGATE: { // 16,
40  } break;
41  case dgmDECLOAKWAVE: { // 19,
42  } break;
43  case dgmECMBURST: { // 30,
44  } break;
45  case dgmEMPWAVE: { // 32,
46  } break;
47  case dgmLAUNCH: { // 44,
48  } break;
49  case dgmLAUNCHDEFENDERMISSILE: { // 45,
50  } break;
51  case dgmLAUNCHDRONE: { // 46,
52  } break;
53  case dgmLAUNCHFOFMISSILE: { // 47,
54  } break;
55  case dgmPOWERBOOST: { // 53, //effectID 48 - Consumes power booster charges to increase the available power in the capacitor.
56  } break;
57  case dgmTARGETHOSTILES: { // 70,
58  } break;
59  case dgmTARGETSILENTLY: { // 71,
60  } break;
61  case dgmTOOLTARGETSKILLS: { // 72,
62  } break;
63  case dgmVERIFYTARGETGROUP: { // 74,
64  } break;
65  /* unique/special to EVEmu */
66  case dgmSPEEDBOOST: { // 75 //effectID 14 - prop mod to call destiny speed updates
67  if ((pSE != nullptr) and (pSE->DestinyMgr())) {
68  pSE->DestinyMgr()->SpeedBoost();
69  } else {
70  _log(EFFECTS__ERROR, "FxAction::DoAction(): dgmSPEEDBOOST called with invalid pSE or DestinyMgr");
71  }
72  } break;
73  /* these below are special as they are called AFTER the module's cycle */
74  case dgmCARGOSCAN: { // 14,
75  } break;
76  case dgmMINE: { // 50,
77  } break;
78  case dgmSHIPSCAN: { // 66,
79  } break;
80  case dgmSURVEYSCAN: { // 69,
81  } break;
82  }
83 
84 }
unsigned __int8 uint8
Definition: eve-compat.h:46
#define _log(type, fmt,...)
Definition: logsys.h:124
void DoAction(uint8 action, SystemEntity *pSE)
DestinyManager * DestinyMgr()
Definition: SystemEntity.h:198
Definition: EffectsData.h:84
void SpeedBoost(bool deactivate=false)