EvEmu
0.8.4
11 September 2021
|
#include "InventoryItem.h"
Public Member Functions | |
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 void | Delete () |
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 |
![]() | |
RefObject (size_t initRefCount) | |
Initializes reference count. More... | |
virtual | ~RefObject () |
Destructor; must be virtual. More... | |
size_t | GetCount () |
Static Public Member Functions | |
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) |
Public Attributes | |
std::multimap< int8, fxData > | m_modifiers |
Static Protected Member Functions | |
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) |
Protected Attributes | |
Inventory * | pInventory |
uint32 | m_itemID |
AttributeMap * | pAttributeMap |
![]() | |
size_t | mRefCount |
Reference count of instance. More... | |
bool | mDeleted |
Private Attributes | |
bool | m_delete |
ItemData | m_data |
ItemType | m_type |
int64 | m_timestamp |
Additional Inherited Members | |
![]() | |
void | IncRef () const |
Increments reference count of object by one. More... | |
void | DecRef () const |
Decrements reference count of object by one. More... | |
Definition at line 63 of file InventoryItem.h.
Definition at line 50 of file InventoryItem.cpp.
References _log, ItemType::id(), m_data, m_itemID, m_modifiers, ItemData::name, and ItemData::typeID.
Referenced by _LoadItem(), and SpawnItem().
InventoryItem::InventoryItem | ( | const InventoryItem & | oth | ) |
Definition at line 68 of file InventoryItem.cpp.
References sLog, and EvE::traceStack().
|
noexcept |
Definition at line 84 of file InventoryItem.cpp.
References sLog, and EvE::traceStack().
|
virtualnoexcept |
Definition at line 128 of file InventoryItem.cpp.
References pAttributeMap, and SafeDelete().
|
virtual |
Reimplemented in Character, WreckContainer, ShipItem, SolarSystem, StationItem, CargoContainer, StructureItem, and ModuleItem.
Definition at line 207 of file InventoryItem.cpp.
References _log, AttributeMap::Load(), m_data, m_itemID, ItemData::name, and pAttributeMap.
Referenced by ModuleItem::_Load(), StructureItem::_Load(), CargoContainer::_Load(), StationItem::_Load(), SolarSystem::_Load(), ShipItem::_Load(), WreckContainer::_Load(), Character::_Load(), and SpawnItem().
Definition at line 241 of file InventoryItem.h.
References ItemDB::GetItem(), itemID(), sItemFactory, type(), and ItemData::typeID.
|
staticprotected |
Definition at line 217 of file InventoryItem.cpp.
References _log, EVEDB::invCategories::_System, EVEDB::invCategories::Accessories, EVEDB::invCategories::Asteroid, EVEDB::invGroups::Audit_Log_Secure_Container, EVEDB::invGroups::Billboard, EVEDB::invCategories::Blueprint, EVEDB::invCategories::Bonus, EVEDB::invGroups::Cargo_Container, ItemType::categoryID(), EVEDB::invCategories::Celestial, EVEDB::invCategories::Charge, EVEDB::invCategories::Commodity, EVEDB::invGroups::Concord_Drone, EVEDB::invGroups::Convoy, EVEDB::invGroups::Convoy_Drone, EVEDB::invGroups::Customs_Official, EVEDB::invGroups::Deadspace_Sleeper_Awakened_Sentinel, EVEDB::invGroups::Deadspace_Sleeper_Emergent_Sentinel, EVEDB::invGroups::Deadspace_Sleeper_Sleepless_Sentinel, EVEDB::invCategories::Deployable, EVEDB::invGroups::Destructible_Sentry_Gun, EVEDB::invCategories::Drone, EVEDB::invGroups::Drones, EVEDB::invCategories::Entity, EVEDB::invGroups::Force_Field, EVEDB::invGroups::Freight_Container, ItemType::groupID(), ItemType::id(), EVEDB::invCategories::Implant, EVEDB::invGroups::Incursion_Sanshas_Nation_Battleship, EVEDB::invGroups::Incursion_Sanshas_Nation_Capital, EVEDB::invGroups::Incursion_Sanshas_Nation_Cruiser, EVEDB::invGroups::Incursion_Sanshas_Nation_Frigate, EVEDB::invGroups::Incursion_Sanshas_Nation_Industrial, InventoryItem(), IsAsteroidID, itemID(), EVEDB::invCategories::Material, EVEDB::invGroups::Mission_Container, EVEDB::invGroups::Mobile_Sentry_Gun, EVEDB::invCategories::Module, EVEDB::invGroups::Obsolete_Probes, EVEDB::invCategories::Orbitals, EVEDB::invCategories::Owner, EVEDB::invGroups::Pirate_Drone, EVEDB::invCategories::PlanetaryCommodities, EVEDB::invCategories::PlanetaryInteraction, EVEDB::invCategories::PlanetaryResources, EVEDB::invGroups::Police_Drone, EVEDB::invGroups::Protective_Sentry_Gun, EVEDB::invCategories::Reaction, EVEDB::invGroups::Scanner_Probe, EVEDB::invGroups::Secure_Cargo_Container, EVEDB::invGroups::Sentry_Gun, EVEDB::invCategories::Ship, EVEDB::invCategories::Skill, EVEDB::invGroups::Solar_System, EVEDB::invCategories::SovereigntyStructure, EVEDB::invGroups::Spawn_Container, EVEDB::invCategories::Station, EVEDB::invGroups::Station, EVEDB::invGroups::Storyline_Battleship, EVEDB::invGroups::Storyline_Cruiser, EVEDB::invGroups::Storyline_Frigate, EVEDB::invGroups::Storyline_Mission_Battleship, EVEDB::invGroups::Storyline_Mission_Cruiser, EVEDB::invGroups::Storyline_Mission_Frigate, EVEDB::invCategories::Structure, EVEDB::invCategories::StructureUpgrade, EVEDB::invCategories::Subsystem, EVEDB::invGroups::Survey_Probe, EVEDB::invGroups::Temporary_Cloud, EVEDB::invCategories::Trading, EVEDB::invGroups::Tutorial_Drone, type(), EVEDB::invGroups::Warp_Disruption_Probe, and EVEDB::invGroups::Wreck.
|
virtual |
Reimplemented in Character, ShipItem, StructureItem, and StationOffice.
Definition at line 566 of file InventoryItem.cpp.
References Inventory::AddItem(), and pInventory.
Referenced by StationOffice::AddItem(), StructureItem::AddItem(), ShipItem::AddItem(), Character::AddItem(), SolarSystem::AddItemToInventory(), Donate(), SystemEntity::DropLoot(), Move(), InventoryBound::MoveItems(), and Relocate().
void InventoryItem::AddModifier | ( | fxData & | data | ) |
Definition at line 1464 of file InventoryItem.cpp.
References m_modifiers, and fxData::math.
Referenced by FxProc::ParseExpression().
bool InventoryItem::AlterQuantity | ( | int32 | qty, |
bool | notify = false |
||
) |
Definition at line 924 of file InventoryItem.cpp.
References _log, codelog, Delete(), m_data, m_itemID, ItemData::name, ItemData::ownerID, ItemData::quantity, SetQuantity(), and EvE::traceStack().
Referenced by ActiveModule::ConsumeCharge(), ActiveModule::DoCycle(), MarketMgr::ExecuteBuyOrder(), Merge(), Client::RemoveMissionItem(), and Split().
|
inline |
Definition at line 113 of file InventoryItem.h.
References ItemType::categoryID(), and m_type.
Referenced by AttributeMap::Add(), ShipItem::AddItemByFlag(), AnomalyMgr::AddSignal(), MiningLaser::CanActivate(), InventoryBound::CatSortItems(), AttributeMap::Change(), TradeBound::ExchangeItems(), SystemEntity::GetCategoryID(), GetItemRow(), ModuleManager::InstallSubSystem(), Missile::MakeSlimItem(), DroneSE::MakeSlimItem(), StationSE::MakeSlimItem(), ShipSE::MakeSlimItem(), ObjectSystemEntity::MakeSlimItem(), InventoryBound::MoveItems(), FxProc::ParseExpression(), ShipItem::RemoveItem(), AttributeMap::Save(), ProbeSE::SendSlimChange(), TradeService::TransferContainerContents(), DestinyManager::UpdateNewShip(), CustomsSE::VerifyAddItem(), and ShipItem::VerifyHoldType().
void InventoryItem::ChangeOwner | ( | uint32 | new_owner, |
bool | notify = false |
||
) |
Definition at line 1035 of file InventoryItem.cpp.
References m_data, Inv::Update::Owner, ItemData::ownerID, SaveItem(), sConfig, and SendItemChange().
Referenced by SystemEntity::Abandon(), TradeBound::ExchangeItems(), DroneSE::SetOwner(), and Client::SetShip().
bool InventoryItem::ChangeSingleton | ( | bool | singleton, |
bool | notify = false |
||
) |
Definition at line 1006 of file InventoryItem.cpp.
References _log, AttrVolume, GetPackagedVolume(), m_data, m_itemID, ItemData::name, ItemData::ownerID, ItemData::quantity, SaveItem(), sConfig, SendItemChange(), SetAttribute(), Inv::Update::Singleton, and ItemData::singleton.
Referenced by ShipItem::AddItemByFlag(), ModuleManager::AddModule(), Colony::CreatePin(), ShipSE::LaunchDrone(), TowerSE::Scoop(), StructureSE::Scoop(), and Skill::VerifyAttribs().
void InventoryItem::ClearModifiers | ( | ) |
Definition at line 1485 of file InventoryItem.cpp.
References _log, m_data, m_modifiers, and ItemData::name.
Referenced by FxProc::ApplyEffects(), ShipItem::ProcessEffects(), ActiveModule::ReprocessCharge(), Character::ResetModifiers(), and ActiveModule::UnloadCharge().
|
inline |
Definition at line 152 of file InventoryItem.cpp.
References _log, codelog, is_log_enabled, ItemData::locationID, ItemType::name(), ItemData::name, ItemDB::NewItem(), sItemFactory, EvE::traceStack(), and ItemData::typeID.
Referenced by ProbeItem::CreateItemID(), CelestialObject::CreateItemID(), CargoContainer::CreateItemID(), StationItem::CreateItemID(), Blueprint::CreateItemID(), WreckContainer::CreateItemID(), ShipItem::CreateItemID(), ModuleItem::Spawn(), StructureItem::Spawn(), ShipItem::Spawn(), Skill::Spawn(), and Spawn().
Definition at line 183 of file InventoryItem.cpp.
References ItemType::categoryID(), codelog, EVEDB::invCategories::Entity, ItemData::flag, flagMissile, ItemType::name(), ItemData::name, sItemFactory, and ItemData::typeID.
Referenced by Spawn(), CargoContainer::SpawnTemp(), and SpawnTemp().
|
inline |
Definition at line 105 of file InventoryItem.h.
References ItemData::customInfo, and m_data.
Referenced by CustomsSE::CustomsSE(), Prospector::DropSalvage(), BubbleManager::GetBubbleCenterMarkers(), and SaveItem().
|
virtual |
Reimplemented in Character, WreckContainer, Blueprint, ShipItem, CelestialObject, CargoContainer, StructureItem, and ProbeItem.
Definition at line 580 of file InventoryItem.cpp.
References _log, ItemDB::DeleteItem(), flagNone, RefPtr< X >::get(), GetMyInventory(), IsNPCCorp, IsValidLocation, ItemData::locationID, locJunkyard, m_data, m_delete, m_itemID, Move(), ItemData::name, ItemData::ownerID, Inventory::RemoveItem(), and sItemFactory.
Referenced by Colony::AbandonColony(), AlterQuantity(), TurretModule::ApplyDamage(), Command_unspawn(), StructureItem::Delete(), CargoContainer::Delete(), CelestialObject::Delete(), ShipItem::Delete(), Blueprint::Delete(), WreckContainer::Delete(), Character::Delete(), SystemEntity::Delete(), RigModule::DestroyRig(), MarketMgr::ExecuteBuyOrder(), MiningLaser::ProcessCycle(), DroneSE::RemoveDrone(), Client::RemoveMissionItem(), NPC::RemoveNPC(), Sentry::RemoveSentry(), SetQuantity(), and SystemManager::UnloadSystem().
|
inline |
Definition at line 321 of file InventoryItem.h.
References AttributeMap::DeleteAttribute(), and pAttributeMap.
void InventoryItem::Donate | ( | uint32 | new_owner = ownerSystem , |
uint32 | new_location = locTemp , |
||
EVEItemFlags | new_flag = flagNone , |
||
bool | notify = true |
||
) |
Definition at line 667 of file InventoryItem.cpp.
References _log, AddItem(), Inv::Update::Flag, ItemData::flag, RefPtr< X >::get(), IsValidLocation, IsValidOwner, Inv::Update::Location, ItemData::locationID, m_data, ItemData::name, Inv::Update::Owner, ItemData::ownerID, RemoveItem(), SaveItem(), SendItemChange(), and sItemFactory.
Referenced by MarketMgr::ExecuteBuyOrder(), MarketMgr::ExecuteSellOrder(), and InventoryBound::MoveItems().
|
inline |
Definition at line 101 of file InventoryItem.h.
References ItemData::flag, and m_data.
Referenced by ActiveModule::Activate(), AttributeMap::Add(), TurretModule::ApplyDamage(), SystemEntity::ApplyDamage(), AttributeMap::Change(), ActiveModule::ConsumeCharge(), ActiveModule::DeactivateCycle(), GenericModule::flag(), Skill::GetCurrentSP(), SystemEntity::GetFlag(), ModuleManager::GetModuleListOfRefsOrdered(), ModuleManager::GetModuleListOfRefsOrderedRev(), ReprocessingServiceBound::GetQuote(), ModuleManager::GetRandModule(), ModuleManager::GetWeapons(), ShipItem::HeatDamageCheck(), ModuleManager::Initialize(), Skill::IsTraining(), RamMethods::ItemLocationCheck(), ModuleManager::LoadCharge(), ShipItem::LoadCharge(), ShipItem::LoadChargesToBank(), MergeTypesInCargo(), Client::MoveItem(), InventoryBound::MoveItems(), Client::MoveToLocation(), Relocate(), ShipItem::RemoveItem(), SetFlag(), ActiveModule::ShowEffect(), ShipItem::StripFitting(), and RamMethods::VerifyCompleteJob().
|
inline |
Definition at line 323 of file InventoryItem.h.
References AttributeMap::GetAttribute(), and pAttributeMap.
Referenced by Concord::_UpdateDamage(), ShipSE::AbandonDrones(), Prospector::Activate(), StructureSE::Activate(), ShipItem::AddItem(), ModuleManager::AddModule(), ModuleManager::addModuleRef(), AnomalyMgr::AddSignal(), Character::AddToSkillQueue(), ShipSE::ApplyBoost(), TurretModule::ApplyDamage(), SystemEntity::ApplyDamage(), DroneAIMgr::AttackTarget(), NPCAIMgr::AttackTarget(), ConcordAI::AttackTarget(), DynamicSystemEntity::AwardBounty(), SystemEntity::AwardSecurityStatus(), ReprocessingServiceBound::CalcReprocessingEfficiency(), RamMethods::Calculate(), MiningLaser::CanActivate(), ActiveModule::CanActivate(), Character::CancelSkillInTraining(), Command_cargo(), Concord::Concord(), ConcordAI::ConcordAI(), TowerSE::CreateForceField(), Colony::CreatePin(), Damage::Damage(), ModuleManager::deleteModuleRef(), ActiveModule::DoCycle(), DroneSE::DroneSE(), Skill::FitModuleSkillCheck(), ShipItem::GenerateHeat(), GenericModule::GetAttribute(), ModuleManager::GetAvailableSlotInBank(), Skill::GetCurrentSP(), TurretFormulas::GetDroneToHit(), GetItemStatusRow(), Skill::GetLevelForSP(), PIDataMgr::GetMaxOutput(), TurretFormulas::GetNPCToHit(), PIDataMgr::GetProgramResultInfo(), Skill::GetRemainingSP(), TurretFormulas::GetSentryToHit(), ShipItem::GetShipArmorHP(), ShipItem::GetShipArmorPercent(), ShipItem::GetShipCapacitorLevel(), ShipItem::GetShipCapacitorPercent(), ShipItem::GetShipCPULevel(), ShipItem::GetShipCPUPercent(), ShipItem::GetShipHullHP(), ShipItem::GetShipHullPercent(), ShipItem::GetShipPGLevel(), ShipItem::GetShipPGPercent(), ShipItem::GetShipShieldHP(), ShipItem::GetShipShieldPercent(), Skill::GetSPForLevel(), Character::GetSPPerMin(), SentryAI::GetTargetTime(), NPCAIMgr::GetTargetTime(), ConcordAI::GetTargetTime(), TurretFormulas::GetToHit(), Skill::GetTrainingTime(), ShipItem::HeatDamageCheck(), Missile::HitTarget(), StructureSE::Init(), ShipItem::InitAttribs(), ModuleManager::Initialize(), ShipItem::InitPod(), ModuleManager::InstallRig(), GenericModule::IsDamaged(), isGlobal(), IsOnline(), RamMethods::JobsCheck(), CustomsSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), ShipSE::LaunchDrone(), ActiveModule::LaunchMissile(), NPCAIMgr::LaunchMissile(), TurretModule::LoadCharge(), MiningLaser::LoadCharge(), Character::LoadPausedSkillQueue(), Concord::MakeDamageState(), Missile::MakeDamageState(), DroneSE::MakeDamageState(), ProbeSE::MakeDamageState(), CelestialSE::MakeDamageState(), ShipSE::MakeDamageState(), ItemSystemEntity::MakeDamageState(), ObjectSystemEntity::MakeDamageState(), DynamicSystemEntity::MakeDamageState(), DestinyManager::MakeMissile(), NPCAIMgr::MissileLaunched(), ShipItem::MoveModuleSlot(), NPC::NPC(), NPCAIMgr::NPCAIMgr(), GenericModule::Offline(), GenericModule::Online(), DestinyManager::Orbit(), Populate(), ProbeSE::ProbeSE(), ShipSE::Process(), ActiveModule::ProcessActiveCycle(), ShipItem::ProcessHeat(), Scan::ProcessScan(), StructureSE::PullAnchor(), radius(), ProbeSE::RecoverProbe(), ShipItem::RemoveItem(), RigModule::RemoveRig(), ShipItem::RepairShip(), Scan::RequestScans(), ShipSE::ScoopDrone(), SystemEntity::SendDamageStateChanged(), Sentry::Sentry(), SentryAI::SentryAI(), StructureSE::SetAnchor(), DestinyManager::SetMaxVelocity(), ModuleItem::SetOnline(), TowerSE::SetOnline(), ShipItem::SetShipArmor(), ShipItem::SetShipCapacitorLevel(), ShipItem::SetShipHull(), ShipItem::SetShipShield(), Skill::SkillPrereqsComplete(), CargoContainer::Spawn(), WreckContainer::Spawn(), Spawn(), DestinyManager::SpeedBoost(), TargetManager::StartTargeting(), StationSE::StationSE(), SystemEntity::SystemEntity(), SentryAI::Target(), DroneAIMgr::Target(), ConcordAI::Target(), SentryAI::Targeted(), ConcordAI::Targeted(), TargetManager::TimeToLock(), TowerSE::TowerSE(), ShipItem::TryModuleLimitChecks(), ActiveModule::UnloadCharge(), ActiveModule::UpdateCharge(), ActiveModule::UpdateDamage(), ObjectSystemEntity::UpdateDamage(), DynamicSystemEntity::UpdateDamage(), ShipItem::UpdateMass(), ProbeSE::UpdateProbe(), DestinyManager::UpdateShipVariables(), Concord::UseArmorRepairer(), NPC::UseArmorRepairer(), Concord::UseShieldRecharge(), NPC::UseShieldRecharge(), ShipItem::ValidateBoardShip(), Skill::VerifyAttribs(), ShipItem::VerifyHoldType(), Skill::VerifySP(), DestinyManager::WarpTo(), and DestinyManager::WebbedMe().
|
inline |
Definition at line 307 of file InventoryItem.h.
References pAttributeMap.
Referenced by Command_attrlist().
void InventoryItem::GetChargeStatusRow | ( | uint32 | shipID, |
PyPackedRow * | into | ||
) | const |
Definition at line 1158 of file InventoryItem.cpp.
References ItemData::flag, ItemType::id(), m_data, m_type, and PyPackedRow::SetField().
Referenced by GetChargeStatusRow().
PyPackedRow * InventoryItem::GetChargeStatusRow | ( | uint32 | shipID | ) | const |
Definition at line 1147 of file InventoryItem.cpp.
References DBRowDescriptor::AddColumn(), DBTYPE_I2, DBTYPE_I4, DBTYPE_I8, and GetChargeStatusRow().
|
inline |
Definition at line 324 of file InventoryItem.h.
References ItemType::GetAttribute().
Referenced by AttributeMap::ResetAttribute().
|
inline |
Definition at line 263 of file InventoryItem.h.
References GetItemRow().
Referenced by PyCallable_Make_InnerDispatcher().
PyList * InventoryItem::GetItemInfo | ( | ) | const |
Definition at line 1277 of file InventoryItem.cpp.
References PyList::AddItem(), and GetItemRow().
void InventoryItem::GetItemRow | ( | PyPackedRow * | into | ) | const |
Definition at line 1171 of file InventoryItem.cpp.
References EVEDB::invCategories::Blueprint, ItemType::categoryID(), categoryID(), ItemData::customInfo, ItemData::flag, groupID(), ItemType::id(), ItemData::locationID, m_data, m_itemID, m_type, ItemData::ownerID, ItemData::quantity, PyPackedRow::SetField(), ItemData::singleton, sItemFactory, and type().
PyPackedRow * InventoryItem::GetItemRow | ( | ) | const |
Definition at line 1164 of file InventoryItem.cpp.
References sDataMgr.
Referenced by StationOffice::GetItem(), CargoContainer::GetItem(), GetItem(), GetItemInfo(), Populate(), and SendItemChange().
void InventoryItem::GetItemStatusRow | ( | PyPackedRow * | into | ) | const |
Definition at line 1135 of file InventoryItem.cpp.
References AttrArmorDamageAmount, AttrCapacitorCharge, AttrDamage, AttrIsIncapacitated, AttrOnline, AttrShieldCharge, AttrSkillPoints, GetAttribute(), HasAttribute(), m_itemID, and PyPackedRow::SetField().
Referenced by ShipItem::GetShipState().
PyPackedRow * InventoryItem::GetItemStatusRow | ( | ) | const |
Definition at line 1120 of file InventoryItem.cpp.
References DBRowDescriptor::AddColumn(), DBTYPE_BOOL, DBTYPE_I4, DBTYPE_I8, and DBTYPE_R8.
Referenced by ShipItem::GetShipState().
|
inlinevirtual |
|
inline |
Definition at line 91 of file InventoryItem.h.
References pInventory.
Referenced by DynamicEntityFactory::BuildEntity(), ActiveModule::CanActivate(), Command_cargo(), Command_inventory(), Command_shipinventory(), Command_skilllist(), Client::ContainsTypeQty(), ProbeItem::Delete(), Delete(), ActiveModule::DoCycle(), Prospector::DropSalvage(), RamMethods::EncodeMissingMaterials(), SystemManager::GetContainerFromInventory(), SystemManager::GetShipFromInventory(), SystemManager::GetStationFromInventory(), SystemManager::GetSystemInv(), ModuleManager::Initialize(), StationOffice::IsEmpty(), CargoContainer::IsEmpty(), CustomsSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), Client::LoadStationHangar(), ShipSE::MakeSlimItem(), MergeTypesInCargo(), MiningLaser::ProcessCycle(), Client::RemoveMissionItem(), StructureSE::SetAnchor(), TradeService::TransferContainerContents(), ModuleManager::UnloadCharge(), StationSE::UnloadStation(), and SystemManager::UnloadSystem().
double InventoryItem::GetPackagedVolume | ( | ) |
Definition at line 1358 of file InventoryItem.cpp.
References ItemType::groupID(), m_data, m_type, ItemData::singleton, and ItemType::volume().
Referenced by ShipItem::_Load(), ChangeSingleton(), ShipItem::InitAttribs(), ShipItem::InitPod(), and CargoContainer::Spawn().
|
inlinevirtual |
Reimplemented in ShipItem.
Definition at line 176 of file InventoryItem.h.
Referenced by SystemEntity::AwardSecurityStatus(), ShipSE::Killed(), ShipSE::MakeSlimItem(), and ShipSE::Process().
|
inlinevirtual |
Reimplemented in ShipItem.
Definition at line 82 of file InventoryItem.h.
Referenced by RepairService::GetDamageReports(), and InventoryBound::MoveItems().
|
inline |
|
inline |
Definition at line 111 of file InventoryItem.h.
References ItemType::groupID(), and m_type.
Referenced by ActiveModule::ActiveModule(), AnomalyMgr::AddSignal(), TurretModule::ApplyDamage(), SystemEntity::ApplyDamage(), MiningLaser::CanActivate(), ActiveModule::CanActivate(), ActiveModule::DoCycle(), TradeBound::ExchangeItems(), SystemEntity::GetGroupID(), GetItemRow(), GenericModule::groupID(), ShipItem::Init(), StructureSE::Init(), ModuleManager::Initialize(), Client::InPod(), ModuleManager::InstallRig(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), StructureSE::Killed(), ShipSE::Killed(), ItemSystemEntity::MakeDamageState(), Missile::MakeSlimItem(), DroneSE::MakeSlimItem(), StationSE::MakeSlimItem(), ShipSE::MakeSlimItem(), ItemSystemEntity::MakeSlimItem(), ObjectSystemEntity::MakeSlimItem(), MiningLaser::MiningLaser(), Missile::Missile(), InventoryBound::MoveItems(), ShipSE::PayInsurance(), Prospector::Prospector(), Character::SkillQueueLoop(), ActiveModule::Update(), DestinyManager::UpdateNewShip(), ShipItem::ValidateItemSpecifics(), and ShipItem::VerifyHoldType().
|
inline |
Definition at line 317 of file InventoryItem.h.
References AttributeMap::HasAttribute(), and pAttributeMap.
Referenced by ActiveModule::Activate(), ActiveModule::ActiveModule(), TurretModule::ApplyDamage(), DroneAIMgr::AttackTarget(), NPCAIMgr::AttackTarget(), SystemEntity::AwardSecurityStatus(), MiningLaser::CanActivate(), ActiveModule::CanActivate(), Command_cargo(), ActiveModule::DoCycle(), Skill::FitModuleSkillCheck(), GetItemStatusRow(), GenericModule::HasAttribute(), ShipItem::InitAttribs(), ShipItem::InitPod(), isGlobal(), NPCAIMgr::LaunchMissile(), CelestialSE::MakeDamageState(), NPCAIMgr::NPCAIMgr(), ProbeSE::ProbeSE(), Prospector::Prospector(), radius(), SentryAI::SentryAI(), ModuleItem::SetOnline(), Sentry::SetResists(), NPC::SetResists(), Concord::SetResists(), DroneSE::SetResists(), SkillCheck(), Skill::SkillPrereqsComplete(), TargetManager::TimeToLock(), ActiveModule::UnloadCharge(), DestinyManager::UpdateShipVariables(), ShipItem::ValidateBoardShip(), ShipItem::ValidateItemSpecifics(), ShipItem::VerifyHoldType(), and DestinyManager::WarpTo().
|
inline |
Definition at line 318 of file InventoryItem.h.
References AttributeMap::HasAttribute(), and pAttributeMap.
|
inlinevirtual |
Reimplemented in ShipItem.
Definition at line 175 of file InventoryItem.h.
Referenced by SystemEntity::AwardSecurityStatus(), ShipSE::EncodeDestiny(), ShipSE::Killed(), and ShipSE::Process().
|
inline |
Definition at line 300 of file InventoryItem.h.
References ItemType::HasReqSkill().
Referenced by FxProc::ApplyEffects().
|
inline |
Definition at line 114 of file InventoryItem.h.
References AttrIsGlobal, GetAttribute(), and HasAttribute().
Referenced by SystemEntity::isGlobal().
|
inlinevirtual |
Reimplemented in ModuleItem.
Definition at line 86 of file InventoryItem.h.
Referenced by SystemEntity::ApplyDamage().
|
inline |
Definition at line 115 of file InventoryItem.h.
References AttrOnline, EvilNumber::get_bool(), and GetAttribute().
Referenced by GenericModule::isOnline().
|
inlinevirtual |
Reimplemented in ShipItem.
Definition at line 85 of file InventoryItem.h.
Referenced by RepairService::GetDamageReports().
|
inline |
Definition at line 96 of file InventoryItem.h.
References m_data, and ItemData::singleton.
Referenced by Character::Character(), Client::CheckShipRef(), Merge(), MergeTypesInCargo(), and Skill::VerifyAttribs().
PyObject * InventoryItem::ItemGetInfo | ( | ) |
Definition at line 1284 of file InventoryItem.cpp.
References Populate().
|
inline |
Definition at line 98 of file InventoryItem.h.
References m_itemID.
Referenced by _Load(), _LoadItem(), ActiveModule::AbortCycle(), ActiveModule::ActiveModule(), AttributeMap::Add(), ShipItem::AddItemByFlag(), SolarSystem::AddItemToInventory(), FleetService::AddMember(), MiningLaser::AddOreAndDeactivate(), AnomalyMgr::AddSignal(), Character::AddToSkillQueue(), TurretModule::ApplyDamage(), SystemEntity::ApplyDamage(), SentryAI::AttackTarget(), DroneAIMgr::AttackTarget(), NPCAIMgr::AttackTarget(), ConcordAI::AttackTarget(), DynamicSystemEntity::AwardBounty(), SystemEntity::AwardSecurityStatus(), Client::Board(), Client::BoardShip(), ActiveModule::CanActivate(), Character::CancelSkillInTraining(), Agent::CanUseAgent(), CelestialObject::CelestialObject(), AttributeMap::Change(), Client::CharNoLongerInStation(), Client::CharNowInStation(), Client::CheckShipRef(), ActiveModule::Clear(), Command_cargo(), Command_dogma(), PlanetSE::CreateCustomsOffice(), FleetService::CreateFleet(), Client::CreateNewPod(), Colony::CreatePin(), Client::CreateShipSE(), Damage::Damage(), ActiveModule::Deactivate(), ActiveModule::DeactivateCycle(), AsteroidSE::Delete(), AttributeMap::DeleteAttribute(), MiningLaser::Depleted(), Client::DestroyShipSE(), Client::DockToStation(), DroneSE::DroneSE(), SystemEntity::DropLoot(), Prospector::DropSalvage(), Client::Eject(), AnomalySE::EncodeDestiny(), WormholeSE::EncodeDestiny(), StationSE::EncodeDestiny(), SystemEntity::EncodeDestiny(), StaticSystemEntity::EncodeDestiny(), ItemSystemEntity::EncodeDestiny(), FieldSE::EncodeDestiny(), ObjectSystemEntity::EncodeDestiny(), DynamicSystemEntity::EncodeDestiny(), MarketMgr::ExecuteBuyOrder(), GenericModule::GenericModule(), FactoryDB::GetAssemblyLineProperties(), ShipItem::GetChargeState(), Client::GetCharID(), Character::GetEndOfTraining(), SystemEntity::GetID(), PlanetSE::GetPlanetInfo(), Client::GetPodID(), ReprocessingServiceBound::GetQuote(), ShipItem::GetShipDNA(), ShipItem::GetShipInfo(), ShipItem::GetShipState(), IHubSE::Init(), SBUSE::Init(), TCUSE::Init(), TowerSE::Init(), CustomsSE::Init(), ReactorSE::Init(), StructureSE::Init(), ModuleManager::Initialize(), ModuleManager::InstallRig(), ModuleManager::InstallSubSystem(), GenericModule::itemID(), RamMethods::JobsCheck(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), ShipSE::LaunchDrone(), ActiveModule::LaunchMissile(), ActiveModule::LaunchProbe(), FleetService::LeaveFleet(), ProbeItem::Load(), AttributeMap::Load(), Load(), ActiveModule::LoadCharge(), ModuleManager::LoadCharge(), StargateSE::LoadExtras(), Character::LoadPausedSkillQueue(), Client::LoadStationHangar(), TowerSE::MakeSlimItem(), Missile::MakeSlimItem(), DroneSE::MakeSlimItem(), ProbeSE::MakeSlimItem(), AnomalySE::MakeSlimItem(), ContainerSE::MakeSlimItem(), WormholeSE::MakeSlimItem(), StationSE::MakeSlimItem(), SystemEntity::MakeSlimItem(), WreckSE::MakeSlimItem(), StaticSystemEntity::MakeSlimItem(), ShipSE::MakeSlimItem(), StargateSE::MakeSlimItem(), ItemSystemEntity::MakeSlimItem(), ObjectSystemEntity::MakeSlimItem(), DynamicSystemEntity::MakeSlimItem(), WreckContainer::MakeSlimItemChange(), SpawnMgr::MakeSpawn(), Merge(), ShipItem::MergeModuleGroups(), MergeTypesInCargo(), Missile::Missile(), ModuleItem::ModuleItem(), InventoryBound::MoveItems(), Client::MoveToLocation(), AttributeMap::MultiplyAttribute(), NPC::NPC(), Character::PayBounty(), ShipSE::PayInsurance(), ShipItem::PeelAndLink(), ProbeSE::ProbeSE(), SystemEntity::Process(), ContainerSE::Process(), WreckSE::Process(), ShipSE::Process(), Client::ProcessClient(), MiningLaser::ProcessCycle(), ProbeSE::ProcessTic(), ProbeSE::RecoverProbe(), ShipItem::RemoveItem(), WreckContainer::RemoveItem(), SolarSystem::RemoveItemFromInventory(), SystemManager::RemoveItemFromInventory(), FleetService::RemoveMember(), ProbeSE::RemoveProbe(), ShipItem::RemoveRig(), ShipItem::ReplaceCharges(), Client::ResetAfterPopped(), AttributeMap::Save(), AttributeMap::SaveShipState(), DestinyManager::SendBallInteractive(), AttributeMap::SendChanges(), SystemEntity::SendDamageStateChanged(), ProbeSE::SendNewProbe(), Client::SendSessionChange(), ProbeSE::SendSlimChange(), ProbeSE::SendStateChange(), ProbeSE::SendWarpEnd(), ProbeSE::SendWarpStart(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), AttributeMap::SetAttribute(), SystemBubble::SetBelt(), Client::SetDestiny(), IHubSE::SetOnline(), TowerSE::SetOnline(), StructureSE::SetOnline(), Client::SetShip(), ShipItem::ShipGetModuleList(), ShipItem::ShipItem(), ActiveModule::ShowEffect(), Character::SkillQueueLoop(), ProbeItem::Spawn(), Spawn(), Client::SpawnNewRookieShip(), DroneSE::StateChange(), StationItem::StationItem(), StationOffice::StationOffice(), StructureItem::StructureItem(), TradeService::TransferContainerContents(), ActiveModule::UnloadCharge(), ModuleManager::UnloadCharge(), ObjectSystemEntity::UpdateDamage(), DynamicSystemEntity::UpdateDamage(), DestinyManager::UpdateNewShip(), Client::UpdateNewShip(), TowerSE::UpdatePassword(), Agent::UpdateStandings(), ShipItem::ValidateItemSpecifics(), Client::WarpIn(), Client::WarpOut(), WreckContainer::WreckContainer(), WreckContainer::WreckContainerGetInfo(), and Client::~Client().
|
inline |
Definition at line 104 of file InventoryItem.h.
References m_data, and ItemData::name.
Referenced by AnomalyMgr::AddSignal(), FleetService::CreateFleet(), Client::CreateNewPod(), FleetService::GetBoosterData(), Client::GetCharName(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), ShipSE::Killed(), TowerSE::MakeSlimItem(), CustomsSE::MakeSlimItem(), Missile::MakeSlimItem(), DroneSE::MakeSlimItem(), StructureSE::MakeSlimItem(), ContainerSE::MakeSlimItem(), StationSE::MakeSlimItem(), WreckSE::MakeSlimItem(), StaticSystemEntity::MakeSlimItem(), ShipSE::MakeSlimItem(), StargateSE::MakeSlimItem(), ObjectSystemEntity::MakeSlimItem(), DynamicSystemEntity::MakeSlimItem(), GenericModule::Online(), Character::PayBounty(), ShipSE::PayInsurance(), CustomsSE::SendSlimUpdate(), StructureSE::SendSlimUpdate(), Client::SpawnNewRookieShip(), and DestinyManager::UpdateNewShip().
|
static |
Definition at line 133 of file InventoryItem.cpp.
References itemID().
Definition at line 225 of file InventoryItem.h.
References itemID().
|
inline |
Definition at line 100 of file InventoryItem.h.
References ItemData::locationID, and m_data.
Referenced by AttributeMap::Add(), AttributeMap::Change(), Command_tr(), ContainerSE::ContainerSE(), Client::CynoJump(), ProbeItem::Delete(), ShipItem::EmptyCargo(), SystemEntity::GetLocationID(), RamMethods::ItemLocationCheck(), ShipItem::LogOut(), InventoryBound::MoveItems(), ShipItem::Online(), AttributeMap::SendChanges(), IHubSE::SetOffline(), StructureSE::SetOffline(), IHubSE::SetOnline(), JumpBridgeSE::SetOnline(), StructureSE::SetOnline(), ShipItem::SetPlayer(), ShipItem::StripFitting(), ToVirtual(), and ModuleManager::UnloadCharge().
|
virtual |
Definition at line 860 of file InventoryItem.cpp.
References _log, AlterQuantity(), RefPtr< X >::get(), ItemType::id(), IsCharacterID, isSingleton(), itemID(), m_data, m_itemID, m_type, name(), ItemData::name, ItemData::ownerID, quantity(), Client::SendErrorMsg(), sEntityList, ItemData::singleton, and typeID().
Referenced by ModuleManager::LoadCharge(), Blueprint::Merge(), and MergeTypesInCargo().
void InventoryItem::MergeTypesInCargo | ( | ShipItem * | pShip, |
EVEItemFlags | flag = flagNone |
||
) |
Definition at line 899 of file InventoryItem.cpp.
References flag(), RefPtr< X >::get(), Inventory::GetByTypeFlag(), GetMyInventory(), ItemType::id(), isSingleton(), itemID(), m_data, m_type, Merge(), Move(), ItemData::singleton, and typeID().
Referenced by ProbeSE::ProcessTic().
void InventoryItem::Move | ( | uint32 | new_location = locTemp , |
EVEItemFlags | flag = flagNone , |
||
bool | notify = false |
||
) |
Definition at line 742 of file InventoryItem.cpp.
References _log, AddItem(), Inv::Update::Flag, ItemData::flag, RefPtr< X >::get(), IsNPC, IsTempItem, IsValidLocation, Inv::Update::Location, ItemData::locationID, locRAMItems, m_data, m_delete, m_itemID, ItemData::name, ItemData::ownerID, RemoveItem(), SendItemChange(), sItemFactory, and ItemDB::UpdateLocation().
Referenced by ShipItem::AddItemByFlag(), Client::Board(), Client::BoardShip(), TradeBound::CancelTrade(), Colony::CreatePin(), Delete(), Client::Eject(), TradeBound::ExchangeItems(), ShipSE::LaunchDrone(), MergeTypesInCargo(), Client::MoveItem(), Client::MoveToLocation(), ShipItem::RemoveRig(), Client::ResetAfterPodded(), Client::SetShip(), and Split().
void InventoryItem::MultiplyAttribute | ( | uint16 | attrID, |
EvilNumber | num, | ||
bool | notify = false |
||
) |
Definition at line 1353 of file InventoryItem.cpp.
References AttributeMap::MultiplyAttribute(), and pAttributeMap.
Referenced by ModuleManager::addModuleRef(), and Missile::Missile().
|
inline |
Definition at line 107 of file InventoryItem.h.
References m_data, and ItemData::name.
Referenced by ActiveModule::AbortCycle(), ActiveModule::Activate(), ModuleManager::Activate(), StructureSE::Activate(), ActiveModule::ActiveModule(), Character::AddItem(), SolarSystem::AddItemToInventory(), ModuleManager::AddModule(), ModuleManager::addModuleRef(), MiningLaser::AddOreAndDeactivate(), AnomalyMgr::AddSignal(), TargetManager::AddTargetModule(), Character::AddToSkillQueue(), TurretModule::ApplyDamage(), SystemEntity::ApplyDamage(), Client::BoardShip(), ActiveModule::CanActivate(), Character::CancelSkillInTraining(), CargoContainer::CargoContainer(), CargoContainer::CargoContainerGetInfo(), CelestialObject::CelestialObject(), ModuleManager::CheckGroupFitLimited(), Client::CheckShipRef(), ActiveModule::Clear(), Character::ClearSkillQueue(), Command_cargo(), Command_inventory(), Command_shipinventory(), Command_skilllist(), Colony::CreatePin(), Client::CreateShipSE(), Client::CynoJump(), Damage::Damage(), ModuleManager::DamageModule(), ActiveModule::Deactivate(), ModuleManager::Deactivate(), ActiveModule::DeactivateCycle(), ProbeItem::Delete(), AsteroidSE::Delete(), AttributeMap::DeleteAttribute(), ModuleManager::deleteModuleRef(), ModuleManager::DeOverload(), MiningLaser::Depleted(), Client::DestroyShipSE(), ShipItem::DissipateHeat(), DroneSE::DroneSE(), Prospector::DropSalvage(), Client::Eject(), MarketMgr::ExecuteBuyOrder(), ShipItem::FindAvailableModuleSlot(), EntityList::FindClientByName(), ShipItem::GenerateHeat(), GenericModule::GenericModule(), ShipItem::GetChargeState(), Character::GetCharInfo(), Skill::GetCurrentSP(), Character::GetEndOfTraining(), Client::GetName(), SystemEntity::GetName(), ShipItem::GetShipDNA(), ShipItem::GetShipInfo(), ShipItem::GetShipState(), Client::Handle_Notify(), IHubSE::Init(), SBUSE::Init(), TCUSE::Init(), TowerSE::Init(), CustomsSE::Init(), ReactorSE::Init(), StructureSE::Init(), ModuleManager::Initialize(), Character::InjectSkillIntoBrain(), ModuleManager::InstallRig(), ModuleManager::InstallSubSystem(), Sentry::Killed(), NPC::Killed(), StructureSE::Killed(), ShipSE::Killed(), ShipSE::LaunchDrone(), ActiveModule::LaunchMissile(), ActiveModule::LaunchProbe(), AttributeMap::Load(), TurretModule::LoadCharge(), ActiveModule::LoadCharge(), ModuleManager::LoadCharge(), ShipItem::LoadCharge(), Character::LoadPausedSkillQueue(), Client::LoadStationHangar(), ContainerSE::MakeSlimItem(), StationSE::MakeSlimItem(), WreckSE::MakeSlimItem(), ShipSE::MakeSlimItem(), Merge(), ShipItem::MergeModuleGroups(), MiningLaser::MiningLaser(), ModuleItem::ModuleItem(), Client::MoveItem(), InventoryBound::MoveItems(), ShipItem::MoveModuleSlot(), Client::MoveToLocation(), AttributeMap::MultiplyAttribute(), NPC::NPC(), GenericModule::Offline(), ModuleManager::Offline(), GenericModule::Online(), ModuleManager::Online(), ModuleManager::Overload(), Character::PauseSkillQueue(), ShipItem::PeelAndLink(), ActiveModule::Process(), SystemEntity::Process(), Client::ProcessClient(), MiningLaser::ProcessCycle(), GenericModule::ProcessEffects(), Client::ProcessNet(), WreckContainer::RemoveItem(), SolarSystem::RemoveItemFromInventory(), SystemManager::RemoveItemFromInventory(), ActiveModule::RemoveTarget(), TargetManager::RemoveTargetModule(), Rename(), StationItem::RentOffice(), GenericModule::Repair(), ShipItem::ReplaceCharges(), Client::ResetAfterPopped(), Character::SaveSkillQueue(), Client::SelfChatMessage(), AttributeMap::SendChanges(), Client::SendSessionChange(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), AttributeMap::SetAttribute(), Client::SetBallParkTimer(), Client::SetCloakTimer(), Client::SetInvulTimer(), ModuleItem::SetOnline(), Client::SetStateTimer(), ActiveModule::SetTimer(), Client::SetUncloakTimer(), ShipItem::ShipGetModuleList(), ShipItem::ShipItem(), ActiveModule::ShowEffect(), Character::SkillQueueLoop(), SolarSystem::SolarSystem(), Client::SpawnNewRookieShip(), Client::StargateJump(), StationItem::StationItem(), StationOffice::StationOffice(), StationOffice::StationOfficeGetInfo(), StructureItem::StructureGetInfo(), StructureItem::StructureItem(), ModuleManager::UnfitModule(), ModuleManager::UninstallRig(), TurretModule::UnloadCharge(), MiningLaser::UnloadCharge(), ActiveModule::UnloadCharge(), ModuleManager::UnloadCharge(), ModuleManager::UnloadModule(), Character::UpdateSkillQueueEndTime(), ShipItem::ValidateItemSpecifics(), CustomsSE::VerifyAddItem(), Skill::VerifyAttribs(), ShipItem::VerifyHoldType(), Skill::VerifySP(), WreckContainer::WreckContainer(), WreckContainer::WreckContainerGetInfo(), and Client::~Client().
|
delete |
|
delete |
|
inline |
Definition at line 99 of file InventoryItem.h.
References m_data, and ItemData::ownerID.
Referenced by AttributeMap::Add(), MiningLaser::AddOreAndDeactivate(), AnomalyMgr::AddSignal(), SystemEntity::AwardSecurityStatus(), ActiveModule::CanActivate(), AttributeMap::Change(), Command_tr(), Prospector::DropSalvage(), ReprocessingServiceBound::GetQuote(), CustomsSE::InitData(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), DroneSE::Killed(), StructureSE::Killed(), MiningLaser::ProcessCycle(), PyCallable_Make_InnerDispatcher(), AttributeMap::SendChanges(), ModuleItem::SetOnline(), SetOwner(), ActiveModule::ShowEffect(), and ModuleManager::UnloadCharge().
bool InventoryItem::Populate | ( | Rsp_CommonGetInfo_Entry & | into | ) |
Definition at line 1205 of file InventoryItem.cpp.
References AttrOnline, AttrSkillLevel, AttrSkillPoints, AttrSkillTimeConstant, AttrWarpSpeedMultiplier, AttributeMap::begin(), ItemType::categoryID(), EVEDB::invCategories::Charge, AttributeMap::end(), ItemData::flag, EvilNumber::get_bool(), AttributeMap::GetAttribute(), GetAttribute(), GetFileTimeNow(), GetItemRow(), EvilNumber::GetPyObject(), ItemType::id(), IsCharacterID, IsFittingSlot, ItemData::locationID, m_data, m_itemID, m_type, EvE::Time::Minute, ItemData::name, ItemData::ownerID, pAttributeMap, PySafeDecRef, PyStatic, PyTuple::SetItem(), and EVEDB::invCategories::Skill.
Referenced by CargoContainer::CargoContainerGetInfo(), Character::GetCharInfo(), ShipItem::GetShipInfo(), ItemGetInfo(), StationOffice::StationOfficeGetInfo(), StructureItem::StructureGetInfo(), and WreckContainer::WreckContainerGetInfo().
|
inline |
Definition at line 102 of file InventoryItem.h.
References m_data, and ItemData::position.
Referenced by AnomalyMgr::AddSignal(), ActiveModule::CanActivate(), Command_tr(), Client::CynoJump(), ActiveModule::DeactivateCycle(), Client::EnterSystem(), SystemEntity::GetPosition(), TurretFormulas::GetToHit(), StructureSE::Init(), CustomsSE::InitData(), ActiveModule::LaunchMissile(), ActiveModule::LaunchProbe(), DestinyManager::MakeMissile(), ProbeSE::RecoverProbe(), Client::SelectCharacter(), ProbeSE::SendWarpStart(), StructureSE::SetAnchor(), TargetManager::TimeToLock(), Client::WarpOut(), SystemEntity::x(), SystemEntity::y(), and SystemEntity::z().
|
inline |
Definition at line 97 of file InventoryItem.h.
References m_data, and ItemData::quantity.
Referenced by ShipItem::AddItem(), Client::ContainsTypeQty(), Colony::CreatePin(), MarketMgr::ExecuteBuyOrder(), ReprocessingServiceBound::GetQuote(), ActiveModule::LoadCharge(), ModuleManager::LoadCharge(), Merge(), InventoryBound::MoveItems(), ShipItem::RemoveItem(), Client::RemoveMissionItem(), and ShipItem::VerifyHoldType().
|
inline |
Definition at line 112 of file InventoryItem.h.
References AttrRadius, GetAttribute(), and HasAttribute().
Referenced by ActiveModule::DeactivateCycle(), Client::Eject(), ShipSE::Killed(), ActiveModule::LaunchProbe(), CustomsSE::SetAnchor(), and StructureSE::SetAnchor().
|
virtual |
Definition at line 821 of file InventoryItem.cpp.
References _log, AddItem(), Inv::Update::Flag, flag(), ItemData::flag, RefPtr< X >::get(), IsValidLocation, Inv::Update::Location, ItemData::locationID, m_data, m_itemID, ItemData::name, ItemData::ownerID, SendItemChange(), sItemFactory, and ItemDB::UpdateLocation().
|
virtual |
Reimplemented in WreckContainer, ShipItem, CargoContainer, StructureItem, and StationOffice.
Definition at line 574 of file InventoryItem.cpp.
References pInventory, and Inventory::RemoveItem().
Referenced by Donate(), Move(), StationOffice::RemoveItem(), StructureItem::RemoveItem(), CargoContainer::RemoveItem(), ShipItem::RemoveItem(), WreckContainer::RemoveItem(), and SolarSystem::RemoveItemFromInventory().
void InventoryItem::RemoveModifier | ( | fxData & | data | ) |
Definition at line 1469 of file InventoryItem.cpp.
References m_modifiers, fxData::math, FX::Math::ModAdd, FX::Math::ModSub, FX::Math::PostAssignment, FX::Math::PostDiv, FX::Math::PostMul, FX::Math::PostPercent, FX::Math::PreAssignment, FX::Math::PreDiv, FX::Math::PreMul, and FX::Math::RevPostPercent.
Referenced by FxProc::ParseExpression().
|
virtual |
Reimplemented in StructureItem.
Definition at line 629 of file InventoryItem.cpp.
References PyList::AddItem(), SystemBubble::BubblecastSendNotification(), Client::GetShipSE(), IsCharacterID, Client::IsDocked(), IsPlayerCorp, Notify::Types::ItemUpdateStation, Notify::Types::ItemUpdateSystem, ItemData::locationID, m_data, m_itemID, name(), ItemData::name, ItemData::ownerID, SaveItem(), sDataMgr, Client::SendNotification(), sEntityList, PyTuple::SetItem(), and SystemEntity::SysBubble().
Referenced by StructureItem::Rename().
|
inline |
Definition at line 320 of file InventoryItem.h.
References pAttributeMap, and AttributeMap::ResetAttribute().
Referenced by GenericModule::Repair(), and GenericModule::ResetAttribute().
void InventoryItem::ResetAttributes | ( | ) |
Definition at line 1491 of file InventoryItem.cpp.
References _log, AttributeMap::Load(), m_data, ItemData::name, and pAttributeMap.
Referenced by ShipItem::ProcessEffects(), ShipItem::ResetEffects(), and Character::ResetModifiers().
|
inline |
Definition at line 319 of file InventoryItem.h.
References pAttributeMap, and AttributeMap::SaveAttributes().
Referenced by Character::SaveFullCharacter().
void InventoryItem::SaveItem | ( | ) |
Definition at line 1096 of file InventoryItem.cpp.
References ItemData::contraband, customInfo(), ItemData::flag, ItemType::id(), ItemData::locationID, m_data, m_itemID, m_type, ItemData::name, ItemData::ownerID, pAttributeMap, ItemData::position, ItemData::quantity, AttributeMap::Save(), ItemDB::SaveItem(), and ItemData::singleton.
Referenced by Character::AddToSkillQueue(), Character::CancelSkillInTraining(), ChangeOwner(), ChangeSingleton(), Donate(), Character::LoadPausedSkillQueue(), Rename(), DroneSE::SaveDrone(), Character::SaveFullCharacter(), NPC::SaveNPC(), Sentry::SaveSentry(), ShipItem::SaveShip(), TowerSE::Scoop(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), SetCustomInfo(), SetQuantity(), Character::SkillQueueLoop(), and ModuleItem::Spawn().
Definition at line 1058 of file InventoryItem.cpp.
References _log, PyRep::Dump(), GetItemRow(), is_log_enabled, IsCharacterID, Client::IsCharCreation(), IsFaction, IsNPCCorp, IsPlayerCorp, Notify::Types::ItemUpdateStation, Notify::Types::ItemUpdateSystem, ItemData::locationID, m_data, m_itemID, ItemData::name, sConsole, sDataMgr, Client::SendNotification(), and sEntityList.
Referenced by ChangeOwner(), ChangeSingleton(), Donate(), Move(), Relocate(), SetFlag(), SetQuantity(), and ToVirtual().
void InventoryItem::SetAttribute | ( | uint16 | attrID, |
int | num, | ||
bool | notify = true |
||
) |
Definition at line 1335 of file InventoryItem.cpp.
References pAttributeMap, and AttributeMap::SetAttribute().
Referenced by ShipItem::_Load(), ShipSE::AbandonDrones(), ShipItem::AddItem(), ModuleManager::addModuleRef(), ShipSE::ApplyBoost(), TurretModule::ApplyDamage(), SystemEntity::ApplyDamage(), DynamicEntityFactory::BuildEntity(), Character::CancelSkillInTraining(), ChangeSingleton(), Concord::Concord(), ContainerSE::ContainerSE(), ItemType::CopyAttributes(), CynoModule::DeactivateCycle(), ModuleManager::deleteModuleRef(), DroneSE::DroneSE(), IHubSE::Init(), SBUSE::Init(), TCUSE::Init(), CustomsSE::Init(), ShipItem::InitAttribs(), ShipItem::InitPod(), DestinyManager::InitWarp(), ShipSE::LaunchDrone(), ShipItem::LogOut(), NPC::NPC(), GenericModule::Offline(), GenericModule::Online(), ShipSE::Process(), ActiveModule::ProcessActiveCycle(), MiningLaser::ProcessCycle(), ShipItem::ProcessHeat(), ShipSE::RemoveBoost(), ShipItem::RemoveItem(), RigModule::RemoveRig(), ShipItem::RepairShip(), Character::SaveFullCharacter(), ShipSE::ScoopDrone(), Sentry::Sentry(), GenericModule::SetAttribute(), ModuleItem::SetOnline(), ShipItem::SetPlayer(), SetQuantity(), Sentry::SetResists(), NPC::SetResists(), Concord::SetResists(), DroneSE::SetResists(), ShipItem::SetShipArmor(), ShipItem::SetShipCapacitorLevel(), ShipItem::SetShipHull(), ShipItem::SetShipShield(), Character::SkillQueueLoop(), CargoContainer::Spawn(), WreckContainer::Spawn(), Spawn(), StationSE::StationSE(), ActiveModule::UnloadCharge(), ActiveModule::UpdateCharge(), ActiveModule::UpdateDamage(), ShipItem::UpdateMass(), ModuleManager::UpdateModules(), NPC::UseArmorRepairer(), NPC::UseHullRepairer(), NPC::UseShieldRecharge(), Skill::VerifyAttribs(), Skill::VerifySP(), and WreckSE::WreckSE().
Definition at line 1347 of file InventoryItem.cpp.
References pAttributeMap, and AttributeMap::SetAttribute().
Definition at line 1341 of file InventoryItem.cpp.
References pAttributeMap, and AttributeMap::SetAttribute().
void InventoryItem::SetAttribute | ( | uint16 | attrID, |
float | num, | ||
bool | notify = true |
||
) |
Definition at line 1318 of file InventoryItem.cpp.
References pAttributeMap, and AttributeMap::SetAttribute().
void InventoryItem::SetAttribute | ( | uint16 | attrID, |
double | num, | ||
bool | notify = true |
||
) |
Definition at line 1324 of file InventoryItem.cpp.
References pAttributeMap, and AttributeMap::SetAttribute().
void InventoryItem::SetAttribute | ( | uint16 | attrID, |
EvilNumber | num, | ||
bool | notify = true |
||
) |
Definition at line 1330 of file InventoryItem.cpp.
References pAttributeMap, and AttributeMap::SetAttribute().
void InventoryItem::SetCustomInfo | ( | const char * | ci | ) |
Definition at line 1292 of file InventoryItem.cpp.
References ItemData::customInfo, m_data, SaveItem(), and sConfig.
Referenced by Client::Board(), Client::BoardShip(), Client::Eject(), Client::MoveToLocation(), Client::UpdateNewShip(), Client::WarpIn(), and Client::WarpOut().
bool InventoryItem::SetFlag | ( | EVEItemFlags | flag, |
bool | notify = false |
||
) |
Definition at line 988 of file InventoryItem.cpp.
References Inv::Update::Flag, flag(), ItemData::flag, ItemData::locationID, m_data, m_itemID, ItemData::ownerID, SendItemChange(), and ItemDB::UpdateLocation().
Referenced by Character::AddToSkillQueue(), Client::Board(), Character::CancelSkillInTraining(), Client::Eject(), Character::GetEndOfTraining(), CustomsSE::Init(), StructureSE::Init(), Character::LoadPausedSkillQueue(), StructureSE::Process(), StructureSE::SetOffline(), TowerSE::SetOnline(), StructureSE::SetOnline(), ShipItem::SetPlayer(), Character::SkillQueueLoop(), Client::WarpIn(), and Client::WarpOut().
|
inline |
Definition at line 137 of file InventoryItem.h.
References m_data, ownerID(), and ItemData::ownerID.
|
inlinevirtual |
Reimplemented in ShipItem.
Definition at line 174 of file InventoryItem.h.
Referenced by ShipSE::SetPilot().
void InventoryItem::SetPosition | ( | const GPoint & | pos | ) |
Definition at line 1303 of file InventoryItem.cpp.
References _log, m_data, m_itemID, ItemData::name, ItemData::position, Ga::GaVec3::x, Ga::GaVec3::y, and Ga::GaVec3::z.
Referenced by Client::Board(), Client::BoardShip(), Client::Eject(), ShipSE::LaunchDrone(), Client::MoveToLocation(), ProbeSE::ProcessTic(), ProbeSE::RemoveProbe(), Client::ResetAfterPopped(), ProbeSE::SendWarpEnd(), and SystemEntity::SetPosition().
bool InventoryItem::SetQuantity | ( | int32 | qty, |
bool | notify = false , |
||
bool | deleteOnZero = true |
||
) |
Definition at line 943 of file InventoryItem.cpp.
References _log, AttrQuantity, ItemType::categoryID(), EVEDB::invCategories::Charge, codelog, Delete(), ItemData::flag, IsCargoHoldFlag, IsCharacterID, IsFittingSlot, Client::IsInSpace(), m_data, m_itemID, m_type, maxEveItem, ItemData::name, ItemData::ownerID, ItemData::quantity, SaveItem(), sConfig, Client::SendInfoModalMsg(), SendItemChange(), sEntityList, SetAttribute(), ItemData::singleton, and Inv::Update::StackSize.
Referenced by AlterQuantity(), and Colony::CreatePin().
bool InventoryItem::SkillCheck | ( | InventoryItemRef | refItem | ) |
Definition at line 1437 of file InventoryItem.cpp.
References HasAttribute().
|
static |
TODO not handled....use generic item
Definition at line 391 of file InventoryItem.cpp.
References _log, EVEDB::invCategories::Accessories, EVEDB::invCategories::AncientRelics, EVEDB::invCategories::Asteroid, AttrArmorDamage, AttrCapacity, AttrMass, AttrRadius, AttrShieldCapacity, AttrShieldCharge, AttrVolume, EVEDB::invGroups::Audit_Log_Secure_Container, EVEDB::invGroups::Billboard, EVEDB::invCategories::Blueprint, EVEDB::invCategories::Bonus, ItemType::capacity(), EVEDB::invGroups::Capture_Point, EVEDB::invGroups::Cargo_Container, ItemType::categoryID(), EVEDB::invCategories::Celestial, EVEDB::invCategories::Charge, codelog, EVEDB::invCategories::Commodity, EVEDB::invGroups::Control_Bunker, StationItem::CreateItemID(), CreateItemID(), CreateTempItemID(), EVEDB::invCategories::Decryptors, EVEDB::invCategories::Deployable, EVEDB::invCategories::Drone, EVEDB::invCategories::Entity, EvilZero, ItemData::flag, flagMissile, EVEDB::invGroups::Force_Field, EVEDB::invGroups::Freight_Container, RefPtr< X >::get(), GetAttribute(), ItemType::groupID(), ItemType::id(), EVEDB::invCategories::Implant, itemID(), StationItem::Load(), ItemData::locationID, ItemType::mass(), EVEDB::invCategories::Material, EVEDB::invGroups::Mission_Container, EVEDB::invCategories::Module, EVEDB::invGroups::Obsolete_Probes, EVEDB::invCategories::Orbitals, EVEDB::invCategories::Owner, EVEDB::invCategories::PlanetaryCommodities, EVEDB::invCategories::PlanetaryInteraction, EVEDB::invCategories::PlanetaryResources, ItemType::radius(), EVEDB::invCategories::Reaction, EvERam::bpData::runs, EVEDB::invGroups::Scanner_Probe, sConfig, EVEDB::invGroups::Secure_Cargo_Container, EVEDB::invGroups::Sentry_Gun, SetAttribute(), EVEDB::invCategories::Ship, sItemFactory, EVEDB::invCategories::Skill, EVEDB::invCategories::SovereigntyStructure, ModuleItem::Spawn(), StructureItem::Spawn(), ProbeItem::Spawn(), CargoContainer::Spawn(), CelestialObject::Spawn(), ShipItem::Spawn(), Skill::Spawn(), Blueprint::Spawn(), WreckContainer::Spawn(), EVEDB::invGroups::Spawn_Container, SpawnItem(), EVEDB::invCategories::Station, EVEDB::invGroups::Station, EVEDB::invGroups::Station_Services, EVEDB::invCategories::Structure, EVEDB::invCategories::StructureUpgrade, EVEDB::invCategories::Subsystem, EVEDB::invGroups::Survey_Probe, EVEDB::invGroups::Temporary_Cloud, EVEDB::invCategories::Trading, ItemData::typeID, ItemType::volume(), EVEDB::invGroups::Warp_Disruption_Probe, and EVEDB::invGroups::Wreck.
Referenced by ItemFactory::SpawnItem().
|
static |
Definition at line 138 of file InventoryItem.cpp.
References _Load(), RefPtr< X >::get(), InventoryItem(), ItemData::quantity, sItemFactory, and ItemData::typeID.
Referenced by WormholeMgr::Create(), DungeonMgr::Create(), Spawn(), and SpawnTemp().
|
static |
Definition at line 373 of file InventoryItem.cpp.
References EVEDB::invGroups::Cargo_Container, codelog, CreateTempItemID(), ItemType::groupID(), sItemFactory, SpawnItem(), CargoContainer::SpawnTemp(), and ItemData::typeID.
Referenced by SystemBubble::MarkBubble(), and ItemFactory::SpawnTempItem().
|
virtual |
Definition at line 799 of file InventoryItem.cpp.
References _log, AlterQuantity(), ItemData::flag, ItemType::id(), ItemData::locationID, locTemp, m_data, m_itemID, m_type, Move(), ItemData::name, ItemData::ownerID, and sItemFactory.
Referenced by MarketMgr::ExecuteBuyOrder(), InventoryBound::MoveItems(), and Blueprint::SplitBlueprint().
void InventoryItem::ToVirtual | ( | uint32 | locationID | ) |
Definition at line 605 of file InventoryItem.cpp.
References AttributeMap::Delete(), ItemDB::DeleteItem(), RefPtr< X >::get(), Inv::Update::Location, locationID(), ItemData::locationID, m_data, m_itemID, ItemData::ownerID, pAttributeMap, pInventory, Inventory::RemoveItem(), SendItemChange(), and sItemFactory.
Referenced by Colony::PlanetXfer().
|
inline |
Definition at line 103 of file InventoryItem.h.
References m_type.
Referenced by _Load(), StationItem::_LoadItem(), _LoadItem(), ShipItem::AddItem(), DynamicEntityFactory::BuildEntity(), Concord::Concord(), ContainerSE::ContainerSE(), DroneSE::DroneSE(), Sentry::EncodeDestiny(), StructureSE::EncodeDestiny(), ContainerSE::EncodeDestiny(), WreckSE::EncodeDestiny(), ShipItem::FindAvailableModuleSlot(), GenericModule::GenericModule(), GetItemRow(), ReprocessingServiceBound::GetQuote(), ShipItem::InitAttribs(), GenericModule::isLauncherFitted(), GenericModule::isTurretFitted(), AttributeMap::Load(), ActiveModule::LoadCharge(), DestinyManager::MakeMissile(), SpawnMgr::MakeSpawn(), NPC::NPC(), GenericModule::Offline(), GenericModule::Online(), DestinyManager::Orbit(), GenericModule::ProcessEffects(), ShipItem::ProcessShipEffects(), ShipItem::RemoveItem(), Sentry::Sentry(), ActiveModule::ShowEffect(), AsteroidItem::Spawn(), AsteroidItem::SpawnTemp(), StationSE::StationSE(), ShipItem::TryModuleLimitChecks(), StationOffice::type(), StructureItem::type(), CargoContainer::type(), WreckContainer::type(), Character::type(), ActiveModule::UnloadCharge(), ShipItem::ValidateItemSpecifics(), ShipItem::VerifyHoldType(), and WreckSE::WreckSE().
|
inline |
Definition at line 110 of file InventoryItem.h.
References ItemType::id(), and m_type.
Referenced by ItemType::_LoadType(), LSCChannel::_MakeSenderInfo(), StructureSE::Activate(), AttributeMap::Add(), FleetService::AddMember(), CharacterDB::addOwnerCache(), AnomalyMgr::AddSignal(), Character::AddToSkillQueue(), SystemEntity::ApplyDamage(), SentryAI::AttackTarget(), DroneAIMgr::AttackTarget(), NPCAIMgr::AttackTarget(), ConcordAI::AttackTarget(), Client::Board(), Client::BoardShip(), Character::CancelSkillInTraining(), AttributeMap::Change(), Command_cargo(), Command_giveallskills(), ContainerSE::ContainerSE(), CargoContainer::Delete(), Client::DockToStation(), StructureSE::GetEffectState(), PlanetSE::GetPlanetInfo(), ReprocessingServiceBound::GetQuote(), ShipItem::GetShipDNA(), SystemEntity::GetTypeID(), ModuleManager::Initialize(), ModuleManager::InstallRig(), Sentry::Killed(), CustomsSE::Killed(), NPC::Killed(), StructureSE::Killed(), ShipSE::Killed(), ActiveModule::LaunchMissile(), ActiveModule::LaunchProbe(), ItemType::Load(), ActiveModule::LoadCharge(), ModuleManager::LoadCharge(), ShipItem::LoadCharge(), PlanetSE::LoadExtras(), TowerSE::MakeSlimItem(), CustomsSE::MakeSlimItem(), Missile::MakeSlimItem(), DroneSE::MakeSlimItem(), ProbeSE::MakeSlimItem(), StructureSE::MakeSlimItem(), AnomalySE::MakeSlimItem(), ContainerSE::MakeSlimItem(), WormholeSE::MakeSlimItem(), StationSE::MakeSlimItem(), SystemEntity::MakeSlimItem(), WreckSE::MakeSlimItem(), StaticSystemEntity::MakeSlimItem(), ShipSE::MakeSlimItem(), StargateSE::MakeSlimItem(), ItemSystemEntity::MakeSlimItem(), DynamicSystemEntity::MakeSlimItem(), Merge(), MergeTypesInCargo(), MiningLaser::MiningLaser(), InventoryBound::MoveItems(), ModuleManager::Online(), FxProc::ParseExpression(), ShipSE::PayInsurance(), Colony::PlanetXfer(), ProbeSE::ProbeSE(), StructureSE::Process(), CustomsSE::PullAnchor(), StructureSE::PullAnchor(), CargoContainer::RemoveItem(), StationItem::RentOffice(), SpawnMgr::ReSpawn(), Client::SelectCharacter(), ProbeSE::SendNewProbe(), ProbeSE::SendSlimChange(), CustomsSE::SendSlimUpdate(), StructureSE::SendSlimUpdate(), CustomsSE::SetAnchor(), StructureSE::SetAnchor(), SystemBubble::SetBelt(), TowerSE::SetOnline(), StructureSE::SetOnline(), ActiveModule::ShowEffect(), Character::SkillQueueLoop(), DroneSE::StateChange(), ShipItem::TryModuleLimitChecks(), GenericModule::typeID(), DestinyManager::UpdateNewShip(), ShipItem::ValidateItemSpecifics(), and ShipItem::VerifyHoldType().
void InventoryItem::UpdateLocation | ( | ) |
Definition at line 1116 of file InventoryItem.cpp.
References ItemData::flag, ItemData::locationID, m_data, m_itemID, and ItemDB::UpdateLocation().
|
inline |
|
private |
Definition at line 283 of file InventoryItem.h.
Referenced by _Load(), AlterQuantity(), ChangeOwner(), ChangeSingleton(), ClearModifiers(), contraband(), customInfo(), Delete(), Donate(), flag(), GetChargeStatusRow(), GetItemRow(), GetPackagedVolume(), InventoryItem(), isSingleton(), itemName(), locationID(), Merge(), MergeTypesInCargo(), Move(), name(), ownerID(), Populate(), position(), quantity(), Relocate(), Rename(), ResetAttributes(), SaveItem(), SendItemChange(), SetCustomInfo(), SetFlag(), SetOwner(), SetPosition(), SetQuantity(), Split(), ToVirtual(), and UpdateLocation().
|
private |
Definition at line 282 of file InventoryItem.h.
|
protected |
Definition at line 279 of file InventoryItem.h.
Referenced by _Load(), Character::_Load(), ShipItem::AddItemByFlag(), SolarSystem::AddItemToInventory(), Character::AddToSkillQueue(), Character::AlterBalance(), AlterQuantity(), Character::CancelSkillInTraining(), CargoContainer::CargoContainer(), CargoContainer::CargoContainerGetInfo(), ChangeSingleton(), Character::Character(), Character::ClearSkillQueue(), ProbeItem::Delete(), CargoContainer::Delete(), Blueprint::Delete(), Delete(), Character::Delete(), Blueprint::GetBlueprintAttributes(), Character::GetCharInfo(), GetItemRow(), GetItemStatusRow(), Character::GetNPCCorpStanding(), Character::GetSkillHistory(), Character::GetStandingModified(), Character::GrantCertificate(), Character::InjectSkillIntoBrain(), InventoryItem(), itemID(), Character::JoinCorporation(), Character::LoadPausedSkillQueue(), ShipItem::LoadWeaponGroups(), ShipItem::LogOut(), Character::LogOut(), Merge(), Move(), Character::PauseSkillQueue(), Character::PayBounty(), Character::PickAlternateShip(), Populate(), PyCallable_Make_InnerDispatcher(), Relocate(), CargoContainer::RemoveItem(), SolarSystem::RemoveItemFromInventory(), Rename(), Character::ResetClone(), Blueprint::SaveBlueprint(), Character::SaveCertificates(), Character::SaveCharacter(), Character::SaveFullCharacter(), SaveItem(), Character::SaveSkillQueue(), ShipItem::SaveWeaponGroups(), SendItemChange(), Character::SetAccountKey(), Character::SetActivePod(), Character::SetActiveShip(), Character::SetBaseID(), SetFlag(), Character::SetLoginTime(), ModuleItem::SetOnline(), SetPosition(), SetQuantity(), Character::SkillQueueLoop(), SolarSystem::SolarSystem(), Split(), StationOffice::StationOfficeGetInfo(), StructureItem::StructureGetInfo(), ToVirtual(), ShipItem::UnlinkAllWeapons(), ShipItem::UnlinkGroup(), ShipItem::UnlinkWeapon(), Character::UpdateCertificate(), UpdateLocation(), Character::UpdateSkillQueueEndTime(), and Character::VisitSystem().
Definition at line 303 of file InventoryItem.h.
Referenced by AddModifier(), FxProc::ApplyEffects(), ClearModifiers(), InventoryItem(), and RemoveModifier().
|
private |
Definition at line 331 of file InventoryItem.h.
Referenced by GetTimeStamp().
|
private |
Definition at line 284 of file InventoryItem.h.
Referenced by categoryID(), GetChargeStatusRow(), GetItemRow(), GetPackagedVolume(), groupID(), Merge(), MergeTypesInCargo(), Populate(), SaveItem(), SetQuantity(), Split(), type(), and typeID().
|
protected |
Definition at line 327 of file InventoryItem.h.
Referenced by _Load(), DeleteAttribute(), GetAttribute(), GetAttributeMap(), HasAttribute(), MultiplyAttribute(), Populate(), ShipItem::ProcessEffects(), ResetAttribute(), ResetAttributes(), ShipItem::ResetEffects(), SaveAttributes(), SaveItem(), ShipItem::SaveShip(), SetAttribute(), ToVirtual(), and ~InventoryItem().
|
protected |
Definition at line 278 of file InventoryItem.h.
Referenced by StructureItem::_Load(), CargoContainer::_Load(), StationItem::_Load(), ShipItem::_Load(), WreckContainer::_Load(), Character::_Load(), AddItem(), CargoContainer::CargoContainer(), CargoContainer::CargoContainerGetInfo(), Character::Character(), Character::ClearSkillFlags(), StructureItem::Delete(), CargoContainer::Delete(), ShipItem::Delete(), WreckContainer::Delete(), Character::Delete(), ShipItem::EmptyCargo(), CargoContainer::GetCapacity(), WreckContainer::GetCapacity(), ShipItem::GetChargeState(), Character::GetCharInfo(), StationItem::GetContainerFromInventory(), ShipItem::GetModuleItemVec(), GetMyInventory(), ShipItem::GetRemainingVolumeByFlag(), StationItem::GetShipFromInventory(), ShipItem::GetShipInfo(), ShipItem::GetShipState(), Character::GetSkill(), Character::GetSkillsList(), Character::GetTotalSP(), StationItem::HasShip(), WreckContainer::IsEmpty(), ShipItem::LogOut(), Character::LogOut(), Character::ProcessEffects(), CargoContainer::RemoveItem(), RemoveItem(), WreckContainer::RemoveItem(), Character::ResetModifiers(), ShipItem::SetPlayer(), ShipItem::ShipGetModuleList(), ShipItem::ShipItem(), SolarSystem::SolarSystem(), StationItem::StationItem(), StationOffice::StationOffice(), StationOffice::StationOfficeGetInfo(), StructureItem::StructureGetInfo(), StructureItem::StructureItem(), ToVirtual(), ShipItem::UpdateMass(), StationOffice::ValidateAddItem(), CargoContainer::ValidateAddItem(), Character::VerifySP(), WreckContainer::WreckContainer(), WreckContainer::WreckContainerGetInfo(), CargoContainer::~CargoContainer(), Character::~Character(), ShipItem::~ShipItem(), SolarSystem::~SolarSystem(), StationItem::~StationItem(), StationOffice::~StationOffice(), StructureItem::~StructureItem(), and WreckContainer::~WreckContainer().