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
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
Cheats
Provides methods and properties for enabling and managing cheats in the game.
public static IWukongCheatsApi Cheats { get; }
Property Value
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
Console
API for the in-game console (F1).
public static IWukongConsoleApi Console { get; }
Property Value
Events
Provides events related to gameplay, player actions, and multiplayer interactions in Wukong Multiplayer.
public static IWukongEventApi Events { get; }
Property Value
Files
Provides methods related to manipulating files for Wukong mods, such as save files.
public static IWukongFileApi Files { get; }
Property Value
Input
Provides methods related to input, such as registering key binds.
public static IWukongInputApi Input { get; }
Property Value
Local
Provides various utility methods not related to networking.
public static IWukongLocalApi Local { get; }
Property Value
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
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
Services
public static IDependencyContainer Services { get; }
Property Value
Sync
Provides methods related to synchronizing game state between players in a multiplayer session.
public static IWukongSynchronizationApi Sync { get; }
Property Value
Widgets
Provides methods related to in-game widgets, such as chat messages, info messages, tips, and timers.
public static IWukongWidgetApi Widgets { get; }