Iterations on bazaar system
This commit is contained in:
@@ -1150,6 +1150,11 @@ UEleriBaseWidget* AEleriPlayerController::OpenBazarWindow() {
|
||||
return MainGameUI->GetBazarWidget();
|
||||
}
|
||||
|
||||
void AEleriPlayerController::ToggleBazarInput(bool bActive)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void AEleriPlayerController::OnInteract(const FInputActionValue &Value)
|
||||
{
|
||||
if (!IsValid(PlayerCharacter))
|
||||
|
||||
@@ -357,9 +357,12 @@ public:
|
||||
UFUNCTION(BlueprintCallable)
|
||||
UCalendarScreen* OpenCalendarWindow();
|
||||
|
||||
// Bazar
|
||||
UFUNCTION(BlueprintCallable)
|
||||
UEleriBaseWidget* OpenBazarWindow();
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void ToggleBazarInput(bool bActive);
|
||||
|
||||
void OnInteract(const FInputActionValue& Value);
|
||||
void OnInteractExit(const FInputActionValue& Value);
|
||||
void OnHarvestSeed(const FInputActionValue& Value);
|
||||
|
||||
@@ -41,6 +41,9 @@ class PROJECTELERI_API UMainGameWidget : public UEleriBaseWidget
|
||||
public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
bool bVisible;
|
||||
|
||||
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
||||
void FadeScreenByTime(float FadeTime = 1.f, float BlankScreenTime = 1.f);
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void TogglePlaceableUI(bool bEnabled);
|
||||
@@ -48,7 +51,7 @@ public:
|
||||
UFUNCTION()
|
||||
void SwitchKeybindsDisplay(int32 Index);
|
||||
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
UFUNCTION(BlueprintImplementableEvent, BlueprintCallable)
|
||||
void ToggleGameMenu(bool bNewVisible);
|
||||
|
||||
UFUNCTION(BlueprintCallable, BlueprintPure)
|
||||
|
||||
Reference in New Issue
Block a user