EvEmu
0.8.4
11 September 2021
|
#include "ReprocessingService.h"
Public Member Functions | |
ReprocessingServiceBound (PyServiceMgr *mgr, ReprocessingDB &db, uint32 stationID) | |
virtual | ~ReprocessingServiceBound () |
PyCallable_DECL_CALL (GetOptionsForItemTypes) | |
PyCallable_DECL_CALL (GetReprocessingInfo) | |
PyCallable_DECL_CALL (GetQuote) | |
PyCallable_DECL_CALL (GetQuotes) | |
PyCallable_DECL_CALL (Reprocess) | |
virtual void | Release () |
![]() | |
PyBoundObject (PyServiceMgr *mgr) | |
virtual | ~PyBoundObject () |
uint32 | nodeID () const |
uint32 | bindID () const |
std::string | GetBindStr () const |
const char * | GetName () const |
virtual PyResult | Call (const std::string &method, PyCallArgs &args) |
![]() | |
PyCallable () | |
virtual | ~PyCallable () |
Protected Member Functions | |
float | CalcReprocessingEfficiency (const Client *pClient, InventoryItemRef item=InventoryItemRef(nullptr)) const |
float | CalcTax (float standing) const |
PyRep * | GetQuote (uint32 itemID, Client *pClient) |
float | GetStanding (const Client *pClient) const |
![]() | |
void | _SetNodeBindID (uint32 nodeID, uint32 bindID) |
![]() | |
void | _SetCallDispatcher (CallDispatcher *d) |
Protected Attributes | |
Dispatcher *const | m_dispatch |
ReprocessingDB & | m_db |
StationItemRef | m_stationRef |
uint32 | m_stationCorpID |
float | m_staEfficiency |
float | m_tax |
![]() | |
PyServiceMgr *const | m_manager |
std::string | m_strBoundObjectName |
Definition at line 49 of file ReprocessingService.h.
ReprocessingServiceBound::ReprocessingServiceBound | ( | PyServiceMgr * | mgr, |
ReprocessingDB & | db, | ||
uint32 | stationID | ||
) |
Definition at line 79 of file ReprocessingService.cpp.
References PyCallable::_SetCallDispatcher(), RefPtr< X >::get(), GetQuote(), StationItem::GetRefineData(), m_dispatch, m_staEfficiency, m_stationCorpID, m_stationRef, PyBoundObject::m_strBoundObjectName, m_tax, PyCallable_REG_CALL, and sItemFactory.
|
virtual |
Definition at line 102 of file ReprocessingService.cpp.
References m_dispatch.
|
protected |
Definition at line 258 of file ReprocessingService.cpp.
References AttrReprocessingSkillType, RefPtr< X >::get(), EvilNumber::get_int(), InventoryItem::GetAttribute(), Client::GetChar(), Character::GetSkillLevel(), m_staEfficiency, EvESkill::RefineryEfficiency, EvESkill::Refining, and EvESkill::ScrapmetalProcessing.
Referenced by GetQuote().
|
protected |
Definition at line 362 of file ReprocessingService.cpp.
References m_tax.
Referenced by GetQuote().
Definition at line 288 of file ReprocessingService.cpp.
References _log, UserError::AddTypeName(), CalcReprocessingEfficiency(), CalcTax(), Corp::Role::FactoryManager, InventoryItem::flag(), RefPtr< X >::get(), Client::GetCharacterID(), Client::GetCorporationID(), Client::GetCorpRole(), Client::GetName(), ReprocessingDB::GetRecoverables(), Client::GetRolesAtAll(), GetStanding(), InventoryItem::itemID(), m_db, InventoryItem::ownerID(), ItemType::portionSize(), InventoryItem::quantity(), Client::SendErrorMsg(), sItemFactory, sRamMthd, InventoryItem::type(), and InventoryItem::typeID().
Referenced by ReprocessingServiceBound().
|
protected |
Definition at line 349 of file ReprocessingService.cpp.
References EvESkill::Connections, EvESkill::Diplomacy, Client::GetChar(), Client::GetCharacterID(), Client::GetCorporationID(), Character::GetSkillLevel(), StandingDB::GetStanding(), m_stationCorpID, and EvE::max().
Referenced by GetQuote().
ReprocessingServiceBound::PyCallable_DECL_CALL | ( | GetOptionsForItemTypes | ) |
ReprocessingServiceBound::PyCallable_DECL_CALL | ( | GetReprocessingInfo | ) |
ReprocessingServiceBound::PyCallable_DECL_CALL | ( | GetQuote | ) |
ReprocessingServiceBound::PyCallable_DECL_CALL | ( | GetQuotes | ) |
ReprocessingServiceBound::PyCallable_DECL_CALL | ( | Reprocess | ) |
|
virtual |
Implements PyBoundObject.
Definition at line 106 of file ReprocessingService.cpp.
|
protected |
Definition at line 68 of file ReprocessingService.h.
Referenced by GetQuote().
|
protected |
Definition at line 65 of file ReprocessingService.h.
Referenced by ReprocessingServiceBound(), and ~ReprocessingServiceBound().
|
protected |
Definition at line 72 of file ReprocessingService.h.
Referenced by CalcReprocessingEfficiency(), and ReprocessingServiceBound().
|
protected |
Definition at line 71 of file ReprocessingService.h.
Referenced by GetStanding(), and ReprocessingServiceBound().
|
protected |
Definition at line 70 of file ReprocessingService.h.
Referenced by ReprocessingServiceBound().
|
protected |
Definition at line 73 of file ReprocessingService.h.
Referenced by CalcTax(), and ReprocessingServiceBound().