Skip to content

Commit

Permalink
feature: NetworkBehaviourHybrid & NetworkTransformHybrid simplified (#…
Browse files Browse the repository at this point in the history
…3960)

* NTHybrid: unify CmdClientToServerDelta to prepare for abstraction

* NTHybrid: unify CmdClientToServerBaseline to prepare for abstraction

* NTHybrid: unify RpcServerToClientBaseline

* NTHybrid: unify RpcServerToClientDelta

* NetworkBehaviourHybrid shell

* NetworkTransformHybrid inherits NetworkBehaviourHybrid

* IsClientWithAuthority moved to base

* UpdateServerBaseline + Serialization + Rpc abstracted into NetworkBehaviourHybrid

* NetworkBehaviourHybrid: ShouldSyncServerBaseline

* NetworkBehaviourHybrid: UpdateServerDelta abstracted

* comments

* tags

* remove TODO

* NetworkBehaviourHybrid: UpdateClientBaseline abstracted

* fix weaver error

* NetworkBehaviourHybrid: UpdateClientDelta abstracted

* syntax

* syntax

* NetworkBehaviourHybrid: RpcServerToClientBaseline abstracted

* NetworkBehaviourHybrid: RpcServerToClientDelta abstracted

* NetworkBehaviourHybrid: CmdClientToServerBaseline abstracted

* NetworkBehaviourHybrid: CmdClientToServerDelta abstracted

* icon

* naming

* NetworkBehaviourHybrid: baseline tick check + drop abstracted

* use the same baseline serialization for both

* use the same delta serialization for both

* onlySyncOnChange by default, don't make this an option

* abstract change detection

* debugLog option

* rpc comments

---------

Co-authored-by: miwarnec <miwarnec@users.noreply.github.com>
  • Loading branch information
miwarnec and miwarnec authored Dec 30, 2024
1 parent c4491c7 commit 2178abe
Show file tree
Hide file tree
Showing 3 changed files with 610 additions and 947 deletions.
Loading

0 comments on commit 2178abe

Please sign in to comment.