Skip to main content
Version: 0.3.1

Interface IWukongPvpApi

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

API for PvP mode. Will be removed in the future when custom data sync and server-side scripting are implemented.

[Obsolete("This API is temporary and will be removed in the future when custom data sync is implemented.")]
public interface IWukongPvpApi

Properties

AntiStallEnabled

bool AntiStallEnabled { get; }

Property Value

bool

ConsumablesAllowed

bool ConsumablesAllowed { get; }

Property Value

bool

CurrentRound

int CurrentRound { get; }

Property Value

int

EnemiesNgPlusLevel

int EnemiesNgPlusLevel { get; }

Property Value

int

GourdAllowed

bool GourdAllowed { get; }

Property Value

bool

ImmobilizeAllowed

bool ImmobilizeAllowed { get; }

Property Value

bool

InPvP

bool InPvP { get; set; }

Property Value

bool

InPvpTournament

bool InPvpTournament { get; set; }

Property Value

bool

LevelId

int LevelId { get; set; }

Property Value

int

OwnsPvpState

bool OwnsPvpState { get; }

Property Value

bool

RoundWinners

IEnumerable<int> RoundWinners { get; set; }

Property Value

IEnumerable<int>

TournamentRounds

int TournamentRounds { get; }

Property Value

int

Methods

InitializeAreaPvpState()

void InitializeAreaPvpState()

IsReadyForPvP(ReadyMainCharacter)

bool IsReadyForPvP(ReadyMainCharacter mainCharacter)

Parameters

mainCharacter ReadyMainCharacter

Returns

bool

SetIsReadyForPvp(ReadyMainCharacter, bool)

void SetIsReadyForPvp(ReadyMainCharacter mainCharacter, bool ready)

Parameters

mainCharacter ReadyMainCharacter

ready bool

SetLastRoundWinnerTeam(int)

void SetLastRoundWinnerTeam(int winner)

Parameters

winner int

  • Properties
    • AntiStallEnabled
    • ConsumablesAllowed
    • CurrentRound
    • EnemiesNgPlusLevel
    • GourdAllowed
    • ImmobilizeAllowed
    • InPvP
    • InPvpTournament
    • LevelId
    • OwnsPvpState
    • RoundWinners
    • TournamentRounds
  • Methods
    • InitializeAreaPvpState()
    • IsReadyForPvP(ReadyMainCharacter)
    • SetIsReadyForPvp(ReadyMainCharacter, bool)
    • SetLastRoundWinnerTeam(int)