userConnacancel
reposboxcancel

1,393 Commits over 1,433 Days - 0.04cph!

10 Months Ago
Restore the old filter here even if e.Resume() throws
10 Months Ago
Add Rpc.Resume. This handles disabling and restoring filter if the Rpc.Caller is us before and after resuming. Use this everywhere.
10 Months Ago
FilterOnly -> FilterInclude. AllExcept -> FilterExclude. Only one RPC filter can be active at any time
10 Months Ago
Add new Interpolation stage - the updates need to happen at the right point. Clear interpolation if interpolation isn't enabled and we receive a transform update
10 Months Ago
Actually enable it
10 Months Ago
Add InterpolationSystem (GameObjectSystem) - update GameTransform to Add/Remove GameObjects from this system as appropriate
10 Months Ago
Add overloads for filtering RPC recipients based on a predicate
10 Months Ago
Test Clean up - use TransformInterpolate class Can't modify transform if we're a network object root and a proxy - we must stay true to network transform target Hook up Interpolation enable/disable from Inspector. When Owner calls ClearInterpolation, set a bit on the update msg to have other clients do so as well. Hook up Network.Interpolation and Enable/DisableInterpolation() on the accessor. Fix to allow interp property to be set by GameObjectHeader Serialize the interpolation bool with GameObject Combination of fixed update interpolator and networked interpolation buffer. Working nicely Some cleanup Some extra docs + let's call it Query to match the other class Use Time.Now Restore backward compat LerpTo Cull after, ensure move direct to last tx if query out of time but entries remaining Fix formatting Tiny tidyup
10 Months Ago
RPC in log for consistency
10 Months Ago
Better docs
10 Months Ago
Remove duplicate docs
10 Months Ago
Some fixes
10 Months Ago
Use hasvalue etc
10 Months Ago
Inverse logic (doh!)
10 Months Ago
Fix ambigious docs
10 Months Ago
this can be made private
10 Months Ago
Add single Connection overloads
10 Months Ago
Same logic for static Rpcs
10 Months Ago
Update documentation Add recipient filter struct, type, and Rpc.FilterOnly and Rpc.AllExcept methods Update documentation Change filtertype options Move to Connection.Filter. Can pass optional filter to Broadcast. Use this for Rpcs with current filter. More docs
10 Months Ago
Shorten that prop name
10 Months Ago
Ensure can't use different RPC attributes together, doesn't make sense
10 Months Ago
Add some more documentation to the other RPC attributes
10 Months Ago
🧹
10 Months Ago
Implement MethodArguments attribute, use it for UnicastAttribute ensure that first parameter is Connection
10 Months Ago
Tiny tidyup
10 Months Ago
Fix formatting
10 Months Ago
Cull after, ensure move direct to last tx if query out of time but entries remaining
10 Months Ago
Restore backward compat LerpTo
10 Months Ago
Use Time.Now
10 Months Ago
Some extra docs + let's call it Query to match the other class
10 Months Ago
Some cleanup
10 Months Ago
Test Clean up - use TransformInterpolate class Can't modify transform if we're a network object root and a proxy - we must stay true to network transform target Hook up Interpolation enable/disable from Inspector. When Owner calls ClearInterpolation, set a bit on the update msg to have other clients do so as well. Hook up Network.Interpolation and Enable/DisableInterpolation() on the accessor. Fix to allow interp property to be set by GameObjectHeader Serialize the interpolation bool with GameObject Combination of fixed update interpolator and networked interpolation buffer. Working nicely
10 Months Ago
Combination of fixed update interpolator and networked interpolation buffer. Working nicely
10 Months Ago
Serialize and Deserialize Scene properties such as Time Scale, Fixed Update Frequency, Threaded Animation... joining clients will now have correct values for the Scene. These don't replicate when changed after that though. Fixes Facepunch/sbox-issues#4483
10 Months Ago
When creating networked object from remote (networked), wrap Deserialize and NetworkSpawnRemote in CallbackBatch so that _net is initialized before OnAwake is called. Fixes Facepunch/sbox-issues#4950
10 Months Ago
Use StringTable.Remove instead of StringTable.Entries.Remove when removing Connection from ConnectionInfoManager. Fixes Facepunch/sbox-issues#4983
11 Months Ago
Test Clean up - use TransformInterpolate class Can't modify transform if we're a network object root and a proxy - we must stay true to network transform target Hook up Interpolation enable/disable from Inspector. When Owner calls ClearInterpolation, set a bit on the update msg to have other clients do so as well. Hook up Network.Interpolation and Enable/DisableInterpolation() on the accessor. Fix to allow interp property to be set by GameObjectHeader Serialize the interpolation bool with GameObject
11 Months Ago
Specify in documentation that NetPermission.OwnerOnly works the same as NetPermission.HostOnly for static actions.
11 Months Ago
Minor correction
11 Months Ago
Fixed reading String Table snapshot that has an entry with 0 elements throwing an exception. Instead, ByteStream.ReadArray should return null (empty span) if it has a length of 0. Added a test to prove the bug. Fixes Facepunch/sbox-issues#5357
11 Months Ago
Serialize Component FullName instead of ClassName. Fixes cases where two components with the same name exist in different namespaces, sometimes the wrong one will be serialized. Fully backwards compatible. Fixes Facepunch/sbox-issues#5331
11 Months Ago
Test Clean up - use TransformInterpolate class Can't modify transform if we're a network object root and a proxy - we must stay true to network transform target Hook up Interpolation enable/disable from Inspector. When Owner calls ClearInterpolation, set a bit on the update msg to have other clients do so as well. Hook up Network.Interpolation and Enable/DisableInterpolation() on the accessor. Fix to allow interp property to be set by GameObjectHeader Serialize the interpolation bool with GameObject
11 Months Ago
Serialize the interpolation bool with GameObject
11 Months Ago
Fix to allow interp property to be set by GameObjectHeader
11 Months Ago
Hook up Interpolation enable/disable from Inspector. When Owner calls ClearInterpolation, set a bit on the update msg to have other clients do so as well. Hook up Network.Interpolation and Enable/DisableInterpolation() on the accessor.
11 Months Ago
Can't modify transform if we're a network object root and a proxy - we must stay true to network transform target
11 Months Ago
Test Clean up - use TransformInterpolate class
11 Months Ago
Clean up - use TransformInterpolate class
11 Months Ago
Test
11 Months Ago
Fixed NetPermission not working for static Rpcs (Fixes Facepunch/sbox-issues#5188)