跳到主要内容
版本:0.1.0

Class GameplayConfiguration

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

Configuration class for gameplay-related settings and queries.

[Obsolete("Will be replaced with a configuration file in the future.")]
public sealed class GameplayConfiguration

Inheritance

objectGameplayConfiguration

Inherited Members

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

Constructors

GameplayConfiguration(ILogger)

Configuration class for gameplay-related settings and queries.

public GameplayConfiguration(ILogger logger)

Parameters

logger ILogger

Properties

EnableCustomCameraArmLength

When enabled, allows for a custom camera arm length to be set, which can affect how close or far the camera is from the character. This is true in PvP and false in co-op.

public bool EnableCustomCameraArmLength { get; set; }

Property Value

bool

IsStrongDamageImmueEnabled

Is immunity to strong damage enabled? This would prevent characters from being one-shot by powerful attacks, providing a more balanced gameplay experience. This is true in PvP and false in co-op.

public bool IsStrongDamageImmueEnabled { get; set; }

Property Value

bool

IsSupportMultiLockEnabled

Can secondary lock targets (other than the character's body) be locked when using the camera lock-on feature? This is true in co-op and false in PvP.

public bool IsSupportMultiLockEnabled { get; set; }

Property Value

bool

  • Constructors
    • GameplayConfiguration(ILogger)
  • Properties
    • EnableCustomCameraArmLength
    • IsStrongDamageImmueEnabled
    • IsSupportMultiLockEnabled