Files
Faye/Source/Faye/Inventory/BookItem.cpp
2026-07-03 19:56:31 +02:00

19 lines
485 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#include "BookItem.h"
void UBookItem::SetupBook(const FBookDataStructRow& Row, int32 InID)
{
ItemCategory = EItemCategory::Book;
ItemId = InID;
ItemName = Row.ItemName;
ItemDescription = Row.ItemDescription;
BookCategory = Row.BookCategory;
BookSubCategory = Row.BookSubCategory;
Price = Row.Price;
PublicationDate = Row.PublicationDate;
Author = Row.Author;
PageNumber = Row.PageNumber;
}