2025-05-10 21:31:54 +01:00
|
|
|
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
#include "Components/ActorComponent.h"
|
2025-05-12 21:39:32 +01:00
|
|
|
#include <HsFFI.h>
|
|
|
|
#include "TheracAdapterComponent.generated.h"
|
|
|
|
|
2025-05-10 21:31:54 +01:00
|
|
|
|
|
|
|
|
|
|
|
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
|
2025-05-12 21:39:32 +01:00
|
|
|
class HSTHERAC25_API UTheracAdapterComponent : public UActorComponent
|
2025-05-10 21:31:54 +01:00
|
|
|
{
|
|
|
|
GENERATED_BODY()
|
|
|
|
|
2025-05-12 21:39:32 +01:00
|
|
|
HsStablePtr wrappedComms;
|
|
|
|
|
2025-05-10 21:31:54 +01:00
|
|
|
public:
|
|
|
|
// Sets default values for this component's properties
|
2025-05-12 21:39:32 +01:00
|
|
|
UTheracAdapterComponent();
|
2025-05-10 21:31:54 +01:00
|
|
|
|
|
|
|
protected:
|
|
|
|
// Called when the game starts
|
|
|
|
virtual void BeginPlay() override;
|
|
|
|
|
|
|
|
public:
|
|
|
|
// Called every frame
|
|
|
|
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
|
|
|
|
|
|
|
|
|
|
|
|
};
|