mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Proper case in comments
This commit is contained in:
parent
af0a67d4f8
commit
c120623d7d
@ -94,7 +94,7 @@ public abstract class NetworkBehaviour : MonoBehaviour
|
||||
protected bool GetSyncVarHookGuard(ulong dirtyBit) =>
|
||||
(syncVarHookGuard & dirtyBit) != 0UL;
|
||||
|
||||
// DEPRECATED 2021-09-16 (old weavers used it)
|
||||
// Deprecated 2021-09-16 (old weavers used it)
|
||||
[Obsolete("Renamed to GetSyncVarHookGuard (uppercase)")]
|
||||
protected bool getSyncVarHookGuard(ulong dirtyBit) => GetSyncVarHookGuard(dirtyBit);
|
||||
|
||||
@ -109,7 +109,7 @@ protected void SetSyncVarHookGuard(ulong dirtyBit, bool value)
|
||||
syncVarHookGuard &= ~dirtyBit;
|
||||
}
|
||||
|
||||
// DEPRECATED 2021-09-16 (old weavers used it)
|
||||
// Deprecated 2021-09-16 (old weavers used it)
|
||||
[Obsolete("Renamed to SetSyncVarHookGuard (uppercase)")]
|
||||
protected void setSyncVarHookGuard(ulong dirtyBit, bool value) => SetSyncVarHookGuard(dirtyBit, value);
|
||||
|
||||
@ -120,7 +120,7 @@ public void SetSyncVarDirtyBit(ulong dirtyBit)
|
||||
syncVarDirtyBits |= dirtyBit;
|
||||
}
|
||||
|
||||
// DEPRECATED 2021-09-19
|
||||
// Deprecated 2021-09-19
|
||||
[Obsolete("SetDirtyBit was renamed to SetSyncVarDirtyBit because that's what it does")]
|
||||
public void SetDirtyBit(ulong dirtyBit) => SetSyncVarDirtyBit(dirtyBit);
|
||||
|
||||
|
@ -337,7 +337,7 @@ public static void SendToReadyObservers<T>(NetworkIdentity identity, T message,
|
||||
}
|
||||
}
|
||||
|
||||
// DEPRECATED 2021-09-19
|
||||
// Deprecated 2021-09-19
|
||||
[Obsolete("SendToReady(identity, message, ...) was renamed to SendToReadyObservers because that's what it does.")]
|
||||
public static void SendToReady<T>(NetworkIdentity identity, T message, bool includeOwner = true, int channelId = Channels.Reliable)
|
||||
where T : struct, NetworkMessage =>
|
||||
@ -351,7 +351,7 @@ public static void SendToReadyObservers<T>(NetworkIdentity identity, T message,
|
||||
SendToReadyObservers(identity, message, true, channelId);
|
||||
}
|
||||
|
||||
// DEPRECATED 2021-09-19
|
||||
// Deprecated 2021-09-19
|
||||
[Obsolete("SendToReady(identity, message, ...) was renamed to SendToReadyObservers because that's what it does.")]
|
||||
public static void SendToReady<T>(NetworkIdentity identity, T message, int channelId)
|
||||
where T : struct, NetworkMessage =>
|
||||
|
Loading…
Reference in New Issue
Block a user