Space Plunder
Loading...
Searching...
No Matches
MenuGameModeInterface.h
Go to the documentation of this file.
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Data/MenuData.h"
7#include "UObject/Interface.h"
8#include "MenuGameModeInterface.generated.h"
9
10UINTERFACE(MinimalAPI, NotBlueprintable)
11class UMenuGameModeInterface : public UInterface
12{
13 GENERATED_BODY()
14};
15
16class MENUSYSTEM_API IMenuGameModeInterface
17{
18 GENERATED_BODY()
19
20 //@TODO Move this to a GameMode Plugin? or Gamemodes to this.
21
22public:
23
24 UFUNCTION(BlueprintCallable, Category="Online GM|Players")
25 virtual void SpawnPlayer(APlayerController* PlayerController) = 0;
26
27 UFUNCTION(BlueprintCallable, Category="Online GM|Mode")
28 virtual EMultiplayerMode GetMultiplayerGameMode() const = 0;
29
30 UFUNCTION(BlueprintCallable, Category="Online GM|State")
31 virtual int32 GetCurrentRound() const {return 0;};
32
33};
EMultiplayerMode
Definition MultiplayerData.h:10
Definition MenuGameModeInterface.h:17
Definition MenuGameModeInterface.h:12