Skip to main content
Version: 0.2.1

Class WukongApi

Namespace: WukongMp.Sdk.Api
Assembly: WukongMp.Sdk.dll

The main entry point for accessing Wukong's API. Provides access to all of the various APIs and services that WukongMP offers.

public static class WukongApi

Inheritance​

object ← WukongApi

Inherited Members​

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

Properties​

Chat​

API for interacting with the in-game chat.

public static IWukongChatApi Chat { get; }

Property Value​

IWukongChatApi

Cheats​

Provides methods and properties for enabling and managing cheats in the game.

public static IWukongCheatsApi Cheats { get; }

Property Value​

IWukongCheatsApi

Configuration​

Provides ways to configure various aspects othe game's behavior. Will be replaced in the future with more specific configuration APIs, but for now serves as a catch-all for miscellaneous configuration options that don't fit anywhere else. Hence, we do not document the individual configuration options here, as they are all subject to change and may be removed in the future without a major version bump.

public static IWukongConfigurationApi Configuration { get; }

Property Value​

IWukongConfigurationApi

Console​

API for the in-game console (F1).

public static IWukongConsoleApi Console { get; }

Property Value​

IWukongConsoleApi

Events​

Provides events related to gameplay, player actions, and multiplayer interactions in Wukong Multiplayer.

public static IWukongEventApi Events { get; }

Property Value​

IWukongEventApi

Files​

Provides methods related to manipulating files for Wukong mods, such as save files.

public static IWukongFileApi Files { get; }

Property Value​

IWukongFileApi

Input​

Provides methods related to input, such as registering key binds.

public static IWukongInputApi Input { get; }

Property Value​

IWukongInputApi

Local​

Provides various utility methods not related to networking.

public static IWukongLocalApi Local { get; }

Property Value​

IWukongLocalApi

PvP​

API for PvP mode. Will be removed in the future when custom data sync and server-side scripting are implemented.

public static IWukongPvpApi PvP { get; }

Property Value​

IWukongPvpApi

Saves​

API for managing world and player saves in Wukong Multiplayer. Supports co-op style operations where each player has their own save file, and there's a shared world save file for all players.

public static IWukongSaveApi Saves { get; }

Property Value​

IWukongSaveApi

Services​

public static IDependencyContainer Services { get; }

Property Value​

IDependencyContainer

Sync​

Provides methods related to synchronizing game state between players in a multiplayer session.

public static IWukongSynchronizationApi Sync { get; }

Property Value​

IWukongSynchronizationApi

Widgets​

Provides methods related to in-game widgets, such as chat messages, info messages, tips, and timers.

public static IWukongWidgetApi Widgets { get; }

Property Value​

IWukongWidgetApi

  • Properties
    • Chat
    • Cheats
    • Configuration
    • Console
    • Events
    • Files
    • Input
    • Local
    • PvP
    • Saves
    • Services
    • Sync
    • Widgets