11 #ifndef EVE_STATION_OFFICE_H
12 #define EVE_STATION_OFFICE_H
51 if (type.
id() != 27) {
52 _log(ITEM__ERROR,
"Trying to load itemID %u as Office.", type.
id());
74 #endif //EVE_STATION_OFFICE_H
RefPtr< StationOffice > StationOfficeRef
#define sConfig
A macro for easier access to the singleton.
PyPackedRow * GetItemRow() const
StationOffice(uint32 _officeID, const ItemType &_itemType, const ItemData &_data, const OfficeData &_odata)
#define _log(type, fmt,...)
static StationOfficeRef Load(uint32 officeID)
itemID[count] Create count or of the specified item(from Insider)" ) COMMAND( goto
const ItemType & type() const
PyObject * StationOfficeGetInfo()
static RefPtr< _Ty > _LoadItem(uint32 officeID, const ItemType &type, const ItemData &idata)
static bool GetOfficeData(uint32 officeID, OfficeData &odata)
const ItemType & type() const
EVEItemFlags flag() const
virtual PyRep * GetItem() const
void SetLoaded(bool set=false)
static StationOfficeRef Spawn(ItemData &idata, OfficeData &odata)
Inventory * GetMyInventory()
virtual void AddItem(InventoryItemRef item)
Reference-counting-based smart pointer.
virtual void RemoveItem(InventoryItemRef item)
void ValidateAddItem(EVEItemFlags flag, InventoryItemRef item) const