helapordo 1.4.12
|
#include <ser_core.h>
Data Fields | |
int8_t | itemCount |
Total number of items for sale. | |
int8_t | equipsCount |
Total number of equips for sale. | |
SerEquip | equips [EQUIP_SHOP_MAX] |
Array for equips on sale. | |
int8_t | equipPrices [EQUIP_SHOP_MAX] |
Array for equips prices. | |
int8_t | consumablesCount |
Total number of consumables for sale, includes quantity for each kind of consumable. | |
int8_t | uniqueConsumablesCount |
Total of unique consumables for sale. | |
SerConsumable | consumables [CONSUMABLE_SHOP_MAX] |
Array for consumables on sale. | |
int8_t | consumablePrices [CONSUMABLE_SHOP_MAX] |
Array for consumables prices. | |
Serialized Shop.
Packed struct. Can be turned into a Shop with deser_Shop(). Can be obtained from a Shop with ser_Shop().
int8_t SerShop::consumablePrices[CONSUMABLE_SHOP_MAX] |
Array for consumables prices.
They assume to a consumable with qty == 1
SerConsumable SerShop::consumables[CONSUMABLE_SHOP_MAX] |
Array for consumables on sale.
int8_t SerShop::consumablesCount |
Total number of consumables for sale, includes quantity for each kind of consumable.
int8_t SerShop::equipPrices[EQUIP_SHOP_MAX] |
Array for equips prices.
SerEquip SerShop::equips[EQUIP_SHOP_MAX] |
Array for equips on sale.
int8_t SerShop::equipsCount |
Total number of equips for sale.
int8_t SerShop::itemCount |
Total number of items for sale.
int8_t SerShop::uniqueConsumablesCount |
Total of unique consumables for sale.