Show / Hide Table of Contents

Class CheatManager

Cheat Manager is a central blueprint to implement test and debug code and actions that are not to ship with the game.

Inheritance
System.Object
UObject
CheatManager
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class CheatManager : UObject
Remarks

As the Cheat Manager is not instanced in shipping builds, it is for debugging purposes only

Properties

| Improve this Doc View Source

DebugCameraControllerClass

Debug camera - used to have independent camera without stopping gameplay

Declaration
public SubclassOf<DebugCameraController> DebugCameraControllerClass { get; }
Property Value
Type Description
SubclassOf<DebugCameraController>
| Improve this Doc View Source

DebugCameraControllerRef

Debug camera - used to have independent camera without stopping gameplay

Declaration
public DebugCameraController DebugCameraControllerRef { get; set; }
Property Value
Type Description
DebugCameraController
| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static CheatManager DefaultObject { get; }
Property Value
Type Description
CheatManager
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

ChangeSize(Single)

Scale the player's size to be F * default size.

Declaration
public void ChangeSize(float F)
Parameters
Type Name Description
System.Single F
| Improve this Doc View Source

DamageTarget(Single)

Damage the actor you're looking at (sourced from the player).

Declaration
public void DamageTarget(float DamageAmount)
Parameters
Type Name Description
System.Single DamageAmount
| Improve this Doc View Source

DestroyTarget()

Destroy the actor you're looking at.

Declaration
public void DestroyTarget()
| Improve this Doc View Source

DisableDebugCamera()

Switch controller from debug camera back to normal controller

Declaration
public void DisableDebugCamera()
| Improve this Doc View Source

EnableDebugCamera()

Switch controller to debug camera without locking gameplay and with locking local player controller input

Declaration
public void EnableDebugCamera()
| Improve this Doc View Source

Fly()

Pawn can fly.

Declaration
public void Fly()
| Improve this Doc View Source

FreezeFrame(Single)

Pause the game for Delay seconds.

Declaration
public void FreezeFrame(float Delay)
Parameters
Type Name Description
System.Single Delay
| Improve this Doc View Source

Ghost()

Pawn no longer collides with the world, and can fly

Declaration
public void Ghost()
| Improve this Doc View Source

God()

Invulnerability cheat.

Declaration
public void God()
| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static CheatManager New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
CheatManager
| Improve this Doc View Source

PlayersOnly()

Freeze everything in the level except for players.

Declaration
public void PlayersOnly()
| Improve this Doc View Source

Slomo(Single)

Modify time dilation to change apparent speed of passage of time. e.g. "Slomo 0.1" makes everything move very slowly, while "Slomo 10" makes everything move very fast.

Declaration
public void Slomo(float NewTimeDilation)
Parameters
Type Name Description
System.Single NewTimeDilation
| Improve this Doc View Source

Teleport()

Teleport to surface player is looking at.

Declaration
public void Teleport()
| Improve this Doc View Source

Walk()

Return to walking movement mode from Fly or Ghost cheat.

Declaration
public void Walk()

Events

| Improve this Doc View Source

ReceiveEndPlay

This is the End Play event for the CheatManager

Declaration
public event CheatManager.ReceiveEndPlay_delegate ReceiveEndPlay
Event Type
Type Description
CheatManager.ReceiveEndPlay_delegate
| Improve this Doc View Source

ReceiveInitCheatManager

BP implementable event for when CheatManager is created to allow any needed initialization.

Declaration
public event CheatManager.ReceiveInitCheatManager_delegate ReceiveInitCheatManager
Event Type
Type Description
CheatManager.ReceiveInitCheatManager_delegate

Operators

| Improve this Doc View Source

Implicit(IntPtr to CheatManager)

Convert from IntPtr to UObject

Declaration
public static implicit operator CheatManager(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
CheatManager
  • Improve this Doc
  • View Source
Back to top Generated by DocFX