UnrealVoxta 0.1.1
 
Loading...
Searching...
No Matches
VoxtaServiceGroupData.h
Go to the documentation of this file.
1// Copyright(c) 2025 grrimgrriefer & DZnnah, see LICENSE for details.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "VoxtaServiceType.h"
7#include "VoxtaServiceGroupData.generated.h"
8
10
17USTRUCT(BlueprintType, Category = "Voxta")
18struct VOXTADATA_API FVoxtaServiceGroupData
19{
20 GENERATED_BODY()
21
22#pragma region public API
23public:
32 FGuid defaultServiceEntryid,
33 const TArray<FVoxtaServiceEntryData>& serviceEntries) :
34 m_serviceGroupType(type),
35 m_serviceEntries(serviceEntries),
36 m_defaultServiceEntryId(defaultServiceEntryid)
37 {}
38
41#pragma endregion
42
43#pragma region data
44private:
46 bool m_isEnabled = false;
47
49 UPROPERTY(BlueprintReadOnly, Category = "Voxta", meta = (AllowPrivateAccess = "true", DisplayName = "Service type"))
50 VoxtaServiceType m_serviceGroupType = VoxtaServiceType::Unknown;
51
53 UPROPERTY(BlueprintReadOnly, Category = "Voxta", meta = (AllowPrivateAccess = "true", DisplayName = "Service name"))
54 TArray<FVoxtaServiceEntryData> m_serviceEntries;
55
57 FGuid m_defaultServiceEntryId;
58#pragma endregion
59};
VoxtaServiceType
VoxtaServiceType All the possible VoxtaServer Services that the UnrealVoxta client currently supports...
Definition VoxtaServiceType.h:20
@ Unknown
Definition VoxtaServiceType.h:21
FVoxtaServiceEntryData Data struct representing a specific serviceEntry provided within the VoxtaServ...
Definition VoxtaServiceEntryData.h:17
FVoxtaServiceGroupData(VoxtaServiceType type, FGuid defaultServiceEntryid, const TArray< FVoxtaServiceEntryData > &serviceEntries)
Construct a new VoxtaServiceGroupData.
Definition VoxtaServiceGroupData.h:31
FVoxtaServiceGroupData()=default
Default constructor.