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?