Files
Naked-Desire/Source/NakedDesire/MissionBuilder/GoalRestriction.cpp
T
2026-05-17 22:44:49 +03:00

28 lines
466 B
C++

// © 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();
}