26 lines
591 B
C
26 lines
591 B
C
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "CoreMinimal.h"
|
||
|
#include "Components/ActorComponent.h"
|
||
|
#include "LagCompensationComponent.generated.h"
|
||
|
|
||
|
|
||
|
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) )
|
||
|
class BLASTER_API ULagCompensationComponent : public UActorComponent
|
||
|
{
|
||
|
GENERATED_BODY()
|
||
|
|
||
|
public:
|
||
|
ULagCompensationComponent();
|
||
|
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
|
||
|
|
||
|
protected:
|
||
|
virtual void BeginPlay() override;
|
||
|
|
||
|
public:
|
||
|
|
||
|
|
||
|
};
|