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

Represents a shop instance. More...

#include <game_core.h>

Collaboration diagram for Shop:

Data Fields

char * desc
 Description string.
 
int itemCount
 Total number of items for sale.
 
int equipsCount
 Total number of equips for sale.
 
Equipequips [EQUIP_SHOP_MAX]
 Array for equips on sale.
 
int equipPrices [EQUIP_SHOP_MAX]
 Array for equips prices.
 
int consumablesCount
 Total number of consumables for sale, includes quantity for each kind of consumable.
 
int uniqueConsumablesCount
 Total of unique consumables for sale.
 
Consumableconsumables [CONSUMABLE_SHOP_MAX]
 Array for consumables on sale.
 
int consumablePrices [CONSUMABLE_SHOP_MAX]
 Array for consumables prices.
 

Detailed Description

Represents a shop instance.

Field Documentation

◆ consumablePrices

int Shop::consumablePrices[CONSUMABLE_SHOP_MAX]

Array for consumables prices.

They assume to a consumable with qty == 1

◆ consumables

Consumable* Shop::consumables[CONSUMABLE_SHOP_MAX]

Array for consumables on sale.

◆ consumablesCount

int Shop::consumablesCount

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

◆ desc

char* Shop::desc

Description string.

◆ equipPrices

int Shop::equipPrices[EQUIP_SHOP_MAX]

Array for equips prices.

◆ equips

Equip* Shop::equips[EQUIP_SHOP_MAX]

Array for equips on sale.

◆ equipsCount

int Shop::equipsCount

Total number of equips for sale.

◆ itemCount

int Shop::itemCount

Total number of items for sale.

◆ uniqueConsumablesCount

int Shop::uniqueConsumablesCount

Total of unique consumables for sale.


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