Initial push to repo
This commit is contained in:
18
Source/Faye/Inventory/BookItem.cpp
Normal file
18
Source/Faye/Inventory/BookItem.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user