G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FTimespan Struct Reference

A time span value, which is the difference between two dates and times. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Misc\Timespan.h. More...

Public Member Functions

Functions
int GetSeconds () const
FTimespan & opAddAssign (FTimespan Other)
FTimespan opSub () const
FTimespan opSub (FTimespan Other) const
FTimespan & opSubAssign (FTimespan Other)
FTimespan opMul (float Scalar) const
FTimespan & opMulAssign (float Scalar)
FTimespan opDiv (float Scalar) const
FTimespan & opDivAssign (float Scalar)
FTimespan opMod (FTimespan Other) const
FTimespan & opModAssign (FTimespan Other)
int opCmp (FTimespan Other) const
bool opEquals (FTimespan Other) const
int GetDays () const
FTimespan GetDuration ()
int GetFractionMicro () const
int GetFractionMilli () const
int GetFractionNano () const
int GetFractionTicks () const
int GetHours () const
int GetMinutes () const
FTimespan opAdd (FTimespan Other) const
int64 GetTicks () const
float GetTotalDays () const
float GetTotalHours () const
float GetTotalMicroseconds () const
float GetTotalMilliseconds () const
float GetTotalMinutes () const
float GetTotalSeconds () const
bool IsZero () const
FString ToString () const
FString ToString (const FString Format) const
FTimespan & opAssign (FTimespan Other)

Static Public Member Functions

Static Functions
static FTimespan FromSeconds (float Seconds)
static FTimespan FromHours (float Hours)
static FTimespan FromMicroseconds (float Microseconds)
static FTimespan FromMilliseconds (float Milliseconds)
static FTimespan FromMinutes (float Minutes)
static FTimespan FromDays (float Days)
static FTimespan MaxValue ()
static FTimespan MinValue ()
static FTimespan Zero ()
static float Ratio (FTimespan Dividend, FTimespan Divisor)

Public Attributes

Variables
const int Seconds
const FTimespan Duration
const int FractionMicro
const int FractionMilli
const int FractionNano
const int FractionTicks
const int Hours
const int Minutes
const int Days
const int64 Ticks
const float TotalDays
const float TotalHours
const float TotalMicroseconds
const float TotalMilliseconds
const float TotalMinutes
const float TotalSeconds

Detailed Description

A time span value, which is the difference between two dates and times. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Misc\Timespan.h.

Member Function Documentation

◆ FromDays()

FTimespan FromDays ( float Days)
static

◆ FromHours()

FTimespan FromHours ( float Hours)
static

◆ FromMicroseconds()

FTimespan FromMicroseconds ( float Microseconds)
static

◆ FromMilliseconds()

FTimespan FromMilliseconds ( float Milliseconds)
static

◆ FromMinutes()

FTimespan FromMinutes ( float Minutes)
static

◆ FromSeconds()

FTimespan FromSeconds ( float Seconds)
static

◆ GetDays()

int GetDays ( ) const

◆ GetDuration()

FTimespan GetDuration ( )

◆ GetFractionMicro()

int GetFractionMicro ( ) const

◆ GetFractionMilli()

int GetFractionMilli ( ) const

◆ GetFractionNano()

int GetFractionNano ( ) const

◆ GetFractionTicks()

int GetFractionTicks ( ) const

◆ GetHours()

int GetHours ( ) const

◆ GetMinutes()

int GetMinutes ( ) const

◆ GetSeconds()

int GetSeconds ( ) const

◆ GetTicks()

int64 GetTicks ( ) const

◆ GetTotalDays()

float GetTotalDays ( ) const

◆ GetTotalHours()

float GetTotalHours ( ) const

◆ GetTotalMicroseconds()

float GetTotalMicroseconds ( ) const

◆ GetTotalMilliseconds()

float GetTotalMilliseconds ( ) const

◆ GetTotalMinutes()

float GetTotalMinutes ( ) const

◆ GetTotalSeconds()

float GetTotalSeconds ( ) const

◆ IsZero()

bool IsZero ( ) const

◆ MaxValue()

FTimespan MaxValue ( )
static

◆ MinValue()

FTimespan MinValue ( )
static

◆ opAdd()

FTimespan opAdd ( FTimespan Other) const

◆ opAddAssign()

FTimespan & opAddAssign ( FTimespan Other)

◆ opAssign()

FTimespan & opAssign ( FTimespan Other)

◆ opCmp()

int opCmp ( FTimespan Other) const

◆ opDiv()

FTimespan opDiv ( float Scalar) const

◆ opDivAssign()

FTimespan & opDivAssign ( float Scalar)

◆ opEquals()

bool opEquals ( FTimespan Other) const

◆ opMod()

FTimespan opMod ( FTimespan Other) const

◆ opModAssign()

FTimespan & opModAssign ( FTimespan Other)

◆ opMul()

FTimespan opMul ( float Scalar) const

◆ opMulAssign()

FTimespan & opMulAssign ( float Scalar)

◆ opSub() [1/2]

FTimespan opSub ( ) const

◆ opSub() [2/2]

FTimespan opSub ( FTimespan Other) const

◆ opSubAssign()

FTimespan & opSubAssign ( FTimespan Other)

◆ Ratio()

float Ratio ( FTimespan Dividend,
FTimespan Divisor )
static

◆ ToString() [1/2]

FString ToString ( ) const

◆ ToString() [2/2]

FString ToString ( const FString Format) const

◆ Zero()

FTimespan Zero ( )
static

Member Data Documentation

◆ Days

const int Days

◆ Duration

const FTimespan Duration

◆ FractionMicro

const int FractionMicro

◆ FractionMilli

const int FractionMilli

◆ FractionNano

const int FractionNano

◆ FractionTicks

const int FractionTicks

◆ Hours

const int Hours

◆ Minutes

const int Minutes

◆ Seconds

const int Seconds

◆ Ticks

const int64 Ticks

◆ TotalDays

const float TotalDays

◆ TotalHours

const float TotalHours

◆ TotalMicroseconds

const float TotalMicroseconds

◆ TotalMilliseconds

const float TotalMilliseconds

◆ TotalMinutes

const float TotalMinutes

◆ TotalSeconds

const float TotalSeconds