Horizon Official Technical Documentation
|
|
Structure used to store and convey item data in the state machine and in communication with the client. More...
#include <ItemDefinitions.hpp>
Classes | |
struct | item_entry_info |
struct | options |
Public Attributes | |
union { | |
uint16_t inventory | |
uint16_t storage | |
} | index |
item_storage_type | storage_type {ITEM_STORE_INVENTORY} |
uint32_t | item_id {0} |
item_type | type {IT_TYPE_ETC} |
uint16_t | amount {0} |
uint32_t | current_equip_location_mask {0} |
uint32_t | actual_equip_location_mask {0} |
uint8_t | refine_level {0} |
uint32_t | slot_item_id [MAX_ITEM_SLOTS] {0} |
uint32_t | hire_expire_date {0} |
uint16_t | sprite_id {0} |
element_type | ele_type {ELE_NEUTRAL} |
uint8_t | option_count {0} |
struct item_entry_data::options | option_data [MAX_ITEM_OPTIONS] |
struct item_entry_data::item_entry_info | info |
item_bind_type | bind_type {IT_BIND_NONE} |
uint64_t | unique_id {0} |
std::shared_ptr< const item_config_data > | config |
Structure used to store and convey item data in the state machine and in communication with the client.
|
inline |
|
inline |
References actual_equip_location_mask.
|
inline |
References amount.
|
inline |
References bind_type.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
References current_equip_location_mask.
|
inline |
References hire_expire_date.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
References item_id.
|
inline |
References option_count.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
References refine_level.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
References sprite_id.
|
inline |
References info, and item_entry_data::item_entry_info::is_broken.
|
inline |
References IT_TYPE_ARMOR, IT_TYPE_WEAPON, and type.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
References info, and item_entry_data::item_entry_info::is_favorite.
|
inline |
References info, and item_entry_data::item_entry_info::is_identified.
|
inline |
References hire_expire_date, IT_TYPE_ARMOR, IT_TYPE_PET_ARMOR, IT_TYPE_PET_EGG, IT_TYPE_WEAPON, and type.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
|
inline |
References actual_equip_location_mask, amount, bind_type, config, current_equip_location_mask, ele_type, hire_expire_date, index, item_entry_data::options::index, info, inventory, item_entry_data::item_entry_info::is_broken, item_entry_data::item_entry_info::is_favorite, item_entry_data::item_entry_info::is_identified, item_id, ITEM_STORE_INVENTORY, ITEM_STORE_STORAGE, MAX_ITEM_OPTIONS, MAX_ITEM_SLOTS, option_count, option_data, item_entry_data::options::param, refine_level, slot_item_id, sprite_id, storage, storage_type, type, unique_id, and item_entry_data::options::value.
|
inline |
References bind_type, hire_expire_date, info, item_entry_data::item_entry_info::is_favorite, item_id, type, and unique_id.
|
inline |
References actual_equip_location_mask, and mask.
|
inline |
References bind_type.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
References info, and item_entry_data::item_entry_info::is_broken.
|
inline |
References current_equip_location_mask, and mask.
|
inline |
References info, and item_entry_data::item_entry_info::is_favorite.
|
inline |
References hire_expire_date.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
References info, and item_entry_data::item_entry_info::is_identified.
|
inline |
References GridTypeListIterator::count(), and option_count.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
References refine_level.
Referenced by Horizon::Zone::ItemComponent::sync_data_types().
|
inline |
uint32_t item_entry_data::actual_equip_location_mask {0} |
Referenced by Horizon::Zone::Assets::Inventory::add_item(), get_actual_equip_location_mask(), Horizon::Zone::Assets::Inventory::load(), Horizon::Zone::Assets::Storage::load(), operator=(), Horizon::Zone::ZC_ITEM_PICKUP_ACK_V7::serialize(), set_actual_equip_location_mask(), and Horizon::Zone::ItemComponent::sync_data_types().
uint16_t item_entry_data::amount {0} |
item_bind_type item_entry_data::bind_type {IT_BIND_NONE} |
std::shared_ptr<const item_config_data> item_entry_data::config |
uint32_t item_entry_data::current_equip_location_mask {0} |
element_type item_entry_data::ele_type {ELE_NEUTRAL} |
uint32_t item_entry_data::hire_expire_date {0} |
union { ... } item_entry_data::index |
struct item_entry_data::item_entry_info item_entry_data::info |
Referenced by Horizon::Zone::Assets::Inventory::add_item(), is_broken(), is_favorite(), is_identified(), Horizon::Zone::Assets::Inventory::load(), Horizon::Zone::Assets::Storage::load(), operator=(), operator==(), Horizon::Zone::ZC_ITEM_PICKUP_ACK_V7::serialize(), set_broken(), set_favorite(), and set_identified().
uint16_t item_entry_data::inventory |
uint32_t item_entry_data::item_id {0} |
Referenced by Horizon::Zone::Assets::Inventory::add_item(), get_item_id(), Horizon::Zone::Assets::Inventory::load(), Horizon::Zone::Assets::Storage::load(), operator=(), operator==(), Horizon::Zone::ZC_ITEM_PICKUP_ACK_V7::serialize(), set_item_id(), and Horizon::Zone::ItemComponent::sync_data_types().
uint8_t item_entry_data::option_count {0} |
struct item_entry_data::options item_entry_data::option_data[MAX_ITEM_OPTIONS] |
uint8_t item_entry_data::refine_level {0} |
uint32_t item_entry_data::slot_item_id[MAX_ITEM_SLOTS] {0} |
uint16_t item_entry_data::sprite_id {0} |
uint16_t item_entry_data::storage |
Referenced by Horizon::Zone::Assets::Storage::load(), and operator=().
item_storage_type item_entry_data::storage_type {ITEM_STORE_INVENTORY} |
item_type item_entry_data::type {IT_TYPE_ETC} |
Referenced by Horizon::Zone::Assets::Inventory::add_item(), is_equipment(), is_stackable(), Horizon::Zone::Assets::Inventory::load(), Horizon::Zone::Assets::Storage::load(), operator=(), operator==(), Horizon::Zone::ZC_ITEM_PICKUP_ACK_V7::serialize(), and Horizon::Zone::ItemComponent::sync_data_types().
uint64_t item_entry_data::unique_id {0} |