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

Feature/realtime_observer #1

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

Olivier-aka-Raiden
Copy link

I make this PR to help improving the streaming observer by providing a close to realtime alternative without lags.

ShadowLordAlpha and others added 27 commits June 24, 2023 14:52
Remove the sendRequest validation that only allows one of each type to be in the queue. May make this a toggle as the protections are probably wanted for new users
As it appears to only matter for each response type, allow only one to be running at a time and then allow the next one
Having no abilities is actually a valid state for some units
…ates (ocraft#70)

* Remove request response type validation

Remove the sendRequest validation that only allows one of each type to be in the queue. May make this a toggle as the protections are probably wanted for new users

* Add a syncronized based on responsetype

As it appears to only matter for each response type, allow only one to be running at a time and then allow the next one

* No Abilities is a valid state for a unit

Having no abilities is actually a valid state for some units

* Adjust observer to see all players intead of only player id 1

* Allow Observers to Filter their own games

* Respect Path setting

* Add missing observer methods

Add a method to set the perspective as well as a method to set what units by unit or tag that we are following

* Add Observer Actions

* Add method documentation

* Add missing imports

* Add missing observer action

* I forgot another ObserverAction conversion

* Revert change to Point2d

* Revert Point change

* Update ObserverActionInterfaceImpl.java

* Update ObserverActionInterface.java

* Update Test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants