Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a match state filter #689

Merged
merged 6 commits into from
Jan 8, 2021
Merged

Conversation

KingOfSquares
Copy link
Contributor

@KingOfSquares KingOfSquares commented Nov 1, 2020

Sorry I didn't test I wanted to get this in time for Hacktoberfest, will of course test before its merged
It already ended 🤦

Signed-off-by: KingSimon [email protected]

@Pugzy
Copy link
Contributor

Pugzy commented Nov 2, 2020

Proto 1.4.2 added filters that allow you to check the match state.

These can be found under the Matcher Elements section and are <match-started/>, <match-running/> and <match-finished/>.

Not sure why one implementation would be favoured over another (others may able to comment) but you should probs add the ability to define them in that way to bring us closer to that sweet sweet 1.4.2 support.

@Pablete1234
Copy link
Member

https://github.com/OvercastNetwork/ProjectAres/blob/master/PGM/src/main/java/tc/oc/pgm/filters/parser/FilterDefinitionParser.java#L463
I belive we should try to re-implement what's missing in a way that is compatible with what existed before

Electroid
Electroid previously approved these changes Nov 29, 2020
Signed-off-by: KingSimon <[email protected]>
Signed-off-by: KingSimon <[email protected]>
- Rework logic

Signed-off-by: KingSimon <[email protected]>
Signed-off-by: KingSimon <[email protected]>
Signed-off-by: KingSimon <[email protected]>
@Pablete1234
Copy link
Member

@Electroid could we get this merged?

@Electroid Electroid merged commit 217c044 into PGMDev:dev Jan 8, 2021
@KingOfSquares KingOfSquares mentioned this pull request Nov 14, 2021
20 tasks
@KingOfSquares KingOfSquares deleted the match-state-filter branch January 22, 2022 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants