跳到主要内容
版本:0.2.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()

PvpData(ReadyMainCharacter)

ref PvPComponent PvpData(ReadyMainCharacter mainCharacter)

Parameters

mainCharacter ReadyMainCharacter

Returns

PvPComponent

SetLastRoundWinnerTeam(int)

void SetLastRoundWinnerTeam(int winner)

Parameters

winner int

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