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().
557 std::string reason =
"Player Trade between ";
573 _log(PLAYER__ERROR,
"TradeBound::Handle_Add() - Failed to get ItemRef.");
void SendNotification(const PyAddress &dest, EVENotificationStream ¬i, bool seq=true)
#define _log(type, fmt,...)
int32 GetCharacterID() const
void TransferContainerContents(SystemManager *pSysMgr, InventoryItemRef itemRef, uint32 newOwnerID)
void Move(uint32 new_location=locTemp, EVEItemFlags flag=flagNone, bool notify=false)
void SetItem(size_t index, PyRep *object)
Stores Python object.
SystemManager * SystemMgr() const
static void TranserFunds(uint32 fromID, uint32 toID, double amount, std::string reason="", uint8 entryTypeID=Journal::EntryType::Undefined, uint32 referenceID=0, uint16 fromKey=Account::KeyType::Cash, uint16 toKey=Account::KeyType::Cash, Client *pClient=nullptr)
void ChangeOwner(uint32 new_owner, bool notify=false)
std::string GetCharName()
int32 GetStationID() const
std::list< TradeItems > m_tradelist
std::string GetSystemName() const