Skip to content

Commit 5f4dbb4

Browse files
update: Rpcs for distributed authority (#1467)
1 parent 22a3919 commit 5f4dbb4

File tree

1 file changed

+2
-2
lines changed
  • docs/advanced-topics/message-system

1 file changed

+2
-2
lines changed

docs/advanced-topics/message-system/rpc.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ While client-to-client RPCs are supported, it's important to note that there are
8686

8787
| Target | Available contexts| Description |
8888
| ---------------------------- | :----------------------------------------------------------- | --- |
89-
| `SendTo.Server` |Client-server only| Send to the server, regardless of ownership. Executes locally if invoked on the server. |
90-
| `SendTo.NotServer` |Client-server only| Send to everyone _but_ the server, filtered to the current observer list. Won't send to a server running in host mode - it's still treated as a server. If you want to send to servers when they are host, but not when they are dedicated server, use `SendTo.ClientsAndHost`.<br /><br />Executes locally if invoked on a client. Doesn't execute locally if invoked on a server running in host mode. |
89+
| `SendTo.Server` |Client-server and distributed authority| Send to the server, regardless of ownership. Executes locally if invoked on the server. When using a distributed authority network topology, this acts the same as `SendTo.Authority`. |
90+
| `SendTo.NotServer` |Client-server and distributed authority| Send to everyone _but_ the server, filtered to the current observer list. Won't send to a server running in host mode - it's still treated as a server. If you want to send to servers when they are host, but not when they are dedicated server, use `SendTo.ClientsAndHost`.<br /><br />Executes locally if invoked on a client. Doesn't execute locally if invoked on a server running in host mode. When using a distributed authority network topology, this acts the same as `SendTo.NotAuthority`. |
9191
|`SendTo.Authority`|Client-server and distributed authority|Send to the NetworkObject's current authority. Executes locally if the local process has authority.|
9292
|`SendTo.NotAuthority`|Client-server and distributed authority|Send to everyone but the current authority, filtered to the current observer list. Executes locally if the local process is not the owner.|
9393
| `SendTo.Owner` |Client-server and distributed authority| Send to the NetworkObject's current owner. Executes locally if the local process is the owner. |

0 commit comments

Comments
 (0)