Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

NetworkIdentity.ClientAuthorityCallback

public delegate void ClientAuthorityCallback(Networking.NetworkConnection conn, Networking.NetworkIdentity uv, bool authorityState);

Parameters

conn The network connection that is gaining or losing authority.
uv The object whose client authority status is being changed.
authorityState The new state of client authority of the object for the connection.

Description

The delegate type for the clientAuthorityCallback.