Added commissions system

This commit is contained in:
2026-06-01 00:27:56 +03:00
parent a3e23393dc
commit 003d9992e2
81 changed files with 2418 additions and 1065 deletions
@@ -1,4 +1,4 @@
// © 2025 Naked People Team. All Rights Reserved.
// © 2025 Naked People Team. All Rights Reserved.
#pragma once
@@ -9,6 +9,9 @@
class ULocationData;
class UBoxComponent;
// A tagged volume. On player overlap it reports enter / leave to ULocationSubsystem, which is the
// single authority on where the player is. Everything (session boundary, commission location
// constraints, etc.) consumes the subsystem — the trigger itself has no consumer-specific logic.
UCLASS()
class NAKEDDESIRE_API ALocationTrigger : public AActor
{
@@ -20,12 +23,6 @@ class NAKEDDESIRE_API ALocationTrigger : public AActor
UPROPERTY(EditAnywhere)
ULocationData* LocationData;
// When set, the player crossing this trigger drives session start / end on
// USessionManagerSubsystem (GDD §4.1 / §4.3). Exactly one trigger — the
// apartment — should have this checked.
UPROPERTY(EditAnywhere, Category = "Session")
bool bIsApartment = false;
public:
ALocationTrigger();
@@ -42,4 +39,4 @@ private:
UFUNCTION()
void OnTriggerEndOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor,
UPrimitiveComponent* OtherComp, int32 OtherBodyIndex);
};
};