// Copyright ExByte Studios. Item Interaction Ecosystem.

#pragma once

#include "CoreMinimal.h"
#include "Subsystems/WorldSubsystem.h"
#include "ItemDebugSubsystem.generated.h"

/**
 * On-screen runtime debugger (section 29). Toggle with the console variable
 * `ItemEco.DebugHUD 1`. Draws the local player's held item, current interaction
 * target and the available interactions each frame. Read-only / client-local.
 */
UCLASS()
class ITEMDEBUG_API UItemDebugSubsystem : public UTickableWorldSubsystem
{
	GENERATED_BODY()

public:
	//~ FTickableGameObject
	virtual void Tick(float DeltaTime) override;
	virtual TStatId GetStatId() const override;
	virtual bool DoesSupportWorldType(const EWorldType::Type WorldType) const override;
};
