MetaSoul

Loading...
Searching...
No Matches
ESIOClient.h
Go to the documentation of this file.
1// Modifications Copyright 2022-current EmoShape. All Rights Reserved
2#pragma once
3
4#include "Runtime/Core/Public/Modules/ModuleManager.h"
5 class FESIONative;
6
7 class EMOSHAPESUBSYSTEM_API ESIOClient
8{
9 public:
10 TSharedPtr<FESIONative> NewValidNativePointer(const bool bShouldUseTlsLibraries = false, const bool bShouldSkipCertificateVerification = true);
11 TSharedPtr<FESIONative> ValidSharedNativePointer(FString SharedId, const bool bShouldUseTlsLibraries, const bool bShouldSkipCertificateVerification);
12
13 private:
14
15 //All native pointers manages by the plugin
16 TArray<TSharedPtr<FESIONative>> PluginNativePointers;
17
18 //Shared pointers, these will typically be alive past game world lifecycles
19 TMap<FString, TSharedPtr<FESIONative>> SharedNativePointers;
20 TSet<TSharedPtr<FESIONative>> AllSharedPtrs; //reverse lookup
21
22 FThreadSafeBool bHasActiveNativePointers;
23};
ESIOClient
Definition ESIOClient.h:8
FESIONative
Definition ESIONative.h:39