WjWorld
Loading...
Searching...
No Matches
FWjWorldWallDescription Struct Reference

#include <WjWorldWallDescriptionDataAsset.h>

Public Member Functions

bool LoadWallLayoutFromFile ()
void GetRandomSafeZones (TArray< FIntPoint > &OutSafeZones, int32 MaxCount=10) const
void Reset ()
bool IsWallClosed ()
bool IsLayoutValid ()
bool IsLayoutEmpty ()

Public Attributes

FString WallName
FVector CenterOffset = FVector::ZeroVector
FVector BrickSize = FVector(100.0, 100.0, 100.0)
FFilePath WallLayoutFilePath
TArray< TArray< int32 > > WallLayout
bool bIsLayoutValid = false
bool bSizeExactMatch = false
int32 RowNum = 0
int32 ColumnNum = 0
TArray< FIntPoint > SafeZones
TSet< FIntPoint > SafeZonesSet

Static Public Attributes

static constexpr int32 WallCell_Empty = -1

Member Function Documentation

◆ GetRandomSafeZones()

void FWjWorldWallDescription::GetRandomSafeZones ( TArray< FIntPoint > & OutSafeZones,
int32 MaxCount = 10 ) const

◆ IsLayoutEmpty()

bool FWjWorldWallDescription::IsLayoutEmpty ( )
inline

◆ IsLayoutValid()

bool FWjWorldWallDescription::IsLayoutValid ( )
inline

◆ IsWallClosed()

bool FWjWorldWallDescription::IsWallClosed ( )
inline

◆ LoadWallLayoutFromFile()

bool FWjWorldWallDescription::LoadWallLayoutFromFile ( )

◆ Reset()

void FWjWorldWallDescription::Reset ( )
inline

Member Data Documentation

◆ bIsLayoutValid

bool FWjWorldWallDescription::bIsLayoutValid = false

◆ BrickSize

FVector FWjWorldWallDescription::BrickSize = FVector(100.0, 100.0, 100.0)

◆ bSizeExactMatch

bool FWjWorldWallDescription::bSizeExactMatch = false

◆ CenterOffset

FVector FWjWorldWallDescription::CenterOffset = FVector::ZeroVector

◆ ColumnNum

int32 FWjWorldWallDescription::ColumnNum = 0

◆ RowNum

int32 FWjWorldWallDescription::RowNum = 0

◆ SafeZones

TArray<FIntPoint> FWjWorldWallDescription::SafeZones

◆ SafeZonesSet

TSet<FIntPoint> FWjWorldWallDescription::SafeZonesSet

◆ WallCell_Empty

int32 FWjWorldWallDescription::WallCell_Empty = -1
staticconstexpr

◆ WallLayout

TArray<TArray<int32> > FWjWorldWallDescription::WallLayout

◆ WallLayoutFilePath

FFilePath FWjWorldWallDescription::WallLayoutFilePath

◆ WallName

FString FWjWorldWallDescription::WallName

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