Struct PvpStateComponent
Namespace: ReadyM.Wukong.Common.ECS.Components
Assembly: ReadyM.Wukong.Common.dll
Holds the state of the PvP mode, including settings and in-game state.
public struct PvpStateComponent : IComponent, INetSerializable, IDisposable
Implements
IComponent, INetSerializable, IDisposable
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
AntiStallEnabled
public bool AntiStallEnabled { get; set; }
Property Value
CheatsAllowed
public bool CheatsAllowed { get; set; }
Property Value
ConsumablesAllowed
public bool ConsumablesAllowed { get; set; }
Property Value
CurrentRound
public int CurrentRound { get; }
Property Value
EnemiesNgPlusLevel
public int EnemiesNgPlusLevel { get; set; }
Property Value
GourdAllowed
public bool GourdAllowed { get; set; }
Property Value
ImmobilizeAllowed
public bool ImmobilizeAllowed { get; set; }
Property Value
InPvP
public bool InPvP { get; set; }
Property Value
InTournament
public bool InTournament { get; set; }
Property Value
LevelId
public int LevelId { get; set; }
Property Value
PhantomRushAllowed
public bool PhantomRushAllowed { get; set; }
Property Value
RoundWinnersCount
public int RoundWinnersCount { get; }
Property Value
TournamentRounds
public int TournamentRounds { get; set; }
Property Value
Methods
AddRoundWinners(in int)
public void AddRoundWinners(in int value)
Parameters
value int
Assign(in PvpStateComponent)
public void Assign(in PvpStateComponent value)
Parameters
value PvpStateComponent
ClearRoundWinners()
public void ClearRoundWinners()
ContainsRoundWinners(in int)
public bool ContainsRoundWinners(in int value)
Parameters
value int
Returns
Deserialize(NetDataReader)
public void Deserialize(NetDataReader reader)
Parameters
reader NetDataReader
Dispose()
public void Dispose()
GetRoundWinners()
public NativeList<int>.ReadOnly GetRoundWinners()
Returns
GetRoundWinners(int)
public int GetRoundWinners(int index)
Parameters
index int
Returns
InsertRoundWinners(int, in int)
public void InsertRoundWinners(int index, in int value)
Parameters
index int
value int
RemoveAtRoundWinners(int)
public int RemoveAtRoundWinners(int index)
Parameters
index int
Returns
Serialize(NetDataWriter)
public void Serialize(NetDataWriter writer)
Parameters
writer NetDataWriter
SetLastRoundWinnerTeam(int)
public void SetLastRoundWinnerTeam(int teamId)
Parameters
teamId int
SetRoundWinners(in NativeList<int>)
public void SetRoundWinners(in NativeList<int> value)
Parameters
value NativeList<int>
SetRoundWinners(int, in int)
public void SetRoundWinners(int index, in int value)
Parameters
index int
value int