Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
Loading...
Searching...
No Matches
StackReturn Struct Reference

Result of working out where a bought stack lands (full stacks + partial in bag/box). More...

#include <itemmarketentrystoreitem.h>

Collaboration diagram for StackReturn:

Public Attributes

int full = 0
 Number of full new stacks.
int partialBag = 0
 Remainder added to an existing bag stack.
int partialBox = 0
 Remainder added to an existing PC-box stack.
ItempartialElBag = nullptr
 The bag item a partial merges into.
ItempartialElBox = nullptr
 The PC-box item a partial merges into.

Detailed Description

Result of working out where a bought stack lands (full stacks + partial in bag/box).

Definition at line 24 of file itemmarketentrystoreitem.h.

Member Data Documentation

◆ full

int StackReturn::full = 0

Number of full new stacks.

Definition at line 25 of file itemmarketentrystoreitem.h.

Referenced by ItemMarketEntryStoreItem::calculateStacks(), and ItemMarketEntryStoreItem::stackCount().

◆ partialBag

int StackReturn::partialBag = 0

Remainder added to an existing bag stack.

Definition at line 27 of file itemmarketentrystoreitem.h.

Referenced by ItemMarketEntryStoreItem::calculateStacks().

◆ partialBox

int StackReturn::partialBox = 0

Remainder added to an existing PC-box stack.

Definition at line 28 of file itemmarketentrystoreitem.h.

Referenced by ItemMarketEntryStoreItem::calculateStacks().

◆ partialElBag

Item* StackReturn::partialElBag = nullptr

The bag item a partial merges into.

Definition at line 30 of file itemmarketentrystoreitem.h.

Referenced by ItemMarketEntryStoreItem::calculateStacks().

◆ partialElBox

Item* StackReturn::partialElBox = nullptr

The PC-box item a partial merges into.

Definition at line 31 of file itemmarketentrystoreitem.h.

Referenced by ItemMarketEntryStoreItem::calculateStacks().


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