Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

Suggestion: GlobalRpc, ObserverRpc, TargetRpc

$
0
0
  • Rename ClientRpc to something like ObserverRpc. I just found out that ClientRpc only calls the Rpc for the client's observers, not for all clients (it says 'all clients' in the documentation, that's very misleading).
  • Add something like GlobalRpc: calls the Rpc on ALL clients. Right now we have to iterate through NetworkServer.objects and send a Message to all of them. This is just a lot of work for something that should be simple.
  • Add...

Suggestion: GlobalRpc, ObserverRpc, TargetRpc

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>