|
EvEmu
0.8.4
11 September 2021
|


Public Member Functions | |
| PyCallable_Make_Dispatcher (TradeBound) TradeBound(PyServiceMgr *mgr) | |
| virtual | ~TradeBound () |
| virtual void | Release () |
| void | ExchangeItems (Client *pClient, Client *pOther, TradeSession *pTSes) |
| void | CancelTrade (Client *pClient, Client *pOther, TradeSession *pTSes) |
| PyCallable_DECL_CALL (List) | |
| PyCallable_DECL_CALL (IsCEOTrade) | |
| PyCallable_DECL_CALL (GetItemID) | |
| PyCallable_DECL_CALL (GetItem) | |
| PyCallable_DECL_CALL (Add) | |
| PyCallable_DECL_CALL (MultiAdd) | |
| PyCallable_DECL_CALL (ToggleAccept) | |
| PyCallable_DECL_CALL (OfferMoney) | |
| PyCallable_DECL_CALL (Abort) | |
Public Member Functions inherited from PyBoundObject | |
| 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) |
Public Member Functions inherited from PyCallable | |
| PyCallable () | |
| virtual | ~PyCallable () |
Protected Attributes | |
| Dispatcher *const | m_dispatch |
| TradeService * | m_TSvc |
Protected Attributes inherited from PyBoundObject | |
| PyServiceMgr *const | m_manager |
| std::string | m_strBoundObjectName |
Private Attributes | |
| friend | TradeService |
Additional Inherited Members | |
Protected Member Functions inherited from PyBoundObject | |
| void | _SetNodeBindID (uint32 nodeID, uint32 bindID) |
Protected Member Functions inherited from PyCallable | |
| void | _SetCallDispatcher (CallDispatcher *d) |
Definition at line 42 of file TradeService.cpp.
|
inlinevirtual |
| void TradeBound::CancelTrade | ( | Client * | pClient, |
| Client * | pOther, | ||
| TradeSession * | pTSes | ||
| ) |
Definition at line 222 of file TradeService.cpp.
References _log, TradeSession::Session::containerID, flagHangar, RefPtr< X >::get(), Inv::Update::Location, TradeSession::m_tradelist, TradeSession::m_tradeSession, InventoryItem::Move(), PyDict::SetItem(), sItemFactory, and TradeSession::Session::stationID.
Referenced by TradeService::CancelTrade().


| void TradeBound::ExchangeItems | ( | Client * | pClient, |
| Client * | pOther, | ||
| TradeSession * | pTSes | ||
| ) |
Definition at line 550 of file TradeService.cpp.
References _log, EVEDB::invGroups::Audit_Log_Secure_Container, EVEDB::invGroups::Cargo_Container, InventoryItem::categoryID(), InventoryItem::ChangeOwner(), TradeSession::Session::containerID, flagHangar, EVEDB::invGroups::Freight_Container, Client::GetCharacterID(), Client::GetCharName(), Client::GetStationID(), Client::GetSystemName(), InventoryItem::groupID(), TradeSession::Session::herID, TradeSession::Session::herMoney, Inv::Update::Location, TradeSession::m_tradelist, TradeSession::m_tradeSession, m_TSvc, InventoryItem::Move(), TradeSession::Session::myID, TradeSession::Session::myMoney, Journal::EntryType::PlayerTrading, PyIncRef, EVEDB::invGroups::Secure_Cargo_Container, Client::SendNotification(), sEntityList, PyTuple::SetItem(), EVEDB::invCategories::Ship, sItemFactory, TradeSession::Session::stationID, Client::SystemMgr(), AccountService::TranserFunds(), and TradeService::TransferContainerContents().

| TradeBound::PyCallable_DECL_CALL | ( | List | ) |
| TradeBound::PyCallable_DECL_CALL | ( | IsCEOTrade | ) |
| TradeBound::PyCallable_DECL_CALL | ( | GetItemID | ) |
| TradeBound::PyCallable_DECL_CALL | ( | GetItem | ) |
| TradeBound::PyCallable_DECL_CALL | ( | Add | ) |
| TradeBound::PyCallable_DECL_CALL | ( | MultiAdd | ) |
| TradeBound::PyCallable_DECL_CALL | ( | ToggleAccept | ) |
| TradeBound::PyCallable_DECL_CALL | ( | OfferMoney | ) |
| TradeBound::PyCallable_DECL_CALL | ( | Abort | ) |
|
inline |
Definition at line 48 of file TradeService.cpp.
References PyCallable::_SetCallDispatcher(), EvERam::Status::Abort, Corp::Actions::Add, m_dispatch, PyBoundObject::m_strBoundObjectName, m_TSvc, and PyCallable_REG_CALL.

|
inlinevirtual |
Implements PyBoundObject.
Definition at line 74 of file TradeService.cpp.
|
protected |
Definition at line 93 of file TradeService.cpp.
Referenced by PyCallable_Make_Dispatcher(), and ~TradeBound().
|
protected |
Definition at line 94 of file TradeService.cpp.
Referenced by ExchangeItems(), and PyCallable_Make_Dispatcher().
|
private |
Definition at line 45 of file TradeService.cpp.