A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FDlgSystemModule Class Reference

#include <DlgSystemModule.h>

Inheritance diagram for FDlgSystemModule:
[legend]

Public Member Functions

void DisplayDialogueDataWindow () override
 
FTabSpawnerEntry * GetDialogueDataDisplaySpawnEntry () override
 
TSharedRef< SWidget > GetDialogueDataDisplayWindow () override
 
void RegisterConsoleCommands (const TWeakObjectPtr< const UObject > &InWorldContextObjectPtr) override
 
void ShutdownModule () override
 
void StartupModule () override
 
void UnregisterConsoleCommands () override
 

Static Public Member Functions

static IDlgSystemModuleGet ()
 
static bool IsAvailable ()
 

Private Types

typedef FDlgSystemModule Self
 

Private Member Functions

void HandleDialogueDeleted (UDlgDialogue *DeletedDialogue)
 
void HandleDialogueRenamed (UDlgDialogue *RenamedDialogue, const FString &OldObjectPath)
 
void HandleOnAssetRemoved (const FAssetData &RemovedAsset)
 
void HandleOnAssetRenamed (const FAssetData &AssetRenamed, const FString &OldObjectPath)
 
void HandleOnInMemoryAssetDeleted (UObject *DeletedObject)
 
void HandleOnPostLoadMapWithWorld (UWorld *LoadedWorld)
 
void HandleOnPreLoadMap (const FString &MapName)
 
bool RefreshDisplayDialogueDataWindow (bool bFocus=true)
 

Private Attributes

bool bHasRegisteredTabSpawners = false
 
TArray< IConsoleCommand * > ConsoleCommands
 
FTabSpawnerEntry * DialogueDataDisplayTabSpawnEntry = nullptr
 
TWeakPtr< SDlgDataDisplayDialogueDataDisplayWidget
 
TWeakObjectPtr< UWorld > LastLoadedWorld = nullptr
 
FDelegateHandle OnAssetRemovedHandle
 
FDelegateHandle OnAssetRenamedHandle
 
FDelegateHandle OnInMemoryAssetDeletedHandle
 
FDelegateHandle OnPostLoadMapWithWorldHandle
 
FDelegateHandle OnPreLoadMapHandle
 
TWeakObjectPtr< const UObjectWorldContextObjectPtr = nullptr
 

Detailed Description

Definition at line 18 of file DlgSystemModule.h.

Member Typedef Documentation

◆ Self

Definition at line 20 of file DlgSystemModule.h.

Member Function Documentation

◆ DisplayDialogueDataWindow()

void FDlgSystemModule::DisplayDialogueDataWindow ( )
overridevirtual

Implements IDlgSystemModule.

Definition at line 200 of file DlgSystemModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Get()

static IDlgSystemModule & IDlgSystemModule::Get ( )
inlinestaticinherited

Singleton-like access to this module's interface. This is just for convenience! Beware of calling this during the shutdown phase, though. Your module might have been unloaded already.

Returns
Returns singleton instance, loading the module on demand if needed

Definition at line 28 of file IDlgSystemModule.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetDialogueDataDisplaySpawnEntry()

FTabSpawnerEntry * FDlgSystemModule::GetDialogueDataDisplaySpawnEntry ( )
overridevirtual

Implements IDlgSystemModule.

Definition at line 149 of file DlgSystemModule.cpp.

◆ GetDialogueDataDisplayWindow()

TSharedRef< SWidget > FDlgSystemModule::GetDialogueDataDisplayWindow ( )
overridevirtual

Implements IDlgSystemModule.

Definition at line 137 of file DlgSystemModule.cpp.

◆ HandleDialogueDeleted()

void FDlgSystemModule::HandleDialogueDeleted ( UDlgDialogue * DeletedDialogue)
private

Definition at line 268 of file DlgSystemModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleDialogueRenamed()

void FDlgSystemModule::HandleDialogueRenamed ( UDlgDialogue * RenamedDialogue,
const FString & OldObjectPath )
private

Definition at line 278 of file DlgSystemModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ HandleOnAssetRemoved()

void FDlgSystemModule::HandleOnAssetRemoved ( const FAssetData & RemovedAsset)
private

Definition at line 251 of file DlgSystemModule.cpp.

◆ HandleOnAssetRenamed()

void FDlgSystemModule::HandleOnAssetRenamed ( const FAssetData & AssetRenamed,
const FString & OldObjectPath )
private

Definition at line 259 of file DlgSystemModule.cpp.

Here is the call graph for this function:

◆ HandleOnInMemoryAssetDeleted()

void FDlgSystemModule::HandleOnInMemoryAssetDeleted ( UObject * DeletedObject)
private

Definition at line 241 of file DlgSystemModule.cpp.

Here is the call graph for this function:

◆ HandleOnPostLoadMapWithWorld()

void FDlgSystemModule::HandleOnPostLoadMapWithWorld ( UWorld * LoadedWorld)
private

Definition at line 329 of file DlgSystemModule.cpp.

Here is the call graph for this function:

◆ HandleOnPreLoadMap()

void FDlgSystemModule::HandleOnPreLoadMap ( const FString & MapName)
private

Definition at line 313 of file DlgSystemModule.cpp.

Here is the call graph for this function:

◆ IsAvailable()

static bool IDlgSystemModule::IsAvailable ( )
inlinestaticinherited

Checks to see if this module is loaded and ready. It is only valid to call Get() if IsAvailable() returns true.

Returns
True if the module is loaded and ready to use

Definition at line 38 of file IDlgSystemModule.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RefreshDisplayDialogueDataWindow()

bool FDlgSystemModule::RefreshDisplayDialogueDataWindow ( bool bFocus = true)
private

Definition at line 215 of file DlgSystemModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegisterConsoleCommands()

void FDlgSystemModule::RegisterConsoleCommands ( const TWeakObjectPtr< const UObject > & WorldContextObjectPtr)
overridevirtual

Registers all the console commands.

Parameters
WorldConextObjectPtr- The reference actor for the World. Without this the runtime module won't know how to get the UWorld.

Implements IDlgSystemModule.

Definition at line 154 of file DlgSystemModule.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ShutdownModule()

void FDlgSystemModule::ShutdownModule ( )
override

Definition at line 83 of file DlgSystemModule.cpp.

Here is the call graph for this function:

◆ StartupModule()

void FDlgSystemModule::StartupModule ( )
override

Definition at line 34 of file DlgSystemModule.cpp.

Here is the call graph for this function:

◆ UnregisterConsoleCommands()

void FDlgSystemModule::UnregisterConsoleCommands ( )
overridevirtual

Implements IDlgSystemModule.

Definition at line 190 of file DlgSystemModule.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ bHasRegisteredTabSpawners

bool FDlgSystemModule::bHasRegisteredTabSpawners = false
private

Definition at line 60 of file DlgSystemModule.h.

◆ ConsoleCommands

TArray<IConsoleCommand*> FDlgSystemModule::ConsoleCommands
private

Definition at line 67 of file DlgSystemModule.h.

◆ DialogueDataDisplayTabSpawnEntry

FTabSpawnerEntry* FDlgSystemModule::DialogueDataDisplayTabSpawnEntry = nullptr
private

Definition at line 64 of file DlgSystemModule.h.

◆ DialogueDataDisplayWidget

TWeakPtr<SDlgDataDisplay> FDlgSystemModule::DialogueDataDisplayWidget
private

Definition at line 63 of file DlgSystemModule.h.

◆ LastLoadedWorld

TWeakObjectPtr<UWorld> FDlgSystemModule::LastLoadedWorld = nullptr
private

Definition at line 73 of file DlgSystemModule.h.

◆ OnAssetRemovedHandle

FDelegateHandle FDlgSystemModule::OnAssetRemovedHandle
private

Definition at line 79 of file DlgSystemModule.h.

◆ OnAssetRenamedHandle

FDelegateHandle FDlgSystemModule::OnAssetRenamedHandle
private

Definition at line 80 of file DlgSystemModule.h.

◆ OnInMemoryAssetDeletedHandle

FDelegateHandle FDlgSystemModule::OnInMemoryAssetDeletedHandle
private

Definition at line 78 of file DlgSystemModule.h.

◆ OnPostLoadMapWithWorldHandle

FDelegateHandle FDlgSystemModule::OnPostLoadMapWithWorldHandle
private

Definition at line 77 of file DlgSystemModule.h.

◆ OnPreLoadMapHandle

FDelegateHandle FDlgSystemModule::OnPreLoadMapHandle
private

Definition at line 76 of file DlgSystemModule.h.

◆ WorldContextObjectPtr

TWeakObjectPtr<const UObject> FDlgSystemModule::WorldContextObjectPtr = nullptr
private

Definition at line 70 of file DlgSystemModule.h.


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