76 lines
1.9 KiB
C++
76 lines
1.9 KiB
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "DTFluxRemoteMessage.generated.h"
|
|
|
|
|
|
USTRUCT(BlueprintType)
|
|
struct FDTFluxRemoteBasicData
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="DTFlux|Remote")
|
|
FDateTime UpdateAt = FDateTime::Now();
|
|
FDTFluxRemoteBasicData() = default;
|
|
FDTFluxRemoteBasicData(const FDateTime& InUpdateAt): UpdateAt(InUpdateAt){};
|
|
};
|
|
|
|
|
|
|
|
USTRUCT(BlueprintType)
|
|
struct FDTFluxRemoteTitleData : public FDTFluxRemoteBasicData
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="DTFlux|Remote")
|
|
FString FirstName = "";
|
|
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="DTFlux|Remote")
|
|
FString LastName = "";
|
|
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="DTFlux|Remote")
|
|
FString Function1 = "";
|
|
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="DTFlux|Remote")
|
|
FString Function2 = "";
|
|
|
|
FDTFluxRemoteTitleData() = default;
|
|
FDTFluxRemoteTitleData(const FString InFirstName, const FString InLastName, const FString InFunction1, const FString InFunction2):
|
|
FirstName(InFirstName), LastName(InLastName), Function1(InFunction1), Function2(InFunction2){};
|
|
};
|
|
|
|
|
|
USTRUCT(BlueprintType)
|
|
struct FDTFluxRemoteBibData : public FDTFluxRemoteBasicData
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="DTFlux|Remote")
|
|
int Bib = -1;
|
|
|
|
FDTFluxRemoteBibData() = default;
|
|
FDTFluxRemoteBibData(int InBib): Bib(InBib){};
|
|
};
|
|
USTRUCT(BlueprintType)
|
|
struct FDTFluxRemoteCommandData : public FDTFluxRemoteBasicData
|
|
{
|
|
GENERATED_BODY()
|
|
public:
|
|
FDTFluxRemoteCommandData() = default;
|
|
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="DTFlux|Remote")
|
|
int Type = -1;
|
|
|
|
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category="DTFlux|Remote")
|
|
FString Data = "";
|
|
|
|
FDTFluxRemoteCommandData(int InType, FString InData):
|
|
Type(InType), Data(InData){};
|
|
};
|
|
|