|
|
@ -30,7 +30,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING |
|
|
|
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
|
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
|
SUCH DAMAGE. |
|
|
|
SUCH DAMAGE. |
|
|
|
|
|
|
|
|
|
|
|
Portions of this software are copyright © 2023 The FreeType |
|
|
|
Portions of this software are copyright <EFBFBD> 2023 The FreeType |
|
|
|
Project (www.freetype.org). Please see LICENSE_FT.txt for more information. |
|
|
|
Project (www.freetype.org). Please see LICENSE_FT.txt for more information. |
|
|
|
All rights reserved. |
|
|
|
All rights reserved. |
|
|
|
*/ |
|
|
|
*/ |
|
|
@ -41,8 +41,10 @@ All rights reserved. |
|
|
|
class CraftingRequirement{ |
|
|
|
class CraftingRequirement{ |
|
|
|
std::vector<std::pair<IT,int>>craftingItems; |
|
|
|
std::vector<std::pair<IT,int>>craftingItems; |
|
|
|
uint32_t cost; |
|
|
|
uint32_t cost; |
|
|
|
|
|
|
|
uint8_t availableChapter; |
|
|
|
public: |
|
|
|
public: |
|
|
|
CraftingRequirement(const std::vector<std::pair<IT,int>>&craftingItems,const uint32_t cost); |
|
|
|
CraftingRequirement(const std::vector<std::pair<IT,int>>&craftingItems,const uint32_t cost,const uint8_t availableChapter); |
|
|
|
const std::vector<std::pair<IT,int>>&GetItems()const; |
|
|
|
const std::vector<std::pair<IT,int>>&GetItems()const; |
|
|
|
const uint32_t GetCost()const; |
|
|
|
const uint32_t GetCost()const; |
|
|
|
|
|
|
|
const uint8_t GetAvailableChapter()const; |
|
|
|
}; |
|
|
|
}; |