EvEmu
0.8.4
11 September 2021
|
#include "ItemType.h"
Public Member Functions | |
ItemData (const char *_name="", uint16 _typeID=0, uint32 _ownerID=ownerSystem, uint32 _locationID=locTemp, EVEItemFlags _flag=flagNone, bool _contraband=false, bool _singleton=false, uint32 _quantity=0, const GPoint &_position=NULL_ORIGIN, const char *_customInfo="") | |
ItemData (uint16 _typeID, uint32 _ownerID, uint32 _locationID, EVEItemFlags _flag, uint32 _quantity, const char *_customInfo="", bool _contraband=false) | |
ItemData (uint16 _typeID, uint32 _ownerID, uint32 _locationID, EVEItemFlags _flag, const char *_name="", const GPoint &_position=NULL_ORIGIN, const char *_customInfo="", bool _contraband=false) | |
Public Attributes | |
bool | contraband:1 |
bool | singleton:1 |
EVEItemFlags | flag |
uint16 | typeID |
uint32 | ownerID |
uint32 | locationID |
uint32 | quantity |
GPoint | position |
std::string | name |
std::string | customInfo |
Definition at line 169 of file ItemType.h.
ItemData::ItemData | ( | const char * | _name = "" , |
uint16 | _typeID = 0 , |
||
uint32 | _ownerID = ownerSystem , |
||
uint32 | _locationID = locTemp , |
||
EVEItemFlags | _flag = flagNone , |
||
bool | _contraband = false , |
||
bool | _singleton = false , |
||
uint32 | _quantity = 0 , |
||
const GPoint & | _position = NULL_ORIGIN , |
||
const char * | _customInfo = "" |
||
) |
Definition at line 228 of file ItemType.cpp.
ItemData::ItemData | ( | uint16 | _typeID, |
uint32 | _ownerID, | ||
uint32 | _locationID, | ||
EVEItemFlags | _flag, | ||
uint32 | _quantity, | ||
const char * | _customInfo = "" , |
||
bool | _contraband = false |
||
) |
Definition at line 252 of file ItemType.cpp.
ItemData::ItemData | ( | uint16 | _typeID, |
uint32 | _ownerID, | ||
uint32 | _locationID, | ||
EVEItemFlags | _flag, | ||
const char * | _name = "" , |
||
const GPoint & | _position = NULL_ORIGIN , |
||
const char * | _customInfo = "" , |
||
bool | _contraband = false |
||
) |
Definition at line 273 of file ItemType.cpp.
bool ItemData::contraband |
Definition at line 185 of file ItemType.h.
Referenced by InventoryItem::contraband(), ItemDB::GetItem(), ItemDB::NewItem(), and InventoryItem::SaveItem().
std::string ItemData::customInfo |
Definition at line 194 of file ItemType.h.
Referenced by InventoryItem::customInfo(), CharacterDB::GetCharacterData(), ItemDB::GetItem(), InventoryItem::GetItemRow(), ItemDB::NewItem(), ItemDB::SaveItem(), and InventoryItem::SetCustomInfo().
EVEItemFlags ItemData::flag |
Definition at line 187 of file ItemType.h.
Referenced by StationDB::CreateOffice(), InventoryItem::CreateTempItemID(), InventoryItem::Donate(), InventoryItem::flag(), InventoryItem::GetChargeStatusRow(), ItemDB::GetItem(), InventoryItem::GetItemRow(), InventoryItem::Move(), ItemDB::NewItem(), InventoryItem::Populate(), InventoryItem::Relocate(), ItemDB::SaveItem(), InventoryItem::SaveItem(), InventoryItem::SetFlag(), InventoryItem::SetQuantity(), InventoryItem::Spawn(), InventoryItem::Split(), and InventoryItem::UpdateLocation().
uint32 ItemData::locationID |
Definition at line 190 of file ItemType.h.
Referenced by InventoryItem::CreateItemID(), InventoryItem::Delete(), InventoryItem::Donate(), ItemDB::GetItem(), InventoryItem::GetItemRow(), InventoryItem::locationID(), InventoryItem::Move(), ItemDB::NewItem(), InventoryItem::Populate(), InventoryItem::Relocate(), InventoryItem::Rename(), ItemDB::SaveItem(), InventoryItem::SaveItem(), InventoryItem::SendItemChange(), InventoryItem::SetFlag(), InventoryItem::Spawn(), InventoryItem::Split(), InventoryItem::ToVirtual(), and InventoryItem::UpdateLocation().
std::string ItemData::name |
Definition at line 193 of file ItemType.h.
Referenced by InventoryItem::_Load(), InventoryItem::AlterQuantity(), InventoryItem::ChangeSingleton(), InventoryItem::ClearModifiers(), InventoryItem::CreateItemID(), InventoryItem::CreateTempItemID(), InventoryItem::Delete(), InventoryItem::Donate(), ItemDB::GetItem(), InventoryItem::InventoryItem(), InventoryItem::itemName(), InventoryItem::Merge(), InventoryItem::Move(), InventoryItem::name(), ItemDB::NewItem(), InventoryItem::Populate(), InventoryItem::Relocate(), InventoryItem::Rename(), InventoryItem::ResetAttributes(), ItemDB::SaveItem(), InventoryItem::SaveItem(), InventoryItem::SendItemChange(), InventoryItem::SetPosition(), InventoryItem::SetQuantity(), AsteroidItem::Spawn(), AsteroidItem::SpawnTemp(), and InventoryItem::Split().
uint32 ItemData::ownerID |
Definition at line 189 of file ItemType.h.
Referenced by InventoryItem::AlterQuantity(), InventoryItem::ChangeOwner(), InventoryItem::ChangeSingleton(), InventoryItem::Delete(), InventoryItem::Donate(), ItemDB::GetItem(), InventoryItem::GetItemRow(), InventoryItem::Merge(), InventoryItem::Move(), ItemDB::NewItem(), InventoryItem::ownerID(), InventoryItem::Populate(), InventoryItem::Relocate(), InventoryItem::Rename(), ItemDB::SaveItem(), InventoryItem::SaveItem(), InventoryItem::SetFlag(), InventoryItem::SetOwner(), InventoryItem::SetQuantity(), InventoryItem::Split(), and InventoryItem::ToVirtual().
GPoint ItemData::position |
Definition at line 192 of file ItemType.h.
Referenced by ItemDB::GetItem(), ItemDB::NewItem(), InventoryItem::position(), ItemDB::SaveItem(), InventoryItem::SaveItem(), and InventoryItem::SetPosition().
uint32 ItemData::quantity |
Definition at line 191 of file ItemType.h.
Referenced by InventoryItem::AlterQuantity(), InventoryItem::ChangeSingleton(), ItemDB::GetItem(), InventoryItem::GetItemRow(), ItemDB::NewItem(), InventoryItem::quantity(), ItemDB::SaveItem(), InventoryItem::SaveItem(), InventoryItem::SetQuantity(), InventoryItem::SpawnItem(), and CargoContainer::SpawnTemp().
bool ItemData::singleton |
Definition at line 186 of file ItemType.h.
Referenced by InventoryItem::ChangeSingleton(), ItemDB::GetItem(), InventoryItem::GetItemRow(), InventoryItem::GetPackagedVolume(), InventoryItem::isSingleton(), InventoryItem::Merge(), InventoryItem::MergeTypesInCargo(), ItemDB::NewItem(), ItemDB::SaveItem(), InventoryItem::SaveItem(), and InventoryItem::SetQuantity().
uint16 ItemData::typeID |
Definition at line 188 of file ItemType.h.
Referenced by InventoryItem::_Load(), InventoryItem::CreateItemID(), Blueprint::CreateItemID(), InventoryItem::CreateTempItemID(), ItemDB::GetItem(), InventoryItem::InventoryItem(), ItemDB::NewItem(), StructureItem::Spawn(), InventoryItem::Spawn(), InventoryItem::SpawnItem(), CargoContainer::SpawnTemp(), and InventoryItem::SpawnTemp().