EvEmu  0.8.4
11 September 2021
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
InventoryBound.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: Zhur, Captnoord
24 */
25 
26 #ifndef _INVENTORY_BOUND_H
27 #define _INVENTORY_BOUND_H
28 
29 #include "PyBoundObject.h"
30 #include "PyService.h"
31 
33 : public PyBoundObject
34 {
35 public:
36  InventoryBound(PyServiceMgr *mgr, InventoryItemRef item, EVEItemFlags flag, uint32 ownerID, bool passive);
37  virtual ~InventoryBound();
38 
39  virtual void Release() {
40  //I hate this statement
41  delete this;
42  }
43 
46  PyCallable_DECL_CALL(MultiAdd);
47  PyCallable_DECL_CALL(GetItem);
48  PyCallable_DECL_CALL(RemoveChargeToCargo);
49  PyCallable_DECL_CALL(RemoveChargeToHangar);
50  PyCallable_DECL_CALL(MultiMerge);
51  PyCallable_DECL_CALL(StackAll);
52  PyCallable_DECL_CALL(StripFitting);
53  PyCallable_DECL_CALL(DestroyFitting);
55  PyCallable_DECL_CALL(CreateBookmarkVouchers);
56  PyCallable_DECL_CALL(RunRefiningProcess);
57  PyCallable_DECL_CALL(ImportExportWithPlanet);
58  PyCallable_DECL_CALL(TakeOutTrash);
59  PyCallable_DECL_CALL(ListDroneBay);
60 
61 
62 protected:
63  bool m_passive; // still not sure what this is for
65 
68 
69  class Dispatcher;
70  Dispatcher *const m_dispatch;
72 
74 
75  std::vector< int32 > CatSortItems(std::vector< InventoryItemRef >& itemVec);
76 
77  PyRep* MoveItems(Client* pClient, std::vector< int32 >& items, EVEItemFlags toFlag, int32 quantity, bool manyFlags, float capacity);
78 };
79 
80 #endif//_INVENTORY_BOUND_H
Base Python wire object.
Definition: PyRep.h:66
EVEItemFlags m_flag
EVEItemFlags
Definition: EVE_Flags.h:13
Inventory * pInventory
PyCallable_DECL_CALL(List)
itemID[count] Create count or of the specified item(from Insider)" ) COMMAND( goto
signed __int32 int32
Definition: eve-compat.h:49
PyRep * MoveItems(Client *pClient, std::vector< int32 > &items, EVEItemFlags toFlag, int32 quantity, bool manyFlags, float capacity)
Definition: Client.h:66
std::vector< int32 > CatSortItems(std::vector< InventoryItemRef > &itemVec)
unsigned __int32 uint32
Definition: eve-compat.h:50
InventoryItemRef m_self
InventoryBound(PyServiceMgr *mgr, InventoryItemRef item, EVEItemFlags flag, uint32 ownerID, bool passive)
virtual void Release()
entityID heal the character with the entityID note giving you detailed ship status information gives a list of all dynamic entities and players and their destinyState in this bubble shows some current destiny variables save all items
virtual ~InventoryBound()
Dispatcher *const m_dispatch