Documentation for the Unreal C++ Library
Loading...
Searching...
No Matches
PVROMultiplayerModule.h
Go to the documentation of this file.
1// Copyright(c) 2023 PixoVR, LLC. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Modules/ModuleInterface.h"
7
9
11{
12protected:
13
15
16public:
17
18 virtual void StartupModule() override;
19 virtual void ShutdownModule() override;
20
21 static inline FPVROMultiplayerModule& Get()
22 {
23 return FModuleManager::LoadModuleChecked<FPVROMultiplayerModule>("PixoVRMultiplayer");
24 }
25
26 static inline bool IsAvailable()
27 {
28 return FModuleManager::Get().IsModuleLoaded("PixoVRMultiplayer");
29 }
30};
31
32typedef TSharedPtr<FPVROMultiplayerModule, ESPMode::ThreadSafe> FPVROMultiplayerModulePtr;
TSharedPtr< FPVROMultiplayerModule, ESPMode::ThreadSafe > FPVROMultiplayerModulePtr
virtual void ShutdownModule() override
FPVROMultiplayerFactory * Factory
virtual void StartupModule() override
static FPVROMultiplayerModule & Get()