This commit is contained in:
koritsa
2026-05-17 22:44:49 +03:00
commit 0d90a0b02a
9071 changed files with 44364 additions and 0 deletions
@@ -0,0 +1,27 @@
// © 2025 Naked People Team. All Rights Reserved.
#include "GoalRestriction.h"
void UGoalRestriction::Init(ANakedDesireCharacter* PlayerCharacter)
{
IsSuccess = false;
Player = PlayerCharacter;
OnUpdate.Broadcast(this);
}
void UGoalRestriction::Complete()
{
Complete(true);
}
void UGoalRestriction::Complete(const bool Value)
{
IsSuccess = Value;
OnUpdate.Broadcast(this);
}
FText UGoalRestriction::GetDescription() const
{
return FText::GetEmpty();
}