EvEmu
0.8.4
11 September 2021
|
#include "EffectsDataMgr.h"
Public Member Functions | |
float | GetFxTime () |
uint16 | GetFxSize () |
![]() | |
Singleton () | |
Primary constructor. More... | |
Private Attributes | |
bool | m_loaded |
float | m_time |
effectMapType | m_fxMap |
effectMapType | m_effectMap |
std::map< uint16, Operand > | m_opMap |
std::map< uint16, Expression > | m_expMap |
std::map< std::string, uint16 > | m_effectName |
std::unordered_multimap < uint16, TypeEffects > | m_typeFxMap |
EffectsDataMgr.h | |
This file is for retrieving, manipulating and managing effect data Copyright 2017 EVEmu Team : Allan
| |
FxDataMgr () | |
~FxDataMgr () | |
int | Initialize () |
void | Populate () |
bool | isWarpSafe (uint16 eID) |
bool | isOffensive (uint16 eID) |
bool | isAssistance (uint16 eID) |
uint16 | GetEffectID (std::string effectName) |
std::string | GetEffectGuid (uint16 eID) |
std::string | GetEffectName (uint16 eID) |
Effect | GetEffect (uint16 eID) |
Operand | GetOperand (uint16 oID) |
Expression | GetExpression (uint16 eID) |
void | GetTypeEffect (uint16 typeID, std::vector< TypeEffects > &typeEffMap) |
void | GetOperands (DBQueryResult &res) |
void | GetDgmEffects (DBQueryResult &res) |
void | GetExpressions (DBQueryResult &res) |
void | GetDgmTypeEffects (DBQueryResult &res) |
Additional Inherited Members | |
![]() | |
static FxDataMgr & | get () |
![]() | |
static std::shared_ptr< FxDataMgr > | mInstance |
Definition at line 17 of file EffectsDataMgr.h.
FxDataMgr::FxDataMgr | ( | ) |
Definition at line 16 of file EffectsDataMgr.cpp.
References m_effectMap, m_expMap, m_fxMap, m_loaded, m_opMap, and m_typeFxMap.
FxDataMgr::~FxDataMgr | ( | ) |
Definition at line 27 of file EffectsDataMgr.cpp.
|
protected |
Definition at line 246 of file EffectsDataMgr.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by Populate().
|
protected |
Definition at line 297 of file EffectsDataMgr.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by Populate().
std::string FxDataMgr::GetEffectGuid | ( | uint16 | eID | ) |
uint16 FxDataMgr::GetEffectID | ( | std::string | effectName | ) |
std::string FxDataMgr::GetEffectName | ( | uint16 | eID | ) |
Expression FxDataMgr::GetExpression | ( | uint16 | eID | ) |
|
protected |
Definition at line 277 of file EffectsDataMgr.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by Populate().
|
inline |
|
inline |
|
protected |
Definition at line 230 of file EffectsDataMgr.cpp.
References DBerror::c_str(), codelog, DBQueryResult::error, and sDatabase.
Referenced by Populate().
void FxDataMgr::GetTypeEffect | ( | uint16 | typeID, |
std::vector< TypeEffects > & | typeEffMap | ||
) |
Definition at line 157 of file EffectsDataMgr.cpp.
References m_typeFxMap.
int FxDataMgr::Initialize | ( | ) |
Definition at line 32 of file EffectsDataMgr.cpp.
References Populate(), and sLog.
bool FxDataMgr::isAssistance | ( | uint16 | eID | ) |
bool FxDataMgr::isOffensive | ( | uint16 | eID | ) |
bool FxDataMgr::isWarpSafe | ( | uint16 | eID | ) |
void FxDataMgr::Populate | ( | ) |
Definition at line 39 of file EffectsDataMgr.cpp.
References Expression::arg1, Operand::arg1categoryID, Expression::arg2, Operand::arg2categoryID, Expression::description, Effect::disallowAutoRepeat, Effect::dischargeAttributeID, Effect::durationAttributeID, Effect::effectID, TypeEffects::effectID, Effect::effectName, Effect::effectState, Effect::electronicChance, Expression::expressionAttributeID, Expression::expressionGroupID, Expression::expressionName, Expression::expressionTypeID, Expression::expressionValue, Effect::falloffAttributeID, Effect::fittingUsageChanceAttributeID, Operand::format, DBResultRow::GetBool(), GetDgmEffects(), GetDgmTypeEffects(), GetExpressions(), DBResultRow::GetFloat(), DBResultRow::GetInt(), GetOperands(), DBQueryResult::GetRow(), DBResultRow::GetText(), GetTimeMSeconds(), Effect::guid, Expression::id, Effect::isAssistance, TypeEffects::isDefault, DBResultRow::IsNull(), Effect::isOffensive, Effect::isWarpSafe, m_effectMap, m_effectName, m_expMap, m_loaded, m_opMap, m_typeFxMap, Effect::npcActivationChanceAttributeID, Effect::npcUsageChanceAttributeID, Expression::operandID, Operand::operandKey, Effect::postExpression, Effect::preExpression, Effect::propulsionChance, Effect::rangeAttributeID, Effect::rangeChance, Operand::resultCategoryID, SafeDelete(), sLog, and Effect::trackingSpeedAttributeID.
Referenced by Initialize().
|
private |
Definition at line 55 of file EffectsDataMgr.h.
Referenced by FxDataMgr(), GetEffect(), GetEffectGuid(), GetEffectName(), isAssistance(), isOffensive(), isWarpSafe(), and Populate().
|
private |
Definition at line 58 of file EffectsDataMgr.h.
Referenced by GetEffectID(), and Populate().
|
private |
Definition at line 57 of file EffectsDataMgr.h.
Referenced by FxDataMgr(), GetExpression(), and Populate().
|
private |
Definition at line 53 of file EffectsDataMgr.h.
Referenced by FxDataMgr(), and GetFxSize().
|
private |
Definition at line 49 of file EffectsDataMgr.h.
Referenced by FxDataMgr(), and Populate().
Definition at line 56 of file EffectsDataMgr.h.
Referenced by FxDataMgr(), GetOperand(), and Populate().
|
private |
Definition at line 50 of file EffectsDataMgr.h.
Referenced by GetFxTime().
|
private |
Definition at line 59 of file EffectsDataMgr.h.
Referenced by FxDataMgr(), GetTypeEffect(), and Populate().