EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
InventoryBound.cpp File Reference
Include dependency graph for InventoryBound.cpp:

Go to the source code of this file.

Functions

 PyCallable_Make_InnerDispatcher (InventoryBound) InventoryBound
 

Function Documentation

PyCallable_Make_InnerDispatcher ( InventoryBound  )

Definition at line 42 of file InventoryBound.cpp.

References _log, Corp::Actions::Add, InventoryItem::GetItem(), m_dispatch, InventoryItem::m_itemID, InventoryItem::ownerID(), PyCallable_REG_CALL, sDataMgr, and ALSC::Action::SetPassword.

45 : PyBoundObject(mgr),
46 m_dispatch(new Dispatcher(this)),
47 pInventory(item->GetMyInventory()),
48 m_flag(flag),
49 m_self(item),
50 m_itemID(item->itemID()),
51 m_ownerID(ownerID),
52 m_passive(passive)
53 {
54  _SetCallDispatcher(m_dispatch);
55 
56  m_strBoundObjectName = "InventoryBound";
57 
62  PyCallable_REG_CALL(InventoryBound, RemoveChargeToCargo);
63  PyCallable_REG_CALL(InventoryBound, RemoveChargeToHangar);
66  PyCallable_REG_CALL(InventoryBound, StripFitting);
67  PyCallable_REG_CALL(InventoryBound, DestroyFitting);
68  PyCallable_REG_CALL(InventoryBound, ImportExportWithPlanet);
69  PyCallable_REG_CALL(InventoryBound, CreateBookmarkVouchers);
70  PyCallable_REG_CALL(InventoryBound, ListDroneBay);
72  PyCallable_REG_CALL(InventoryBound, RunRefiningProcess);
73  PyCallable_REG_CALL(InventoryBound, TakeOutTrash);
74 
75  _log(INV__BIND, "Created InventoryBound object %p for %s(%u) and ownerID %u with flag %s (passive: %s)", \
76  this, m_self->name(), m_itemID, ownerID, sDataMgr.GetFlagName(flag), (m_passive ? "true" : "false"));
77 }
Dispatcher *const m_dispatch
#define _log(type, fmt,...)
Definition: logsys.h:124
itemID[count] Create count or of the specified item(from Insider)" ) COMMAND( goto
#define PyCallable_REG_CALL(c, m)
Definition: PyServiceCD.h:78
#define sDataMgr

Here is the call graph for this function: