跳到主要内容
版本:0.2.1

Interface IWukongConfigurationApi

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

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 interface IWukongConfigurationApi

Properties

DeleteDestroyedTamersFromEcs

bool DeleteDestroyedTamersFromEcs { get; set; }

Property Value

bool

DisableCutscenes

bool DisableCutscenes { get; set; }

Property Value

bool

EnableCustomCameraArmLength

bool EnableCustomCameraArmLength { get; set; }

Property Value

bool

IsStrongDamageImmueEnabled

bool IsStrongDamageImmueEnabled { get; set; }

Property Value

bool

IsSupportMultiLockEnabled

bool IsSupportMultiLockEnabled { get; set; }

Property Value

bool

OverrideLocalPlayerTeamFromGlobalEntity

bool OverrideLocalPlayerTeamFromGlobalEntity { get; set; }

Property Value

bool

SyncTamerTeamFromGameToEcs

bool SyncTamerTeamFromGameToEcs { get; set; }

Property Value

bool

Methods

ClearDisableTamerAttackQuery()

void ClearDisableTamerAttackQuery()

ClearIsAreaOverlapDisabledQuery()

void ClearIsAreaOverlapDisabledQuery()

ClearIsInteractionAllowedQuery()

void ClearIsInteractionAllowedQuery()

ClearIsPlayerInBattleQuery()

void ClearIsPlayerInBattleQuery()

ClearIsSkillEnabledQuery()

void ClearIsSkillEnabledQuery()

ClearIsTamerNotSynchronizedQuery()

void ClearIsTamerNotSynchronizedQuery()

GetLaunchParameter(string, string)

string GetLaunchParameter(string key, string defaultValue)

Parameters

key string

defaultValue string

Returns

string

SetDisableTamerAttackQuery(Func<bool>)

void SetDisableTamerAttackQuery(Func<bool> shouldDisableTamerAttack)

Parameters

shouldDisableTamerAttack Func<bool>

SetIsAreaOverlapDisabledQuery(Func<string, bool>)

void SetIsAreaOverlapDisabledQuery(Func<string, bool> isAreaOverlapDisabled)

Parameters

isAreaOverlapDisabled Func<string, bool>

SetIsInteractionAllowedQuery(Func<EInteractType, bool>)

void SetIsInteractionAllowedQuery(Func<EInteractType, bool> isInteractAllowed)

Parameters

isInteractAllowed Func<EInteractType, bool>

SetIsPlayerInBattleQuery(Func<bool>)

void SetIsPlayerInBattleQuery(Func<bool> isPlayerInBattle)

Parameters

isPlayerInBattle Func<bool>

SetIsSkillEnabledQuery(Func<int, bool>)

void SetIsSkillEnabledQuery(Func<int, bool> isSkillEnabled)

Parameters

isSkillEnabled Func<int, bool>

SetIsTamerNotSynchronizedQuery(Func<string, bool>)

void SetIsTamerNotSynchronizedQuery(Func<string, bool> isTamerNotSynchronized)

Parameters

isTamerNotSynchronized Func<string, bool>

  • Properties
    • DeleteDestroyedTamersFromEcs
    • DisableCutscenes
    • EnableCustomCameraArmLength
    • IsStrongDamageImmueEnabled
    • IsSupportMultiLockEnabled
    • OverrideLocalPlayerTeamFromGlobalEntity
    • SyncTamerTeamFromGameToEcs
  • Methods
    • ClearDisableTamerAttackQuery()
    • ClearIsAreaOverlapDisabledQuery()
    • ClearIsInteractionAllowedQuery()
    • ClearIsPlayerInBattleQuery()
    • ClearIsSkillEnabledQuery()
    • ClearIsTamerNotSynchronizedQuery()
    • GetLaunchParameter(string, string)
    • SetDisableTamerAttackQuery(Func<bool>)
    • SetIsAreaOverlapDisabledQuery(Func<string, bool>)
    • SetIsInteractionAllowedQuery(Func<EInteractType, bool>)
    • SetIsPlayerInBattleQuery(Func<bool>)
    • SetIsSkillEnabledQuery(Func<int, bool>)
    • SetIsTamerNotSynchronizedQuery(Func<string, bool>)