-
Notifications
You must be signed in to change notification settings - Fork 450
feat: snapshot spawn pre-requisite 2 #1192
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3185e2a
feat: snapshot. Enabling spawns via snapshot by default
jeffreyrainy 5e2bff9
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 2526e78
Merge branch 'develop' into feature/enable-snapshot-spawn
jeffreyrainy e07b934
feat: snapshot. Fixing the snapshot spawns mechanism to not rely on S…
jeffreyrainy eff9a36
feat: snapshot. Removing the default on for snapshot spawns
jeffreyrainy 6e1f2f6
Merge branch 'develop' into feature/enable-snapshot-spawn-pre
jeffreyrainy 75ad1b7
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 8307af6
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 3ff0845
Merge branch 'feature/enable-snapshot-spawn-pre' into feature/enable-…
jeffreyrainy 7063c7b
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 81f715d
test: adjusted HiddenVariableTests to separate spawning from value up…
jeffreyrainy 3aa0ca3
fix
NoelStephensUnity 5f04318
refactor
NoelStephensUnity 9cf06ab
refactor
NoelStephensUnity fb040f8
Merge branch 'develop' into fix/unitytransport-connectionmode-buttons
NoelStephensUnity 94ad362
style
NoelStephensUnity 13e069b
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 774f398
Merge remote-tracking branch 'origin/fix/unitytransport-connectionmod…
jeffreyrainy 543e4b1
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 933fad7
chore: removal of EnableNetworkVariable in NetworkConfig. It's always…
jeffreyrainy 9e45a1a
Merge branch 'develop' into chore/enable-network-variable-removal
jeffreyrainy 75a5280
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 82f2d0e
Merge remote-tracking branch 'origin/chore/enable-network-variable-re…
jeffreyrainy 586290b
feat: snpashot enabled. Marking variables as dirty instead of seriali…
jeffreyrainy 5263f5f
fix: this bool write cannot be remoed yet
jeffreyrainy 128ac60
Merge remote-tracking branch 'origin/chore/enable-network-variable-re…
jeffreyrainy be4919a
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy fa8e321
feat: snapshot spawn. Improving test, and re-enabling
jeffreyrainy 7c0515e
feat: snapshot. Pre-requisite to enabling snapshot spawns. Separating…
jeffreyrainy a96ae2f
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 40454f3
Merge remote-tracking branch 'origin/develop' into feature/enable-sna…
jeffreyrainy 548b766
style: standards.py fix, removing useless using directive
jeffreyrainy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Problably stupid question because I'm misunderstanding this. But this causes the full list to be serialized to all connected clients whenever
IsDirty
is set to true? Wouldn't that happen too often? E.g. when:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the first point, my understanding is that
NetworkList.Add()
will do:This then does:
and as such does not mark the list dirty. So,
dirty
means: needs complete refresh, andm_DirtyEvents
means need incremental changes.On the second point, yeah. There's a price to pay here. But until AoI is integrated and we start automatically hiding/showing object, I think these will be very infrequent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay yeah that makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I follow, but would add: