engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
ISessionInstanceInfo类 参考abstract

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.

成员函数说明

◆ DECLARE_EVENT_TwoParams()

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.

返回
The delegate.

◆ ExecuteCommand()

virtual void ISessionInstanceInfo::ExecuteCommand ( const FString &  CommandString)
pure virtual

Executes a console command on this engine instance.

参数
CommandStringThe command to execute.

◆ GetBuildDate()

virtual const FString & ISessionInstanceInfo::GetBuildDate ( ) const
pure virtual

Gets instance's build date.

返回
The build date string.

◆ GetCurrentLevel()

virtual const FString & ISessionInstanceInfo::GetCurrentLevel ( ) const
pure virtual

Gets the name of the level that the instance is currently running.

返回
The name of the level.

◆ GetDeviceName()

virtual const FString & ISessionInstanceInfo::GetDeviceName ( ) const
pure virtual

Gets the name of the device that this instance is running on.

返回
The device name string.

◆ GetEngineVersion()

virtual int32 ISessionInstanceInfo::GetEngineVersion ( ) const
pure virtual

Gets the instance's engine version number.

返回
Engine version.

◆ GetInstanceId()

virtual const FGuid & ISessionInstanceInfo::GetInstanceId ( ) const
pure virtual

Gets the instance identifier.

返回
Instance identifier.

◆ GetInstanceName()

virtual const FString & ISessionInstanceInfo::GetInstanceName ( ) const
pure virtual

Gets the name of this instance.

返回
The instance name string.

◆ GetInstanceType()

virtual const FString & ISessionInstanceInfo::GetInstanceType ( ) const
pure virtual

Gets the instance type (i.e.

Editor or Game).

返回
The game instance type string.

◆ GetLastUpdateTime()

virtual const FDateTime & ISessionInstanceInfo::GetLastUpdateTime ( ) const
pure virtual

Gets the time at which the last update was received from this instance.

返回
The receive time.

◆ GetLog()

virtual const TArray< TSharedPtr< FSessionLogMessage > > & ISessionInstanceInfo::GetLog ( )
pure virtual

Gets the collection of log entries received from this instance.

返回
Log entries.

◆ GetOwnerSession()

virtual TSharedPtr< ISessionInfo > ISessionInstanceInfo::GetOwnerSession ( )
pure virtual

Gets a reference to the session that owns this instance.

返回
Owner session.

◆ GetPlatformName()

virtual const FString & ISessionInstanceInfo::GetPlatformName ( ) const
pure virtual

Gets the name of the platform that the instance is running on.

返回
Platform name string.

◆ GetWorldTimeSeconds()

virtual float ISessionInstanceInfo::GetWorldTimeSeconds ( ) const
pure virtual

Gets the instance's current game world time.

返回
World time in seconds.

◆ IsAuthorized()

virtual bool ISessionInstanceInfo::IsAuthorized ( ) const
pure virtual

Check whether the current user is authorized to interact with this instance.

返回
true if the user is authorized, false otherwise.

◆ PlayHasBegun()

virtual bool ISessionInstanceInfo::PlayHasBegun ( ) const
pure virtual

Checks whether this instance has already begun game play.

返回
true if game play has begun, false otherwise.

该类的文档由以下文件生成: