Change send and receive behaviors#520
Merged
sp00ktober merged 8 commits intoNebulaModTeam:masterfrom Mar 6, 2022
Merged
Conversation
- Switch to SendAsync and add sending packet queueing - Block PacketProcessor during the time loading factory - Player now add to connected player list at the moment of requesting factory data
- Add default NebulaAPI dependent mod checking - Move NebulaModAPI.OnPlanetLoadFinished
add hook entries
Therzok
reviewed
Feb 25, 2022
sp00ktober
approved these changes
Mar 6, 2022
Collaborator
sp00ktober
left a comment
There was a problem hiding this comment.
Worked really good with the BulletTime.dll supplied in our discord server!
This is really cool :D
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
NebulaConnection
Switch to
SendAsyncand add sending packet queuing.NetPacketProcessor
Add
enableproperty, can pause or resume packet processor.It is used to pause packet processing when loading factory data.
PlayerManager
Syncing player now will be added to
connectedPlayersat the moment of requesting factory data, so he can receive the following factory update.