Proper case in comments

This commit is contained in:
MrGadget1024 2021-09-19 15:15:16 -04:00
parent af0a67d4f8
commit c120623d7d
2 changed files with 5 additions and 5 deletions

View File

@ -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);

View File

@ -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 =>