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