2016-09-07 18:50:38 +02:00
|
|
|
|
Namespace BattleSystem
|
|
|
|
|
Public Class TriggerNewRoundPVPQueryObject
|
|
|
|
|
|
|
|
|
|
Inherits QueryObject
|
|
|
|
|
|
|
|
|
|
Dim _ready As Boolean = False
|
|
|
|
|
|
|
|
|
|
Public Sub New()
|
|
|
|
|
MyBase.New(QueryTypes.TriggerNewRound)
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
Public Overrides Sub Update(BV2Screen As BattleScreen)
|
2023-08-21 18:43:40 +02:00
|
|
|
|
If BattleScreen.FirstRound = False Then
|
|
|
|
|
BattleScreen.ReceivedInput = ""
|
|
|
|
|
End If
|
2016-09-07 18:50:38 +02:00
|
|
|
|
BV2Screen.SentHostData = False
|
|
|
|
|
BattleScreen.ReceivedQuery = ""
|
|
|
|
|
BV2Screen.SentInput = False
|
|
|
|
|
|
|
|
|
|
If BV2Screen.IsHost = False Then
|
|
|
|
|
BV2Screen.BattleMenu.Visible = True
|
|
|
|
|
BV2Screen.ClientWaitForData = True
|
|
|
|
|
Else
|
|
|
|
|
BV2Screen.SendEndRoundData()
|
|
|
|
|
End If
|
|
|
|
|
|
|
|
|
|
Me._ready = True
|
|
|
|
|
End Sub
|
|
|
|
|
|
|
|
|
|
Public Overrides ReadOnly Property IsReady As Boolean
|
|
|
|
|
Get
|
|
|
|
|
Return _ready
|
|
|
|
|
End Get
|
|
|
|
|
End Property
|
|
|
|
|
|
|
|
|
|
Public Shared Shadows Function FromString(ByVal input As String) As QueryObject
|
|
|
|
|
Return New TriggerNewRoundPVPQueryObject()
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
Public Overrides Function ToString() As String
|
|
|
|
|
Return "{TRIGGERNEWROUNDPVP| }"
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
Public Overrides Function NeedForPVPData() As Boolean
|
|
|
|
|
Return True
|
|
|
|
|
End Function
|
|
|
|
|
|
|
|
|
|
End Class
|
|
|
|
|
|
|
|
|
|
End Namespace
|