Rename s_NextNetworkId to nextNetworkId (#712)

This commit is contained in:
rodolphito 2019-04-04 00:47:51 -07:00 committed by vis2k
parent 13679887f4
commit a5ead70961

View File

@ -125,9 +125,9 @@ internal void ForceAuthority(bool authority)
} }
} }
static uint s_NextNetworkId = 1; static uint nextNetworkId = 1;
internal static uint GetNextNetworkId() => s_NextNetworkId++; internal static uint GetNextNetworkId() => nextNetworkId++;
public static void ResetNextNetworkId() => s_NextNetworkId = 1; public static void ResetNextNetworkId() => nextNetworkId = 1;
public delegate void ClientAuthorityCallback(NetworkConnection conn, NetworkIdentity identity, bool authorityState); public delegate void ClientAuthorityCallback(NetworkConnection conn, NetworkIdentity identity, bool authorityState);
public static ClientAuthorityCallback clientAuthorityCallback; public static ClientAuthorityCallback clientAuthorityCallback;