mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Rename s_NextNetworkId to nextNetworkId (#712)
This commit is contained in:
parent
13679887f4
commit
a5ead70961
@ -125,9 +125,9 @@ internal void ForceAuthority(bool authority)
|
||||
}
|
||||
}
|
||||
|
||||
static uint s_NextNetworkId = 1;
|
||||
internal static uint GetNextNetworkId() => s_NextNetworkId++;
|
||||
public static void ResetNextNetworkId() => s_NextNetworkId = 1;
|
||||
static uint nextNetworkId = 1;
|
||||
internal static uint GetNextNetworkId() => nextNetworkId++;
|
||||
public static void ResetNextNetworkId() => nextNetworkId = 1;
|
||||
|
||||
public delegate void ClientAuthorityCallback(NetworkConnection conn, NetworkIdentity identity, bool authorityState);
|
||||
public static ClientAuthorityCallback clientAuthorityCallback;
|
||||
|
Loading…
Reference in New Issue
Block a user