Illusion-UE5/hwanyoung2/Source/hwanyoung2/HYGameStateBase.cpp
2024-02-02 19:55:36 -05:00

18 lines
428 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#include "HYGameStateBase.h"
AHYGameStateBase::AHYGameStateBase()
{
static ConstructorHelpers::FObjectFinder<UDataTable> BP_ItemDataTable(
TEXT("DataTable'/Game/Hwanyoung/Interactables/ItemDataTable.ItemDataTable'"));
ItemDatabase = BP_ItemDataTable.Object;
}
UDataTable* AHYGameStateBase::GetItemDatabase() const
{
return ItemDatabase;
}