跳到主要内容
版本:0.1.0

Class PatchCategory

Namespace: WukongMp.Api.Configuration
Assembly: WukongMp.Api.dll

Category for Harmony patches. Each patch must be assigned to a category.

public static class PatchCategory

Inheritance

objectPatchCategory

Inherited Members

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

Fields

Connected

Patches in this category are only enabled when the player is connected to the server. NOTE: In the current version of the SDK, this category is the same as Global. In the future, we will add support for enabling/disabling these patches based on the connection state of the player.

public const string Connected = "Connected"

Field Value

string

Disabled

Patches in this category are not enabled.

public const string Disabled = "Disabled"

Field Value

string

Global

Patches in this category are enabled at all times.

public const string Global = "Global"

Field Value

string

  • Fields
    • Connected
    • Disabled
    • Global