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

#include <MenuData.h>

Public Member Functions

 FReplayInfo (FString NewName, FString NewFriendlyName, const FDateTime NewTimestamp, const int32 NewLengthInMS, const int64 Size)
 
 FReplayInfo ()
 
bool operator== (const FReplayInfo &Other) const
 
bool operator!= (const FReplayInfo &Other) const
 
bool IsValid () const
 

Public Attributes

FString ReplayName = "Replay"
 
FString FriendlyName = "ReplayFriendlyName"
 
FDateTime Timestamp = FDateTime::MinValue()
 
int32 LengthInMS = 0
 
bool bIsValid = false
 
int64 SizeInBytes = 0
 

Constructor & Destructor Documentation

◆ FReplayInfo() [1/2]

FReplayInfo::FReplayInfo ( FString NewName,
FString NewFriendlyName,
const FDateTime NewTimestamp,
const int32 NewLengthInMS,
const int64 Size )
inline
339 {
340 ReplayName = NewName;
341 FriendlyName = NewFriendlyName;
342 Timestamp = NewTimestamp;
343 LengthInMS = NewLengthInMS;
344 SizeInBytes = Size;
345 bIsValid = true;
346 }
FString ReplayName
Definition MenuData.h:321
bool bIsValid
Definition MenuData.h:333
int32 LengthInMS
Definition MenuData.h:330
FString FriendlyName
Definition MenuData.h:324
FDateTime Timestamp
Definition MenuData.h:327
int64 SizeInBytes
Definition MenuData.h:336

◆ FReplayInfo() [2/2]

FReplayInfo::FReplayInfo ( )
inline
349 {
350 ReplayName = "Replay";
351 FriendlyName = "ReplayFriendlyName";
352 Timestamp = FDateTime::MinValue();
353 LengthInMS = 0;
354 bIsValid = false;
355 }

Member Function Documentation

◆ IsValid()

bool FReplayInfo::IsValid ( ) const
inline
365 {
366 if(ReplayName == "Replay"){return false;}
367 if(LengthInMS == 0){return false;}
368 if(!bIsValid){return false;}
369 return true;
370 }

◆ operator!=()

bool FReplayInfo::operator!= ( const FReplayInfo & Other) const
inline
361 {
362 return ReplayName != Other.ReplayName;
363 }

◆ operator==()

bool FReplayInfo::operator== ( const FReplayInfo & Other) const
inline
357 {
358 return ReplayName == Other.ReplayName;
359 }

Member Data Documentation

◆ bIsValid

bool FReplayInfo::bIsValid = false

◆ FriendlyName

FString FReplayInfo::FriendlyName = "ReplayFriendlyName"

◆ LengthInMS

int32 FReplayInfo::LengthInMS = 0

◆ ReplayName

FString FReplayInfo::ReplayName = "Replay"

◆ SizeInBytes

int64 FReplayInfo::SizeInBytes = 0

◆ Timestamp

FDateTime FReplayInfo::Timestamp = FDateTime::MinValue()

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