Space Plunder
Loading...
Searching...
No Matches
FGameLevel Struct Reference

#include <MenuData.h>

Inheritance diagram for FGameLevel:

Public Member Functions

bool operator== (const FGameLevel &Other) const
 
bool IsValid () const
 

Public Attributes

FString LevelName = "Default"
 
FString LevelLocation = "/Levels/x.map"
 
class UTexture2D * LevelThumbnail = nullptr
 
FString LevelDescription = "Description"
 
bool bMultiplayerPlayable = true
 
int32 RecommendedNumberOfPlayers = 6
 
bool bCampaignPlayable = false
 
bool bHordePlayable = false
 
bool bDebugMap = false
 
bool bDefaultMap = false
 

Member Function Documentation

◆ IsValid()

bool FGameLevel::IsValid ( ) const
inline
151 {
152 if(LevelName == "Default"){return false;}
153 if(LevelLocation == "/Levels/x.map"){return false;}
154 return true;
155 }
FString LevelName
Definition MenuData.h:119
FString LevelLocation
Definition MenuData.h:121

◆ operator==()

bool FGameLevel::operator== ( const FGameLevel & Other) const
inline
147 {
148 return LevelName == Other.LevelName;
149 }

Member Data Documentation

◆ bCampaignPlayable

bool FGameLevel::bCampaignPlayable = false

◆ bDebugMap

bool FGameLevel::bDebugMap = false

◆ bDefaultMap

bool FGameLevel::bDefaultMap = false

◆ bHordePlayable

bool FGameLevel::bHordePlayable = false

◆ bMultiplayerPlayable

bool FGameLevel::bMultiplayerPlayable = true

◆ LevelDescription

FString FGameLevel::LevelDescription = "Description"

◆ LevelLocation

FString FGameLevel::LevelLocation = "/Levels/x.map"

◆ LevelName

FString FGameLevel::LevelName = "Default"

◆ LevelThumbnail

class UTexture2D* FGameLevel::LevelThumbnail = nullptr

◆ RecommendedNumberOfPlayers

int32 FGameLevel::RecommendedNumberOfPlayers = 6

The documentation for this struct was generated from the following file: