Agrarsense
WeatherPreset.h
Go to the documentation of this file.
1// Copyright (c) 2023 FrostBit Software Lab at the Lapland University of Applied Sciences
2//
3// This work is licensed under the terms of the MIT license.
4// For a copy, see <https://opensource.org/licenses/MIT>.
5
6#pragma once
7
8#include "Misc/DateTime.h"
9
11
12#include "WeatherPreset.generated.h"
13
17USTRUCT(BlueprintType)
19{
20 GENERATED_BODY()
21public:
23 UPROPERTY(BlueprintReadWrite, EditAnywhere)
24 FString PresetIdentifier;
25
27 UPROPERTY(BlueprintReadWrite, EditAnywhere)
28 FString PresetName;
29
31 UPROPERTY(BlueprintReadWrite, EditAnywhere)
32 FWeatherParameters WeatherParameters;
33
35 UPROPERTY(BlueprintReadWrite, EditAnywhere)
36 FDateTime CreatedAt;
37
39 {
40 CreatedAt = FDateTime::Now();
41 }
42};