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; }