Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds NetworkJobQueue and NetworkJobWorker nodes and an example. The idea is to sync the queue so that it can be processed the same across all clients.
This can be useful for Matchmaking (queuing requests), Crafting systems (queuing time based crafting), strategy game commands (queuing player commands), AI NPC actions (queueing NPC actions) etc
The PR doesn't currently work as the
queue
value in the RollbackSynchronizer isn't sending its data to other clients.It's starting to look like the actual queue functionality may not belong as part of netfox as the netcode part is purely the syncing of the queue which could just be done with a rollback synchronizer.
The example game however, may be useful as a separate repo?