Operating System Simulator Plugin  3.5.1
Unreal Engine plugin that simulates an Operating System Environment
Loading...
Searching...
No Matches
OperatingSystemTemplates.h File Reference
#include "Kismet/GameplayStatics.h"
#include "GameFramework/PlayerController.h"
#include "Blueprint/UserWidget.h"
Include dependency graph for OperatingSystemTemplates.h:
This graph shows which files directly or indirectly include this file:

Functions

template<class WidgetT >
UE_NODISCARD WidgetT * CreateFromSoftWidget (const UObject *WorldContextObject, TSoftClassPtr< WidgetT > SoftClass)
 
static int64 GenerateRandomInt64 (const int64 &A, const int64 &B)
 

Function Documentation

◆ CreateFromSoftWidget()

template<class WidgetT >
UE_NODISCARD WidgetT * CreateFromSoftWidget ( const UObject * WorldContextObject,
TSoftClassPtr< WidgetT > SoftClass )
Here is the caller graph for this function:

◆ GenerateRandomInt64()

static int64 GenerateRandomInt64 ( const int64 & A,
const int64 & B )
static

As of 5.2, int64 FMath::RandRange is bugged because it internally calls RandHelper64 which works based on int32. So this is a modified version of RandRange and RandHelper64.

Here is the caller graph for this function: