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.
| 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.
|
pure virtual |
A delegate that is executed when a new instance has been discovered.
|
pure virtual |
Gets a read-only collection of all instances that belong to this session.
| OutInstances | Will hold the collection of instances. |
|
pure virtual |
Gets the time at which the last update was received from this instance.
|
pure virtual |
Gets the number of engine instances that are part of the session.
|
pure virtual |
Gets the session identifier.
|
pure virtual |
Gets the name of the session.
|
pure virtual |
Gets the name of the user that owns the session.
|
pure virtual |
Checks whether this is a standalone session.
A session is standalone if has not been created from the Launcher.