|
EvEmu
0.8.4
11 September 2021
|
#include "Blueprint.h"


Public Member Functions | |
| virtual void | Delete () |
| virtual bool | Merge (InventoryItemRef to_merge, uint32 qty=0, bool notify=true) |
| virtual InventoryItemRef | Split (int32 qty_to_take, bool notify=true) |
| BlueprintRef | SplitBlueprint (int32 qty_to_take, bool notify=true) |
| const BlueprintType & | type () const |
| const ItemType & | productType () const |
| uint32 | productTypeID () const |
| bool | copy () |
| int8 | mLevel () |
| int8 | pLevel () |
| int16 | runs () |
| float | GetPE () |
| float | GetME () |
| void | SetMLevel (int8 me) |
| void | SetPLevel (int8 pe) |
| void | SetCopy (bool copy) |
| void | SetRuns (int16 runs) |
| void | UpdateMLevel (int8 me) |
| void | UpdatePLevel (int8 pe) |
| void | UpdateRuns (int16 runs) |
| bool | infinite () |
| PyDict * | GetBlueprintAttributes () |
Public Member Functions inherited from InventoryItem | |
| InventoryItem (uint32 _itemID, const ItemType &_type, const ItemData &_data) | |
| InventoryItem (const InventoryItem &oth) | |
| InventoryItem (InventoryItem &&oth) noexcept | |
| InventoryItem & | operator= (const InventoryItem &oth)=delete |
| InventoryItem & | operator= (InventoryItem &&oth)=delete |
| virtual | ~InventoryItem () noexcept |
| virtual ShipItem * | GetShipItem () |
| virtual ModuleItem * | GetModuleItem () |
| virtual bool | IsShipItem () |
| virtual bool | IsModuleItem () |
| virtual void | Rename (std::string name) |
| Inventory * | GetMyInventory () |
| bool | contraband () const |
| bool | isSingleton () const |
| int32 | quantity () const |
| uint32 | itemID () const |
| uint32 | ownerID () const |
| uint32 | locationID () const |
| EVEItemFlags | flag () const |
| const GPoint & | position () const |
| const ItemType & | type () const |
| const std::string & | itemName () const |
| const std::string & | customInfo () const |
| const char * | name () |
| uint16 | typeID () const |
| uint16 | groupID () const |
| double | radius () const |
| uint8 | categoryID () const |
| bool | isGlobal () const |
| bool | IsOnline () |
| void | SetPosition (const GPoint &pos) |
| void | SetCustomInfo (const char *ci) |
| void | ChangeOwner (uint32 new_owner, bool notify=false) |
| void | Move (uint32 new_location=locTemp, EVEItemFlags flag=flagNone, bool notify=false) |
| void | Donate (uint32 new_owner=ownerSystem, uint32 new_location=locTemp, EVEItemFlags new_flag=flagNone, bool notify=true) |
| void | SendItemChange (uint32 toID, std::map< int32, PyRep * > &changes) |
| void | MergeTypesInCargo (ShipItem *pShip, EVEItemFlags flag=flagNone) |
| bool | ChangeSingleton (bool singleton, bool notify=false) |
| bool | AlterQuantity (int32 qty, bool notify=false) |
| bool | SetQuantity (int32 qty, bool notify=false, bool deleteOnZero=true) |
| bool | SetFlag (EVEItemFlags flag, bool notify=false) |
| void | SetOwner (uint32 ownerID) |
| void | SaveItem () |
| void | UpdateLocation () |
| void | UpdateLocation (uint32 locID) |
| virtual InventoryItemRef | Split (int32 qty=0, bool notify=true, bool silent=false) |
| virtual bool | Merge (InventoryItemRef to_merge, int32 qty=0, bool notify=true) |
| virtual void | Relocate (uint32 locID=0, EVEItemFlags flag=flagNone) |
| virtual void | AddItem (InventoryItemRef iRef) |
| virtual void | RemoveItem (InventoryItemRef iRef) |
| double | GetPackagedVolume () |
| virtual void | SetPlayer (Client *pClient) |
| virtual bool | HasPilot () |
| virtual Client * | GetPilot () |
| void | ToVirtual (uint32 locationID) |
| virtual bool | _Load () |
| PyRep * | GetItem () const |
| void | GetItemRow (PyPackedRow *into) const |
| void | GetItemStatusRow (PyPackedRow *into) const |
| void | GetChargeStatusRow (uint32 shipID, PyPackedRow *into) const |
| bool | Populate (Rsp_CommonGetInfo_Entry &into) |
| PyList * | GetItemInfo () const |
| PyObject * | ItemGetInfo () |
| PyPackedRow * | GetItemRow () const |
| PyPackedRow * | GetItemStatusRow () const |
| PyPackedRow * | GetChargeStatusRow (uint32 shipID) const |
| bool | SkillCheck (InventoryItemRef refItem) |
| void | ClearModifiers () |
| void | AddModifier (fxData &data) |
| void | RemoveModifier (fxData &data) |
| void | ResetAttributes () |
| bool | HasReqSkill (const uint16 skillID) |
| AttributeMap * | GetAttributeMap () |
| int64 | GetTimeStamp () |
| void | SetAttribute (uint16 attrID, int num, bool notify=true) |
| void | SetAttribute (uint16 attrID, uint32 num, bool notify=true) |
| void | SetAttribute (uint16 attrID, int64 num, bool notify=true) |
| void | SetAttribute (uint16 attrID, float num, bool notify=true) |
| void | SetAttribute (uint16 attrID, double num, bool notify=true) |
| void | SetAttribute (uint16 attrID, EvilNumber num, bool notify=true) |
| void | MultiplyAttribute (uint16 attrID, EvilNumber num, bool notify=false) |
| bool | HasAttribute (const uint16 attrID) const |
| bool | HasAttribute (const uint16 attrID, EvilNumber &value) const |
| bool | SaveAttributes () |
| void | ResetAttribute (uint16 attrID, bool notify=false) |
| void | DeleteAttribute (uint16 attrID) |
| EvilNumber | GetAttribute (const uint16 attrID) const |
| EvilNumber | GetDefaultAttribute (const uint16 attrID) const |
Public Member Functions inherited from RefObject | |
| RefObject (size_t initRefCount) | |
| Initializes reference count. More... | |
| virtual | ~RefObject () |
| Destructor; must be virtual. More... | |
| size_t | GetCount () |
Static Public Member Functions | |
| static BlueprintRef | Load (uint32 blueprintID) |
| static BlueprintRef | Spawn (ItemData &data, EvERam::bpData &bdata) |
Static Public Member Functions inherited from InventoryItem | |
| static uint32 | CreateItemID (ItemData &data) |
| static uint32 | CreateTempItemID (ItemData &data) |
| static InventoryItemRef | Load (uint32 itemID) |
| static InventoryItemRef | SpawnItem (uint32 itemID, const ItemData &data) |
| static InventoryItemRef | Spawn (ItemData &data) |
| static InventoryItemRef | SpawnTemp (ItemData &data) |
Protected Member Functions | |
| Blueprint (uint32 _blueprintID, const BlueprintType &_bpType, const ItemData &_data, EvERam::bpData &_bpData) | |
| void | SaveBlueprint () |
Protected Member Functions inherited from RefObject | |
| void | IncRef () const |
| Increments reference count of object by one. More... | |
| void | DecRef () const |
| Decrements reference count of object by one. More... | |
Static Protected Member Functions | |
| template<class _Ty > | |
| static RefPtr< _Ty > | _LoadItem (uint32 blueprintID, const ItemType &type, const ItemData &data) |
| static uint32 | CreateItemID (ItemData &data, EvERam::bpData &bdata) |
Static Protected Member Functions inherited from InventoryItem | |
| template<class _Ty > | |
| static RefPtr< _Ty > | Load (uint32 itemID) |
| template<class _Ty > | |
| static RefPtr< _Ty > | _Load (uint32 itemID) |
| template<class _Ty > | |
| static RefPtr< _Ty > | _LoadItem (uint32 itemID, const ItemType &type, const ItemData &data) |
Private Attributes | |
| const BlueprintType & | m_bpType |
| EvERam::bpData | m_data |
Friends | |
| class | InventoryItem |
Additional Inherited Members | |
Public Attributes inherited from InventoryItem | |
| std::multimap< int8, fxData > | m_modifiers |
Protected Attributes inherited from InventoryItem | |
| Inventory * | pInventory |
| uint32 | m_itemID |
| AttributeMap * | pAttributeMap |
Protected Attributes inherited from RefObject | |
| size_t | mRefCount |
| Reference count of instance. More... | |
| bool | mDeleted |
Definition at line 114 of file Blueprint.h.
|
protected |
Definition at line 58 of file Blueprint.cpp.
References EVEDB::invCategories::Blueprint, ItemType::categoryID(), and m_data.
Referenced by _LoadItem().


|
inlinestaticprotected |
Definition at line 173 of file Blueprint.h.
References _log, EVEDB::invCategories::Blueprint, Blueprint(), ItemType::categoryID(), FactoryDB::GetBlueprint(), sConfig, sDataMgr, EvE::traceStack(), and type().

|
inline |
Definition at line 136 of file Blueprint.h.
References EvERam::bpData::copy, and m_data.
Referenced by SetCopy().

|
staticprotected |
Definition at line 80 of file Blueprint.cpp.
References InventoryItem::CreateItemID(), ItemDB::DeleteItem(), FactoryDB::SaveBlueprintData(), sItemFactory, and ItemData::typeID.
Referenced by Spawn().


|
virtual |
Reimplemented from InventoryItem.
Definition at line 100 of file Blueprint.cpp.
References InventoryItem::Delete(), FactoryDB::DeleteBlueprint(), and InventoryItem::m_itemID.

| PyDict * Blueprint::GetBlueprintAttributes | ( | ) |
Definition at line 139 of file Blueprint.cpp.
References EvERam::bpData::copy, GetME(), m_bpType, m_data, InventoryItem::m_itemID, BlueprintType::maxProductionLimit(), EvERam::bpData::mLevel, EvERam::bpData::pLevel, BlueprintType::productionTime(), BlueprintType::productTypeID(), BlueprintType::researchCopyTime(), BlueprintType::researchMaterialTime(), BlueprintType::researchProductivityTime(), BlueprintType::researchTechTime(), and EvERam::bpData::runs.

| float Blueprint::GetME | ( | ) |
Definition at line 157 of file Blueprint.cpp.
References m_bpType, m_data, EvERam::bpData::mLevel, and BlueprintType::wasteFactor().
Referenced by GetBlueprintAttributes().


|
inline |
|
inline |
|
static |
Definition at line 67 of file Blueprint.cpp.
Referenced by Spawn().

|
virtual |
Definition at line 120 of file Blueprint.cpp.
References m_data, InventoryItem::Merge(), EvERam::bpData::mLevel, EvERam::bpData::pLevel, EvERam::bpData::runs, and RefPtr< X >::StaticCast().

|
inline |
|
inline |
|
inline |
Definition at line 134 of file Blueprint.h.
References m_bpType, and BlueprintType::productType().

|
inline |
Definition at line 135 of file Blueprint.h.
References m_bpType, and BlueprintType::productTypeID().

|
inline |
Definition at line 139 of file Blueprint.h.
References m_data, and EvERam::bpData::runs.
Referenced by SetRuns(), and UpdateRuns().

|
protected |
Definition at line 134 of file Blueprint.cpp.
References _log, m_data, InventoryItem::m_itemID, and FactoryDB::SaveBlueprintData().
Referenced by SetCopy(), SetMLevel(), SetPLevel(), SetRuns(), UpdateMLevel(), UpdatePLevel(), and UpdateRuns().


|
inline |
Definition at line 146 of file Blueprint.h.
References EvERam::bpData::copy, copy(), m_data, and SaveBlueprint().

|
inline |
Definition at line 144 of file Blueprint.h.
References m_data, EvERam::bpData::mLevel, and SaveBlueprint().

|
inline |
Definition at line 145 of file Blueprint.h.
References m_data, EvERam::bpData::pLevel, and SaveBlueprint().

|
inline |
Definition at line 147 of file Blueprint.h.
References m_data, EvERam::bpData::runs, runs(), and SaveBlueprint().

|
static |
Definition at line 71 of file Blueprint.cpp.
References CreateItemID(), Load(), and sItemFactory.
Referenced by InventoryItem::Spawn().


|
inlinevirtual |
Definition at line 124 of file Blueprint.h.
References SplitBlueprint().

| BlueprintRef Blueprint::SplitBlueprint | ( | int32 | qty_to_take, |
| bool | notify = true |
||
| ) |
Definition at line 105 of file Blueprint.cpp.
References EvERam::bpData::copy, RefPtr< X >::get(), m_data, EvERam::bpData::mLevel, EvERam::bpData::pLevel, EvERam::bpData::runs, InventoryItem::Split(), and RefPtr< X >::StaticCast().
Referenced by Split().


|
inline |
Definition at line 133 of file Blueprint.h.
References m_bpType.
Referenced by _LoadItem().

|
inline |
Definition at line 150 of file Blueprint.h.
References m_data, EvERam::bpData::mLevel, and SaveBlueprint().

|
inline |
Definition at line 151 of file Blueprint.h.
References m_data, EvERam::bpData::pLevel, and SaveBlueprint().

|
inline |
Definition at line 152 of file Blueprint.h.
References m_data, EvERam::bpData::runs, runs(), and SaveBlueprint().

|
friend |
Definition at line 117 of file Blueprint.h.
|
private |
Definition at line 194 of file Blueprint.h.
Referenced by GetBlueprintAttributes(), GetME(), productType(), productTypeID(), and type().
|
private |
Definition at line 195 of file Blueprint.h.
Referenced by Blueprint(), copy(), GetBlueprintAttributes(), GetME(), GetPE(), infinite(), Merge(), mLevel(), pLevel(), runs(), SaveBlueprint(), SetCopy(), SetMLevel(), SetPLevel(), SetRuns(), SplitBlueprint(), UpdateMLevel(), UpdatePLevel(), and UpdateRuns().