helapordo 1.4.12
Loading...
Searching...
No Matches
SerShop Struct Reference

Serialized Shop. More...

#include <ser_core.h>

Collaboration diagram for SerShop:

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.
 

Detailed Description

Serialized Shop.

Packed struct. Can be turned into a Shop with deser_Shop(). Can be obtained from a Shop with ser_Shop().

See also
Shop
deser_Shop()

Field Documentation

◆ consumablePrices

int8_t SerShop::consumablePrices[CONSUMABLE_SHOP_MAX]

Array for consumables prices.

They assume to a consumable with qty == 1

◆ consumables

SerConsumable SerShop::consumables[CONSUMABLE_SHOP_MAX]

Array for consumables on sale.

◆ consumablesCount

int8_t SerShop::consumablesCount

Total number of consumables for sale, includes quantity for each kind of consumable.

◆ equipPrices

int8_t SerShop::equipPrices[EQUIP_SHOP_MAX]

Array for equips prices.

◆ equips

SerEquip SerShop::equips[EQUIP_SHOP_MAX]

Array for equips on sale.

◆ equipsCount

int8_t SerShop::equipsCount

Total number of equips for sale.

◆ itemCount

int8_t SerShop::itemCount

Total number of items for sale.

◆ uniqueConsumablesCount

int8_t SerShop::uniqueConsumablesCount

Total of unique consumables for sale.


The documentation for this struct was generated from the following file: