MultiWorld  1.0.0
Public Member Functions | List of all members
UMultiWorldGameInstance Class Reference

Custom GameInstance class needed to support MultiWorld on your project. More...

#include <MultiWorldGameInstance.h>

Inheritance diagram for UMultiWorldGameInstance:

Public Member Functions

virtual bool Exec (UWorld *InWorld, const TCHAR *Cmd, FOutputDevice &Ar) override
 Override of UGameInstance::Exec() More...
 
virtual void OnWorldChanged (UWorld *OldWorld, UWorld *NewWorld) override
 Override of UGameInstance::OnWorldChanged() More...
 

Detailed Description

Custom GameInstance class needed to support MultiWorld on your project.

To set it on your project just open the "Project Settings" panel, go to "Maps and Modes", here search for the property "Game Instance Class" and then set it to MultiWorldGameInstance.

If you can't use this implementation, follow the instructions at UMultiWorldOverrides.

Member Function Documentation

◆ Exec()

virtual bool UMultiWorldGameInstance::Exec ( UWorld *  InWorld,
const TCHAR *  Cmd,
FOutputDevice &  Ar 
)
overridevirtual

Override of UGameInstance::Exec()

◆ OnWorldChanged()

virtual void UMultiWorldGameInstance::OnWorldChanged ( UWorld *  OldWorld,
UWorld *  NewWorld 
)
overridevirtual

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