init
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user