Illusion-UE5/hwanyoung2/Source/hwanyoung2/HYGameStateBase.cpp

18 lines
428 B
C++
Raw Normal View History

2023-10-16 01:38:15 +02:00
// Fill out your copyright notice in the Description page of Project Settings.
#include "HYGameStateBase.h"
2023-10-16 03:18:31 +02:00
AHYGameStateBase::AHYGameStateBase()
{
static ConstructorHelpers::FObjectFinder<UDataTable> BP_ItemDataTable(
2024-02-03 01:55:36 +01:00
TEXT("DataTable'/Game/Hwanyoung/Interactables/ItemDataTable.ItemDataTable'"));
2023-10-16 03:18:31 +02:00
ItemDatabase = BP_ItemDataTable.Object;
}
UDataTable* AHYGameStateBase::GetItemDatabase() const
{
return ItemDatabase;
}