branchsbox/host-syncvarcancel

9 Commits over 0 Days - ∞cph!

52 Days Ago
Default HasControl to true for NetList/NetDictionary in-case not set
52 Days Ago
Let's call it HostSync Prevent actual setting of Sync property, modification of NetList, or NetDictionary if you don't have control over it. Non-owner, non-host can't change the values locally, they _must_ be what the synchronized value is We can always set the property if network not initialized
53 Days Ago
Clarify comment
53 Days Ago
Let''s have each entry define if it has changes now that each one can be potentially controlled by different clients. Make sure we clear changed flag on entry when reading it. NetworkTable.HasChanges will now return true if any entry we have control over is dirty
53 Days Ago
Remove redundant call
53 Days Ago
Revert that for now - let people change Sync var value locally as it was before, we can try to find a better way to prevent this later. Complication comes from INetworkCustom
53 Days Ago
When using WriteAll always write all regardless of control. Make it so unless YOU control a Sync property you can't physically change its value
53 Days Ago
NetworkTable.Entry.HasControl test. Separate sending network table changes from main update. Host or Owner can send table changes (only send entries they _control_)
53 Days Ago