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
ConsumablesAllowed
bool ConsumablesAllowed { get; }
Property Value
CurrentRound
int CurrentRound { get; }
Property Value
EnemiesNgPlusLevel
int EnemiesNgPlusLevel { get; }
Property Value
GourdAllowed
bool GourdAllowed { get; }
Property Value
ImmobilizeAllowed
bool ImmobilizeAllowed { get; }
Property Value
InPvP
bool InPvP { get; set; }
Property Value
InPvpTournament
bool InPvpTournament { get; set; }
Property Value
LevelId
int LevelId { get; set; }
Property Value
OwnsPvpState
bool OwnsPvpState { get; }
Property Value
RoundWinners
IEnumerable<int> RoundWinners { get; set; }
Property Value
TournamentRounds
int TournamentRounds { get; }
Property Value
Methods
InitializeAreaPvpState()
void InitializeAreaPvpState()
IsReadyForPvP(ReadyMainCharacter)
bool IsReadyForPvP(ReadyMainCharacter mainCharacter)
Parameters
mainCharacter ReadyMainCharacter
Returns
SetIsReadyForPvp(ReadyMainCharacter, bool)
void SetIsReadyForPvp(ReadyMainCharacter mainCharacter, bool ready)
Parameters
mainCharacter ReadyMainCharacter
ready bool
SetLastRoundWinnerTeam(int)
void SetLastRoundWinnerTeam(int winner)
Parameters
winner int