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

Interface for game instances. 更多...

#include <ISessionInfo.h>

Public 成员函数

 DECLARE_EVENT_ThreeParams (ISessionInfo, FLogReceivedEvent, const TSharedRef< ISessionInfo > &, const TSharedRef< ISessionInstanceInfo > &, const TSharedRef< FSessionLogMessage > &)
 A delegate that is executed when a new log message has been received. 更多...
 
 DECLARE_EVENT_TwoParams (ISessionInfo, FInstanceDiscoveredEvent, const TSharedRef< ISessionInfo > &, const TSharedRef< ISessionInstanceInfo > &) virtual FInstanceDiscoveredEvent &OnInstanceDiscovered()=0
 A delegate that is executed when a new instance has been discovered. 更多...
 
virtual void GetInstances (TArray< TSharedPtr< ISessionInstanceInfo > > &OutInstances) const =0
 Gets a read-only collection of all instances that belong to this session. 更多...
 
virtual const FDateTime & GetLastUpdateTime () const =0
 Gets the time at which the last update was received from this instance. 更多...
 
virtual const int32 GetNumInstances () const =0
 Gets the number of engine instances that are part of the session. 更多...
 
virtual const FGuid & GetSessionId () const =0
 Gets the session identifier. 更多...
 
virtual const FString & GetSessionName () const =0
 Gets the name of the session. 更多...
 
virtual const FString & GetSessionOwner () const =0
 Gets the name of the user that owns the session. 更多...
 
virtual const bool IsStandalone () const =0
 Checks whether this is a standalone session. 更多...
 
virtual void Terminate ()=0
 Terminates the session.
 
virtual ~ISessionInfo ()
 Virtual destructor.
 

详细描述

Interface for game instances.

成员函数说明

◆ DECLARE_EVENT_ThreeParams()

ISessionInfo::DECLARE_EVENT_ThreeParams ( ISessionInfo  ,
FLogReceivedEvent  ,
const TSharedRef< ISessionInfo > &  ,
const TSharedRef< ISessionInstanceInfo > &  ,
const TSharedRef< FSessionLogMessage > &   
)

A delegate that is executed when a new log message has been received.

返回
The delegate.

◆ DECLARE_EVENT_TwoParams()

ISessionInfo::DECLARE_EVENT_TwoParams ( ISessionInfo  ,
FInstanceDiscoveredEvent  ,
const TSharedRef< ISessionInfo > &  ,
const TSharedRef< ISessionInstanceInfo > &   
) &
pure virtual

A delegate that is executed when a new instance has been discovered.

返回
The delegate.

◆ GetInstances()

virtual void ISessionInfo::GetInstances ( TArray< TSharedPtr< ISessionInstanceInfo > > &  OutInstances) const
pure virtual

Gets a read-only collection of all instances that belong to this session.

参数
OutInstancesWill hold the collection of instances.

◆ GetLastUpdateTime()

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

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

返回
The receive time.

◆ GetNumInstances()

virtual const int32 ISessionInfo::GetNumInstances ( ) const
pure virtual

Gets the number of engine instances that are part of the session.

返回
The number of engine instances.

◆ GetSessionId()

virtual const FGuid & ISessionInfo::GetSessionId ( ) const
pure virtual

Gets the session identifier.

返回
Session identifier.

◆ GetSessionName()

virtual const FString & ISessionInfo::GetSessionName ( ) const
pure virtual

Gets the name of the session.

返回
Session name.

◆ GetSessionOwner()

virtual const FString & ISessionInfo::GetSessionOwner ( ) const
pure virtual

Gets the name of the user that owns the session.

返回
User name.

◆ IsStandalone()

virtual const bool ISessionInfo::IsStandalone ( ) const
pure virtual

Checks whether this is a standalone session.

A session is standalone if has not been created from the Launcher.

返回
true if this is a standalone session, false otherwise.

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