Ark Server API (ASA) - Wiki
|
#include "CoreTypes.h"
#include "Misc/AccessDetection.h"
#include "Misc/AssertionMacros.h"
#include "Templates/UnrealTemplate.h"
#include "Containers/UnrealString.h"
#include "Logging/LogMacros.h"
#include "Delegates/IDelegateInstance.h"
#include "Delegates/Delegate.h"
#include "Features/IModularFeature.h"
#include "Templates/EnableIf.h"
Go to the source code of this file.
Classes | |
class | IConsoleObject |
class | IConsoleVariable |
struct | IConsoleCommand |
struct | IConsoleThreadPropagation |
class | FConsoleVariableSinkHandle |
class | IConsoleCommandExecutor |
struct | IConsoleManager |
class | FAutoConsoleVariableSink |
class | FAutoConsoleObject |
class | FAutoConsoleVariable |
class | FAutoConsoleVariableRef |
class | TConsoleVariableData< T > |
class | TAutoConsoleVariable< T > |
class | FAutoConsoleCommand |
class | FAutoConsoleCommandWithWorld |
class | FAutoConsoleCommandWithWorldAndArgs |
class | FAutoConsoleCommandWithArgsAndOutputDevice |
class | FAutoConsoleCommandWithOutputDevice |
class | FAutoConsoleCommandWithWorldArgsAndOutputDevice |
Macros | |
#define | TRACK_CONSOLE_FIND_COUNT !(UE_BUILD_SHIPPING || UE_BUILD_TEST) |
#define | cvarCheckCode(...) |
#define cvarCheckCode | ( | ... | ) |
Definition at line 21 of file IConsoleManager.h.
#define TRACK_CONSOLE_FIND_COUNT !(UE_BUILD_SHIPPING || UE_BUILD_TEST) |
Definition at line 16 of file IConsoleManager.h.
Console variable usage guide:
The variable should be creates early in the initialization but not before (not in global variable construction). Choose the right variable type, consider using a console command if more functionality is needed (see Exec()). Available types: bool, int, float, bool&, int&, float&, string Always provide a good help text, other should be able to understand the function of the console variable by reading this help. The help length should be limited to a reasonable width in order to work well for low res screen resolutions.
Usage in the game console: <COMMAND> ? print the HELP <COMMAND> print the current state of the console variable <COMMAND> x set and print the new state of the console variable
All variables support auto completion. The single line help that can show up there is currently not connected to the help as the help text is expected to be multi line. The former Exec() system can be used to access the console variables. Use console variables only in main thread. The state of console variables is not network synchronized or serialized (load/save). The plan is to allow to set the state in external files (game/platform/engine/local). Bitmask 0x1, 0x2, 0x4, ..
Definition at line 50 of file IConsoleManager.h.
DECLARE_DELEGATE | ( | FConsoleCommandDelegate | ) |
Console command delegate type (takes no arguments.) This is a void callback function.
DECLARE_DELEGATE_OneParam | ( | FConsoleCommandWithArgsDelegate | , |
const TArray< FString > & | ) |
Console command delegate type (with arguments.) This is a void callback function that always takes a list of arguments.
DECLARE_DELEGATE_OneParam | ( | FConsoleCommandWithOutputDeviceDelegate | , |
FOutputDevice & | ) |
Console command delegate type with the output device passed through.
DECLARE_DELEGATE_OneParam | ( | FConsoleCommandWithWorldDelegate | , |
UWorld * | ) |
Console command delegate type with a world argument. This is a void callback function that always takes a world.
DECLARE_DELEGATE_OneParam | ( | FConsoleVariableDelegate | , |
IConsoleVariable * | ) |
Console variable delegate type This is a void callback function.
DECLARE_DELEGATE_ThreeParams | ( | FConsoleCommandWithWorldArgsAndOutputDeviceDelegate | , |
const TArray< FString > & | , | ||
UWorld * | , | ||
FOutputDevice & | ) |
Console command delegate type (with a world arguments and output device.) This is a void callback function that always takes a list of arguments, a world and output device.
DECLARE_DELEGATE_TwoParams | ( | FConsoleCommandWithArgsAndOutputDeviceDelegate | , |
const TArray< FString > & | , | ||
FOutputDevice & | ) |
Console command delegate type (with arguments and output device.) This is a void callback function that always takes a list of arguments and output device.
DECLARE_DELEGATE_TwoParams | ( | FConsoleCommandWithWorldAndArgsDelegate | , |
const TArray< FString > & | , | ||
UWorld * | ) |
Console command delegate type (with a world and arguments.) This is a void callback function that always takes a list of arguments and a world.
DECLARE_DELEGATE_TwoParams | ( | FConsoleObjectVisitor | , |
const TCHAR * | , | ||
IConsoleObject * | ) |
Declares a delegate type that's used by the console manager to call back into a user function for each known console object.
First parameter is the Name string for the current console object Second parameter is the current console object
DECLARE_LOG_CATEGORY_EXTERN | ( | LogConsoleResponse | , |
Log | , | ||
All | ) |
DECLARE_MULTICAST_DELEGATE_OneParam | ( | FConsoleVariableMulticastDelegate | , |
IConsoleVariable * | ) |
Console variable multicast delegate type.