Added commissions system

This commit is contained in:
2026-06-01 00:27:56 +03:00
parent fd040d6a01
commit db7067fc68
81 changed files with 2418 additions and 1065 deletions
+9
View File
@@ -9,6 +9,7 @@
class UClothingManager;
class ANakedDesireCharacter;
DECLARE_DYNAMIC_MULTICAST_DELEGATE_TwoParams(FAttributeUpdateSignature, float, CurrentValue, float, MaxValue);
DECLARE_DYNAMIC_MULTICAST_DELEGATE(FObserversChangedSignature);
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
@@ -47,6 +48,14 @@ public:
// body parts that observer can actually see (GDD §7.1).
void SetObserved(bool bObserved, AActor* Observer);
// Number of NPCs currently perceiving the player (used by commission objectives, §13.4).
UFUNCTION(BlueprintPure)
int32 GetObserverCount() const;
// Fires whenever the observer set changes (an NPC gains or loses sight of the player).
UPROPERTY(BlueprintAssignable)
FObserversChangedSignature OnObserversChanged;
UFUNCTION(BlueprintCallable)
void IncreaseEmbarrassment(float Amount);
void DecreaseEmbarrassment(float Amount);