Interface for game instances. 更多...
#include <ISessionInstanceInfo.h>
Public 成员函数 | |
| DECLARE_EVENT_TwoParams (ISessionInstanceInfo, FLogReceivedEvent, const TSharedRef< ISessionInstanceInfo > &, const TSharedRef< FSessionLogMessage > &) | |
| Gets an event delegate that is executed when a new log message has been received. 更多... | |
| virtual void | ExecuteCommand (const FString &CommandString)=0 |
| Executes a console command on this engine instance. 更多... | |
| virtual const FString & | GetBuildDate () const =0 |
| Gets instance's build date. 更多... | |
| virtual const FString & | GetCurrentLevel () const =0 |
| Gets the name of the level that the instance is currently running. 更多... | |
| virtual const FString & | GetDeviceName () const =0 |
| Gets the name of the device that this instance is running on. 更多... | |
| virtual int32 | GetEngineVersion () const =0 |
| Gets the instance's engine version number. 更多... | |
| virtual const FGuid & | GetInstanceId () const =0 |
| Gets the instance identifier. 更多... | |
| virtual const FString & | GetInstanceName () const =0 |
| Gets the name of this instance. 更多... | |
| virtual const FString & | GetInstanceType () const =0 |
| Gets the instance type (i.e. 更多... | |
| virtual const FDateTime & | GetLastUpdateTime () const =0 |
| Gets the time at which the last update was received from this instance. 更多... | |
| virtual const TArray< TSharedPtr< FSessionLogMessage > > & | GetLog ()=0 |
| Gets the collection of log entries received from this instance. 更多... | |
| virtual TSharedPtr< ISessionInfo > | GetOwnerSession ()=0 |
| Gets a reference to the session that owns this instance. 更多... | |
| virtual const FString & | GetPlatformName () const =0 |
| Gets the name of the platform that the instance is running on. 更多... | |
| virtual float | GetWorldTimeSeconds () const =0 |
| Gets the instance's current game world time. 更多... | |
| virtual bool | IsAuthorized () const =0 |
| Check whether the current user is authorized to interact with this instance. 更多... | |
| virtual bool | PlayHasBegun () const =0 |
| Checks whether this instance has already begun game play. 更多... | |
| virtual void | Terminate ()=0 |
| Terminates the instance. | |
| virtual | ~ISessionInstanceInfo () |
| Virtual destructor. | |
Interface for game instances.
| ISessionInstanceInfo::DECLARE_EVENT_TwoParams | ( | ISessionInstanceInfo | , |
| FLogReceivedEvent | , | ||
| const TSharedRef< ISessionInstanceInfo > & | , | ||
| const TSharedRef< FSessionLogMessage > & | |||
| ) |
Gets an event delegate that is executed when a new log message has been received.
|
pure virtual |
Executes a console command on this engine instance.
| CommandString | The command to execute. |
|
pure virtual |
Gets instance's build date.
|
pure virtual |
Gets the name of the level that the instance is currently running.
|
pure virtual |
Gets the name of the device that this instance is running on.
|
pure virtual |
Gets the instance's engine version number.
|
pure virtual |
Gets the instance identifier.
|
pure virtual |
Gets the name of this instance.
|
pure virtual |
Gets the instance type (i.e.
Editor or Game).
|
pure virtual |
Gets the time at which the last update was received from this instance.
|
pure virtual |
Gets the collection of log entries received from this instance.
|
pure virtual |
Gets a reference to the session that owns this instance.
|
pure virtual |
Gets the name of the platform that the instance is running on.
|
pure virtual |
Gets the instance's current game world time.
|
pure virtual |
Check whether the current user is authorized to interact with this instance.
|
pure virtual |
Checks whether this instance has already begun game play.