Skip to main content
Version: 0.2.1

Class GameUtils

Namespace: WukongMp.Api.WukongUtils
Assembly: WukongMp.Api.dll

Provides utility methods for directly interacting with the game world, bypassing the SDK.

public static class GameUtils

Inheritance​

object ← GameUtils

Inherited Members​

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks​

These methods are not guaranteed to be stable across game updates, and might be removed in the future.

Methods​

GetControlledPawn()​

public static BGUPlayerCharacterCS? GetControlledPawn()

Returns​

BGUPlayerCharacterCS?

GetPlayerController()​

public static BGP_PlayerControllerB1? GetPlayerController()

Returns​

BGP_PlayerControllerB1?

GetWorld()​

public static UWorld? GetWorld()

Returns​

UWorld?