EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Voucher.h
Go to the documentation of this file.
1 /*
2  ------------------------------------------------------------------------------------
3  LICENSE:
4  ------------------------------------------------------------------------------------
5  This file is part of EVEmu: EVE Online Server Emulator
6  Copyright 2006 - 2021 The EVEmu Team
7  For the latest information visit https://evemu.dev
8  ------------------------------------------------------------------------------------
9  This program is free software; you can redistribute it and/or modify it under
10  the terms of the GNU Lesser General Public License as published by the Free Software
11  Foundation; either version 2 of the License, or (at your option) any later
12  version.
13 
14  This program is distributed in the hope that it will be useful, but WITHOUT
15  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
17 
18  You should have received a copy of the GNU Lesser General Public License along with
19  this program; if not, write to the Free Software Foundation, Inc., 59 Temple
20  Place - Suite 330, Boston, MA 02111-1307, USA, or go to
21  http://www.gnu.org/copyleft/lesser.txt.
22  ------------------------------------------------------------------------------------
23  Author: Allan
24 */
25 
26 
27 #ifndef EVEMU_INVENTORY_VOUCHER_H_
28 #define EVEMU_INVENTORY_VOUCHER_H_
29 
30 #include "PyService.h"
31 #include "PyBoundObject.h"
32 
33 class VoucherService : public PyService {
34 public:
36  virtual ~VoucherService();
37 
38 protected:
39  class Dispatcher;
40  Dispatcher *const m_dispatch;
41 
42 
43  PyCallable_DECL_CALL(GetObject);
44 
45 };
46 
47 
49 : public PyBoundObject
50 {
51 public:
53 
54  virtual ~VoucherBound();
55 
56  virtual void Release() {
57  //I hate this statement
58  delete this;
59  }
60 
61  PyCallable_DECL_CALL(GetDescription);
62 
63 protected:
64  class Dispatcher;
65  Dispatcher *const m_dispatch;
66 
67 
68 private:
70 
71 };
72 
73 #endif // EVEMU_INVENTORY_VOUCHER_H_
74 
75 //voucher types: share, playerkill, bookmark
76 
77 /*typeID typeName description
78 49 Player Kill Kill confirmation
79 50 Company Shares Shares of a corporation.
80 51 Bookmark
81 29247 Loyalty Points Loyalty points are rewarded to capsuleers for successfully completing missions for a corporation, which can be redeemed for special items from that corporation.
82 
83 
84 
85 To see your current amount of loyalty points, open your journal and click on the Loyalty Points tab.
86 
87 
88 
89 To spend them, open the LP Store in any station owned by a corporation with which you have loyalty points.
90 
91 
92 
93 For more information, please refer to the EVElopedia article about <a href="evebrowser: http://wiki.eveonline.com/en/wiki/Loyalty_point">loyalty points</a>.
94 */
virtual ~VoucherBound()
Definition: Voucher.cpp:93
virtual ~VoucherService()
Definition: Voucher.cpp:43
VoucherService(PyServiceMgr *mgr)
Dispatcher *const m_dispatch
Definition: Voucher.h:39
VoucherBound(PyServiceMgr *mgr, InventoryItemRef itemRef)
InventoryItemRef m_itemRef
Definition: Voucher.h:69
PyCallable_DECL_CALL(GetDescription)
PyCallable_DECL_CALL(GetObject)
virtual void Release()
Definition: Voucher.h:56
Dispatcher *const m_dispatch
Definition: Voucher.h:64