EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
VoucherBound Class Reference

#include "Voucher.h"

Inheritance diagram for VoucherBound:
Collaboration diagram for VoucherBound:

Public Member Functions

 VoucherBound (PyServiceMgr *mgr, InventoryItemRef itemRef)
 
virtual ~VoucherBound ()
 
virtual void Release ()
 
 PyCallable_DECL_CALL (GetDescription)
 
- 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
 
- Protected Attributes inherited from PyBoundObject
PyServiceMgr *const m_manager
 
std::string m_strBoundObjectName
 

Private Attributes

InventoryItemRef m_itemRef
 

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)
 

Detailed Description

Definition at line 48 of file Voucher.h.

Constructor & Destructor Documentation

VoucherBound::VoucherBound ( PyServiceMgr mgr,
InventoryItemRef  itemRef 
)
VoucherBound::~VoucherBound ( )
virtual

Definition at line 93 of file Voucher.cpp.

References m_dispatch.

94 {
95  delete m_dispatch;
96 }
Dispatcher *const m_dispatch
Definition: Voucher.h:64

Member Function Documentation

VoucherBound::PyCallable_DECL_CALL ( GetDescription  )
virtual void VoucherBound::Release ( )
inlinevirtual

Implements PyBoundObject.

Definition at line 56 of file Voucher.h.

56  {
57  //I hate this statement
58  delete this;
59  }

Member Data Documentation

Dispatcher* const VoucherBound::m_dispatch
protected

Definition at line 64 of file Voucher.h.

Referenced by ~VoucherBound().

InventoryItemRef VoucherBound::m_itemRef
private

Definition at line 69 of file Voucher.h.


The documentation for this class was generated from the following files: