Ark Server API (ASA) - Wiki
|
#include <App.h>
Static Public Attributes | |
static bool | bUseFixedSeed |
|
inlinestatic |
Add the specified user to the list of authorized session users.
UserName | The name of the user to add. |
|
inlinestatic |
Checks whether this application can render anything. Certain application types never render, while for others this behavior may be controlled by switching to NullRHI. This can be used for decisions like omitting code paths that make no sense on servers or games running in headless mode (e.g. automated tests).
Definition at line 375 of file App.h.
|
inlinestatic |
Checks whether this application can render audio. Certain application types produce sound, while for others this can be controlled via the -nosound cmdline. This can be used for decisions like omitting code paths that make no sense on servers or games running in headless mode (e.g. automated tests).
Definition at line 392 of file App.h.
|
inlinestatic |
Removes all authorized users.
|
inlinestatic |
Remove the specified user from the list of authorized session users.
UserName | The name of the user to remove. |
Gets the name of the version control branch that this application was built from.
|
static |
Gets the application's build configuration, i.e. Debug or Shipping.
Gets the date at which this application was built.
|
static |
Gets the target type of the current application (eg. client, server, etc...)
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Gets the name of the graphics RHI currently in use.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Gets the globally unique identifier of this application instance.
Every running instance of the engine has a globally unique instance identifier that can be used to identify it from anywhere on the network.
Definition at line 236 of file App.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Gets the identifier of the session that this application is part of.
A session is group of applications that were launched and logically belong together. For example, when starting a new session in UFE that launches a game on multiple devices, all engine instances running on those devices will have the same session identifier. Conversely, sessions that were launched separately will have different session identifiers.
|
inlinestatic |
|
inlinestatic |
Gets the name of the user who owns the session that this application is part of, if any.
If this application is part of a session that was launched from UFE, this function will return the name of the user that launched the session. If this application is not part of a session, this function will return the name of the local user account under which the application is running.
Convert the current frame time into a readable timecode. If the current frame time is not set, the timecode value will be defaulted.
|
static |
Get the frame rate of the current frame time. If the current frame time is not set, the frame rate value will be defaulted.
Helper function to get UnfocusedVolumeMultiplier from config and store so it's not retrieved every frame
|
inlinestatic |
Gets the Zen store project id for the current application instance.
Gets Focus, Indicates that the application should continue to render Audio and Video as if it had window focus, even though it may not.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Check whether the specified user is authorized to interact with this session.
UserName | The name of the user to check. |
|
inlinestatic |
Checks whether the engine components of this application have been installed.
In binary Unreal Engine releases, the engine can be installed while the game is not. The game IsInstalled() setting will take precedence over this flag.
To override, pass -engineinstalled or -enginenotinstalled on the command line.
|
inlinestatic |
Checks whether this application is a game.
Returns true if a normal or PIE game is active (basically !GIsEdit or || GIsPlayInEditorWorld) This must NOT be accessed on threads other than the game thread! Use View->Family->EnginShowFlags.Game on the rendering thread.
Checks whether this application has been installed.
Non-server desktop shipping builds are assumed to be installed.
Installed applications may not write to the folder in which they exist since they are likely in a system folder (like "Program Files" in windows). Instead, they should write to the OS-specific user folder FPlatformProcess::UserDir() or application data folder FPlatformProcess::ApplicationSettingsDir() User Access Control info for windows Vista and newer: http://en.wikipedia.org/wiki/User_Account_Control
To run an "installed" build without installing, use the -Installed command line parameter. To run a "non-installed" desktop shipping build, use the -NotInstalled command line parameter.
|
inlinestatic |
|
inlinestatic |
Checks whether this is a standalone application.
An application is standalone if it has not been launched as part of a session from UFE. If an application was launched from UFE, it is part of a session and not considered standalone.
|
inlinestatic |
Checks whether this application runs unattended.
Unattended applications are not monitored by anyone or are unable to receive user input. This method can be used to determine whether UI pop-ups or other dialogs should be shown.
|
inlinestatic |
Sets HasFocus, which is a function that indicates that the application window has focus.
InHasFocusFunction | address of a function that can query the focus state, typically &FPlatformApplicationMisc::IsThisApplicationForeground |
Sets VRFocus, which indicates that the application should continue to render Audio and Video as if it had window focus, even though it may not.
bInVRFocus | new VRFocus value |
|
inlinestatic |
|
inlinestatic |
Set a new session name.
NewName | The new session name. |
Definition at line 342 of file App.h.
|
inlinestatic |
|
inlinestatic |
Sets the Unfocused Volume Multiplier
Sets if VRFocus should be used.
bInUseVRFocus | new bUseVRFocus value |
|
inlinestatic |
Checks whether the application should run multi-threaded for performance critical features.
This method is used for performance based threads (like rendering, task graph). This will not disable async IO or similar threads needed to disable hitching
|
inlinestatic |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |