| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/CheatManager.h |
Include |
#include "GameFramework/CheatManager.h" |
class UCheatManager : public UObject
Cheat Manager is a central blueprint to implement test and debug code and actions that are not to ship with the game. As the Cheat Manager is not instanced in shipping builds, it is for debugging purposes only
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bDebugCapsuleSweep |
Trace/Sweep debug start. |
|
uint32: 1 |
bDebugCapsuleTraceComplex |
If we should trace complex collision in debug capsule sweeps. |
|
uint32: 1 |
bToggleAILogging |
Holds information if we used ToggleAILogging cheat to activate AI logging |
|
CurrentTraceIndex |
Index of the array for current trace to overwrite. |
|
|
CurrentTracePawnIndex |
Index of the array for current trace to overwrite. |
|
|
TSubclassOf< cl... |
DebugCameraControllerClass |
Debug camera - used to have independent camera without stopping gameplay |
|
DebugCameraControllerRef |
Debug camera - used to have independent camera without stopping gameplay |
|
|
float |
DebugCapsuleHalfHeight |
Half distance between debug capsule sphere ends. |
|
float |
DebugCapsuleRadius |
Radius of debug capsule |
|
TEnumAsByte< en... |
DebugTraceChannel |
What channel are we tracing |
|
float |
DebugTraceDistance |
How far debug trace should go out from player viewpoint |
|
float |
DebugTraceDrawNormalLength |
How long to draw the normal result |
|
TArray< struct ... |
DebugTraceInfoList |
Array of information for capturing |
|
TArray< struct ... |
DebugTracePawnInfoList |
Array of information for capturing |
Name | Description | |
---|---|---|
|
UCheatManager ( |
Name | Description | ||
---|---|---|---|
|
AddCapsuleSweepDebugInfo |
Add Debug Trace info into current index - used when DebugCapsuleSweepPawn is on |
|
|
BugIt ( |
This function is used to print out the BugIt location. |
|
|
BugItGo ( |
This will move the player and set their rotation to the passed in values. |
|
|
BugItGoString |
This will move the player and set their rotation to the passed in values. |
|
|
BugItStringCreator |
This will create a BugItGo string for us. |
|
|
BugItWorker |
This will move the player and set their rotation to the passed in values. |
|
|
ChangeSize ( |
Scale the player's size to be F * default size. |
|
|
CheatScript ( |
Executes commands listed in CheatScript.ScriptName ini section of DefaultGame.ini |
|
|
DamageTarget ( |
Damage the actor you're looking at (sourced from the player). |
|
|
DebugCapsuleSweep() |
Toggle capsule trace debugging. |
|
|
DebugCapsuleSweepCapture() |
Capture current trace and add to persistent list |
|
|
DebugCapsuleSweepChannel ( |
Change Trace Channel |
|
|
DebugCapsuleSweepClear() |
Clear persistent list for trace capture |
|
|
DebugCapsuleSweepComplex ( |
Change Trace Complex setting |
|
|
DebugCapsuleSweepPawn() |
Capture current local PC's pawn's location and add to persistent list |
|
|
DebugCapsuleSweepSize ( |
Change Trace capsule size |
|
|
DestroyAll ( |
Destroy all actors of class aClass |
|
|
DestroyAllPawnsExceptTarget() |
Destroy all pawns except for the (pawn) target. |
|
|
DestroyPawns ( |
Destroys (by calling destroy directly) all non-player pawns of class aClass in the level |
|
|
DestroyServerStatReplicator() |
||
|
DestroyTarget() |
Destroy the actor you're looking at. |
|
|
DisableDebugCamera() |
Switch controller from debug camera back to normal controller |
|
|
DoGameSpecificBugItLog ( |
Do game specific bugIt |
|
|
DumpChatState() |
Dump known chat information |
|
|
DumpOnlineSessionState() |
Dump online session information |
|
|
DumpPartyState() |
Dump known party information |
|
|
DumpVoiceMutingState() |
Dump current state of voice chat |
|
|
EnableDebugCamera() |
Switch controller to debug camera without locking gameplay and with locking local player controller input |
|
|
FlushLog() |
This will force a flush of the output log to file |
|
|
Fly() |
Pawn can fly. |
|
|
FreezeFrame ( |
Pause the game for Delay seconds. |
|
|
AActor * |
GetTarget ( |
Retrieve the given PlayerContoller's current "target" AActor. |
|
UWorld * |
GetWorld() |
Use the Outer Player Controller to get a World. |
|
Ghost() |
Pawn no longer collides with the world, and can fly |
|
|
God() |
Invulnerability cheat. |
|
|
InitCheatManager() |
Called when CheatManager is created to allow any needed initialization. |
|
|
InvertMouse() |
Backwards compatibility exec function for people used to it instead of using InvertAxisKey |
|
|
IsDebugCapsuleSweepPawnEnabled() |
Return true if debug sweeps are enabled for pawns. |
|
|
LogLoc() |
Logs the current location in bugit format without taking screenshot and further routing. |
|
|
LogOutBugItGoToLogFile |
Bug it log to file |
|
|
OnlyLoadLevel ( |
Load the given level. |
|
|
PlayersOnly() |
Freeze everything in the level except for players. |
|
|
ReceiveEndPlay() |
This is the End Play event for the CheatManager |
|
|
ReceiveInitCheatManager() |
BP implementable event for when CheatManager is created to allow any needed initialization. |
|
|
ServerToggleAILogging() |
||
|
SetLevelStreamingStatus |
Streaming level debugging |
|
|
SetMouseSensitivityToDefault() |
Exec function to return the mouse sensitivity to its default value |
|
|
SetWorldOrigin() |
Translate world origin to this player position |
|
|
Slomo ( |
Modify time dilation to change apparent speed of passage of time. |
|
|
SpawnServerStatReplicator() |
||
|
StreamLevelIn ( |
Stream in the given level. |
|
|
StreamLevelOut ( |
Stream out the given level. |
|
|
Summon ( |
Load Classname and spawn an actor of that class |
|
|
Teleport() |
Teleport to surface player is looking at. |
|
|
TestCollisionDistance() |
Test all volumes in the world to the player controller's view location |
|
|
TickCollisionDebug() |
Do any trace debugging that is currently enabled |
|
|
ToggleAILogging() |
Toggles AI logging |
|
|
ToggleDebugCamera() |
Toggle between debug camera/player camera without locking gameplay and with locking local player controller input. |
|
|
ToggleServerStatReplicatorClientOverwrite() |
||
|
ToggleServerStatReplicatorUpdateStatNet() |
||
|
UpdateSafeArea() |
||
|
ViewActor ( |
View from the point of view of AActor with Name ActorName. |
|
|
ViewClass ( |
View from the point of view of an AActor of class DesiredClass. |
|
|
ViewPlayer ( |
View from the point of view of player with PlayerName S. |
|
|
ViewSelf() |
Make controlled pawn the viewtarget again. |
|
|
Walk() |
Return to walking movement mode from Fly or Ghost cheat. |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
Called before destroying the object. |
Name |
Description |
---|---|
bDebugCapsuleSweepPawn |
If we should should perform a debug capsule trace for pawns and draw results. |