From 3efc8f088da87790261e4127c5e2c4279ec59d38 Mon Sep 17 00:00:00 2001 From: Rafal Swierczek <34179rs@gmail.com> Date: Thu, 12 Oct 2023 20:47:27 +0100 Subject: [PATCH] Implemented Load OS BP Implementable Event Sets up what values the player sees on the in games pc's display, values such as what bounty they're on or how much a favour will cost them --- .../BountySystem/BountyDirector/WBP_PC_Display.uasset | 4 ++-- .../Source/EndlessVendetta/BountySystem/BountyDirector.cpp | 1 - .../Source/EndlessVendetta/UserWidgets/PC_Display.h | 5 +---- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/EndlessVendetta/Content/BountySystem/BountyDirector/WBP_PC_Display.uasset b/EndlessVendetta/Content/BountySystem/BountyDirector/WBP_PC_Display.uasset index b6a73b5f..20b851f2 100644 --- a/EndlessVendetta/Content/BountySystem/BountyDirector/WBP_PC_Display.uasset +++ b/EndlessVendetta/Content/BountySystem/BountyDirector/WBP_PC_Display.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:60ead9907ef868f4417c4e7764b108261bc1bcbd8c14c12961f14e7abef1daba -size 783643 +oid sha256:7fa3dc6f87da5e22b1363a0276b090306de54d36ac05c86024a47d05c8d92ae3 +size 1088257 diff --git a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp index 4d1321e6..56242ca9 100644 --- a/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp +++ b/EndlessVendetta/Source/EndlessVendetta/BountySystem/BountyDirector.cpp @@ -214,7 +214,6 @@ void ABountyDirector::Interact() // Info about main bounty PC_Display->PC_Display_Info.MB_Title = GetBountyTitle(); - PC_Display->PC_Display_Info.MB_Icon = GetBountyIcon(); PC_Display->PC_Display_Info.MB_Desc = GetBountyDescription(); PC_Display->PC_Display_Info.MB_Reward = GetBountyReward(); diff --git a/EndlessVendetta/Source/EndlessVendetta/UserWidgets/PC_Display.h b/EndlessVendetta/Source/EndlessVendetta/UserWidgets/PC_Display.h index 70ff31a2..49b7ae9b 100644 --- a/EndlessVendetta/Source/EndlessVendetta/UserWidgets/PC_Display.h +++ b/EndlessVendetta/Source/EndlessVendetta/UserWidgets/PC_Display.h @@ -16,10 +16,7 @@ struct FPC_Display_Info UPROPERTY(BlueprintReadWrite, Category = "PC_Display_Info") FString MB_Title; - - UPROPERTY(BlueprintReadWrite, Category = "PC_Display_Info") - UTexture2D* MB_Icon; - + UPROPERTY(BlueprintReadWrite, Category = "PC_Display_Info") FString MB_Desc;