EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
FxAction Class Reference

#include "EffectsActions.h"

Inheritance diagram for FxAction:
Collaboration diagram for FxAction:

Public Member Functions

 FxAction ()
 
 ~FxAction ()
 
EffectsActions.cpp

This file is for decoding and processing the effect's action data Copyright 2017 EVEmu Team

: Allan

Date
: 27 March 2017
void DoAction (uint8 action, SystemEntity *pSE)
 
- Public Member Functions inherited from Singleton< FxAction >
 Singleton ()
 Primary constructor. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Singleton< FxAction >
static FxActionget ()
 
- Static Protected Attributes inherited from Singleton< FxAction >
static std::shared_ptr< FxActionmInstance
 

Detailed Description

Definition at line 21 of file EffectsActions.h.

Constructor & Destructor Documentation

FxAction::FxAction ( )
inline

Definition at line 25 of file EffectsActions.h.

25 { /* do nothing here */ }
FxAction::~FxAction ( )
inline

Definition at line 26 of file EffectsActions.h.

26 { /* do nothing here */ }

Member Function Documentation

void FxAction::DoAction ( uint8  action,
SystemEntity pSE 
)
Note
not currently used. may not be used.

Definition at line 28 of file EffectsActions.cpp.

References _log, SystemEntity::DestinyMgr(), and DestinyManager::SpeedBoost().

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 }
#define _log(type, fmt,...)
Definition: logsys.h:124
DestinyManager * DestinyMgr()
Definition: SystemEntity.h:198
Definition: EffectsData.h:84
void SpeedBoost(bool deactivate=false)

Here is the call graph for this function:


The documentation for this class was generated from the following files: