Navigation
API > API/Developer > API/Developer/Zen
Type used to declare usage of a Zen server instance whether the shared default instance or a unique non-default instance. Used to help manage launch, and optionally in the future, shutdown a shared default instance. Use the default constructor to reference the default instance (which may be launched on demand), or use the non-default constructors with a specific URL or HostName/Port pair which is required to pre-exist (will not be auto-launched).
| Name | FScopeZenService |
| Type | class |
| Header File | /Engine/Source/Developer/Zen/Public/Experimental/ZenServerInterface.h |
| Include Path | #include "Experimental/ZenServerInterface.h" |
Syntax
class FScopeZenService
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Experimental/ZenServerInterface.h | |||
FScopeZenService
(
FStringView InstanceURL |
Experimental/ZenServerInterface.h | ||
FScopeZenService
(
FServiceSettings&& InSettings |
Experimental/ZenServerInterface.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FScopeZenService() |
Experimental/ZenServerInterface.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ServiceInstance | FZenServiceInstance * | Experimental/ZenServerInterface.h | ||
| UniqueNonDefaultInstance | TUniquePtr< UE::Zen::FZenServiceInstance > | Experimental/ZenServerInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FZenServiceInstance & GetInstance () |
Experimental/ZenServerInterface.h | ||
| Experimental/ZenServerInterface.h |