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
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?