From 78cd56145c8b6dff99b9fef901ece9dc98d340ae Mon Sep 17 00:00:00 2001 From: Jay Date: Fri, 22 Nov 2024 08:52:34 +0000 Subject: [PATCH] docs: better grammar and spelling (#187) * docs: better english "Whether or not" is incorrect, even though it is understandable, the language is incorrect and can just be whether, as whether infers there is a negative and a positive, https://english.stackexchange.com/questions/3382/whether-or-not-vs-whether. In the case of this, "or not" in "Whether or not" is not needed, as it is always undetermined the response in the documentation, the documentation won't know. * docs: better english, again Can remove the "or not" when there is a whether in there --- .../Extensions/DamageTypeExtensions.cs | 10 +- .../Extensions/DangerTypeExtensions.cs | 4 +- .../Extensions/DoorTypeExtensions.cs | 6 +- .../Extensions/EffectTypeExtension.cs | 28 +-- .../Exiled.API/Extensions/ItemExtensions.cs | 18 +- .../Exiled.API/Extensions/MirrorExtensions.cs | 4 +- .../Exiled.API/Extensions/RoomExtensions.cs | 10 +- .../Exiled.API/Extensions/StringExtensions.cs | 4 +- EXILED/Exiled.API/Features/Badge.cs | 8 +- EXILED/Exiled.API/Features/Broadcast.cs | 6 +- EXILED/Exiled.API/Features/Camera.cs | 2 +- EXILED/Exiled.API/Features/Cassie.cs | 12 +- .../Features/Core/Interfaces/IEntity.cs | 4 +- .../Features/Doors/AirlockController.cs | 2 +- .../Features/Doors/BreakableDoor.cs | 4 +- EXILED/Exiled.API/Features/Doors/Door.cs | 22 +- EXILED/Exiled.API/Features/Doors/Gate.cs | 4 +- EXILED/Exiled.API/Features/Effect.cs | 6 +- EXILED/Exiled.API/Features/Generator.cs | 6 +- .../Features/Hazards/AmnesticCloudHazard.cs | 2 +- EXILED/Exiled.API/Features/Hazards/Hazard.cs | 2 +- .../Features/Hazards/TantrumHazard.cs | 4 +- .../Features/Hazards/TemporaryHazard.cs | 2 +- EXILED/Exiled.API/Features/Hint.cs | 6 +- EXILED/Exiled.API/Features/Intercom.cs | 4 +- EXILED/Exiled.API/Features/Items/Armor.cs | 4 +- EXILED/Exiled.API/Features/Items/Firearm.cs | 6 +- EXILED/Exiled.API/Features/Items/Item.cs | 18 +- EXILED/Exiled.API/Features/Items/Radio.cs | 2 +- EXILED/Exiled.API/Features/Items/Scp244.cs | 2 +- EXILED/Exiled.API/Features/Items/Scp330.cs | 6 +- EXILED/Exiled.API/Features/Lift.cs | 4 +- EXILED/Exiled.API/Features/Lockers/Chamber.cs | 2 +- EXILED/Exiled.API/Features/Map.cs | 2 +- .../Features/Pickups/BodyArmorPickup.cs | 4 +- .../Pickups/Projectiles/Scp018Projectile.cs | 2 +- .../Pickups/Projectiles/Scp2176Projectile.cs | 2 +- .../Features/Pickups/Scp244Pickup.cs | 4 +- EXILED/Exiled.API/Features/Player.cs | 194 +++++++++--------- EXILED/Exiled.API/Features/Ragdoll.cs | 10 +- EXILED/Exiled.API/Features/Respawn.cs | 10 +- EXILED/Exiled.API/Features/Roles/FpcRole.cs | 18 +- EXILED/Exiled.API/Features/Roles/Role.cs | 18 +- .../Exiled.API/Features/Roles/Scp0492Role.cs | 12 +- .../Exiled.API/Features/Roles/Scp049Role.cs | 16 +- .../Exiled.API/Features/Roles/Scp079Role.cs | 4 +- .../Exiled.API/Features/Roles/Scp096Role.cs | 14 +- .../Exiled.API/Features/Roles/Scp106Role.cs | 12 +- .../Exiled.API/Features/Roles/Scp173Role.cs | 8 +- .../Exiled.API/Features/Roles/Scp939Role.cs | 6 +- .../Features/Roles/SpectatorRole.cs | 2 +- EXILED/Exiled.API/Features/Room.cs | 2 +- EXILED/Exiled.API/Features/Round.cs | 18 +- EXILED/Exiled.API/Features/Scp3114Ragdoll.cs | 2 +- EXILED/Exiled.API/Features/Server.cs | 16 +- EXILED/Exiled.API/Features/TeslaGate.cs | 8 +- EXILED/Exiled.API/Features/Toys/Primitive.cs | 10 +- .../Features/Toys/ShootingTargetToy.cs | 4 +- EXILED/Exiled.API/Features/Warhead.cs | 20 +- EXILED/Exiled.API/Features/Window.cs | 16 +- EXILED/Exiled.API/Interfaces/IConfig.cs | 8 +- .../Exiled.API/Interfaces/IDamageableDoor.cs | 4 +- .../Interfaces/INonInteractableDoor.cs | 4 +- .../Exiled.API/Structs/PrimitiveSettings.cs | 12 +- EXILED/Exiled.CreditTags/Config.cs | 2 +- .../API/Features/CustomItem.cs | 28 +-- .../API/Features/CustomWeapon.cs | 2 +- EXILED/Exiled.CustomItems/Config.cs | 2 +- .../API/Features/CustomAbility.cs | 4 +- .../API/Features/CustomRole.cs | 12 +- EXILED/Exiled.CustomRoles/Config.cs | 8 +- .../Commands/PluginManager/Patches.cs | 2 +- EXILED/Exiled.Events/Config.cs | 20 +- .../Cassie/SendingCassieMessageEventArgs.cs | 8 +- .../EventArgs/Interfaces/IDeniableEvent.cs | 2 +- .../EventArgs/Item/ChangingAmmoEventArgs.cs | 2 +- .../Item/ChangingAttachmentsEventArgs.cs | 2 +- .../Item/ChargingJailbirdEventArgs.cs | 4 +- .../Item/KeycardInteractingEventArgs.cs | 2 +- .../Item/ReceivingPreferenceEventArgs.cs | 2 +- .../EventArgs/Item/SwingingEventArgs.cs | 4 +- .../Map/AnnouncingDecontaminationEventArgs.cs | 2 +- .../Map/AnnouncingNtfEntranceEventArgs.cs | 2 +- .../Map/AnnouncingScpTerminationEventArgs.cs | 2 +- .../EventArgs/Map/DecontaminatingEventArgs.cs | 2 +- .../Map/ExplodingGrenadeEventArgs.cs | 2 +- .../EventArgs/Map/FillingLockerEventArgs.cs | 2 +- .../Map/GeneratorActivatingEventArgs.cs | 2 +- .../EventArgs/Map/PlacingBloodEventArgs.cs | 2 +- .../Map/PlacingBulletHoleEventArgs.cs | 2 +- .../EventArgs/Map/Scp244SpawningEventArgs.cs | 2 +- .../EventArgs/Map/SpawningItemEventArgs.cs | 4 +- .../Map/SpawningTeamVehicleEventArgs.cs | 2 +- .../Player/ActivatingGeneratorEventArgs.cs | 2 +- .../Player/ActivatingWarheadPanelEventArgs.cs | 2 +- .../Player/ActivatingWorkstationEventArgs.cs | 2 +- .../Player/AimingDownSightEventArgs.cs | 4 +- .../EventArgs/Player/BannedEventArgs.cs | 2 +- .../Player/CancellingItemUseEventArgs.cs | 2 +- .../Player/ChangingDangerStateEventArgs.cs | 8 +- .../Player/ChangingGroupEventArgs.cs | 2 +- .../ChangingIntercomMuteStatusEventArgs.cs | 2 +- .../Player/ChangingMicroHIDStateEventArgs.cs | 2 +- .../Player/ChangingMuteStatusEventArgs.cs | 2 +- .../Player/ChangingRadioPresetEventArgs.cs | 2 +- .../EventArgs/Player/ChangingRoleEventArgs.cs | 2 +- .../Player/ClosingGeneratorEventArgs.cs | 4 +- .../Player/DamagingShootingTargetEventArgs.cs | 2 +- .../DeactivatingWorkstationEventArgs.cs | 2 +- .../EventArgs/Player/DroppedItemEventArgs.cs | 2 +- .../EventArgs/Player/DroppingAmmoEventArgs.cs | 2 +- .../EventArgs/Player/DroppingItemEventArgs.cs | 4 +- .../Player/DryfiringWeaponEventArgs.cs | 2 +- .../EventArgs/Player/DyingEventArgs.cs | 2 +- .../EnteringEnvironmentalHazardEventArgs.cs | 2 +- .../EnteringKillerCollisionEventArgs.cs | 2 +- .../EnteringPocketDimensionEventArgs.cs | 2 +- .../EventArgs/Player/EscapingEventArgs.cs | 2 +- .../EscapingPocketDimensionEventArgs.cs | 2 +- .../ExitingEnvironmentalHazardEventArgs.cs | 2 +- .../FailingEscapePocketDimensionEventArgs.cs | 2 +- .../EventArgs/Player/FlippingCoinEventArgs.cs | 4 +- .../EventArgs/Player/HandcuffingEventArgs.cs | 2 +- .../Player/InteractingDoorEventArgs.cs | 4 +- .../Player/InteractingElevatorEventArgs.cs | 2 +- .../Player/InteractingLockerEventArgs.cs | 2 +- .../InteractingShootingTargetEventArgs.cs | 2 +- .../Player/IntercomSpeakingEventArgs.cs | 2 +- .../EventArgs/Player/IssuingMuteEventArgs.cs | 4 +- .../EventArgs/Player/KickingEventArgs.cs | 2 +- .../Player/LocalReportingEventArgs.cs | 2 +- .../Player/OpeningGeneratorEventArgs.cs | 2 +- .../Player/PlayingAudioLogEventArgs.cs | 2 +- .../Player/PreAuthenticatingEventArgs.cs | 28 +-- .../Player/ReceivingEffectEventArgs.cs | 2 +- .../Player/ReloadingWeaponEventArgs.cs | 2 +- .../Player/RemovingHandcuffsEventArgs.cs | 4 +- .../EventArgs/Player/RevokingMuteEventArgs.cs | 4 +- .../EventArgs/Player/ShootingEventArgs.cs | 2 +- .../EventArgs/Player/ShotEventArgs.cs | 2 +- .../Player/SpawningRagdollEventArgs.cs | 2 +- .../Player/StoppingGeneratorEventArgs.cs | 4 +- .../Player/TogglingFlashlightEventArgs.cs | 4 +- .../Player/TogglingNoClipEventArgs.cs | 4 +- .../Player/TogglingOverwatchEventArgs.cs | 4 +- .../TogglingWeaponFlashlightEventArgs.cs | 2 +- .../EventArgs/Player/TransmittingEventArgs.cs | 4 +- .../Player/TriggeringTeslaEventArgs.cs | 10 +- .../Player/UnloadingWeaponEventArgs.cs | 2 +- .../Player/UnlockingGeneratorEventArgs.cs | 2 +- .../Player/UsingItemCompletedEventArgs.cs | 2 +- .../EventArgs/Player/UsingItemEventArgs.cs | 2 +- .../Player/UsingMicroHIDEnergyEventArgs.cs | 2 +- .../Player/UsingRadioBatteryEventArgs.cs | 2 +- .../Player/VoiceChattingEventArgs.cs | 2 +- .../Scp049/ActivatingSenseEventArgs.cs | 2 +- .../EventArgs/Scp049/AttackingEventArgs.cs | 2 +- .../Scp049/FinishingRecallEventArgs.cs | 2 +- .../EventArgs/Scp049/SendingCallEventArgs.cs | 2 +- .../Scp079/ChangingCameraEventArgs.cs | 4 +- .../Scp079/ElevatorTeleportingEventArgs.cs | 4 +- .../Scp079/GainingExperienceEventArgs.cs | 2 +- .../EventArgs/Scp079/GainingLevelEventArgs.cs | 2 +- .../Scp079/InteractingTeslaEventArgs.cs | 2 +- .../EventArgs/Scp079/LockingDownEventArgs.cs | 2 +- .../EventArgs/Scp079/PingingEventArgs.cs | 2 +- .../EventArgs/Scp079/RecontainingEventArgs.cs | 2 +- .../EventArgs/Scp079/RoomBlackoutEventArgs.cs | 2 +- .../Scp079/StartingSpeakerEventArgs.cs | 2 +- .../Scp079/StoppingSpeakerEventArgs.cs | 2 +- .../Scp079/TriggeringDoorEventArgs.cs | 2 +- .../EventArgs/Scp079/ZoneBlackoutEventArgs.cs | 2 +- .../EventArgs/Scp096/AddingTargetEventArgs.cs | 4 +- .../EventArgs/Scp096/CalmingDownEventArgs.cs | 6 +- .../EventArgs/Scp096/ChargingEventArgs.cs | 2 +- .../EventArgs/Scp096/EnragingEventArgs.cs | 2 +- .../Scp096/StartPryingGateEventArgs.cs | 2 +- .../Scp096/TryingNotToCryEventArgs.cs | 2 +- .../EventArgs/Scp106/AttackingEventArgs.cs | 2 +- .../EventArgs/Scp106/ExitStalkingEventArgs.cs | 2 +- .../EventArgs/Scp106/StalkingEventArgs.cs | 2 +- .../EventArgs/Scp106/TeleportingEventArgs.cs | 2 +- .../Scp173/BeingObservedEventArgs.cs | 4 +- .../EventArgs/Scp173/BlinkingEventArgs.cs | 2 +- .../Scp173/BlinkingRequestEventArgs.cs | 2 +- .../Scp173/PlacingTantrumEventArgs.cs | 2 +- .../Scp173/UsingBreakneckSpeedsEventArgs.cs | 2 +- .../Scp244/OpeningScp244EventArgs.cs | 2 +- .../EventArgs/Scp3114/DancingEventArgs.cs | 2 +- .../EventArgs/Scp3114/RevealedEventArgs.cs | 2 +- .../EventArgs/Scp3114/RevealingEventArgs.cs | 2 +- .../Scp330/DroppingScp330EventArgs.cs | 4 +- .../EventArgs/Scp330/EatingScp330EventArgs.cs | 2 +- .../EventArgs/Scp914/ActivatingEventArgs.cs | 2 +- .../Scp914/ChangingKnobSettingEventArgs.cs | 2 +- .../Scp914/UpgradingInventoryItemEventArgs.cs | 2 +- .../Scp914/UpgradingPickupEventArgs.cs | 2 +- .../Scp914/UpgradingPlayerEventArgs.cs | 6 +- .../Scp939/ChangingFocusEventArgs.cs | 4 +- .../Scp939/PlacingAmnesticCloudEventArgs.cs | 10 +- .../EventArgs/Scp939/PlayingSoundEventArgs.cs | 6 +- .../EventArgs/Scp939/PlayingVoiceEventArgs.cs | 2 +- .../EventArgs/Scp939/SavingVoiceEventArgs.cs | 2 +- .../Scp939/ValidatingVisibilityEventArgs.cs | 2 +- .../Server/AddingUnitNameEventArgs.cs | 2 +- .../EventArgs/Server/EndingRoundEventArgs.cs | 4 +- .../Server/ReportingCheaterEventArgs.cs | 2 +- .../Server/RespawningTeamEventArgs.cs | 2 +- .../Warhead/ChangingLeverStatusEventArgs.cs | 2 +- .../EventArgs/Warhead/StartingEventArgs.cs | 6 +- .../EventArgs/Warhead/StoppingEventArgs.cs | 2 +- .../Patches/Events/Scp244/DamagingScp244.cs | 2 +- EXILED/Exiled.Loader/Config.cs | 16 +- EXILED/Exiled.Loader/ConfigManager.cs | 8 +- EXILED/Exiled.Loader/TranslationManager.cs | 12 +- EXILED/Exiled.Permissions/Config.cs | 4 +- .../Extensions/Permissions.cs | 6 +- EXILED/Exiled.Permissions/Features/Group.cs | 2 +- EXILED/docs/articles/plugins/events.md | 2 +- EXILED/docs/articles/plugins/structure.md | 4 +- 220 files changed, 607 insertions(+), 607 deletions(-) diff --git a/EXILED/Exiled.API/Extensions/DamageTypeExtensions.cs b/EXILED/Exiled.API/Extensions/DamageTypeExtensions.cs index c8f0975ac..830adf505 100644 --- a/EXILED/Exiled.API/Extensions/DamageTypeExtensions.cs +++ b/EXILED/Exiled.API/Extensions/DamageTypeExtensions.cs @@ -120,8 +120,8 @@ public static class DamageTypeExtensions /// Check if a damage type is caused by a weapon. /// /// The damage type to be checked. - /// Indicates whether or not the MicroHid damage type should be taken into account. - /// Returns whether or not the is caused by weapon. + /// Indicates whether the MicroHid damage type should be taken into account. + /// Returns whether the is caused by weapon. public static bool IsWeapon(this DamageType type, bool checkMicro = true) => type switch { DamageType.Crossvec or DamageType.Logicer or DamageType.Revolver or DamageType.Shotgun or DamageType.AK or DamageType.Com15 or DamageType.Com18 or DamageType.E11Sr or DamageType.Fsp9 or DamageType.ParticleDisruptor or DamageType.Com45 or DamageType.Frmg0 or DamageType.A7 => true, @@ -133,8 +133,8 @@ public static class DamageTypeExtensions /// Check if a damage type is caused by a SCP. /// /// The damage type to be checked. - /// Indicates whether or not the SCP-items damage types should be taken into account. - /// Returns whether or not the is caused by SCP. + /// Indicates whether the SCP-items damage types should be taken into account. + /// Returns whether the is caused by SCP. public static bool IsScp(this DamageType type, bool checkItems = true) => type switch { DamageType.Scp or DamageType.Scp049 or DamageType.Scp096 or DamageType.Scp106 or DamageType.Scp173 or DamageType.Scp939 or DamageType.Scp0492 or DamageType.Scp3114 => true, @@ -146,7 +146,7 @@ public static class DamageTypeExtensions /// Check if a damage type is caused by a status effect. /// /// The damage type to be checked. - /// Returns whether or not the is caused by status effect. + /// Returns whether the is caused by status effect. public static bool IsStatusEffect(this DamageType type) => type switch { DamageType.Asphyxiation or DamageType.Poison or DamageType.Bleeding or DamageType.Scp207 or DamageType.Hypothermia or DamageType.Strangled => true, diff --git a/EXILED/Exiled.API/Extensions/DangerTypeExtensions.cs b/EXILED/Exiled.API/Extensions/DangerTypeExtensions.cs index f4d18ac69..94568fdd6 100644 --- a/EXILED/Exiled.API/Extensions/DangerTypeExtensions.cs +++ b/EXILED/Exiled.API/Extensions/DangerTypeExtensions.cs @@ -53,7 +53,7 @@ public static Type Type(this DangerType danger) /// /// The enum. /// The type found with the corresponding DangerType. - /// Whether or not the type has been found. + /// Whether the type has been found. public static bool TryGetType(this DangerType danger, out Type type) => DangerTypeToType.TryGetValue(danger, out type); @@ -70,7 +70,7 @@ public static DangerType GetDangerType(this DangerStackBase dangerStackBase) /// /// The enum. /// The danger type found. - /// Whether or not the danger has been found. + /// Whether the danger has been found. public static bool TryGetDangerType(this DangerStackBase dangerStackBase, out DangerType danger) { if (dangerStackBase == null || !TypeToDangerType.TryGetValue(dangerStackBase.GetType(), out danger)) diff --git a/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs b/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs index c4b512dd1..509b7c420 100644 --- a/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs +++ b/EXILED/Exiled.API/Extensions/DoorTypeExtensions.cs @@ -18,7 +18,7 @@ public static class DoorTypeExtensions /// Checks if a door type is a gate. /// /// The door to be checked. - /// Returns whether the is a gate or not. + /// Returns whether the is a gate. public static bool IsGate(this DoorType door) => door is DoorType.GateA or DoorType.GateB or DoorType.Scp914Gate or DoorType.Scp049Gate or DoorType.GR18Gate or DoorType.SurfaceGate or DoorType.Scp173Gate; @@ -26,14 +26,14 @@ public static bool IsGate(this DoorType door) => door is DoorType.GateA or DoorT /// Checks if a door type is a checkpoint. /// /// The door to be checked. - /// Returns whether the is a checkpoint or not. + /// Returns whether the is a checkpoint. public static bool IsCheckpoint(this DoorType door) => door is DoorType.CheckpointLczA or DoorType.CheckpointLczB or DoorType.CheckpointEzHczA or DoorType.CheckpointEzHczB; /// /// Checks if a door type is an elevator. /// /// The door to be checked. - /// Returns whether the is an elevator or not. + /// Returns whether the is an elevator. public static bool IsElevator(this DoorType door) => door is DoorType.ElevatorGateA or DoorType.ElevatorGateB or DoorType.ElevatorLczA or DoorType.ElevatorLczB or DoorType.ElevatorNuke or DoorType.ElevatorScp049; } diff --git a/EXILED/Exiled.API/Extensions/EffectTypeExtension.cs b/EXILED/Exiled.API/Extensions/EffectTypeExtension.cs index 126b5eae4..69352e1f3 100644 --- a/EXILED/Exiled.API/Extensions/EffectTypeExtension.cs +++ b/EXILED/Exiled.API/Extensions/EffectTypeExtension.cs @@ -94,7 +94,7 @@ public static Type Type(this EffectType effect) /// /// The enum. /// The type found with the corresponding EffecType. - /// Whether or not the effectType has been found. + /// Whether the effectType has been found. public static bool TryGetType(this EffectType effect, out Type type) => EffectTypeToType.TryGetValue(effect, out type); @@ -111,7 +111,7 @@ public static EffectType GetEffectType(this StatusEffectBase statusEffectBase) /// /// The enum. /// The effect found. - /// Whether or not the effect has been found. + /// Whether the effect has been found. public static bool TryGetEffectType(this StatusEffectBase statusEffectBase, out EffectType effect) { if (statusEffectBase == null || !TypeToEffectType.TryGetValue(statusEffectBase.GetType(), out effect)) @@ -131,28 +131,28 @@ public static bool TryGetEffectType(this StatusEffectBase statusEffectBase, out public static void SetFogType(this FogControl fogControl, FogType fogType) => fogControl.Intensity = (byte)(fogType + 1); /// - /// Returns whether or not the provided drains health over time. + /// Returns whether the provided drains health over time. /// /// The . - /// Whether or not the effect drains health over time. + /// Whether the effect drains health over time. /// public static bool IsHarmful(this EffectType effect) => effect is EffectType.Asphyxiated or EffectType.Bleeding or EffectType.Corroding or EffectType.Decontaminating or EffectType.Hemorrhage or EffectType.Hypothermia or EffectType.Poisoned or EffectType.Scp207 or EffectType.SeveredHands or EffectType.Strangled; /// - /// Returns whether or not the provided heals a player. + /// Returns whether the provided heals a player. /// /// The . - /// Whether or not the effect heals. + /// Whether the effect heals. /// public static bool IsHealing(this EffectType effect) => effect.TryGetType(out Type type) && typeof(IHealablePlayerEffect).IsAssignableFrom(type); /// - /// Returns whether or not the provided is a negative effect. + /// Returns whether the provided is a negative effect. /// /// The . - /// Whether or not the effect is a negative effect. + /// Whether the effect is a negative effect. /// public static bool IsNegative(this EffectType effect) => IsHarmful(effect) || effect is EffectType.AmnesiaItems or EffectType.AmnesiaVision or EffectType.Blinded or EffectType.Burned or EffectType.Concussed or EffectType.Deafened @@ -160,27 +160,27 @@ or EffectType.Disabled or EffectType.Ensnared or EffectType.Exhausted or EffectT or EffectType.Stained or EffectType.InsufficientLighting or EffectType.SoundtrackMute or EffectType.Scanned or EffectType.Slowness; /// - /// Returns whether or not the provided is a positive effect. + /// Returns whether the provided is a positive effect. /// /// The . - /// Whether or not the effect is a positive effect. + /// Whether the effect is a positive effect. /// public static bool IsPositive(this EffectType effect) => effect is EffectType.BodyshotReduction or EffectType.DamageReduction or EffectType.Invigorated or EffectType.Invisible or EffectType.MovementBoost or EffectType.RainbowTaste or EffectType.Scp207 or EffectType.Scp1853 or EffectType.Vitality or EffectType.AntiScp207 or EffectType.Ghostly; /// - /// Returns whether or not the provided affects the player's movement speed. + /// Returns whether the provided affects the player's movement speed. /// /// The . - /// Whether or not the effect modifies the player's movement speed. + /// Whether the effect modifies the player's movement speed. public static bool IsMovement(this EffectType effect) => effect.TryGetType(out Type type) && typeof(IMovementSpeedModifier).IsAssignableFrom(type); /// - /// Returns whether or not the provided is displayed to spectators as text. + /// Returns whether the provided is displayed to spectators as text. /// /// The . - /// Whether or not the effect is displayed to spectators as text. + /// Whether the effect is displayed to spectators as text. public static bool IsDisplayed(this EffectType effect) => effect.TryGetType(out Type type) && typeof(ISpectatorDataPlayerEffect).IsAssignableFrom(type); /// diff --git a/EXILED/Exiled.API/Extensions/ItemExtensions.cs b/EXILED/Exiled.API/Extensions/ItemExtensions.cs index 2aa7c90fc..0a79b9a9c 100644 --- a/EXILED/Exiled.API/Extensions/ItemExtensions.cs +++ b/EXILED/Exiled.API/Extensions/ItemExtensions.cs @@ -30,57 +30,57 @@ public static class ItemExtensions /// Check if an item is an ammo. /// /// The item to be checked. - /// Returns whether the is an ammo or not. + /// Returns whether the is an ammo. public static bool IsAmmo(this ItemType item) => item.GetAmmoType() is not AmmoType.None; /// /// Check if an item is a weapon. /// /// The item to be checked. - /// Indicates whether the MicroHID item should be taken into account or not. - /// Returns whether the is a weapon or not. + /// Indicates whether the MicroHID item should be taken into account. + /// Returns whether the is a weapon. public static bool IsWeapon(this ItemType type, bool checkMicro = true) => type.GetFirearmType() is not FirearmType.None || (checkMicro && type is ItemType.MicroHID); /// /// Check if an item is an SCP. /// /// The item to be checked. - /// Returns whether or not the is an SCP. + /// Returns whether the is an SCP. public static bool IsScp(this ItemType type) => GetCategory(type) == ItemCategory.SCPItem; /// /// Check if an item is a throwable item. /// /// The item to be checked. - /// Returns whether or not the is a throwable item. + /// Returns whether the is a throwable item. public static bool IsThrowable(this ItemType type) => type is ItemType.SCP018 or ItemType.GrenadeHE or ItemType.GrenadeFlash or ItemType.SCP2176; /// /// Check if an item is a medical item. /// /// The item to be checked. - /// Returns whether or not the is a medical item. + /// Returns whether the is a medical item. public static bool IsMedical(this ItemType type) => GetCategory(type) == ItemCategory.Medical; /// /// Check if an item is a utility item. /// /// The item to be checked. - /// Returns whether or not the is an utilty item. + /// Returns whether the is an utilty item. public static bool IsUtility(this ItemType type) => type is ItemType.Flashlight or ItemType.Radio; /// /// Check if a is an armor item. /// /// The item to be checked. - /// Returns whether or not the is an armor. + /// Returns whether the is an armor. public static bool IsArmor(this ItemType type) => GetCategory(type) == ItemCategory.Armor; /// /// Check if an item is a keycard. /// /// The item to be checked. - /// Returns whether or not the is a keycard. + /// Returns whether the is a keycard. public static bool IsKeycard(this ItemType type) => GetCategory(type) == ItemCategory.Keycard; /// diff --git a/EXILED/Exiled.API/Extensions/MirrorExtensions.cs b/EXILED/Exiled.API/Extensions/MirrorExtensions.cs index 568eabf51..21a496884 100644 --- a/EXILED/Exiled.API/Extensions/MirrorExtensions.cs +++ b/EXILED/Exiled.API/Extensions/MirrorExtensions.cs @@ -239,7 +239,7 @@ public static void SetRoomLightIntensityForTargetOnly(this Room room, Player tar /// /// Player to change. /// Model type. - /// Whether or not to skip the little jump that works around an invisibility issue. + /// Whether to skip the little jump that works around an invisibility issue. /// The UnitNameId to use for the player's new role, if the player's new role uses unit names. (is NTF). public static void ChangeAppearance(this Player player, RoleTypeId type, bool skipJump = false, byte unitId = 0) => ChangeAppearance(player, type, Player.List.Where(x => x != player), skipJump, unitId); @@ -250,7 +250,7 @@ public static void SetRoomLightIntensityForTargetOnly(this Room room, Player tar /// Player to change. /// Model type. /// The players who should see the changed appearance. - /// Whether or not to skip the little jump that works around an invisibility issue. + /// Whether to skip the little jump that works around an invisibility issue. /// The UnitNameId to use for the player's new role, if the player's new role uses unit names. (is NTF). public static void ChangeAppearance(this Player player, RoleTypeId type, IEnumerable playersToAffect, bool skipJump = false, byte unitId = 0) { diff --git a/EXILED/Exiled.API/Extensions/RoomExtensions.cs b/EXILED/Exiled.API/Extensions/RoomExtensions.cs index 796a9895b..cdbddf620 100644 --- a/EXILED/Exiled.API/Extensions/RoomExtensions.cs +++ b/EXILED/Exiled.API/Extensions/RoomExtensions.cs @@ -20,14 +20,14 @@ public static class RoomExtensions /// Checks if a room type is a gate. /// /// The room to be checked. - /// Returns whether the is a gate or not. + /// Returns whether the is a gate. public static bool IsGate(this RoomType room) => room is RoomType.EzGateA or RoomType.EzGateB; /// /// Checks if a room type is a checkpoint. /// /// The room to be checked. - /// Returns whether the is a checkpoint or not. + /// Returns whether the is a checkpoint. public static bool IsCheckpoint(this RoomType room) => room is RoomType.LczCheckpointA or RoomType.LczCheckpointB or RoomType.HczEzCheckpointA or RoomType.HczEzCheckpointB; @@ -35,21 +35,21 @@ public static bool IsCheckpoint(this RoomType room) => room is RoomType.LczCheck /// Checks if a room type is a Lcz checkpoint. /// /// The room to be checked. - /// Returns whether the is a Lcz checkpoint or not. + /// Returns whether the is a Lcz checkpoint. public static bool IsLczCheckpoint(this RoomType room) => room is RoomType.LczCheckpointA or RoomType.LczCheckpointB; /// /// Checks if a room type is a Hcz checkpoint. /// /// The room to be checked. - /// Returns whether the is a Hcz checkpoint or not. + /// Returns whether the is a Hcz checkpoint. public static bool IsHczCheckpoint(this RoomType room) => room is RoomType.HczEzCheckpointA or RoomType.HczEzCheckpointB; /// /// Checks if a room type contains any SCP. /// /// The room to be checked. - /// Returns whether the contains any SCP or not. + /// Returns whether the contains any SCP. public static bool IsScp(this RoomType room) => room is RoomType.Lcz173 or RoomType.Lcz330 or RoomType.Lcz914 or RoomType.Hcz049 or RoomType.Hcz079 or RoomType.Hcz096 or RoomType.Hcz106 or RoomType.Hcz939; diff --git a/EXILED/Exiled.API/Extensions/StringExtensions.cs b/EXILED/Exiled.API/Extensions/StringExtensions.cs index 37d1a6777..d1e48b79f 100644 --- a/EXILED/Exiled.API/Extensions/StringExtensions.cs +++ b/EXILED/Exiled.API/Extensions/StringExtensions.cs @@ -78,7 +78,7 @@ public static (string commandName, string[] arguments) ExtractCommand(this strin /// Converts a to snake_case convention. /// /// The string to be converted. - /// Indicates whether special chars has to be replaced or not. + /// Indicates whether special chars has to be replaced. /// Returns the new snake_case string. public static string ToSnakeCase(this string str, bool shouldReplaceSpecialChars = true) { @@ -92,7 +92,7 @@ public static string ToSnakeCase(this string str, bool shouldReplaceSpecialChars /// /// The type of the IEnumerable. /// The instance. - /// Indicates whether the enumerator index should be shown or not. + /// Indicates whether the enumerator index should be shown. /// Returns the converted . public static string ToString(this IEnumerable enumerable, bool showIndex = true) { diff --git a/EXILED/Exiled.API/Features/Badge.cs b/EXILED/Exiled.API/Features/Badge.cs index 31a46f090..6f514693f 100644 --- a/EXILED/Exiled.API/Features/Badge.cs +++ b/EXILED/Exiled.API/Features/Badge.cs @@ -20,7 +20,7 @@ public struct Badge /// /// The badge text. /// The badge color. - /// Indicates whether the badge is global or not. + /// Indicates whether the badge is global. public Badge(string text, string color, bool isGlobal = false) { Text = text; @@ -39,16 +39,16 @@ public Badge(string text, string color, bool isGlobal = false) public string Color { get; } /// - /// Gets a value indicating whether the badge is global or not. + /// Gets a value indicating whether the badge is global. /// public bool IsGlobal { get; } /// - /// Gets whether or not the provided hex color code can be used in badges. + /// Gets whether the provided hex color code can be used in badges. /// /// The hex color code, including the #. /// If the method returns , this will be an enum representing the hex code. If the method returns , this will be . - /// Whether or not the provided hex color code can be used in badges. + /// Whether the provided hex color code can be used in badges. public static bool IsValidColor(string hex, out Misc.PlayerInfoColorTypes? colorType) { foreach (KeyValuePair option in Misc.AllowedColors) diff --git a/EXILED/Exiled.API/Features/Broadcast.cs b/EXILED/Exiled.API/Features/Broadcast.cs index d8196d181..049dc91b3 100644 --- a/EXILED/Exiled.API/Features/Broadcast.cs +++ b/EXILED/Exiled.API/Features/Broadcast.cs @@ -27,7 +27,7 @@ public Broadcast() /// /// The content of the broadcast>. /// The duration of the broadcast, in seconds. - /// Whether or not the broadcast should be shown. + /// Whether the broadcast should be shown. /// The type of the broadcast. public Broadcast(string content, ushort duration = 10, bool show = true, global::Broadcast.BroadcastFlags type = global::Broadcast.BroadcastFlags.Normal) { @@ -56,9 +56,9 @@ public Broadcast(string content, ushort duration = 10, bool show = true, global: public global::Broadcast.BroadcastFlags Type { get; set; } /// - /// Gets or sets a value indicating whether the broadcast should be shown or not. + /// Gets or sets a value indicating whether the broadcast should be shown. /// - [Description("Indicates whether the broadcast should be shown or not")] + [Description("Indicates whether the broadcast should be shown")] public bool Show { get; set; } /// diff --git a/EXILED/Exiled.API/Features/Camera.cs b/EXILED/Exiled.API/Features/Camera.cs index 56e7e7f24..841ecf3fc 100644 --- a/EXILED/Exiled.API/Features/Camera.cs +++ b/EXILED/Exiled.API/Features/Camera.cs @@ -214,7 +214,7 @@ public Quaternion Rotation public float Zoom => Base.ZoomAxis.CurrentZoom; /// - /// Gets or sets a value indicating whether or not this camera is being used by SCP-079. + /// Gets or sets a value indicating whether this camera is being used by SCP-079. /// public bool IsBeingUsed { diff --git a/EXILED/Exiled.API/Features/Cassie.cs b/EXILED/Exiled.API/Features/Cassie.cs index 1cbb11d75..f3981f34e 100644 --- a/EXILED/Exiled.API/Features/Cassie.cs +++ b/EXILED/Exiled.API/Features/Cassie.cs @@ -35,7 +35,7 @@ public static class Cassie public static NineTailedFoxAnnouncer Announcer => NineTailedFoxAnnouncer.singleton; /// - /// Gets a value indicating whether or not C.A.S.S.I.E is currently announcing. Does not include decontamination or Alpha Warhead Messages. + /// Gets a value indicating whether C.A.S.S.I.E is currently announcing. Does not include decontamination or Alpha Warhead Messages. /// public static bool IsSpeaking => Announcer.queue.Count != 0; @@ -49,7 +49,7 @@ public static class Cassie /// /// The message to be reproduced. /// Indicates whether C.A.S.S.I.E has to hold the message. - /// Indicates whether C.A.S.S.I.E has to make noises or not during the message. + /// Indicates whether C.A.S.S.I.E has to make noises during the message. /// Indicates whether C.A.S.S.I.E has to make subtitles. public static void Message(string message, bool isHeld = false, bool isNoisy = true, bool isSubtitles = false) => RespawnEffectsController.PlayCassieAnnouncement(message, isHeld, isNoisy, isSubtitles); @@ -60,7 +60,7 @@ public static void Message(string message, bool isHeld = false, bool isNoisy = t /// The message to be reproduced. /// The translation should be show in the subtitles. /// Indicates whether C.A.S.S.I.E has to hold the message. - /// Indicates whether C.A.S.S.I.E has to make noises or not during the message. + /// Indicates whether C.A.S.S.I.E has to make noises during the message. /// Indicates whether C.A.S.S.I.E has to make subtitles. public static void MessageTranslated(string message, string translation, bool isHeld = false, bool isNoisy = true, bool isSubtitles = true) { @@ -89,7 +89,7 @@ public static void GlitchyMessage(string message, float glitchChance, float jamC /// The message to be reproduced. /// The seconds that have to pass before reproducing the message. /// Indicates whether C.A.S.S.I.E has to hold the message. - /// Indicates whether C.A.S.S.I.E has to make noises or not during the message. + /// Indicates whether C.A.S.S.I.E has to make noises during the message. /// Indicates whether C.A.S.S.I.E has to make subtitles. public static void DelayedMessage(string message, float delay, bool isHeld = false, bool isNoisy = true, bool isSubtitles = false) => Timing.CallDelayed(delay, () => RespawnEffectsController.PlayCassieAnnouncement(message, isHeld, isNoisy, isSubtitles)); @@ -170,14 +170,14 @@ public static void CustomScpTermination(string scpName, CustomHandlerBase info) public static void Clear() => RespawnEffectsController.ClearQueue(); /// - /// Gets a value indicating whether or not the given word is a valid C.A.S.S.I.E word. + /// Gets a value indicating whether the given word is a valid C.A.S.S.I.E word. /// /// The word to check. /// if the word is valid; otherwise, . public static bool IsValid(string word) => Announcer.voiceLines.Any(line => line.apiName.ToUpper() == word.ToUpper()); /// - /// Gets a value indicating whether or not the given sentence is all valid C.A.S.S.I.E word. + /// Gets a value indicating whether the given sentence is all valid C.A.S.S.I.E word. /// /// The sentence to check. /// if the sentence is valid; otherwise, . diff --git a/EXILED/Exiled.API/Features/Core/Interfaces/IEntity.cs b/EXILED/Exiled.API/Features/Core/Interfaces/IEntity.cs index 1d75e9c41..c4c4e9453 100644 --- a/EXILED/Exiled.API/Features/Core/Interfaces/IEntity.cs +++ b/EXILED/Exiled.API/Features/Core/Interfaces/IEntity.cs @@ -102,7 +102,7 @@ public abstract bool TryGetComponent(Type type, out T component) /// Checks if the has an active component. /// /// The to look for. - /// A value indicating whether or not subclasses should be considered. + /// A value indicating whether subclasses should be considered. /// if the component was found; otherwise, . public abstract bool HasComponent(bool depthInheritance = false); @@ -110,7 +110,7 @@ public abstract bool TryGetComponent(Type type, out T component) /// Checks if the has an active component. /// /// The to look for. - /// A value indicating whether or not subclasses should be considered. + /// A value indicating whether subclasses should be considered. /// if the component was found; otherwise, . public abstract bool HasComponent(Type type, bool depthInheritance = false); } diff --git a/EXILED/Exiled.API/Features/Doors/AirlockController.cs b/EXILED/Exiled.API/Features/Doors/AirlockController.cs index eceda5f31..6171f6b24 100644 --- a/EXILED/Exiled.API/Features/Doors/AirlockController.cs +++ b/EXILED/Exiled.API/Features/Doors/AirlockController.cs @@ -54,7 +54,7 @@ public AirlockController(BaseController controller) public Door DoorB => Door.Get(Base._doorB); /// - /// Gets or sets a value indicating whether or not both subdoors are locked. + /// Gets or sets a value indicating whether both subdoors are locked. /// public bool DoorsLocked { diff --git a/EXILED/Exiled.API/Features/Doors/BreakableDoor.cs b/EXILED/Exiled.API/Features/Doors/BreakableDoor.cs index a6b30617d..0f0efe38d 100644 --- a/EXILED/Exiled.API/Features/Doors/BreakableDoor.cs +++ b/EXILED/Exiled.API/Features/Doors/BreakableDoor.cs @@ -47,7 +47,7 @@ public float MaxHealth } /// - /// Gets or sets a value indicating whether or not door is destroyed. + /// Gets or sets a value indicating whether door is destroyed. /// public bool IsDestroyed { @@ -56,7 +56,7 @@ public bool IsDestroyed } /// - /// Gets a value indicating whether or not this door is breakable. + /// Gets a value indicating whether this door is breakable. /// public bool IsBreakable => !IsDestroyed; diff --git a/EXILED/Exiled.API/Features/Doors/Door.cs b/EXILED/Exiled.API/Features/Doors/Door.cs index c06a13b9b..6aa554201 100644 --- a/EXILED/Exiled.API/Features/Doors/Door.cs +++ b/EXILED/Exiled.API/Features/Doors/Door.cs @@ -101,7 +101,7 @@ internal Door(DoorVariant door, List rooms) public IReadOnlyCollection Rooms { get; } /// - /// Gets a value indicating whether or not the door is fully closed. + /// Gets a value indicating whether the door is fully closed. /// public virtual bool IsFullyClosed => ExactState is 0; @@ -111,7 +111,7 @@ internal Door(DoorVariant door, List rooms) public virtual bool IsFullyOpen => ExactState is 1; /// - /// Gets a value indicating whether or not the door is currently moving. + /// Gets a value indicating whether the door is currently moving. /// public virtual bool IsMoving => !(IsFullyOpen || IsFullyClosed); @@ -135,32 +135,32 @@ public bool IsOpen } /// - /// Gets a value indicating whether or not this door is a gate. + /// Gets a value indicating whether this door is a gate. /// public bool IsGate => this is Gate; /// - /// Gets a value indicating whether or not this door is a checkpoint door. + /// Gets a value indicating whether this door is a checkpoint door. /// public bool IsCheckpoint => this is Checkpoint; /// - /// Gets a value indicating whether or not this door is an elevator door. + /// Gets a value indicating whether this door is an elevator door. /// public bool IsElevator => this is Elevator; /// - /// Gets a value indicating whether or not this door can be damaged. + /// Gets a value indicating whether this door can be damaged. /// public bool IsDamageable => this is Interfaces.IDamageableDoor; /// - /// Gets a value indicating whether or not this door is non-interactable. + /// Gets a value indicating whether this door is non-interactable. /// public bool IsNonInteractable => this is Interfaces.INonInteractableDoor; /// - /// Gets a value indicating whether or not this door is subdoor belonging to a checkpoint. + /// Gets a value indicating whether this door is subdoor belonging to a checkpoint. /// public bool IsPartOfCheckpoint => ParentCheckpointDoor is not null; @@ -170,7 +170,7 @@ public bool IsOpen public Checkpoint ParentCheckpointDoor { get; internal set; } /// - /// Gets a value indicating whether or not this door requires a keycard to open. + /// Gets a value indicating whether this door requires a keycard to open. /// /// /// This value is if is equal to . @@ -204,7 +204,7 @@ public Vector3 Position } /// - /// Gets or sets a value indicating whether or not SCP-106 can walk through the door. + /// Gets or sets a value indicating whether SCP-106 can walk through the door. /// public bool AllowsScp106 { @@ -217,7 +217,7 @@ public bool AllowsScp106 } /// - /// Gets a value indicating whether or not the door is locked. + /// Gets a value indicating whether the door is locked. /// public bool IsLocked => DoorLockType > 0; diff --git a/EXILED/Exiled.API/Features/Doors/Gate.cs b/EXILED/Exiled.API/Features/Doors/Gate.cs index 20679cf58..29f8e987f 100644 --- a/EXILED/Exiled.API/Features/Doors/Gate.cs +++ b/EXILED/Exiled.API/Features/Doors/Gate.cs @@ -41,7 +41,7 @@ public Gate(PryableDoor door, List room) public IEnumerable PryPositions => Base.PryPositions; /// - /// Gets a value indicating whether or not the door is fully closed. + /// Gets a value indicating whether the door is fully closed. /// public override bool IsFullyClosed => base.IsFullyClosed && RemainingPryCooldown <= 0; @@ -51,7 +51,7 @@ public Gate(PryableDoor door, List room) public override bool IsFullyOpen => base.IsFullyOpen || (Base is Timed173PryableDoor && ExactState is 0.5845918f); /// - /// Gets a value indicating whether or not the door is currently moving. + /// Gets a value indicating whether the door is currently moving. /// public override bool IsMoving => base.IsMoving || RemainingPryCooldown > 0; diff --git a/EXILED/Exiled.API/Features/Effect.cs b/EXILED/Exiled.API/Features/Effect.cs index 0f8474a24..8c93b5afc 100644 --- a/EXILED/Exiled.API/Features/Effect.cs +++ b/EXILED/Exiled.API/Features/Effect.cs @@ -47,7 +47,7 @@ public Effect(StatusEffectBase statusEffectBase) /// The duration of the effect, in seconds. /// The intensity of the effect. /// Whether the effect will add duration onto the effect if already active or not. - /// Whether or not the effect should be enabled. + /// Whether the effect should be enabled. public Effect(EffectType type, float duration, byte intensity = 1, bool addDurationIfActive = false, bool isEnabled = true) { Type = type; @@ -82,9 +82,9 @@ public Effect(EffectType type, float duration, byte intensity = 1, bool addDurat public bool AddDurationIfActive { get; set; } /// - /// Gets or sets a value indicating whether the effect should be enabled or not. + /// Gets or sets a value indicating whether the effect should be enabled. /// - [Description("Indicates whether the effect should be enabled or not")] + [Description("Indicates whether the effect should be enabled")] public bool IsEnabled { get; set; } /// diff --git a/EXILED/Exiled.API/Features/Generator.cs b/EXILED/Exiled.API/Features/Generator.cs index 315f9af0f..b8fd6bde9 100644 --- a/EXILED/Exiled.API/Features/Generator.cs +++ b/EXILED/Exiled.API/Features/Generator.cs @@ -247,7 +247,7 @@ public static IEnumerable Get(GeneratorState state) /// /// The instance. /// A or if not found. - /// Whether or not a generator was found. + /// Whether a generator was found. public static bool TryGet(Scp079Generator scp079Generator, out Generator generator) { generator = Get(scp079Generator); @@ -259,7 +259,7 @@ public static bool TryGet(Scp079Generator scp079Generator, out Generator generat /// /// The to search for. /// A of matching the . - /// Whether or not at least one generator was found. + /// Whether at least one generator was found. public static bool TryGet(GeneratorState state, out IEnumerable generators) { generators = Get(state); @@ -271,7 +271,7 @@ public static bool TryGet(GeneratorState state, out IEnumerable gener /// /// The condition to satify. /// A of which contains elements that satify the condition. - /// Whether or not at least one generator was found. + /// Whether at least one generator was found. public static bool TryGet(Func predicate, out IEnumerable generators) { generators = Get(predicate); diff --git a/EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs b/EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs index 31c9ad244..efbba1312 100644 --- a/EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs +++ b/EXILED/Exiled.API/Features/Hazards/AmnesticCloudHazard.cs @@ -105,7 +105,7 @@ public float MaxHoldTime } /// - /// Gets or sets a value indicating whether or not hazard is active or not. + /// Gets or sets a value indicating whether hazard is active. /// public bool TargetState { diff --git a/EXILED/Exiled.API/Features/Hazards/Hazard.cs b/EXILED/Exiled.API/Features/Hazards/Hazard.cs index 09bd880d3..7c78269f9 100644 --- a/EXILED/Exiled.API/Features/Hazards/Hazard.cs +++ b/EXILED/Exiled.API/Features/Hazards/Hazard.cs @@ -86,7 +86,7 @@ public float MaxHeightDistance } /// - /// Gets a value indicating whether or not hazard is active. + /// Gets a value indicating whether hazard is active. /// public bool IsActive => Base.IsActive; diff --git a/EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs b/EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs index 906bd4faf..7aa72916c 100644 --- a/EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs +++ b/EXILED/Exiled.API/Features/Hazards/TantrumHazard.cs @@ -53,7 +53,7 @@ public static TantrumEnvironmentalHazard TantrumPrefab public override HazardType Type => HazardType.Tantrum; /// - /// Gets or sets a value indicating whether or not sizzle should be played. + /// Gets or sets a value indicating whether sizzle should be played. /// public bool PlaySizzle { @@ -83,7 +83,7 @@ public Transform CorrectPosition /// Places a Tantrum (SCP-173's ability) in the indicated position. /// /// The position where you want to spawn the Tantrum. - /// Whether or not the tantrum will apply the effect. + /// Whether the tantrum will apply the effect. /// If is , the tantrum is moved slightly up from its original position. Otherwise, the collision will not be detected and the slowness will not work. /// The instance. public static TantrumHazard PlaceTantrum(Vector3 position, bool isActive = true) diff --git a/EXILED/Exiled.API/Features/Hazards/TemporaryHazard.cs b/EXILED/Exiled.API/Features/Hazards/TemporaryHazard.cs index e4afa3dca..c048359b0 100644 --- a/EXILED/Exiled.API/Features/Hazards/TemporaryHazard.cs +++ b/EXILED/Exiled.API/Features/Hazards/TemporaryHazard.cs @@ -30,7 +30,7 @@ public TemporaryHazard(BaseHazard hazard) public new BaseHazard Base { get; } /// - /// Gets or sets a value indicating whether or not hazard is destroyed. + /// Gets or sets a value indicating whether hazard is destroyed. /// public bool IsDestroyed { diff --git a/EXILED/Exiled.API/Features/Hint.cs b/EXILED/Exiled.API/Features/Hint.cs index ce74c2e44..939d378e3 100644 --- a/EXILED/Exiled.API/Features/Hint.cs +++ b/EXILED/Exiled.API/Features/Hint.cs @@ -27,7 +27,7 @@ public Hint() /// /// The content of the hint>. /// The duration of the hint, in seconds. - /// Whether or not the hint should be shown. + /// Whether the hint should be shown. public Hint(string content, float duration = 3, bool show = true) { Content = content; @@ -48,9 +48,9 @@ public Hint(string content, float duration = 3, bool show = true) public float Duration { get; set; } /// - /// Gets or sets a value indicating whether the hint should be shown or not. + /// Gets or sets a value indicating whether the hint should be shown. /// - [Description("Indicates whether the hint should be shown or not")] + [Description("Indicates whether the hint should be shown")] public bool Show { get; set; } /// diff --git a/EXILED/Exiled.API/Features/Intercom.cs b/EXILED/Exiled.API/Features/Intercom.cs index 5dbee7241..3a3a8aa9c 100644 --- a/EXILED/Exiled.API/Features/Intercom.cs +++ b/EXILED/Exiled.API/Features/Intercom.cs @@ -54,7 +54,7 @@ public static IntercomState State public static Transform Transform => GameIntercom._singleton.transform; /// - /// Gets a value indicating whether or not the intercom is currently being used. + /// Gets a value indicating whether the intercom is currently being used. /// public static bool InUse => State is IntercomState.InUse or IntercomState.Starting; @@ -85,7 +85,7 @@ public static float SpeechRemainingTime /// /// Plays the intercom's sound. /// - /// Sets a value indicating whether or not the sound is the intercom's start speaking sound. + /// Sets a value indicating whether the sound is the intercom's start speaking sound. public static void PlaySound(bool isStarting) => GameIntercom._singleton.RpcPlayClip(isStarting); /// diff --git a/EXILED/Exiled.API/Features/Items/Armor.cs b/EXILED/Exiled.API/Features/Items/Armor.cs index 1a46bc360..be7296d86 100644 --- a/EXILED/Exiled.API/Features/Items/Armor.cs +++ b/EXILED/Exiled.API/Features/Items/Armor.cs @@ -60,7 +60,7 @@ internal Armor(ItemType type) public bool Holsterable => Base.AllowHolster; /// - /// Gets a value indicating whether or not this is a worn item. + /// Gets a value indicating whether this is a worn item. /// public bool IsWorn => Base.IsWorn; @@ -74,7 +74,7 @@ internal Armor(ItemType type) } /// - /// Gets or sets a value indicating whether or not excess ammo should be removed when the armor is dropped. + /// Gets or sets a value indicating whether excess ammo should be removed when the armor is dropped. /// public bool RemoveExcessOnDrop { diff --git a/EXILED/Exiled.API/Features/Items/Firearm.cs b/EXILED/Exiled.API/Features/Items/Firearm.cs index f9b4b2cec..734a3790d 100644 --- a/EXILED/Exiled.API/Features/Items/Firearm.cs +++ b/EXILED/Exiled.API/Features/Items/Firearm.cs @@ -176,7 +176,7 @@ public byte MaxAmmo public bool CanSeeThroughDark => FlashlightEnabled || NightVisionEnabled; /// - /// Gets a value indicating whether or not the firearm is automatic. + /// Gets a value indicating whether the firearm is automatic. /// public bool IsAutomatic => Base is AutomaticFirearm; @@ -419,7 +419,7 @@ public override Pickup CreatePickup(Vector3 position, Quaternion rotation = defa /// /// The to check. /// The corresponding . - /// A value indicating whether or not the firearm has the specified . + /// A value indicating whether the firearm has the specified . public bool TryGetAttachment(AttachmentIdentifier identifier, out Attachment firearmAttachment) { firearmAttachment = default; @@ -437,7 +437,7 @@ public bool TryGetAttachment(AttachmentIdentifier identifier, out Attachment fir /// /// The to check. /// The corresponding . - /// A value indicating whether or not the firearm has the specified . + /// A value indicating whether the firearm has the specified . public bool TryGetAttachment(AttachmentName attachmentName, out Attachment firearmAttachment) { firearmAttachment = default; diff --git a/EXILED/Exiled.API/Features/Items/Item.cs b/EXILED/Exiled.API/Features/Items/Item.cs index 96d02257f..9b4eef25c 100644 --- a/EXILED/Exiled.API/Features/Items/Item.cs +++ b/EXILED/Exiled.API/Features/Items/Item.cs @@ -125,47 +125,47 @@ public ushort Serial public float Weight => Base.Weight; /// - /// Gets a value indicating whether or not this item is ammunition. + /// Gets a value indicating whether this item is ammunition. /// public bool IsAmmo => this is Ammo; /// - /// Gets a value indicating whether or not this item is armor. + /// Gets a value indicating whether this item is armor. /// public bool IsArmor => this is Armor; /// - /// Gets a value indicating whether or not this item is a keycard. + /// Gets a value indicating whether this item is a keycard. /// public bool IsKeycard => this is Keycard; /// - /// Gets a value indicating whether or not this item will be destroy when being used. + /// Gets a value indicating whether this item will be destroy when being used. /// public bool IsConsumable => this is Consumable; /// - /// Gets a value indicating whether or not this item is a throwable item. + /// Gets a value indicating whether this item is a throwable item. /// public bool IsThrowable => this is Throwable; /// - /// Gets a value indicating whether or not this item can be used by a player. + /// Gets a value indicating whether this item can be used by a player. /// public bool IsUsable => this is Usable; /// - /// Gets a value indicating whether or not this item is a weapon. + /// Gets a value indicating whether this item is a weapon. /// public bool IsWeapon => this is Firearm; /// - /// Gets a value indicating whether or not this item emits light. + /// Gets a value indicating whether this item emits light. /// public bool IsLightEmitter => Base is ILightEmittingItem; /// - /// Gets a value indicating whether or not this item can be used to disarm players. + /// Gets a value indicating whether this item can be used to disarm players. /// public bool IsDisarmer => Base is IDisarmingItem; diff --git a/EXILED/Exiled.API/Features/Items/Radio.cs b/EXILED/Exiled.API/Features/Items/Radio.cs index 3207e085f..4b3d0ca18 100644 --- a/EXILED/Exiled.API/Features/Items/Radio.cs +++ b/EXILED/Exiled.API/Features/Items/Radio.cs @@ -82,7 +82,7 @@ public RadioRangeSettings RangeSettings } /// - /// Gets or sets a value indicating whether the radio is enabled or not. + /// Gets or sets a value indicating whether the radio is enabled. /// public bool IsEnabled { diff --git a/EXILED/Exiled.API/Features/Items/Scp244.cs b/EXILED/Exiled.API/Features/Items/Scp244.cs index 9e88a5375..0ddc83af6 100644 --- a/EXILED/Exiled.API/Features/Items/Scp244.cs +++ b/EXILED/Exiled.API/Features/Items/Scp244.cs @@ -51,7 +51,7 @@ internal Scp244(ItemType scp244Type) public new Scp244Item Base { get; } /// - /// Gets or sets a value indicating whether or not SCP-244 will spawn primed. + /// Gets or sets a value indicating whether SCP-244 will spawn primed. /// public bool Primed { diff --git a/EXILED/Exiled.API/Features/Items/Scp330.cs b/EXILED/Exiled.API/Features/Items/Scp330.cs index d0f902184..6b7408863 100644 --- a/EXILED/Exiled.API/Features/Items/Scp330.cs +++ b/EXILED/Exiled.API/Features/Items/Scp330.cs @@ -136,7 +136,7 @@ public int AddCandy(IEnumerable candies, out CandyAddStatus status) /// Removes a specific candy from the bag. /// /// The to be removed. - /// Whether or not to only remove all matching candy. (If , all candies of the given type are removed). + /// Whether to only remove all matching candy. (If , all candies of the given type are removed). /// The total amount of candies that were removed from the bag. public int RemoveCandy(CandyKindID type, bool removeAll = false) { @@ -175,8 +175,8 @@ public int RemoveAllCandy() /// Drops candies from the bag. /// /// The of candies to drop. - /// Whether or not to drop all candies matching the given type, or just one. - /// Whether or not to drop all candies individually, or as a bag, when dropping more than one candy. + /// Whether to drop all candies matching the given type, or just one. + /// Whether to drop all candies individually, or as a bag, when dropping more than one candy. /// The to use, if the override is set to true. /// a of s generated by this method. *Can be empty!*. public IEnumerable DropCandy(CandyKindID type, bool dropAll = false, bool dropIndividual = false, CandyKindID exposedType = CandyKindID.None) diff --git a/EXILED/Exiled.API/Features/Lift.cs b/EXILED/Exiled.API/Features/Lift.cs index 9a3b183c2..5f41fba58 100644 --- a/EXILED/Exiled.API/Features/Lift.cs +++ b/EXILED/Exiled.API/Features/Lift.cs @@ -272,7 +272,7 @@ public static bool TryMeltPlayer(Player player) /// Tries to start the lift. /// /// The destination level. - /// Indicates whether the start will be forced or not. + /// Indicates whether the start will be forced. /// if the lift was started successfully; otherwise, . public bool TryStart(int level, bool isForced = false) => TrySetDestination(Group, level, isForced); @@ -305,7 +305,7 @@ public void ChangeLock(DoorLockReason lockReason) } /// - /// Returns whether or not the provided position is inside the lift. + /// Returns whether the provided position is inside the lift. /// /// The position. /// if the point is inside the elevator. Otherwise, . diff --git a/EXILED/Exiled.API/Features/Lockers/Chamber.cs b/EXILED/Exiled.API/Features/Lockers/Chamber.cs index 72304774f..0c949c985 100644 --- a/EXILED/Exiled.API/Features/Lockers/Chamber.cs +++ b/EXILED/Exiled.API/Features/Lockers/Chamber.cs @@ -142,7 +142,7 @@ public Transform Spawnpoint } /// - /// Gets or sets a value indicating whether or not items should be spawned as soon as they one chamber is opened. + /// Gets or sets a value indicating whether items should be spawned as soon as they one chamber is opened. /// public bool InitiallySpawn { diff --git a/EXILED/Exiled.API/Features/Map.cs b/EXILED/Exiled.API/Features/Map.cs index d0b31f391..bddee9a74 100644 --- a/EXILED/Exiled.API/Features/Map.cs +++ b/EXILED/Exiled.API/Features/Map.cs @@ -271,7 +271,7 @@ public static void PlayAmbientSound(int id) /// Places a Tantrum (SCP-173's ability) in the indicated position. /// /// The position where you want to spawn the Tantrum. - /// Whether or not the tantrum will apply the effect. + /// Whether the tantrum will apply the effect. /// If is , the tantrum is moved slightly up from its original position. Otherwise, the collision will not be detected and the slowness will not work. /// The instance. public static TantrumHazard PlaceTantrum(Vector3 position, bool isActive = true) => TantrumHazard.PlaceTantrum(position, isActive); // TODO: Remove this. diff --git a/EXILED/Exiled.API/Features/Pickups/BodyArmorPickup.cs b/EXILED/Exiled.API/Features/Pickups/BodyArmorPickup.cs index e387cf182..9a041c50a 100644 --- a/EXILED/Exiled.API/Features/Pickups/BodyArmorPickup.cs +++ b/EXILED/Exiled.API/Features/Pickups/BodyArmorPickup.cs @@ -66,12 +66,12 @@ internal BodyArmorPickup(ItemType type) public bool Holsterable { get; } = false; /// - /// Gets a value indicating whether or not this is a worn item. + /// Gets a value indicating whether this is a worn item. /// public bool IsWorn { get; } = true; /// - /// Gets or sets a value indicating whether or not excess ammo should be removed when the armor is dropped. + /// Gets or sets a value indicating whether excess ammo should be removed when the armor is dropped. /// public bool RemoveExcessOnDrop { get; set; } diff --git a/EXILED/Exiled.API/Features/Pickups/Projectiles/Scp018Projectile.cs b/EXILED/Exiled.API/Features/Pickups/Projectiles/Scp018Projectile.cs index 798cd04fc..4fea8f7e7 100644 --- a/EXILED/Exiled.API/Features/Pickups/Projectiles/Scp018Projectile.cs +++ b/EXILED/Exiled.API/Features/Pickups/Projectiles/Scp018Projectile.cs @@ -90,7 +90,7 @@ public float VelocityPerBounce } /// - /// Gets a value indicating whether or not SCP-018 can injure teammates. + /// Gets a value indicating whether SCP-018 can injure teammates. /// public bool IgnoreFriendlyFire => Base.IgnoreFriendlyFire; diff --git a/EXILED/Exiled.API/Features/Pickups/Projectiles/Scp2176Projectile.cs b/EXILED/Exiled.API/Features/Pickups/Projectiles/Scp2176Projectile.cs index 7032f3bcc..75f0e987f 100644 --- a/EXILED/Exiled.API/Features/Pickups/Projectiles/Scp2176Projectile.cs +++ b/EXILED/Exiled.API/Features/Pickups/Projectiles/Scp2176Projectile.cs @@ -43,7 +43,7 @@ internal Scp2176Projectile() public new BaseScp2176Projectile Base { get; } /// - /// Gets a value indicating whether or not SCP-2176 has shattered. + /// Gets a value indicating whether SCP-2176 has shattered. /// public bool IsAlreadyTriggered => Base._hasTriggered; diff --git a/EXILED/Exiled.API/Features/Pickups/Scp244Pickup.cs b/EXILED/Exiled.API/Features/Pickups/Scp244Pickup.cs index f852fcc3a..a4cd4ac8f 100644 --- a/EXILED/Exiled.API/Features/Pickups/Scp244Pickup.cs +++ b/EXILED/Exiled.API/Features/Pickups/Scp244Pickup.cs @@ -96,12 +96,12 @@ public float Health } /// - /// Gets a value indicating whether or not this Scp244 is breakable. + /// Gets a value indicating whether this Scp244 is breakable. /// public bool IsBreakable => Base.State is Scp244State.Idle or Scp244State.Active; /// - /// Gets a value indicating whether or not this Scp244 is broken. + /// Gets a value indicating whether this Scp244 is broken. /// public bool IsBroken => Base.State is Scp244State.Destroyed; diff --git a/EXILED/Exiled.API/Features/Player.cs b/EXILED/Exiled.API/Features/Player.cs index 9cc1758f1..8c5076459 100644 --- a/EXILED/Exiled.API/Features/Player.cs +++ b/EXILED/Exiled.API/Features/Player.cs @@ -207,7 +207,7 @@ private set public Hint CurrentHint { get; internal set; } /// - /// Gets a value indicating whether or not the player is viewing a hint. + /// Gets a value indicating whether the player is viewing a hint. /// public bool HasHint => CurrentHint != null; @@ -300,7 +300,7 @@ public AuthenticationType AuthenticationType } /// - /// Gets a value indicating whether or not the player is verified. + /// Gets a value indicating whether the player is verified. /// /// /// This is always if online_mode is set to . @@ -308,12 +308,12 @@ public AuthenticationType AuthenticationType public bool IsVerified { get; internal set; } /// - /// Gets or sets a value indicating whether or not the player is a NPC. + /// Gets or sets a value indicating whether the player is a NPC. /// public bool IsNPC { get; set; } /// - /// Gets a value indicating whether or not the player has an active CustomName. + /// Gets a value indicating whether the player has an active CustomName. /// public bool HasCustomName => ReferenceHub.nicknameSync.HasCustomName; @@ -417,7 +417,7 @@ public float InfoViewRange public Dictionary SessionVariables { get; } = DictionaryPool.Pool.Get(); /// - /// Gets a value indicating whether or not the player has Do Not Track (DNT) enabled. If this value is , data about the player unrelated to server security shouldn't be stored. + /// Gets a value indicating whether the player has Do Not Track (DNT) enabled. If this value is , data about the player unrelated to server security shouldn't be stored. /// public bool DoNotTrack => ReferenceHub.authManager.DoNotTrack; @@ -427,14 +427,14 @@ public float InfoViewRange public bool IsConnected => GameObject != null; /// - /// Gets a value indicating whether or not the player has a reserved slot. + /// Gets a value indicating whether the player has a reserved slot. /// /// /// public bool HasReservedSlot => ReservedSlot.HasReservedSlot(UserId, out _); /// - /// Gets a value indicating whether or not the player is in whitelist. + /// Gets a value indicating whether the player is in whitelist. /// /// It will always return if a whitelist is disabled on the server. /// @@ -442,12 +442,12 @@ public float InfoViewRange public bool IsWhitelisted => WhiteList.IsWhitelisted(UserId); /// - /// Gets a value indicating whether or not the player has Remote Admin access. + /// Gets a value indicating whether the player has Remote Admin access. /// public bool RemoteAdminAccess => ReferenceHub.serverRoles.RemoteAdmin; /// - /// Gets a value indicating whether or not the player has Admin Chat access. + /// Gets a value indicating whether the player has Admin Chat access. /// public bool AdminChatAccess => ReferenceHub.serverRoles.AdminChatPerms; @@ -457,7 +457,7 @@ public float InfoViewRange public byte KickPower => ReferenceHub.serverRoles.KickPower; /// - /// Gets or sets a value indicating whether or not the player's overwatch is enabled. + /// Gets or sets a value indicating whether the player's overwatch is enabled. /// public bool IsOverwatchEnabled { @@ -466,7 +466,7 @@ public bool IsOverwatchEnabled } /// - /// Gets or sets a value indicating whether or not the player is allowed to enter noclip mode. + /// Gets or sets a value indicating whether the player is allowed to enter noclip mode. /// /// For forcing the player into noclip mode, see . /// @@ -617,28 +617,28 @@ public ScpSpawnPreferences.SpawnPreferences ScpPreferences } /// - /// Gets a value indicating whether or not the player is cuffed. + /// Gets a value indicating whether the player is cuffed. /// /// Players can be cuffed without another player being the cuffer. public bool IsCuffed => Inventory.IsDisarmed(); /// - /// Gets a value indicating whether or not the player is reloading a weapon. + /// Gets a value indicating whether the player is reloading a weapon. /// public bool IsReloading => CurrentItem is Firearm firearm && !firearm.Base.AmmoManagerModule.Standby; /// - /// Gets a value indicating whether or not the player is aiming with a weapon. + /// Gets a value indicating whether the player is aiming with a weapon. /// public bool IsAimingDownWeapon => CurrentItem is Firearm firearm && firearm.Aiming; /// - /// Gets a value indicating whether or not the player has enabled weapon's flashlight module. + /// Gets a value indicating whether the player has enabled weapon's flashlight module. /// public bool HasFlashlightModuleEnabled => CurrentItem is Firearm firearm && firearm.FlashlightEnabled; /// - /// Gets a value indicating whether or not the player is jumping. + /// Gets a value indicating whether the player is jumping. /// public bool IsJumping => Role is FpcRole fpc && fpc.FirstPersonController.FpcModule.Motor.IsJumping; @@ -668,51 +668,51 @@ public ScpSpawnPreferences.SpawnPreferences ScpPreferences public uint NetId => ReferenceHub.netId; /// - /// Gets a value indicating whether or not the player is the host. + /// Gets a value indicating whether the player is the host. /// public bool IsHost => ReferenceHub.isLocalPlayer; /// - /// Gets a value indicating whether or not the player is alive. + /// Gets a value indicating whether the player is alive. /// public bool IsAlive => !IsDead; /// - /// Gets a value indicating whether or not the player is dead. + /// Gets a value indicating whether the player is dead. /// public bool IsDead => Role?.IsDead ?? false; /// - /// Gets a value indicating whether or not the player's is any NTF rank. + /// Gets a value indicating whether the player's is any NTF rank. /// Equivalent to checking the player's . /// // TODO: Change logic for FacilityGuard in next major update public bool IsNTF => Role?.Team is Team.FoundationForces; /// - /// Gets a value indicating whether or not the player's is any Chaos rank. + /// Gets a value indicating whether the player's is any Chaos rank. /// Equivalent to checking the player's . /// public bool IsCHI => Role?.Team is Team.ChaosInsurgency; /// - /// Gets a value indicating whether or not the player's is any SCP. + /// Gets a value indicating whether the player's is any SCP. /// Equivalent to checking the player's . /// public bool IsScp => Role?.Type.IsScp() ?? false; /// - /// Gets a value indicating whether or not the player's is any human rank. + /// Gets a value indicating whether the player's is any human rank. /// public bool IsHuman => Role is not null && Role.Is(out HumanRole _); /// - /// Gets a value indicating whether or not the player's is equal to . + /// Gets a value indicating whether the player's is equal to . /// public bool IsTutorial => Role?.Type is RoleTypeId.Tutorial; /// - /// Gets a value indicating whether or not the player's friendly fire is enabled. + /// Gets a value indicating whether the player's friendly fire is enabled. ///
This property only determines if this player can deal damage to players on the same team;
///
This player can be damaged by other players on their own team even if this property is .
///
@@ -728,7 +728,7 @@ public Vector3 Scale } /// - /// Gets or sets a value indicating whether or not the player's bypass mode is enabled. + /// Gets or sets a value indicating whether the player's bypass mode is enabled. /// public bool IsBypassModeEnabled { @@ -737,7 +737,7 @@ public bool IsBypassModeEnabled } /// - /// Gets or sets a value indicating whether or not the player is muted. + /// Gets or sets a value indicating whether the player is muted. /// /// This property will NOT persistently mute and unmute the player. For persistent mutes, see and . public bool IsMuted @@ -753,7 +753,7 @@ public bool IsMuted } /// - /// Gets or sets a value indicating whether or not the player is global muted. + /// Gets or sets a value indicating whether the player is global muted. /// /// This property will NOT persistently mute and unmute the player. For persistent mutes, see and . public bool IsGlobalMuted @@ -769,7 +769,7 @@ public bool IsGlobalMuted } /// - /// Gets or sets a value indicating whether or not the player is intercom muted. + /// Gets or sets a value indicating whether the player is intercom muted. /// /// This property will NOT persistently mute and unmute the player. For persistent mutes, see and . public bool IsIntercomMuted @@ -785,7 +785,7 @@ public bool IsIntercomMuted } /// - /// Gets a value indicating whether or not the player is speaking. + /// Gets a value indicating whether the player is speaking. /// public bool IsSpeaking => Role is Roles.IVoiceRole voiceRole && voiceRole.VoiceModule.IsSpeaking; @@ -810,12 +810,12 @@ public VoiceChatChannel VoiceChannel } /// - /// Gets a value indicating whether or not the player is transmitting on a Radio. + /// Gets a value indicating whether the player is transmitting on a Radio. /// public bool IsTransmitting => PersonalRadioPlayback.IsTransmitting(ReferenceHub); /// - /// Gets or sets a value indicating whether or not the player has godmode enabled. + /// Gets or sets a value indicating whether the player has godmode enabled. /// public bool IsGodModeEnabled { @@ -981,7 +981,7 @@ public float Stamina } /// - /// Gets a value indicating whether or not the staff bypass is enabled. + /// Gets a value indicating whether the staff bypass is enabled. /// public bool IsStaffBypassEnabled => ReferenceHub.authManager.BypassBansFlagSet; @@ -1063,7 +1063,7 @@ public Badge? GlobalBadge } /// - /// Gets or sets a value indicating whether or not the player's badge is hidden. + /// Gets or sets a value indicating whether the player's badge is hidden. /// public bool BadgeHidden { @@ -1078,22 +1078,22 @@ public bool BadgeHidden } /// - /// Gets a value indicating whether or not the player is Northwood staff. + /// Gets a value indicating whether the player is Northwood staff. /// public bool IsNorthwoodStaff => ReferenceHub.authManager.NorthwoodStaff; /// - /// Gets a value indicating whether or not the player is a global moderator. + /// Gets a value indicating whether the player is a global moderator. /// public bool IsGlobalModerator => ReferenceHub.authManager.RemoteAdminGlobalAccess; /// - /// Gets a value indicating whether or not the player is in the pocket dimension. + /// Gets a value indicating whether the player is in the pocket dimension. /// public bool IsInPocketDimension => CurrentRoom?.Type is RoomType.Pocket; /// - /// Gets or sets a value indicating whether or not the player should use stamina system. + /// Gets or sets a value indicating whether the player should use stamina system. /// public bool IsUsingStamina { get; set; } = true; @@ -1108,17 +1108,17 @@ public bool BadgeHidden public IReadOnlyCollection Items { get; } /// - /// Gets a value indicating whether or not the player's inventory is empty. + /// Gets a value indicating whether the player's inventory is empty. /// public bool IsInventoryEmpty => Items.Count is 0; /// - /// Gets a value indicating whether or not the player's inventory is full. + /// Gets a value indicating whether the player's inventory is full. /// public bool IsInventoryFull => Items.Count >= Inventory.MaxSlots; /// - /// Gets a value indicating whether or not the player has agreed to microphone recording. + /// Gets a value indicating whether the player has agreed to microphone recording. /// public bool AgreedToRecording => VoiceChatPrivacySettings.CheckUserFlags(ReferenceHub, VcPrivacyFlags.SettingsSelected | VcPrivacyFlags.AllowRecording | VcPrivacyFlags.AllowMicCapture); @@ -1138,7 +1138,7 @@ public bool BadgeHidden public Footprint Footprint => new(ReferenceHub); /// - /// Gets or sets a value indicating whether or not the player is spawn protected. + /// Gets or sets a value indicating whether the player is spawn protected. /// public bool IsSpawnProtected { @@ -1364,7 +1364,7 @@ public static Player Get(string args) /// /// The . /// The player that matches the given , or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(CommandSystem.ICommandSender sender, out Player player) => (player = Get(sender)) is not null; /// @@ -1372,7 +1372,7 @@ public static Player Get(string args) /// /// The . /// The player that matches the given , or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(Footprint footprint, out Player player) => (player = Get(footprint)) is not null; /// @@ -1380,7 +1380,7 @@ public static Player Get(string args) /// /// The . /// The player that matches the given , or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(CommandSender sender, out Player player) => (player = Get(sender)) is not null; /// @@ -1388,7 +1388,7 @@ public static Player Get(string args) /// /// The . /// The player that matches the given , or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(ReferenceHub referenceHub, out Player player) => (player = Get(referenceHub)) is not null; /// @@ -1396,7 +1396,7 @@ public static Player Get(string args) /// /// The network ID. /// The player that matches the given net ID, or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(uint netId, out Player player) => (player = Get(netId)) is not null; /// @@ -1404,7 +1404,7 @@ public static Player Get(string args) /// /// The . /// The player that matches the given , or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(NetworkIdentity netIdentity, out Player player) => (player = Get(netIdentity)) is not null; /// @@ -1412,7 +1412,7 @@ public static Player Get(string args) /// /// The . /// The player that matches the given , or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(NetworkConnection conn, out Player player) => (player = Get(conn)) is not null; /// @@ -1420,7 +1420,7 @@ public static Player Get(string args) /// /// The . /// The player that matches the given , or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(GameObject gameObject, out Player player) => (player = Get(gameObject)) is not null; /// @@ -1428,7 +1428,7 @@ public static Player Get(string args) /// /// The user ID. /// The player that matches the given ID, or if no player is found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(int id, out Player player) => (player = Get(id)) is not null; /// @@ -1436,7 +1436,7 @@ public static Player Get(string args) /// /// The player's nickname, ID, steamID64 or Discord ID. /// The player found or if not found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(string args, out Player player) => (player = Get(args)) is not null; /// @@ -1444,7 +1444,7 @@ public static Player Get(string args) /// /// The class. /// The player found or if not found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(PluginAPI.Core.Player apiPlayer, out Player player) => (player = Get(apiPlayer)) is not null; /// @@ -1452,7 +1452,7 @@ public static Player Get(string args) /// /// The . /// The player found or if not found. - /// A boolean indicating whether or not a player was found. + /// A boolean indicating whether a player was found. public static bool TryGet(Collider collider, out Player player) => (player = Get(collider)) is not null; /// @@ -1487,7 +1487,7 @@ public static Player Get(string args) /// Adds a player's UserId to the list of reserved slots. /// /// The UserId of the player to add. - /// Whether or not to add a permanently. It will write a to UserIDReservedSlots.txt file. + /// Whether to add a permanently. It will write a to UserIDReservedSlots.txt file. /// if the slot was successfully added, or if the provided UserId already has a reserved slot. /// public static bool AddReservedSlot(string userId, bool isPermanent) @@ -1508,7 +1508,7 @@ public static bool AddReservedSlot(string userId, bool isPermanent) /// Adds a player's UserId to the whitelist. /// /// The UserId of the player to add. - /// Whether or not to add a permanently. It will write a to UserIDWhitelist.txt file. + /// Whether to add a permanently. It will write a to UserIDWhitelist.txt file. /// if the record was successfully added, or if the provided UserId already is in whitelist. /// public static bool AddToWhitelist(string userId, bool isPermanent) @@ -1547,7 +1547,7 @@ public static bool AddToWhitelist(string userId, bool isPermanent) /// /// Adds a player's UserId to the list of reserved slots. /// - /// Whether or not to add a player's UserId permanently. It will write a player's UserId to UserIDReservedSlots.txt file. + /// Whether to add a player's UserId permanently. It will write a player's UserId to UserIDReservedSlots.txt file. /// if the slot was successfully added, or if the provided UserId already has a reserved slot. /// public bool GiveReservedSlot(bool isPermanent) => AddReservedSlot(UserId, isPermanent); @@ -1555,7 +1555,7 @@ public static bool AddToWhitelist(string userId, bool isPermanent) /// /// Adds a player's UserId to the whitelist. /// - /// Whether or not to add a player's UserId permanently. It will write a player's UserId to UserIDWhitelist.txt file. + /// Whether to add a player's UserId permanently. It will write a player's UserId to UserIDWhitelist.txt file. /// if the record was successfully added, or if the provided UserId already is in whitelist. /// public bool GrantWhitelist(bool isPermanent) => AddToWhitelist(UserId, isPermanent); @@ -1584,7 +1584,7 @@ public void SetFriendlyFire(RoleTypeId roleToAdd, float ffMult) /// /// Role to add. /// Friendly fire multiplier. - /// Whether or not the item was able to be added. + /// Whether the item was able to be added. public bool TryAddFriendlyFire(RoleTypeId roleToAdd, float ffMult) { if (FriendlyFireMultiplier.ContainsKey(roleToAdd)) @@ -1598,15 +1598,15 @@ public bool TryAddFriendlyFire(RoleTypeId roleToAdd, float ffMult) /// Tries to add to FriendlyFire rules. /// /// Role FF multiplier to add. - /// Whether or not the item was able to be added. + /// Whether the item was able to be added. public bool TryAddFriendlyFire(KeyValuePair pairedRoleFF) => TryAddFriendlyFire(pairedRoleFF.Key, pairedRoleFF.Value); /// /// Tries to add to FriendlyFire rules. /// /// Roles to add with friendly fire values. - /// Whether or not to overwrite current values if they exist. - /// Whether or not the item was able to be added. + /// Whether to overwrite current values if they exist. + /// Whether the item was able to be added. public bool TryAddFriendlyFire(Dictionary ffRules, bool overwrite = false) { Dictionary temporaryFriendlyFireRules = DictionaryPool.Pool.Get(); @@ -1670,7 +1670,7 @@ public void SetCustomRoleFriendlyFire(string roleTypeId, RoleTypeId roleToAdd, f /// /// Role associated for CustomFF. /// Role to add and FF multiplier. - /// Whether or not the item was able to be added. + /// Whether the item was able to be added. public bool TryAddCustomRoleFriendlyFire(string roleTypeId, KeyValuePair roleFf) => TryAddCustomRoleFriendlyFire(roleTypeId, roleFf.Key, roleFf.Value); /// @@ -1679,7 +1679,7 @@ public void SetCustomRoleFriendlyFire(string roleTypeId, RoleTypeId roleToAdd, f /// Role associated for CustomFF. /// Role to add. /// Friendly fire multiplier. - /// Whether or not the item was able to be added. + /// Whether the item was able to be added. public bool TryAddCustomRoleFriendlyFire(string roleTypeId, RoleTypeId roleToAdd, float ffMult) { if (CustomRoleFriendlyFireMultiplier.TryGetValue(roleTypeId, out Dictionary currentPairedData)) @@ -1703,7 +1703,7 @@ public bool TryAddCustomRoleFriendlyFire(string roleTypeId, RoleTypeId roleToAdd /// Role associated for CustomFF. /// Roles to add with friendly fire values. /// Whether to overwrite current values if they exist - does NOT delete previous entries if they are not in provided rules. - /// Whether or not the item was able to be added. + /// Whether the item was able to be added. public bool TryAddCustomRoleFriendlyFire(string customRoleName, Dictionary ffRules, bool overwrite = false) { Dictionary temporaryFriendlyFireRules = DictionaryPool.Pool.Get(); @@ -1770,14 +1770,14 @@ public void TrySetCustomRoleFriendlyFire(string roleTypeId, Dictionary from FriendlyFire rules. /// /// Role to add. - /// Whether or not the item was able to be added. + /// Whether the item was able to be added. public bool TryRemoveFriendlyFire(RoleTypeId role) => FriendlyFireMultiplier.Remove(role); /// /// Tries to remove from FriendlyFire rules. /// /// Role to add. - /// Whether or not the item was able to be added. + /// Whether the item was able to be added. public bool TryRemoveCustomeRoleFriendlyFire(string role) => CustomRoleFriendlyFireMultiplier.Remove(role); /// @@ -1918,14 +1918,14 @@ public Pickup DropHeldItem() } /// - /// Indicates whether or not the player has an item. + /// Indicates whether the player has an item. /// /// The item to search for. /// , if the player has it; otherwise, . public bool HasItem(Item item) => Items.Contains(item); /// - /// Indicates whether or not the player has an item type. + /// Indicates whether the player has an item type. /// /// The type to search for. /// , if the player has it; otherwise, . @@ -1965,8 +1965,8 @@ public Pickup DropHeldItem() /// Removes an from the player's inventory. /// /// The to remove. - /// Whether or not to destroy the item. - /// A value indicating whether or not the was removed. + /// Whether to destroy the item. + /// A value indicating whether the was removed. public bool RemoveItem(Item item, bool destroy = true) { if (!ItemsValue.Contains(item)) @@ -2007,8 +2007,8 @@ public bool RemoveItem(Item item, bool destroy = true) /// Removes an from the player's inventory. /// /// The serial to remove. - /// Whether or not to destroy the item. - /// A value indicating whether or not the was removed. + /// Whether to destroy the item. + /// A value indicating whether the was removed. public bool RemoveItem(ushort serial, bool destroy = true) { if (Items.SingleOrDefault(item => item.Serial == serial) is not Item item) @@ -2020,7 +2020,7 @@ public bool RemoveItem(ushort serial, bool destroy = true) /// Removes all 's that satisfy the condition from the player's inventory. /// /// The condition to satisfy. - /// Whether or not to destroy the items. + /// Whether to destroy the items. /// Count of a successfully removed 's. public int RemoveItem(Func predicate, bool destroy = true) { @@ -2040,8 +2040,8 @@ public int RemoveItem(Func predicate, bool destroy = true) /// /// Removes the held from the player's inventory. /// - /// Whether or not to destroy the item. - /// Returns a value indicating whether or not the was removed. + /// Whether to destroy the item. + /// Returns a value indicating whether the was removed. public bool RemoveHeldItem(bool destroy = true) => RemoveItem(CurrentItem, destroy); /// @@ -2185,7 +2185,7 @@ public void Hurt(float damage, string damageReason, string cassieAnnouncement = /// Heals the player. /// /// The amount of health to heal. - /// Whether or not healing should exceed their max health. + /// Whether healing should exceed their max health. public void Heal(float amount, bool overrideMaxHealth = false) { if (!overrideMaxHealth) @@ -2294,13 +2294,13 @@ public void Ban(int duration, string reason, Player issuer = null) /// /// Persistently mutes the player. For temporary mutes, see and . /// - /// Whether or not this mute is for the intercom only. + /// Whether this mute is for the intercom only. public void Mute(bool isIntercom = false) => VoiceChatMutes.IssueLocalMute(UserId, isIntercom); /// /// Revokes a persistent mute. For temporary mutes, see and . /// - /// Whether or not this un-mute is for the intercom only. + /// Whether this un-mute is for the intercom only. public void UnMute(bool isIntercom = false) => VoiceChatMutes.RevokeLocalMute(UserId, isIntercom); /// @@ -2322,7 +2322,7 @@ public IEnumerator BlinkTag() /// Sends a message to the player's Remote Admin console. /// /// The message to be sent. - /// Indicates whether or not the message should be highlighted as success. + /// Indicates whether the message should be highlighted as success. /// The plugin name. public void RemoteAdminMessage(string message, bool success = true, string pluginName = null) { @@ -2333,7 +2333,7 @@ public void RemoteAdminMessage(string message, bool success = true, string plugi /// Sends a message to the player's Remote Admin Chat. /// /// The message to be sent. - /// Indicates whether or not the message should be highlighted as success. + /// Indicates whether the message should be highlighted as success. /// if message was send; otherwise, . public bool SendStaffMessage(string message, EncryptedChannelManager.EncryptedChannel channel = EncryptedChannelManager.EncryptedChannel.AdminChat) { @@ -2344,7 +2344,7 @@ public bool SendStaffMessage(string message, EncryptedChannelManager.EncryptedCh /// Sends a message to the player's Remote Admin Chat. /// /// The message to be sent. - /// Indicates whether or not the message should be highlighted as success. + /// Indicates whether the message should be highlighted as success. /// if message was send; otherwise, . public bool SendStaffPing(string message, EncryptedChannelManager.EncryptedChannel channel = EncryptedChannelManager.EncryptedChannel.AdminChat) { @@ -2440,7 +2440,7 @@ public void SetAmmo(Dictionary ammoBag) /// /// The that will be dropped. /// The amount of ammo that will be dropped. - /// Whether or not ammo limits will be taken into consideration. + /// Whether ammo limits will be taken into consideration. /// if ammo was dropped; otherwise, . public bool DropAmmo(AmmoType ammoType, ushort amount, bool checkMinimals = false) => Inventory.ServerDropAmmo(ammoType.GetItemType(), amount, checkMinimals).Any(); @@ -2998,7 +2998,7 @@ public void ResetInventory(IEnumerable newItems) /// /// Clears the player's inventory, including all ammo and items. /// - /// Whether or not to fully destroy the old items. + /// Whether to fully destroy the old items. /// /// /// @@ -3011,7 +3011,7 @@ public void ClearInventory(bool destroy = true) /// /// Clears the player's items. /// - /// Whether or not to fully destroy the old items. + /// Whether to fully destroy the old items. /// /// /// @@ -3136,10 +3136,10 @@ public T GetModule() => ReferenceHub.playerStats.GetModule(); /// - /// Gets a describing whether or not the given status effect is currently enabled. + /// Gets a describing whether the given status effect is currently enabled. /// /// The to check. - /// A determining whether or not the player effect is active. + /// A determining whether the player effect is active. public bool IsEffectActive() where T : StatusEffectBase { @@ -3209,7 +3209,7 @@ public void DisableEffects(IEnumerable effects) /// The to enable. /// The amount of time the effect will be active for. /// If the effect is already active, setting to will add this duration onto the effect. - /// A bool indicating whether or not the effect was valid and successfully enabled. + /// A bool indicating whether the effect was valid and successfully enabled. public bool EnableEffect(float duration = 0f, bool addDurationIfActive = false) where T : StatusEffectBase => EnableEffect(1, duration, addDurationIfActive); @@ -3220,7 +3220,7 @@ public bool EnableEffect(float duration = 0f, bool addDurationIfActive = fals /// The intensity of the effect will be active for. /// The amount of time the effect will be active for. /// If the effect is already active, setting to will add this duration onto the effect. - /// A bool indicating whether or not the effect was valid and successfully enabled. + /// A bool indicating whether the effect was valid and successfully enabled. public bool EnableEffect(byte intensity, float duration = 0f, bool addDurationIfActive = false) where T : StatusEffectBase => ReferenceHub.playerEffectsController.ChangeState(intensity, duration, addDurationIfActive); @@ -3230,7 +3230,7 @@ public bool EnableEffect(byte intensity, float duration = 0f, bool addDuratio /// The name of the to enable. /// The amount of time the effect will be active for. /// If the effect is already active, setting to will add this duration onto the effect. - /// A bool indicating whether or not the effect was valid and successfully enabled. + /// A bool indicating whether the effect was valid and successfully enabled. public bool EnableEffect(StatusEffectBase statusEffect, float duration = 0f, bool addDurationIfActive = false) => EnableEffect(statusEffect, 1, duration, addDurationIfActive); @@ -3241,7 +3241,7 @@ public bool EnableEffect(StatusEffectBase statusEffect, float duration = 0f, boo /// The intensity of the effect will be active for. /// The amount of time the effect will be active for. /// If the effect is already active, setting to will add this duration onto the effect. - /// A bool indicating whether or not the effect was valid and successfully enabled. + /// A bool indicating whether the effect was valid and successfully enabled. public bool EnableEffect(StatusEffectBase statusEffect, byte intensity, float duration = 0f, bool addDurationIfActive = false) { if (statusEffect is null) @@ -3402,7 +3402,7 @@ public StatusEffectBase GetEffect(EffectType effectType) /// /// The . /// The . - /// A bool indicating whether or not the was successfully gotten. + /// A bool indicating whether the was successfully gotten. public bool TryGetEffect(EffectType type, out StatusEffectBase statusEffect) { statusEffect = GetEffect(type); @@ -3415,7 +3415,7 @@ public bool TryGetEffect(EffectType type, out StatusEffectBase statusEffect) /// /// The . /// The to get. - /// A bool indicating whether or not the was successfully gotten. + /// A bool indicating whether the was successfully gotten. public bool TryGetEffect(out T statusEffect) where T : StatusEffectBase => ReferenceHub.playerEffectsController.TryGetEffect(out statusEffect); @@ -3490,7 +3490,7 @@ public void ChangeEffectIntensity(string effectName, byte intensity, float durat /// /// The . /// The . - /// A bool indicating whether or not the was successfully gotten. + /// A bool indicating whether the was successfully gotten. public bool TryGetDanger(DangerType type, out DangerStackBase danger) => (danger = GetDanger(type)) is not null; /// @@ -3502,7 +3502,7 @@ public void ChangeEffectIntensity(string effectName, byte intensity, float durat /// /// Places a Tantrum (SCP-173's ability) under the player. /// - /// Whether or not the tantrum will apply the effect. + /// Whether the tantrum will apply the effect. /// If is , the tantrum is moved slightly up from its original position. Otherwise, the collision will not be detected and the slowness will not work. /// The instance.. public TantrumHazard PlaceTantrum(bool isActive = true) => TantrumHazard.PlaceTantrum(Position, isActive); @@ -3515,7 +3515,7 @@ public void ChangeEffectIntensity(string effectName, byte intensity, float durat /// How much value is lost per second. /// Percent of incoming damage absorbed by this stat. /// The number of seconds to delay the start of the decay. - /// Whether or not the process is removed when the value hits 0. + /// Whether the process is removed when the value hits 0. public void AddAhp(float amount, float limit = 75f, float decay = 1.2f, float efficacy = 0.7f, float sustain = 0f, bool persistant = false) { ReferenceHub.playerStats.GetModule() @@ -3527,7 +3527,7 @@ public void AddAhp(float amount, float limit = 75f, float decay = 1.2f, float ef /// /// New port. /// Player reconnection delay. - /// Whether or not player should be reconnected. + /// Whether player should be reconnected. /// Type of round restart. public void Reconnect(ushort newPort = 0, float delay = 5, bool reconnect = true, RoundRestartType roundRestartType = RoundRestartType.FullRestart) { diff --git a/EXILED/Exiled.API/Features/Ragdoll.cs b/EXILED/Exiled.API/Features/Ragdoll.cs index e1aefa56a..0adb6aa75 100644 --- a/EXILED/Exiled.API/Features/Ragdoll.cs +++ b/EXILED/Exiled.API/Features/Ragdoll.cs @@ -67,7 +67,7 @@ public static int FreezeTime } /// - /// Gets a value indicating whether or not the clean up event can be executed. + /// Gets a value indicating whether the clean-up event can be executed. /// public bool AllowCleanUp => NetworkInfo.ExistenceTime < FreezeTime; @@ -115,12 +115,12 @@ public DamageHandlerBase DamageHandler public DeathAnimation[] DeathAnimations => Base.AllDeathAnimations; /// - /// Gets a value indicating whether or not the ragdoll has been already cleaned up. + /// Gets a value indicating whether the ragdoll has been already cleaned up. /// public bool IsFrozen => Base._frozen; /// - /// Gets or sets a value indicating whether or not the ragdoll can be cleaned up. + /// Gets or sets a value indicating whether the ragdoll can be cleaned up. /// public bool CanBeCleanedUp { @@ -185,13 +185,13 @@ public RoleTypeId Role } /// - /// Gets a value indicating whether or not the ragdoll has expired and SCP-049 is unable to revive it if was not being targets. + /// Gets a value indicating whether the ragdoll has expired and SCP-049 is unable to revive it if was not being targets. /// /// public bool IsExpired => NetworkInfo.ExistenceTime > PlayerRoles.PlayableScps.Scp049.Scp049ResurrectAbility.HumanCorpseDuration; /// - /// Gets or sets a value indicating whether or not this ragdoll has been consumed by an SCP-049-2. + /// Gets or sets a value indicating whether this ragdoll has been consumed by an SCP-049-2. /// public bool IsConsumed { diff --git a/EXILED/Exiled.API/Features/Respawn.cs b/EXILED/Exiled.API/Features/Respawn.cs index 3367de9c3..d205c62ca 100644 --- a/EXILED/Exiled.API/Features/Respawn.cs +++ b/EXILED/Exiled.API/Features/Respawn.cs @@ -82,7 +82,7 @@ public static float TimeUntilNextPhase public static DateTime NextTeamTime => DateTime.UtcNow.AddSeconds(TimeUntilSpawnWave.TotalSeconds); /// - /// Gets a value indicating whether or not a team is currently being spawned or the animations are playing for a team. + /// Gets a value indicating whether a team is currently being spawned or the animations are playing for a team. /// public static bool IsSpawning => RespawnManager.Singleton._curSequence is RespawnManager.RespawnSequencePhase.PlayingEntryAnimations or RespawnManager.RespawnSequencePhase.SpawningSelectedTeam; @@ -107,7 +107,7 @@ public static float NtfTickets } /// - /// Gets or sets a value indicating whether or not spawn protection is enabled. + /// Gets or sets a value indicating whether spawn protection is enabled. /// public static bool ProtectionEnabled { @@ -125,7 +125,7 @@ public static float ProtectionTime } /// - /// Gets or sets a value indicating whether or not spawn protected players can shoot. + /// Gets or sets a value indicating whether spawn protected players can shoot. /// public static bool ProtectedCanShoot { @@ -174,7 +174,7 @@ public static void PlayEffects(byte[] effects) /// /// Summons the van. /// - /// Whether or not to play the Chaos Insurgency spawn music. + /// Whether to play the Chaos Insurgency spawn music. public static void SummonChaosInsurgencyVan(bool playMusic = true) { PlayEffects( @@ -215,7 +215,7 @@ public static void SummonChaosInsurgencyVan(bool playMusic = true) /// Forces a spawn of the given . /// /// The to spawn. - /// Whether or not effects will be played with the spawn. + /// Whether effects will be played with the spawn. public static void ForceWave(SpawnableTeamType team, bool playEffects = false) { if (playEffects) diff --git a/EXILED/Exiled.API/Features/Roles/FpcRole.cs b/EXILED/Exiled.API/Features/Roles/FpcRole.cs index 4fe6151bd..e80a0c425 100644 --- a/EXILED/Exiled.API/Features/Roles/FpcRole.cs +++ b/EXILED/Exiled.API/Features/Roles/FpcRole.cs @@ -145,17 +145,17 @@ public bool MovementDetected } /// - /// Gets a value indicating whether or not the player can send inputs. + /// Gets a value indicating whether the player can send inputs. /// public bool CanSendInputs => FirstPersonController.FpcModule.LockMovement; /// - /// Gets or sets a value indicating whether or not the player is invisible. + /// Gets or sets a value indicating whether the player is invisible. /// public bool IsInvisible { get; set; } /// - /// Gets or sets a value indicating whether or not the player should use stamina system. Resets on death. + /// Gets or sets a value indicating whether the player should use stamina system. Resets on death. /// public bool IsUsingStamina { @@ -193,12 +193,12 @@ public PlayerMovementState MoveState } /// - /// Gets a value indicating whether the is crouching or not. + /// Gets a value indicating whether the is crouching. /// public bool IsCrouching => FirstPersonController.FpcModule.StateProcessor.CrouchPercent > 0; /// - /// Gets a value indicating whether or not the player is on the ground. + /// Gets a value indicating whether the player is on the ground. /// public bool IsGrounded => FirstPersonController.FpcModule.IsGrounded; @@ -208,7 +208,7 @@ public PlayerMovementState MoveState public virtual float MovementSpeed => FirstPersonController.FpcModule.VelocityForState(MoveState, IsCrouching); /// - /// Gets a value indicating whether or not the is in darkness. + /// Gets a value indicating whether the is in darkness. /// public bool IsInDarkness => FirstPersonController.InDarkness; @@ -223,17 +223,17 @@ public PlayerMovementState MoveState public float HorizontalRotation => FirstPersonController.HorizontalRotation; /// - /// Gets a value indicating whether or not the is AFK. + /// Gets a value indicating whether the is AFK. /// public bool IsAfk => FirstPersonController.IsAFK; /// - /// Gets a value indicating whether or not this role is protected by a hume shield. + /// Gets a value indicating whether this role is protected by a hume shield. /// public bool IsHumeShieldedRole => this is IHumeShieldRole; /// - /// Gets or sets a value indicating whether or not the player has noclip enabled. + /// Gets or sets a value indicating whether the player has noclip enabled. /// /// indicating status. /// For permitting a player to enter and exit noclip freely, see . diff --git a/EXILED/Exiled.API/Features/Roles/Role.cs b/EXILED/Exiled.API/Features/Roles/Role.cs index bc9f94d20..1532a8125 100644 --- a/EXILED/Exiled.API/Features/Roles/Role.cs +++ b/EXILED/Exiled.API/Features/Roles/Role.cs @@ -99,17 +99,17 @@ protected Role(PlayerRoleBase baseRole) public TimeSpan ActiveTime => TimeSpan.FromSeconds(Base.ActiveTime); /// - /// Gets a value indicating whether or not this role represents a dead role. + /// Gets a value indicating whether this role represents a dead role. /// public bool IsDead => Team is Team.Dead; /// - /// Gets a value indicating whether or not this role represents a living role. + /// Gets a value indicating whether this role represents a living role. /// public bool IsAlive => !IsDead; /// - /// Gets a value indicating whether or not this role is still valid. This will only ever be if the Role is stored and accessed at a later date. + /// Gets a value indicating whether this role is still valid. This will only ever be if the Role is stored and accessed at a later date. /// public bool IsValid => Owner != null && Owner.IsConnected && Base == Owner.RoleManager.CurrentRole; @@ -126,7 +126,7 @@ protected Role(PlayerRoleBase baseRole) public static implicit operator RoleTypeId(Role role) => role?.Type ?? RoleTypeId.None; /// - /// Returns whether or not 2 roles are the same. + /// Returns whether 2 roles are the same. /// /// The role. /// The other role. @@ -134,7 +134,7 @@ protected Role(PlayerRoleBase baseRole) public static bool operator ==(Role left, Role right) => left?.Equals(right) ?? right is null; /// - /// Returns whether or not the two roles are different. + /// Returns whether the two roles are different. /// /// The role. /// The other role. @@ -142,7 +142,7 @@ protected Role(PlayerRoleBase baseRole) public static bool operator !=(Role left, Role right) => !(left == right); /// - /// Returns whether or not the role has the same RoleTypeId as the given . + /// Returns whether the role has the same RoleTypeId as the given . /// /// The . /// The . @@ -150,7 +150,7 @@ protected Role(PlayerRoleBase baseRole) public static bool operator ==(Role role, RoleTypeId typeId) => role?.Type == typeId; /// - /// Returns whether or not the role has a different RoleTypeId as the given . + /// Returns whether the role has a different RoleTypeId as the given . /// /// The . /// The . @@ -158,7 +158,7 @@ protected Role(PlayerRoleBase baseRole) public static bool operator !=(Role role, RoleTypeId typeId) => !(role == typeId); /// - /// Returns whether or not the role has the same RoleTypeId as the given . + /// Returns whether the role has the same RoleTypeId as the given . /// /// The . /// The . @@ -166,7 +166,7 @@ protected Role(PlayerRoleBase baseRole) public static bool operator ==(RoleTypeId type, Role role) => role == type; /// - /// Returns whether or not the role has a different RoleTypeId as the given . + /// Returns whether the role has a different RoleTypeId as the given . /// /// The . /// The . diff --git a/EXILED/Exiled.API/Features/Roles/Scp0492Role.cs b/EXILED/Exiled.API/Features/Roles/Scp0492Role.cs index f2196a0a7..6db3bca79 100644 --- a/EXILED/Exiled.API/Features/Roles/Scp0492Role.cs +++ b/EXILED/Exiled.API/Features/Roles/Scp0492Role.cs @@ -93,12 +93,12 @@ public float SimulatedStare } /// - /// Gets a value indicating whether or not SCP-049-2 is currently pursuing a target (Bloodlust ability). + /// Gets a value indicating whether SCP-049-2 is currently pursuing a target (Bloodlust ability). /// public bool BloodlustActive => BloodlustAbility.LookingAtTarget; /// - /// Gets a value indicating whether or not SCP-049-2 is consuming a ragdoll. + /// Gets a value indicating whether SCP-049-2 is consuming a ragdoll. /// public bool IsConsuming => ConsumeAbility.IsInProgress; @@ -113,17 +113,17 @@ public float SimulatedStare public float AttackCooldown => AttackAbility.BaseCooldown; /// - /// Returns a indicating whether or not SCP-049-2 is close enough to a ragdoll to consume it. + /// Returns a indicating whether SCP-049-2 is close enough to a ragdoll to consume it. /// - /// This method only returns whether or not SCP-049-2 is close enough to the body to consume it; the body may have been consumed previously. Make sure to check to ensure the body can be consumed. + /// This method only returns whether SCP-049-2 is close enough to the body to consume it; the body may have been consumed previously. Make sure to check to ensure the body can be consumed. /// The ragdoll to check. /// if close enough to consume the body; otherwise, . public bool IsInConsumeRange(BasicRagdoll ragdoll) => ragdoll != null && ConsumeAbility.IsCloseEnough(Owner.Position, ragdoll.transform.position); /// - /// Returns a indicating whether or not SCP-049-2 is close enough to a ragdoll to consume it. + /// Returns a indicating whether SCP-049-2 is close enough to a ragdoll to consume it. /// - /// This method only returns whether or not SCP-049-2 is close enough to the body to consume it; the body may have been consumed previously. Make sure to check to ensure the body can be consumed. + /// This method only returns whether SCP-049-2 is close enough to the body to consume it; the body may have been consumed previously. Make sure to check to ensure the body can be consumed. /// The ragdoll to check. /// if close enough to consume the body; otherwise, . public bool IsInConsumeRange(Ragdoll ragdoll) => ragdoll is not null && IsInConsumeRange(ragdoll.Base); diff --git a/EXILED/Exiled.API/Features/Roles/Scp049Role.cs b/EXILED/Exiled.API/Features/Roles/Scp049Role.cs index 2e1384e6e..b770a84d9 100644 --- a/EXILED/Exiled.API/Features/Roles/Scp049Role.cs +++ b/EXILED/Exiled.API/Features/Roles/Scp049Role.cs @@ -94,12 +94,12 @@ internal Scp049Role(Scp049GameRole baseRole) public Scp049SenseAbility SenseAbility { get; } /// - /// Gets a value indicating whether or not SCP-049 is currently reviving a player. + /// Gets a value indicating whether SCP-049 is currently reviving a player. /// public bool IsRecalling => ResurrectAbility.IsInProgress; /// - /// Gets a value indicating whether or not SCP-049's "Doctor's Call" ability is currently active. + /// Gets a value indicating whether SCP-049's "Doctor's Call" ability is currently active. /// public bool IsCallActive => CallAbility.IsMarkerShown; @@ -351,31 +351,31 @@ public void Sense(Player player) public int GetResurrectionCount(Player player) => player is not null ? Scp049ResurrectAbility.GetResurrectionsNumber(player.ReferenceHub) : 0; /// - /// Returns a indicating whether or not the ragdoll can be resurrected by SCP-049. + /// Returns a indicating whether the ragdoll can be resurrected by SCP-049. /// /// The ragdoll to check. /// if the body can be revived; otherwise, . public bool CanResurrect(BasicRagdoll ragdoll) => ragdoll != null && ResurrectAbility.CheckRagdoll(ragdoll); /// - /// Returns a indicating whether or not the ragdoll can be resurrected by SCP-049. + /// Returns a indicating whether the ragdoll can be resurrected by SCP-049. /// /// The ragdoll to check. /// if the body can be revived; otherwise, . public bool CanResurrect(Ragdoll ragdoll) => ragdoll is not null && ResurrectAbility.CheckRagdoll(ragdoll.Base); /// - /// Returns a indicating whether or not SCP-049 is close enough to a ragdoll to revive it. + /// Returns a indicating whether SCP-049 is close enough to a ragdoll to revive it. /// - /// This method only returns whether or not SCP-049 is close enough to the body to revive it; the body may have expired. Make sure to check to ensure the body can be revived. + /// This method only returns whether SCP-049 is close enough to the body to revive it; the body may have expired. Make sure to check to ensure the body can be revived. /// The ragdoll to check. /// if close enough to revive the body; otherwise, . public bool IsInRecallRange(BasicRagdoll ragdoll) => ragdoll != null && ResurrectAbility.IsCloseEnough(Owner.Position, ragdoll.transform.position); /// - /// Returns a indicating whether or not SCP-049 is close enough to a ragdoll to revive it. + /// Returns a indicating whether SCP-049 is close enough to a ragdoll to revive it. /// - /// This method only returns whether or not SCP-049 is close enough to the body to revive it; the body may have expired. Make sure to check to ensure the body can be revived. + /// This method only returns whether SCP-049 is close enough to the body to revive it; the body may have expired. Make sure to check to ensure the body can be revived. /// The ragdoll to check. /// if close enough to revive the body; otherwise, . public bool IsInRecallRange(Ragdoll ragdoll) => ragdoll is not null && IsInRecallRange(ragdoll.Base); diff --git a/EXILED/Exiled.API/Features/Roles/Scp079Role.cs b/EXILED/Exiled.API/Features/Roles/Scp079Role.cs index 05334e308..7fb60b68c 100644 --- a/EXILED/Exiled.API/Features/Roles/Scp079Role.cs +++ b/EXILED/Exiled.API/Features/Roles/Scp079Role.cs @@ -217,7 +217,7 @@ public Camera Camera } /// - /// Gets a value indicating whether or not SCP-079 can transmit its voice to a speaker. + /// Gets a value indicating whether SCP-079 can transmit its voice to a speaker. /// public bool CanTransmit => SpeakerAbility.CanTransmit; @@ -361,7 +361,7 @@ public float Scp2176LostTime public float RollRotation => Base.RollRotation; /// - /// Gets a value indicating whether or not SCP-079's signal is lost due to SCP-2176. + /// Gets a value indicating whether SCP-079's signal is lost due to SCP-2176. /// public bool IsLost => LostSignalHandler.Lost; diff --git a/EXILED/Exiled.API/Features/Roles/Scp096Role.cs b/EXILED/Exiled.API/Features/Roles/Scp096Role.cs index f30342b17..8b610f4e2 100644 --- a/EXILED/Exiled.API/Features/Roles/Scp096Role.cs +++ b/EXILED/Exiled.API/Features/Roles/Scp096Role.cs @@ -120,12 +120,12 @@ internal Scp096Role(Scp096GameRole baseRole) public Scp096RageState RageState => Base.StateController.RageState; /// - /// Gets a value indicating whether or not SCP-096 can receive targets. + /// Gets a value indicating whether SCP-096 can receive targets. /// public bool CanReceiveTargets => RageCycleAbility._targetsTracker.CanReceiveTargets; /// - /// Gets a value indicating whether or not SCP-096 can attack. + /// Gets a value indicating whether SCP-096 can attack. /// public bool AttackPossible => AttackAbility.AttackPossible; @@ -244,21 +244,21 @@ public bool TryNotToCryActive /// /// Ends SCP-096's enrage cycle. /// - /// Whether or not to clear the remaining enrage time. + /// Whether to clear the remaining enrage time. public void Calm(bool clearTime = true) => RageManager.ServerEndEnrage(clearTime); /// - /// Returns whether or not the provided is a target of SCP-096. + /// Returns whether the provided is a target of SCP-096. /// /// The player to check. - /// Whether or not the player is a target of SCP-096. + /// Whether the player is a target of SCP-096. public bool HasTarget(Player player) => player is not null && TargetsTracker.HasTarget(player.ReferenceHub); /// - /// Returns whether or not the provided is observed by SCP-096. + /// Returns whether the provided is observed by SCP-096. /// /// The player to check. - /// Whether or not the player is observed. + /// Whether the player is observed. public bool IsObserved(Player player) => player is not null && TargetsTracker.IsObservedBy(player.ReferenceHub); /// diff --git a/EXILED/Exiled.API/Features/Roles/Scp106Role.cs b/EXILED/Exiled.API/Features/Roles/Scp106Role.cs index 9480a37bc..2b9b43a5b 100644 --- a/EXILED/Exiled.API/Features/Roles/Scp106Role.cs +++ b/EXILED/Exiled.API/Features/Roles/Scp106Role.cs @@ -121,7 +121,7 @@ public float Vigor } /// - /// Gets or sets a value indicating whether or not SCP-106 is currently submerged. + /// Gets or sets a value indicating whether SCP-106 is currently submerged. /// public bool IsSubmerged { @@ -130,7 +130,7 @@ public bool IsSubmerged } /// - /// Gets a value indicating whether or not SCP-106 can activate teslas. + /// Gets a value indicating whether SCP-106 can activate teslas. /// public bool CanActivateTesla => Base.CanActivateShock; @@ -140,7 +140,7 @@ public bool IsSubmerged public bool CanStopStalk => StalkAbility.CanBeCleared; /// - /// Gets a value indicating whether or not SCP-106 is currently slow down by a door. + /// Gets a value indicating whether SCP-106 is currently slow down by a door. /// public bool IsSlowdown => MovementModule._slowndownTarget is < 1; @@ -155,12 +155,12 @@ public bool IsSubmerged public float SinkholeNormalizedState => SinkholeController.NormalizedState; /// - /// Gets a value indicating whether or not SCP-106 is currently in the middle of an animation. + /// Gets a value indicating whether SCP-106 is currently in the middle of an animation. /// public bool IsDuringAnimation => SinkholeController.IsDuringAnimation; /// - /// Gets a value indicating whether or not SCP-106 sinkhole is hidden. + /// Gets a value indicating whether SCP-106 sinkhole is hidden. /// public bool IsSinkholeHidden => SinkholeController.IsHidden; @@ -263,7 +263,7 @@ public float RemainingSinkholeCooldown } /// - /// Gets or sets a value indicating whether or not SCP-106 will enter his stalking mode. + /// Gets or sets a value indicating whether SCP-106 will enter his stalking mode. /// public bool IsStalking { diff --git a/EXILED/Exiled.API/Features/Roles/Scp173Role.cs b/EXILED/Exiled.API/Features/Roles/Scp173Role.cs index 3a5f625ca..8bb7c65e1 100644 --- a/EXILED/Exiled.API/Features/Roles/Scp173Role.cs +++ b/EXILED/Exiled.API/Features/Roles/Scp173Role.cs @@ -145,7 +145,7 @@ public float RemainingTantrumCooldown } /// - /// Gets a value indicating whether or not SCP-173 is currently being viewed by one or more players. + /// Gets a value indicating whether SCP-173 is currently being viewed by one or more players. /// public bool IsObserved => ObserversTracker.IsObserved; @@ -174,7 +174,7 @@ public float SimulatedStare } /// - /// Gets or sets a value indicating whether or not SCP-173 is able to blink. + /// Gets or sets a value indicating whether SCP-173 is able to blink. /// public bool BlinkReady { @@ -217,7 +217,7 @@ public float BlinkCooldown public float BlinkDistance => TeleportAbility.EffectiveBlinkDistance; /// - /// Gets or sets a value indicating whether or not SCP-173's breakneck speed is active. + /// Gets or sets a value indicating whether SCP-173's breakneck speed is active. /// public bool BreakneckActive { @@ -233,7 +233,7 @@ public bool BreakneckActive /// /// Places a Tantrum (SCP-173's ability) under the player. /// - /// Whether or not to place the tantrum if SCP-173 is currently being viewed. + /// Whether to place the tantrum if SCP-173 is currently being viewed. /// The cooldown until SCP-173 can place a tantrum again. Set to 0 to not affect the cooldown. /// The instance, or if it cannot be placed. public TantrumHazard PlaceTantrum(bool failIfObserved = false, float cooldown = 0) diff --git a/EXILED/Exiled.API/Features/Roles/Scp939Role.cs b/EXILED/Exiled.API/Features/Roles/Scp939Role.cs index ec404f349..f07778216 100644 --- a/EXILED/Exiled.API/Features/Roles/Scp939Role.cs +++ b/EXILED/Exiled.API/Features/Roles/Scp939Role.cs @@ -158,12 +158,12 @@ public float AttackCooldown } /// - /// Gets a value indicating whether or not SCP-939 is currently using its focus ability. + /// Gets a value indicating whether SCP-939 is currently using its focus ability. /// public bool IsFocused => FocusAbility.TargetState; /// - /// Gets a value indicating whether or not SCP-939 is currently lunging. + /// Gets a value indicating whether SCP-939 is currently lunging. /// public bool IsLunging => LungeAbility.State is not Scp939LungeState.None; @@ -217,7 +217,7 @@ public float MimicryCooldown public int SavedVoices => MimicryRecorder.SavedVoices.Count; /// - /// Gets a value indicating whether or not SCP-939 has a placed mimic point. + /// Gets a value indicating whether SCP-939 has a placed mimic point. /// public bool MimicryPointActive => MimicPointController.Active; diff --git a/EXILED/Exiled.API/Features/Roles/SpectatorRole.cs b/EXILED/Exiled.API/Features/Roles/SpectatorRole.cs index 3bb2f052f..d4cb05c27 100644 --- a/EXILED/Exiled.API/Features/Roles/SpectatorRole.cs +++ b/EXILED/Exiled.API/Features/Roles/SpectatorRole.cs @@ -49,7 +49,7 @@ internal SpectatorRole(SpectatorGameRole baseRole) public Vector3 DeathPosition => Base.DeathPosition.Position; /// - /// Gets a value indicating whether the is ready to respawn or not. + /// Gets a value indicating whether the is ready to respawn. /// public bool IsReadyToRespawn => Base.ReadyToRespawn; diff --git a/EXILED/Exiled.API/Features/Room.cs b/EXILED/Exiled.API/Features/Room.cs index 4ca8bc4d3..15270ce56 100644 --- a/EXILED/Exiled.API/Features/Room.cs +++ b/EXILED/Exiled.API/Features/Room.cs @@ -156,7 +156,7 @@ public Color Color } /// - /// Gets or sets a value indicating whether or not the lights in this room are currently off. + /// Gets or sets a value indicating whether the lights in this room are currently off. /// public bool AreLightsOff { diff --git a/EXILED/Exiled.API/Features/Round.cs b/EXILED/Exiled.API/Features/Round.cs index fb06a1b86..7f0e6a0c2 100644 --- a/EXILED/Exiled.API/Features/Round.cs +++ b/EXILED/Exiled.API/Features/Round.cs @@ -42,22 +42,22 @@ public static class Round public static DateTime StartedTime => DateTime.Now - ElapsedTime; /// - /// Gets a value indicating whether the round is started or not. + /// Gets a value indicating whether the round is started. /// public static bool IsStarted => ReferenceHub.LocalHub?.characterClassManager.RoundStarted ?? false; /// - /// Gets a value indicating whether the round in progress or not. + /// Gets a value indicating whether the round in progress. /// public static bool InProgress => ReferenceHub.LocalHub != null && RoundSummary.RoundInProgress(); /// - /// Gets a value indicating whether the round is ended or not. + /// Gets a value indicating whether the round is ended. /// public static bool IsEnded => RoundSummary.singleton._roundEnded; /// - /// Gets a value indicating whether the round is lobby or not. + /// Gets a value indicating whether the round is lobby. /// public static bool IsLobby => !(IsEnded || IsStarted); @@ -77,7 +77,7 @@ public static int ChaosTargetCount } /// - /// Gets or sets a value indicating whether the round is locked or not. + /// Gets or sets a value indicating whether the round is locked. /// public static bool IsLocked { @@ -86,7 +86,7 @@ public static bool IsLocked } /// - /// Gets or sets a value indicating whether the lobby is locked or not. + /// Gets or sets a value indicating whether the lobby is locked. /// public static bool IsLobbyLocked { @@ -194,7 +194,7 @@ public static IEnumerable AliveSides /// Restarts the round with custom settings. /// /// - /// Indicates whether or not it'll be a fast restart. + /// Indicates whether it'll be a fast restart. /// If it's a fast restart, then players won't be reconnected from /// the server; otherwise, they will. /// @@ -234,9 +234,9 @@ public static void Restart(bool fastRestart = true, bool overrideRestartAction = /// Forces the round to end, regardless of which factions are alive. /// /// - /// Indicates whether or not it'll force the restart with no check if it's locked. + /// Indicates whether it'll force the restart with no check if it's locked. /// - /// A describing whether or not the round was successfully ended. + /// A describing whether the round was successfully ended. public static bool EndRound(bool forceEnd = false) { if (RoundSummary.singleton.KeepRoundOnOne && Player.Dictionary.Count < 2 && !forceEnd) diff --git a/EXILED/Exiled.API/Features/Scp3114Ragdoll.cs b/EXILED/Exiled.API/Features/Scp3114Ragdoll.cs index 494ec7cdc..71e14d5f5 100644 --- a/EXILED/Exiled.API/Features/Scp3114Ragdoll.cs +++ b/EXILED/Exiled.API/Features/Scp3114Ragdoll.cs @@ -67,7 +67,7 @@ public float RevealElapsed } /// - /// Gets or sets a value indicating whether or not this corpse will trigger animation. + /// Gets or sets a value indicating whether this corpse will trigger animation. /// public bool IsPlayingAnimation { diff --git a/EXILED/Exiled.API/Features/Server.cs b/EXILED/Exiled.API/Features/Server.cs index 5dea5ee84..ba2416538 100644 --- a/EXILED/Exiled.API/Features/Server.cs +++ b/EXILED/Exiled.API/Features/Server.cs @@ -74,12 +74,12 @@ public static string Name public static string Version => GameCore.Version.VersionString; /// - /// Gets a value indicating whether or not streaming of this version is allowed. + /// Gets a value indicating whether streaming of this version is allowed. /// public static bool StreamingAllowed => GameCore.Version.StreamingAllowed; /// - /// Gets a value indicating whether or not this server is on a beta version of SCP:SL. + /// Gets a value indicating whether this server is on a beta version of SCP:SL. /// public static bool IsBeta => GameCore.Version.PublicBeta || GameCore.Version.PrivateBeta; @@ -99,7 +99,7 @@ public static string Name public static string IpAddress => ServerConsole.Ip; /// - /// Gets a value indicating whether or not this server is a dedicated server. + /// Gets a value indicating whether this server is a dedicated server. /// public static bool IsDedicated => ServerStatic.IsDedicated; @@ -128,7 +128,7 @@ public static short MaxTps public static double Frametime => Math.Round(1f / Time.deltaTime); /// - /// Gets or sets a value indicating whether or not friendly fire is enabled. + /// Gets or sets a value indicating whether friendly fire is enabled. /// /// public static bool FriendlyFire @@ -159,7 +159,7 @@ public static int MaxPlayerCount } /// - /// Gets a value indicating whether or not late join is enabled. + /// Gets a value indicating whether late join is enabled. /// public static bool LateJoinEnabled => LateJoinTime > 0; @@ -181,7 +181,7 @@ public static bool IsHeavilyModded } /// - /// Gets or sets a value indicating whether or not this server has the whitelist enabled. + /// Gets or sets a value indicating whether this server has the whitelist enabled. /// public static bool IsWhitelisted { @@ -195,12 +195,12 @@ public static bool IsWhitelisted public static HashSet WhitelistedPlayers => WhiteList.Users; /// - /// Gets a value indicating whether or not this server is verified. + /// Gets a value indicating whether this server is verified. /// public static bool IsVerified => CustomNetworkManager.IsVerified; /// - /// Gets or sets a value indicating whether or not idle mode is enabled. + /// Gets or sets a value indicating whether idle mode is enabled. /// public static bool IsIdleModeEnabled { diff --git a/EXILED/Exiled.API/Features/TeslaGate.cs b/EXILED/Exiled.API/Features/TeslaGate.cs index 4d7909592..979c8dba3 100644 --- a/EXILED/Exiled.API/Features/TeslaGate.cs +++ b/EXILED/Exiled.API/Features/TeslaGate.cs @@ -92,7 +92,7 @@ internal TeslaGate(BaseTeslaGate baseTeslaGate, Room room) public Room Room { get; } /// - /// Gets a value indicating whether or not the tesla gate's shock burst is in progess. + /// Gets a value indicating whether the tesla gate's shock burst is in progess. /// public bool IsShocking => Base.InProgress; @@ -166,7 +166,7 @@ public bool IsIdling } /// - /// Gets or sets a value indicating whether or not the tesla gate's next burst should be treated as instant burst. + /// Gets or sets a value indicating whether the tesla gate's next burst should be treated as instant burst. /// The instant burst ignores the standard cooldown time, reducing it to the cooldown time used for bursts triggered by SCP-079. /// public bool UseInstantBurst @@ -216,7 +216,7 @@ public static TeslaGate Get(BaseTeslaGate baseTeslaGate) => BaseTeslaGateToTesla /// /// The instance. /// A or if not found. - /// Whether or not the tesla gate was found. + /// Whether the tesla gate was found. public static bool TryGet(BaseTeslaGate baseTeslaGate, out TeslaGate gate) { gate = Get(baseTeslaGate); @@ -228,7 +228,7 @@ public static bool TryGet(BaseTeslaGate baseTeslaGate, out TeslaGate gate) /// /// The condition to satify. /// A of which contains elements that satify the condition. - /// Whether or not at least one tesla gate was found. + /// Whether at least one tesla gate was found. public static bool TryGet(Func predicate, out IEnumerable gates) { gates = Get(predicate); diff --git a/EXILED/Exiled.API/Features/Toys/Primitive.cs b/EXILED/Exiled.API/Features/Toys/Primitive.cs index 647350b16..9929e27f4 100644 --- a/EXILED/Exiled.API/Features/Toys/Primitive.cs +++ b/EXILED/Exiled.API/Features/Toys/Primitive.cs @@ -87,7 +87,7 @@ public PrimitiveFlags Flags /// The position of the . /// The rotation of the . /// The scale of the . - /// Whether or not the should be initially spawned. + /// Whether the should be initially spawned. /// The new . public static Primitive Create(Vector3? position = null, Vector3? rotation = null, Vector3? scale = null, bool spawn = true) => Create(position, rotation, scale, spawn, null); @@ -99,7 +99,7 @@ public static Primitive Create(Vector3? position = null, Vector3? rotation = nul /// The position of the . /// The rotation of the . /// The scale of the . - /// Whether or not the should be initially spawned. + /// Whether the should be initially spawned. /// The new . public static Primitive Create(PrimitiveType primitiveType = PrimitiveType.Sphere, Vector3? position = null, Vector3? rotation = null, Vector3? scale = null, bool spawn = true) => Create(primitiveType, position, rotation, scale, spawn, null); @@ -110,7 +110,7 @@ public static Primitive Create(PrimitiveType primitiveType = PrimitiveType.Spher /// The position of the . /// The rotation of the . /// The scale of the . - /// Whether or not the should be initially spawned. + /// Whether the should be initially spawned. /// The color of the . /// The new . public static Primitive Create(Vector3? position /*= null*/, Vector3? rotation /*= null*/, Vector3? scale /*= null*/, bool spawn /*= true*/, Color? color /*= null*/) @@ -136,7 +136,7 @@ public static Primitive Create(Vector3? position /*= null*/, Vector3? rotation / /// The position of the . /// The rotation of the . /// The scale of the . - /// Whether or not the should be initially spawned. + /// Whether the should be initially spawned. /// The color of the . /// The new . public static Primitive Create(PrimitiveType primitiveType /*= PrimitiveType.Sphere*/, Vector3? position /*= null*/, Vector3? rotation /*= null*/, Vector3? scale /*= null*/, bool spawn /*= true*/, Color? color /*= null*/) @@ -164,7 +164,7 @@ public static Primitive Create(PrimitiveType primitiveType /*= PrimitiveType.Sph /// The position of the . /// The rotation of the . /// The scale of the . - /// Whether or not the should be initially spawned. + /// Whether the should be initially spawned. /// The color of the . /// The new . public static Primitive Create(PrimitiveType primitiveType /*= PrimitiveType.Sphere*/, PrimitiveFlags flags, Vector3? position /*= null*/, Vector3? rotation /*= null*/, Vector3? scale /*= null*/, bool spawn /*= true*/, Color? color /*= null*/) diff --git a/EXILED/Exiled.API/Features/Toys/ShootingTargetToy.cs b/EXILED/Exiled.API/Features/Toys/ShootingTargetToy.cs index 01cb47db3..f967470c6 100644 --- a/EXILED/Exiled.API/Features/Toys/ShootingTargetToy.cs +++ b/EXILED/Exiled.API/Features/Toys/ShootingTargetToy.cs @@ -135,7 +135,7 @@ public int AutoResetTime } /// - /// Gets or sets a value indicating whether or not the target is in sync mode. + /// Gets or sets a value indicating whether the target is in sync mode. /// public bool IsSynced { @@ -214,7 +214,7 @@ public static ShootingTargetToy Get(ShootingTarget shootingTarget) /// The damage to be dealt. /// The dealing the damage. /// The exact location of the hit. - /// Whether or not the damage was sent. + /// Whether the damage was sent. public bool Damage(float damage, DamageHandlerBase damageHandler, Vector3 exactHit) => Base.Damage(damage, damageHandler, exactHit); } } \ No newline at end of file diff --git a/EXILED/Exiled.API/Features/Warhead.cs b/EXILED/Exiled.API/Features/Warhead.cs index 241d94c73..fe2c2e0e8 100644 --- a/EXILED/Exiled.API/Features/Warhead.cs +++ b/EXILED/Exiled.API/Features/Warhead.cs @@ -43,7 +43,7 @@ public static class Warhead public static GameObject Lever => SitePanel.lever.gameObject; /// - /// Gets or sets a value indicating whether or not automatic detonation is enabled. + /// Gets or sets a value indicating whether automatic detonation is enabled. /// public static bool AutoDetonate { @@ -52,7 +52,7 @@ public static bool AutoDetonate } /// - /// Gets or sets a value indicating whether or not doors will be opened when the warhead activates. + /// Gets or sets a value indicating whether doors will be opened when the warhead activates. /// public static bool OpenDoors { @@ -66,7 +66,7 @@ public static bool OpenDoors public static IReadOnlyCollection BlastDoors => BlastDoor.Instances; /// - /// Gets or sets a value indicating whether or not the warhead lever is enabled. + /// Gets or sets a value indicating whether the warhead lever is enabled. /// public static bool LeverStatus { @@ -75,7 +75,7 @@ public static bool LeverStatus } /// - /// Gets or sets a value indicating whether or not the warhead's outside panel has been opened. + /// Gets or sets a value indicating whether the warhead's outside panel has been opened. /// public static bool IsKeycardActivated { @@ -111,12 +111,12 @@ public static WarheadStatus Status } /// - /// Gets a value indicating whether or not the warhead has already been detonated. + /// Gets a value indicating whether the warhead has already been detonated. /// public static bool IsDetonated => Controller._alreadyDetonated; /// - /// Gets a value indicating whether or not the warhead detonation is in progress. + /// Gets a value indicating whether the warhead detonation is in progress. /// public static bool IsInProgress => Controller.Info.InProgress; @@ -135,7 +135,7 @@ public static float DetonationTimer public static float RealDetonationTimer => Controller.CurScenario.TimeToDetonate; /// - /// Gets or sets a value indicating whether or not the warhead can be disabled. + /// Gets or sets a value indicating whether the warhead can be disabled. /// public static bool IsLocked { @@ -153,7 +153,7 @@ public static int Kills } /// - /// Gets a value indicating whether or not the warhead can be started. + /// Gets a value indicating whether the warhead can be started. /// public static bool CanBeStarted => !IsInProgress && !IsDetonated && Controller.CooldownEndTime <= NetworkTime.time; @@ -197,11 +197,11 @@ public static void Start() public static void Shake() => Controller.RpcShake(false); /// - /// Gets whether or not the provided position will be detonated by the alpha warhead. + /// Gets whether the provided position will be detonated by the alpha warhead. /// /// The position to check. /// If , only lifts will be checked. - /// Whether or not the given position is prone to being detonated. + /// Whether the given position is prone to being detonated. public static bool CanBeDetonated(Vector3 pos, bool includeOnlyLifts = false) => AlphaWarheadController.CanBeDetonated(pos, includeOnlyLifts); } } diff --git a/EXILED/Exiled.API/Features/Window.cs b/EXILED/Exiled.API/Features/Window.cs index 63ca362fd..61c88f69f 100644 --- a/EXILED/Exiled.API/Features/Window.cs +++ b/EXILED/Exiled.API/Features/Window.cs @@ -89,12 +89,12 @@ public Vector3 Position } /// - /// Gets a value indicating whether or not this window is breakable. + /// Gets a value indicating whether this window is breakable. /// public bool IsBreakable => !Base.isBroken; /// - /// Gets or sets a value indicating whether or not this window is broken. + /// Gets or sets a value indicating whether this window is broken. /// public bool IsBroken { @@ -121,7 +121,7 @@ public Quaternion Rotation } /// - /// Gets or sets a value indicating whether or not this window can be broken by SCP. + /// Gets or sets a value indicating whether this window can be broken by SCP. /// public bool DisableScpDamage { @@ -130,7 +130,7 @@ public bool DisableScpDamage } /// - /// Gets or sets a value indicating whether or not this window is broken. + /// Gets or sets a value indicating whether this window is broken. /// public BreakableWindow.BreakableWindowStatus SyncStatus { @@ -159,7 +159,7 @@ public static Window Get(BreakableWindow breakableWindow) => BreakableWindowToWi /// /// Gets a of filtered based on a predicate. /// - /// The condition to satify. + /// The condition to satisfy. /// A of which contains elements that satify the condition. public static IEnumerable Get(Func predicate) => List.Where(predicate); @@ -168,7 +168,7 @@ public static Window Get(BreakableWindow breakableWindow) => BreakableWindowToWi /// /// The instance. /// A or if not found. - /// Whether or not a window was found. + /// Whether a window was found. public static bool TryGet(BreakableWindow breakableWindow, out Window window) { window = Get(breakableWindow); @@ -178,9 +178,9 @@ public static bool TryGet(BreakableWindow breakableWindow, out Window window) /// /// Try-get a of filtered based on a predicate. /// - /// The condition to satify. + /// The condition to satisfy. /// A of which contains elements that satify the condition. - /// Whether or not at least one window was found. + /// Whether at least one window was found. public static bool TryGet(Func predicate, out IEnumerable windows) { windows = Get(predicate); diff --git a/EXILED/Exiled.API/Interfaces/IConfig.cs b/EXILED/Exiled.API/Interfaces/IConfig.cs index 629350ef3..bdefc1261 100644 --- a/EXILED/Exiled.API/Interfaces/IConfig.cs +++ b/EXILED/Exiled.API/Interfaces/IConfig.cs @@ -15,15 +15,15 @@ namespace Exiled.API.Interfaces public interface IConfig { /// - /// Gets or sets a value indicating whether the plugin is enabled or not. + /// Gets or sets a value indicating whether the plugin is enabled. /// - [Description("Whether or not this plugin is enabled.")] + [Description("Whether this plugin is enabled.")] bool IsEnabled { get; set; } /// - /// Gets or sets a value indicating whether debug messages should be displayed in the console or not. + /// Gets or sets a value indicating whether debug messages should be displayed in the console. /// - [Description("Whether or not debug messages should be shown in the console.")] + [Description("Whether debug messages should be shown in the console.")] bool Debug { get; set; } } } \ No newline at end of file diff --git a/EXILED/Exiled.API/Interfaces/IDamageableDoor.cs b/EXILED/Exiled.API/Interfaces/IDamageableDoor.cs index 6a4e60ec8..b4c99016b 100644 --- a/EXILED/Exiled.API/Interfaces/IDamageableDoor.cs +++ b/EXILED/Exiled.API/Interfaces/IDamageableDoor.cs @@ -25,12 +25,12 @@ public interface IDamageableDoor public float MaxHealth { get; set; } /// - /// Gets or sets a value indicating whether or not door is destroyed. + /// Gets or sets a value indicating whether door is destroyed. /// public bool IsDestroyed { get; set; } /// - /// Gets a value indicating whether or not this door is breakable. + /// Gets a value indicating whether this door is breakable. /// public bool IsBreakable { get; } diff --git a/EXILED/Exiled.API/Interfaces/INonInteractableDoor.cs b/EXILED/Exiled.API/Interfaces/INonInteractableDoor.cs index 1f2433d26..23f188e4b 100644 --- a/EXILED/Exiled.API/Interfaces/INonInteractableDoor.cs +++ b/EXILED/Exiled.API/Interfaces/INonInteractableDoor.cs @@ -13,12 +13,12 @@ namespace Exiled.API.Interfaces public interface INonInteractableDoor { /// - /// Gets or sets a value indicating whether or not door should ignore lockdowns. + /// Gets or sets a value indicating whether door should ignore lockdowns. /// public bool IgnoreLockdowns { get; set; } /// - /// Gets or sets a value indicating whether or not door should ignore RA requests. + /// Gets or sets a value indicating whether door should ignore RA requests. /// public bool IgnoreRemoteAdmin { get; set; } } diff --git a/EXILED/Exiled.API/Structs/PrimitiveSettings.cs b/EXILED/Exiled.API/Structs/PrimitiveSettings.cs index 1cb6639fe..f3f68e3e2 100644 --- a/EXILED/Exiled.API/Structs/PrimitiveSettings.cs +++ b/EXILED/Exiled.API/Structs/PrimitiveSettings.cs @@ -23,8 +23,8 @@ public struct PrimitiveSettings /// The position of the primitive. /// The rotation of the primitive. /// The scale of the primitive. - /// Whether or not the primitive should be spawned. - /// Whether or not the primitive should be static. + /// Whether the primitive should be spawned. + /// Whether the primitive should be static. public PrimitiveSettings(PrimitiveType primitiveType, Color color, Vector3 position, Vector3 rotation, Vector3 scale, bool spawn, bool isStatic) { PrimitiveType = primitiveType; @@ -45,7 +45,7 @@ public PrimitiveSettings(PrimitiveType primitiveType, Color color, Vector3 posit /// The position of the primitive. /// The rotation of the primitive. /// The scale of the primitive. - /// Whether or not the primitive should be spawned. + /// Whether the primitive should be spawned. public PrimitiveSettings(PrimitiveType primitiveType, Color color, Vector3 position, Vector3 rotation, Vector3 scale, bool spawn) { PrimitiveType = primitiveType; @@ -67,7 +67,7 @@ public PrimitiveSettings(PrimitiveType primitiveType, Color color, Vector3 posit /// The position of the primitive. /// The rotation of the primitive. /// The scale of the primitive. - /// Whether or not the primitive should be spawned. + /// Whether the primitive should be spawned. public PrimitiveSettings(PrimitiveType primitiveType, PrimitiveFlags primitiveFlags, Color color, Vector3 position, Vector3 rotation, Vector3 scale, bool spawn) { PrimitiveType = primitiveType; @@ -111,12 +111,12 @@ public PrimitiveSettings(PrimitiveType primitiveType, PrimitiveFlags primitiveFl public Vector3 Scale { get; } /// - /// Gets a value indicating whether or not the primitive should be spawned. + /// Gets a value indicating whether the primitive should be spawned. /// public bool IsStatic { get; } /// - /// Gets a value indicating whether or not the primitive should be spawned. + /// Gets a value indicating whether the primitive should be spawned. /// public bool Spawn { get; } } diff --git a/EXILED/Exiled.CreditTags/Config.cs b/EXILED/Exiled.CreditTags/Config.cs index e07d2d90d..87cb5e4dd 100644 --- a/EXILED/Exiled.CreditTags/Config.cs +++ b/EXILED/Exiled.CreditTags/Config.cs @@ -30,7 +30,7 @@ public sealed class Config : IConfig [Description("Overrides Custom Player Info if exists")] public bool CustomPlayerInfoOverride { get; private set; } = false; - [Description("Whether or not the plugin should ignore a player's DNT flag. By default (false), players with DNT flag will not be checked for credit tags.")] + [Description("Whether the plugin should ignore a player's DNT flag. By default (false), players with DNT flag will not be checked for credit tags.")] public bool IgnoreDntFlag { get; private set; } = false; } } \ No newline at end of file diff --git a/EXILED/Exiled.CustomItems/API/Features/CustomItem.cs b/EXILED/Exiled.CustomItems/API/Features/CustomItem.cs index c8598a98b..da2b70df5 100644 --- a/EXILED/Exiled.CustomItems/API/Features/CustomItem.cs +++ b/EXILED/Exiled.CustomItems/API/Features/CustomItem.cs @@ -116,7 +116,7 @@ public virtual ItemType Type public HashSet TrackedSerials { get; } = new(); /// - /// Gets a value indicating whether or not this item causes things to happen that may be considered hacks, and thus be shown to global moderators as being present in a player's inventory when they gban them. + /// Gets a value indicating whether this item causes things to happen that may be considered hacks, and thus be shown to global moderators as being present in a player's inventory when they gban them. /// [YamlIgnore] public virtual bool ShouldMessageOnGban { get; } = false; @@ -175,7 +175,7 @@ public virtual ItemType Type /// /// The ID to look for. /// The found , if not registered. - /// Returns a value indicating whether the was found or not. + /// Returns a value indicating whether the was found. public static bool TryGet(uint id, out CustomItem? customItem) { customItem = Get(id); @@ -188,7 +188,7 @@ public static bool TryGet(uint id, out CustomItem? customItem) /// /// The name to look for. /// The found , if not registered. - /// Returns a value indicating whether the was found or not. + /// Returns a value indicating whether the was found. public static bool TryGet(string name, out CustomItem? customItem) { customItem = null; @@ -205,7 +205,7 @@ public static bool TryGet(string name, out CustomItem? customItem) /// /// The of the item to look for. /// The found , if not registered. - /// Returns a value indicating whether the was found or not. + /// Returns a value indicating whether the was found. public static bool TryGet(Type t, out CustomItem? customItem) { customItem = Get(t); @@ -279,7 +279,7 @@ public static bool TryGet(Pickup pickup, out CustomItem? customItem) /// The ID of the to spawn. /// The location to spawn the item. /// The instance of the . - /// Returns a value indicating whether the was spawned or not. + /// Returns a value indicating whether the was spawned. public static bool TrySpawn(uint id, Vector3 position, out Pickup? pickup) { pickup = default; @@ -298,7 +298,7 @@ public static bool TrySpawn(uint id, Vector3 position, out Pickup? pickup) /// The name of the to spawn. /// The location to spawn the item. /// The instance of the . - /// Returns a value indicating whether the was spawned or not. + /// Returns a value indicating whether the was spawned. public static bool TrySpawn(string name, Vector3 position, out Pickup? pickup) { pickup = default; @@ -365,7 +365,7 @@ public static bool TryGive(Player player, Type t, bool displayMessage = true) /// /// Registers all the 's present in the current assembly. /// - /// Whether or not reflection is skipped (more efficient if you are not using your custom item classes as config objects). + /// Whether reflection is skipped (more efficient if you are not using your custom item classes as config objects). /// The class to search properties for, if different from the plugin's config class. /// A of which contains all registered 's. public static IEnumerable RegisterItems(bool skipReflection = false, object? overrideClass = null) @@ -444,7 +444,7 @@ public static IEnumerable RegisterItems(bool skipReflection = false, /// /// The of containing the target types. /// A value indicating whether the target types should be ignored. - /// Whether or not reflection is skipped (more efficient if you are not using your custom item classes as config objects). + /// Whether reflection is skipped (more efficient if you are not using your custom item classes as config objects). /// The class to search properties for, if different from the plugin's config class. /// A of which contains all registered 's. public static IEnumerable RegisterItems(IEnumerable targetTypes, bool isIgnored = false, bool skipReflection = false, object? overrideClass = null) @@ -720,7 +720,7 @@ public virtual void SpawnAll() /// /// The who will receive the item. /// The to be given. - /// Indicates whether or not will be called when the player receives the item. + /// Indicates whether will be called when the player receives the item. public virtual void Give(Player player, Item item, bool displayMessage = true) { try @@ -746,14 +746,14 @@ public virtual void Give(Player player, Item item, bool displayMessage = true) /// /// The who will receive the item. /// The to be given. - /// Indicates whether or not will be called when the player receives the item. + /// Indicates whether will be called when the player receives the item. public virtual void Give(Player player, Pickup pickup, bool displayMessage = true) => Give(player, player.AddItem(pickup), displayMessage); /// /// Gives the to a player. /// /// The who will receive the item. - /// Indicates whether or not will be called when the player receives the item. + /// Indicates whether will be called when the player receives the item. public virtual void Give(Player player, bool displayMessage = true) => Give(player, Item.Create(Type), displayMessage); /// @@ -807,7 +807,7 @@ public virtual void Destroy() /// /// Registers a . /// - /// Returns a value indicating whether the was registered or not. + /// Returns a value indicating whether the was registered. internal bool TryRegister() { if (!Instance?.Config.IsEnabled ?? false) @@ -842,7 +842,7 @@ internal bool TryRegister() /// /// Tries to unregister a . /// - /// Returns a value indicating whether the was unregistered or not. + /// Returns a value indicating whether the was unregistered. internal bool TryUnregister() { Destroy(); @@ -965,7 +965,7 @@ protected virtual void OnUpgrading(UpgradingItemEventArgs ev) /// /// The acquiring the item. /// The being acquired. - /// Whether or not the Pickup hint should be displayed. + /// Whether the Pickup hint should be displayed. protected virtual void OnAcquired(Player player, Item item, bool displayMessage) { if (displayMessage) diff --git a/EXILED/Exiled.CustomItems/API/Features/CustomWeapon.cs b/EXILED/Exiled.CustomItems/API/Features/CustomWeapon.cs index 6b051a761..b67ab0aea 100644 --- a/EXILED/Exiled.CustomItems/API/Features/CustomWeapon.cs +++ b/EXILED/Exiled.CustomItems/API/Features/CustomWeapon.cs @@ -60,7 +60,7 @@ public override ItemType Type public virtual byte ClipSize { get; set; } /// - /// Gets or sets a value indicating whether or not to allow friendly fire with this weapon on FF-enabled servers. + /// Gets or sets a value indicating whether to allow friendly fire with this weapon on FF-enabled servers. /// public virtual bool FriendlyFire { get; set; } diff --git a/EXILED/Exiled.CustomItems/Config.cs b/EXILED/Exiled.CustomItems/Config.cs index ffb59c274..ac21b7aeb 100644 --- a/EXILED/Exiled.CustomItems/Config.cs +++ b/EXILED/Exiled.CustomItems/Config.cs @@ -19,7 +19,7 @@ namespace Exiled.CustomItems public class Config : IConfig { /// - [Description("Indicates whether this plugin is enabled or not.")] + [Description("Indicates whether this plugin is enabled.")] public bool IsEnabled { get; set; } = true; /// diff --git a/EXILED/Exiled.CustomRoles/API/Features/CustomAbility.cs b/EXILED/Exiled.CustomRoles/API/Features/CustomAbility.cs index d076f7b38..61f1f9ef9 100644 --- a/EXILED/Exiled.CustomRoles/API/Features/CustomAbility.cs +++ b/EXILED/Exiled.CustomRoles/API/Features/CustomAbility.cs @@ -106,7 +106,7 @@ public static bool TryGet(string name, out CustomAbility? customAbility) /// /// Registers all the 's present in the current assembly. /// - /// Whether or not reflection is skipped (more efficient if you are not using your custom item classes as config objects). + /// Whether reflection is skipped (more efficient if you are not using your custom item classes as config objects). /// The class to search properties for, if different from the plugin's config class. /// A of which contains all registered 's. public static IEnumerable RegisterAbilities(bool skipReflection = false, object? overrideClass = null) @@ -150,7 +150,7 @@ public static IEnumerable RegisterAbilities(bool skipReflection = /// /// The of containing the target types. /// A value indicating whether the target types should be ignored. - /// Whether or not reflection is skipped (more efficient if you are not using your custom item classes as config objects). + /// Whether reflection is skipped (more efficient if you are not using your custom item classes as config objects). /// The class to search properties for, if different from the plugin's config class. /// A of which contains all registered 's. public static IEnumerable RegisterAbilities(IEnumerable targetTypes, bool isIgnored = false, bool skipReflection = false, object? overrideClass = null) diff --git a/EXILED/Exiled.CustomRoles/API/Features/CustomRole.cs b/EXILED/Exiled.CustomRoles/API/Features/CustomRole.cs index 43c1b5172..0ee133ced 100644 --- a/EXILED/Exiled.CustomRoles/API/Features/CustomRole.cs +++ b/EXILED/Exiled.CustomRoles/API/Features/CustomRole.cs @@ -131,7 +131,7 @@ public abstract class CustomRole public virtual float SpawnChance { get; set; } /// - /// Gets or sets a value indicating whether the spawn system is ignored for this role or not. + /// Gets or sets a value indicating whether the spawn system is ignored for this role. /// public virtual bool IgnoreSpawnSystem { get; set; } @@ -274,7 +274,7 @@ public static bool TryGet(Player player, out IReadOnlyCollection cus /// /// Registers all the 's present in the current assembly. /// - /// Whether or not reflection is skipped (more efficient if you are not using your custom item classes as config objects). + /// Whether reflection is skipped (more efficient if you are not using your custom item classes as config objects). /// The class to search properties for, if different from the plugin's config class. /// A of which contains all registered 's. public static IEnumerable RegisterRoles(bool skipReflection = false, object? overrideClass = null) => RegisterRoles(skipReflection, overrideClass, true, Assembly.GetCallingAssembly()); @@ -282,9 +282,9 @@ public static bool TryGet(Player player, out IReadOnlyCollection cus /// /// Registers all the 's present in the current assembly. /// - /// Whether or not reflection is skipped (more efficient if you are not using your custom item classes as config objects). + /// Whether reflection is skipped (more efficient if you are not using your custom item classes as config objects). /// The class to search properties for, if different from the plugin's config class. - /// Whether or not inherited attributes should be taken into account for registration. + /// Whether inherited attributes should be taken into account for registration. /// Assembly which is calling this method. /// A of which contains all registered 's. public static IEnumerable RegisterRoles(bool skipReflection = false, object? overrideClass = null, bool inheritAttributes = true, Assembly? assembly = null) @@ -338,7 +338,7 @@ public static IEnumerable RegisterRoles(bool skipReflection = false, /// /// The of containing the target types. /// A value indicating whether the target types should be ignored. - /// Whether or not reflection is skipped (more efficient if you are not using your custom item classes as config objects). + /// Whether reflection is skipped (more efficient if you are not using your custom item classes as config objects). /// The class to search properties for, if different from the plugin's config class. /// A of which contains all registered 's. public static IEnumerable RegisterRoles(IEnumerable targetTypes, bool isIgnored = false, bool skipReflection = false, object? overrideClass = null) @@ -776,7 +776,7 @@ internal bool TryUnregister() /// /// The to try giving the item to. /// The name of the item to try adding. - /// Whether or not the item was able to be added. + /// Whether the item was able to be added. protected bool TryAddItem(Player player, string itemName) { if (CustomItem.TryGet(itemName, out CustomItem? customItem)) diff --git a/EXILED/Exiled.CustomRoles/Config.cs b/EXILED/Exiled.CustomRoles/Config.cs index d6d48d5ed..2ef17ec67 100644 --- a/EXILED/Exiled.CustomRoles/Config.cs +++ b/EXILED/Exiled.CustomRoles/Config.cs @@ -19,14 +19,14 @@ namespace Exiled.CustomRoles public class Config : IConfig { /// - [Description("Whether or not the plugin is enabled.")] + [Description("Whether the plugin is enabled.")] public bool IsEnabled { get; set; } = true; /// /// Gets or sets a value indicating whether debug messages should be printed to the console. /// /// . - [Description("Whether or not debug messages should be shown.")] + [Description("Whether debug messages should be shown.")] public bool Debug { get; set; } = false; /// @@ -44,13 +44,13 @@ public class Config : IConfig /// /// Gets or sets a value indicating whether keypress ability activations can be used on the server. /// - [Description("Whether or not Keypress ability activations will work on the server.")] + [Description("Whether Keypress ability activations will work on the server.")] public bool UseKeypressActivation { get; set; } = true; /// /// Gets or sets a value indicating whether abilities that are not the keypress primary can still be activated. /// - [Description("Whether or not abilities that are not selected as the current keypress ability can still be activated.")] + [Description("Whether abilities that are not selected as the current keypress ability can still be activated.")] public bool ActivateOnlySelected { get; set; } = true; /// diff --git a/EXILED/Exiled.Events/Commands/PluginManager/Patches.cs b/EXILED/Exiled.Events/Commands/PluginManager/Patches.cs index 61d729f82..332b52711 100644 --- a/EXILED/Exiled.Events/Commands/PluginManager/Patches.cs +++ b/EXILED/Exiled.Events/Commands/PluginManager/Patches.cs @@ -38,7 +38,7 @@ public sealed class Patches : ICommand public string[] Aliases { get; } = { "patched" }; /// - public string Description { get; } = "Returns information about all patches (whether they are patched or not)"; + public string Description { get; } = "Returns information about all patches (whether they are patched)"; /// public bool Execute(ArraySegment arguments, ICommandSender sender, out string response) diff --git a/EXILED/Exiled.Events/Config.cs b/EXILED/Exiled.Events/Config.cs index b141cd17e..82051a912 100644 --- a/EXILED/Exiled.Events/Config.cs +++ b/EXILED/Exiled.Events/Config.cs @@ -27,21 +27,21 @@ public sealed class Config : IConfig public bool UseDynamicPatching { get; set; } = true; /// - /// Gets or sets a value indicating whether SCP-173 can be blocked or not by the tutorial. + /// Gets or sets a value indicating whether SCP-173 can be blocked by the tutorial. /// - [Description("Indicates whether SCP-173 can be blocked or not by the tutorial")] + [Description("Indicates whether SCP-173 can be blocked by the tutorial")] public bool CanTutorialBlockScp173 { get; set; } = true; /// - /// Gets or sets a value indicating whether SCP-096 can be triggered or not by the tutorial. + /// Gets or sets a value indicating whether SCP-096 can be triggered by the tutorial. /// - [Description("Indicates whether SCP-096 can be triggered or not by the tutorial")] + [Description("Indicates whether SCP-096 can be triggered by the tutorial")] public bool CanTutorialTriggerScp096 { get; set; } = true; /// /// Gets or sets a value indicating whether SCP-049 can activate the sense ability on tutorials. /// - [Description("Indicates whether SCP-049 can sense tutorial players or not")] + [Description("Indicates whether SCP-049 can sense tutorial players")] public bool CanScp049SenseTutorial { get; set; } = true; /// @@ -69,9 +69,9 @@ public sealed class Config : IConfig public bool ShouldDropInventory { get; set; } = true; /// - /// Gets or sets a value indicating whether the blood can be spawned or not. + /// Gets or sets a value indicating whether the blood can be spawned. /// - [Description("Indicates whether the blood can be spawned or not")] + [Description("Indicates whether the blood can be spawned")] public bool CanSpawnBlood { get; set; } = true; /// @@ -99,15 +99,15 @@ public sealed class Config : IConfig public bool ShouldReloadTranslationsAtRoundRestart { get; set; } = false; /// - /// Gets a value indicating whether bans should be logged or not. + /// Gets a value indicating whether bans should be logged. /// - [Description("Indicates whether bans should be logged or not")] + [Description("Indicates whether bans should be logged")] public bool ShouldLogBans { get; private set; } = true; /// /// Gets or sets a value indicating whether to log RA commands. /// - [Description("Whether or not to log RA commands.")] + [Description("Whether to log RA commands.")] public bool LogRaCommands { get; set; } = true; } } diff --git a/EXILED/Exiled.Events/EventArgs/Cassie/SendingCassieMessageEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Cassie/SendingCassieMessageEventArgs.cs index c21f7c9f6..3586ae5f2 100644 --- a/EXILED/Exiled.Events/EventArgs/Cassie/SendingCassieMessageEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Cassie/SendingCassieMessageEventArgs.cs @@ -26,7 +26,7 @@ public class SendingCassieMessageEventArgs : IDeniableEvent /// /// /// - /// Indicates whether the event can be executed or not. + /// Indicates whether the event can be executed. public SendingCassieMessageEventArgs(string words, bool makeHold, bool makeNoise, bool isAllowed = true) { Words = words; @@ -41,17 +41,17 @@ public SendingCassieMessageEventArgs(string words, bool makeHold, bool makeNoise public string Words { get; set; } /// - /// Gets or sets a value indicating whether or not the message should be held. + /// Gets or sets a value indicating whether the message should be held. /// public bool MakeHold { get; set; } /// - /// Gets or sets a value indicating whether or not the message should make noise. + /// Gets or sets a value indicating whether the message should make noise. /// public bool MakeNoise { get; set; } /// - /// Gets or sets a value indicating whether or not the message can be sent. + /// Gets or sets a value indicating whether the message can be sent. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Interfaces/IDeniableEvent.cs b/EXILED/Exiled.Events/EventArgs/Interfaces/IDeniableEvent.cs index 41a4e78ea..4625adedb 100644 --- a/EXILED/Exiled.Events/EventArgs/Interfaces/IDeniableEvent.cs +++ b/EXILED/Exiled.Events/EventArgs/Interfaces/IDeniableEvent.cs @@ -13,7 +13,7 @@ namespace Exiled.Events.EventArgs.Interfaces public interface IDeniableEvent : IExiledEvent { /// - /// Gets or sets a value indicating whether or not the event is allowed to continue. + /// Gets or sets a value indicating whether the event is allowed to continue. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Item/ChangingAmmoEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Item/ChangingAmmoEventArgs.cs index bc45d3bbf..e43e03769 100644 --- a/EXILED/Exiled.Events/EventArgs/Item/ChangingAmmoEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Item/ChangingAmmoEventArgs.cs @@ -61,7 +61,7 @@ public ChangingAmmoEventArgs(InventorySystem.Items.ItemBase firearm, byte oldAmm public byte NewAmmo { get; set; } /// - /// Gets or sets a value indicating whether or not the ammo can be changed. + /// Gets or sets a value indicating whether the ammo can be changed. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Item/ChangingAttachmentsEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Item/ChangingAttachmentsEventArgs.cs index fad3ec0b5..b1918125b 100644 --- a/EXILED/Exiled.Events/EventArgs/Item/ChangingAttachmentsEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Item/ChangingAttachmentsEventArgs.cs @@ -70,7 +70,7 @@ public ChangingAttachmentsEventArgs(Player player, InventorySystem.Items.Firearm public uint NewCode { get; } /// - /// Gets or sets a value indicating whether or not the attachments can be changed. + /// Gets or sets a value indicating whether the attachments can be changed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Item/ChargingJailbirdEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Item/ChargingJailbirdEventArgs.cs index 6ac613800..e59ae0406 100644 --- a/EXILED/Exiled.Events/EventArgs/Item/ChargingJailbirdEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Item/ChargingJailbirdEventArgs.cs @@ -23,7 +23,7 @@ public class ChargingJailbirdEventArgs : IPlayerEvent, IItemEvent, IDeniableEven /// /// /// The item being charged. - /// Whether the item can be charged or not. + /// Whether the item can be charged. public ChargingJailbirdEventArgs(ReferenceHub player, InventorySystem.Items.ItemBase swingItem, bool isAllowed = true) { Player = Player.Get(player); @@ -49,7 +49,7 @@ public ChargingJailbirdEventArgs(ReferenceHub player, InventorySystem.Items.Item public Item Item => Jailbird; /// - /// Gets or sets a value indicating whether or not the Jailbird can be charged. + /// Gets or sets a value indicating whether the Jailbird can be charged. /// public bool IsAllowed { diff --git a/EXILED/Exiled.Events/EventArgs/Item/KeycardInteractingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Item/KeycardInteractingEventArgs.cs index 181f7c7eb..097b16438 100644 --- a/EXILED/Exiled.Events/EventArgs/Item/KeycardInteractingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Item/KeycardInteractingEventArgs.cs @@ -54,7 +54,7 @@ public KeycardInteractingEventArgs(BaseKeycardPickup pickup, Player player, Door public Door Door { get; } /// - /// Gets or sets a value indicating whether or not the keycard can interact with the door. + /// Gets or sets a value indicating whether the keycard can interact with the door. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Item/ReceivingPreferenceEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Item/ReceivingPreferenceEventArgs.cs index 72e04e534..bbdaacf03 100644 --- a/EXILED/Exiled.Events/EventArgs/Item/ReceivingPreferenceEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Item/ReceivingPreferenceEventArgs.cs @@ -81,7 +81,7 @@ public uint NewCode } /// - /// Gets or sets a value indicating whether or not the attachments preference is allowed. + /// Gets or sets a value indicating whether the attachments preference is allowed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Item/SwingingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Item/SwingingEventArgs.cs index 6c8f0fce8..046ef8add 100644 --- a/EXILED/Exiled.Events/EventArgs/Item/SwingingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Item/SwingingEventArgs.cs @@ -21,7 +21,7 @@ public class SwingingEventArgs : IPlayerEvent, IItemEvent, IDeniableEvent /// /// /// The item being swung. - /// Whether the item can be swung or not. + /// Whether the item can be swung. public SwingingEventArgs(ReferenceHub player, InventorySystem.Items.ItemBase swingItem, bool isAllowed = true) { Player = Player.Get(player); @@ -45,7 +45,7 @@ public SwingingEventArgs(ReferenceHub player, InventorySystem.Items.ItemBase swi public Item Item => Jailbird; /// - /// Gets or sets a value indicating whether or not the item can be swung. + /// Gets or sets a value indicating whether the item can be swung. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Map/AnnouncingDecontaminationEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/AnnouncingDecontaminationEventArgs.cs index 6b13ed6a5..57f5eba2b 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/AnnouncingDecontaminationEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/AnnouncingDecontaminationEventArgs.cs @@ -49,7 +49,7 @@ public AnnouncingDecontaminationEventArgs(int announcementId, PhaseFunction phas public PhaseFunction PhaseFunction { get; } /// - /// Gets a value indicating whether the announcement is going to be global or not. + /// Gets a value indicating whether the announcement is going to be global. /// public bool IsGlobal { get; } } diff --git a/EXILED/Exiled.Events/EventArgs/Map/AnnouncingNtfEntranceEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/AnnouncingNtfEntranceEventArgs.cs index 7f701de08..c853fe607 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/AnnouncingNtfEntranceEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/AnnouncingNtfEntranceEventArgs.cs @@ -53,7 +53,7 @@ public AnnouncingNtfEntranceEventArgs(int scpsLeft, string unitName, int unitNum public int UnitNumber { get; set; } /// - /// Gets or sets a value indicating whether or not the NTF spawn will be announced by C.A.S.S.I.E. + /// Gets or sets a value indicating whether the NTF spawn will be announced by C.A.S.S.I.E. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Map/AnnouncingScpTerminationEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/AnnouncingScpTerminationEventArgs.cs index 2636eb26f..6386c1dee 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/AnnouncingScpTerminationEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/AnnouncingScpTerminationEventArgs.cs @@ -69,7 +69,7 @@ public AnnouncingScpTerminationEventArgs(Player scp, DamageHandlerBase damageHan public CustomDamageHandler DamageHandler { get; set; } /// - /// Gets or sets a value indicating whether or not the SCP termination will be announced by C.A.S.S.I.E. + /// Gets or sets a value indicating whether the SCP termination will be announced by C.A.S.S.I.E. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Map/DecontaminatingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/DecontaminatingEventArgs.cs index 6bce5e780..42664dc90 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/DecontaminatingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/DecontaminatingEventArgs.cs @@ -26,7 +26,7 @@ public DecontaminatingEventArgs(bool isAllowed = true) } /// - /// Gets or sets a value indicating whether or not light containment zone decontamination can begin. + /// Gets or sets a value indicating whether light containment zone decontamination can begin. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Map/ExplodingGrenadeEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/ExplodingGrenadeEventArgs.cs index a0dbd7920..d5bde0490 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/ExplodingGrenadeEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/ExplodingGrenadeEventArgs.cs @@ -127,7 +127,7 @@ public ExplodingGrenadeEventArgs(Player thrower, EffectGrenade grenade, List - /// Gets or sets a value indicating whether or not the grenade can be thrown. + /// Gets or sets a value indicating whether the grenade can be thrown. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Map/FillingLockerEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/FillingLockerEventArgs.cs index 2d28744b2..a73c6c305 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/FillingLockerEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/FillingLockerEventArgs.cs @@ -57,7 +57,7 @@ public FillingLockerEventArgs(ItemPickupBase pickupBase, LockerChamber lockerCha public Chamber Chamber { get; } /// - /// Gets or sets a value indicating whether or not the item can be spawned. + /// Gets or sets a value indicating whether the item can be spawned. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Map/GeneratorActivatingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/GeneratorActivatingEventArgs.cs index aa8fad27e..a0e2846f5 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/GeneratorActivatingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/GeneratorActivatingEventArgs.cs @@ -39,7 +39,7 @@ public GeneratorActivatingEventArgs(Scp079Generator generator, bool isAllowed = public Generator Generator { get; } /// - /// Gets or sets a value indicating whether the generator can be activated or not. + /// Gets or sets a value indicating whether the generator can be activated. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Map/PlacingBloodEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/PlacingBloodEventArgs.cs index 58a06aeaf..0c3c4685d 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/PlacingBloodEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/PlacingBloodEventArgs.cs @@ -57,7 +57,7 @@ public PlacingBloodEventArgs(Player player, Player target, RaycastHit hit, bool public Vector3 Position { get; set; } /// - /// Gets or sets a value indicating whether or not the blood can be placed. + /// Gets or sets a value indicating whether the blood can be placed. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Map/PlacingBulletHoleEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/PlacingBulletHoleEventArgs.cs index 8e237af27..3544247b6 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/PlacingBulletHoleEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/PlacingBulletHoleEventArgs.cs @@ -45,7 +45,7 @@ public PlacingBulletHoleEventArgs(Player owner, RaycastHit hit) public Quaternion Rotation { get; set; } /// - /// Gets or sets a value indicating whether or not the decal can be placed. + /// Gets or sets a value indicating whether the decal can be placed. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Map/Scp244SpawningEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/Scp244SpawningEventArgs.cs index fd6a6fa76..5b6dae16d 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/Scp244SpawningEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/Scp244SpawningEventArgs.cs @@ -47,7 +47,7 @@ public Scp244SpawningEventArgs(RoomIdentifier room, Scp244DeployablePickup scp24 public Scp244Pickup Scp244Pickup { get; } /// - /// Gets or sets a value indicating whether or not the item can be spawning. + /// Gets or sets a value indicating whether the item can be spawning. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Map/SpawningItemEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/SpawningItemEventArgs.cs index 7e1ef1cf6..6fa401227 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/SpawningItemEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/SpawningItemEventArgs.cs @@ -43,7 +43,7 @@ public SpawningItemEventArgs(ItemPickupBase pickupBase, bool shouldInitiallySpaw public Pickup Pickup { get; } /// - /// Gets or sets a value indicating whether or not the item will be initially spawned. + /// Gets or sets a value indicating whether the item will be initially spawned. /// public bool ShouldInitiallySpawn { get; set; } @@ -57,7 +57,7 @@ public SpawningItemEventArgs(ItemPickupBase pickupBase, bool shouldInitiallySpaw public Door TriggerDoor { get; set; } /// - /// Gets or sets a value indicating whether or not the item can be spawned. + /// Gets or sets a value indicating whether the item can be spawned. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Map/SpawningTeamVehicleEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Map/SpawningTeamVehicleEventArgs.cs index 6cc821d7a..291af911b 100644 --- a/EXILED/Exiled.Events/EventArgs/Map/SpawningTeamVehicleEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Map/SpawningTeamVehicleEventArgs.cs @@ -36,7 +36,7 @@ public SpawningTeamVehicleEventArgs(SpawnableTeamType team, bool isAllowed = tru public SpawnableTeamType Team { get; set; } /// - /// Gets or sets a value indicating whether or not the vehicle can be spawned. + /// Gets or sets a value indicating whether the vehicle can be spawned. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ActivatingGeneratorEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ActivatingGeneratorEventArgs.cs index b3ca6d9cc..4bc7daab7 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ActivatingGeneratorEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ActivatingGeneratorEventArgs.cs @@ -38,7 +38,7 @@ public ActivatingGeneratorEventArgs(Player player, Scp079Generator generator, bo } /// - /// Gets or sets a value indicating whether or not the switch can be flipped. + /// Gets or sets a value indicating whether the switch can be flipped. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ActivatingWarheadPanelEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ActivatingWarheadPanelEventArgs.cs index 535dc0ad1..57b3963e4 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ActivatingWarheadPanelEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ActivatingWarheadPanelEventArgs.cs @@ -32,7 +32,7 @@ public ActivatingWarheadPanelEventArgs(Player player, bool isAllowed = true) } /// - /// Gets or sets a value indicating whether or not the warhead can be activated. + /// Gets or sets a value indicating whether the warhead can be activated. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ActivatingWorkstationEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ActivatingWorkstationEventArgs.cs index db84492c0..24d78d409 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ActivatingWorkstationEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ActivatingWorkstationEventArgs.cs @@ -50,7 +50,7 @@ public ActivatingWorkstationEventArgs(Player player, WorkstationController contr public WorkstationStatus NewStatus { get; set; } = WorkstationStatus.PoweringUp; /// - /// Gets or sets a value indicating whether or not the workstation can be activated. + /// Gets or sets a value indicating whether the workstation can be activated. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/AimingDownSightEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/AimingDownSightEventArgs.cs index eebbae5a3..b0dea7d48 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/AimingDownSightEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/AimingDownSightEventArgs.cs @@ -42,12 +42,12 @@ public AimingDownSightEventArgs(Player player, Firearm firearm, bool adsIn, bool } /// - /// Gets a value indicating whether or not the player is aiming down sight in. + /// Gets a value indicating whether the player is aiming down sight in. /// public bool AdsIn { get; } /// - /// Gets a value indicating whether or not the player is aiming down sight out. + /// Gets a value indicating whether the player is aiming down sight out. /// public bool AdsOut { get; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/BannedEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/BannedEventArgs.cs index 0d55acc86..2354f3e36 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/BannedEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/BannedEventArgs.cs @@ -54,7 +54,7 @@ public BannedEventArgs(Player target, Player issuer, BanDetails details, BanHand public BanHandler.BanType Type { get; } /// - /// Gets a value indicating whether the ban is forced or not. + /// Gets a value indicating whether the ban is forced. /// public bool IsForced { get; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/CancellingItemUseEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/CancellingItemUseEventArgs.cs index f3f623f40..65149676f 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/CancellingItemUseEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/CancellingItemUseEventArgs.cs @@ -44,7 +44,7 @@ public CancellingItemUseEventArgs(Player player, UsableItem item) public Player Player { get; } /// - /// Gets or sets a value indicating whether or not the player can cancelling the use of item. + /// Gets or sets a value indicating whether the player can cancelling the use of item. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ChangingDangerStateEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ChangingDangerStateEventArgs.cs index 8b703014e..15df42a02 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ChangingDangerStateEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ChangingDangerStateEventArgs.cs @@ -23,9 +23,9 @@ public class ChangingDangerStateEventArgs : IPlayerEvent, IDeniableEvent /// The player changing danger. /// The . /// The . - /// Whether or not the danger is being activated. If false it is ending. + /// Whether the danger is being activated. If false it is ending. /// The player that has been encountered if the danger is an encounter or null if it isn't. - /// Whether or not it is allowed to activate/deactivate. + /// Whether it is allowed to activate/deactivate. public ChangingDangerStateEventArgs(Player player, DangerStackBase danger, DangerType type, bool activating, Player encounteredPlayer = null, bool isAllowed = true) { Player = player; @@ -50,12 +50,12 @@ public ChangingDangerStateEventArgs(Player player, DangerStackBase danger, Dange public DangerType Type { get; } /// - /// Gets a value indicating whether or not the danger is being activated. + /// Gets a value indicating whether the danger is being activated. /// public bool IsActivating { get; } /// - /// Gets a value indicating whether or not the danger is ending. + /// Gets a value indicating whether the danger is ending. /// public bool IsEnding => !IsActivating; diff --git a/EXILED/Exiled.Events/EventArgs/Player/ChangingGroupEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ChangingGroupEventArgs.cs index 13ecb5c99..2ca4a4d0c 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ChangingGroupEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ChangingGroupEventArgs.cs @@ -41,7 +41,7 @@ public ChangingGroupEventArgs(Player player, UserGroup newGroup, bool isAllowed public UserGroup NewGroup { get; set; } /// - /// Gets or sets a value indicating whether or not the player can change groups. + /// Gets or sets a value indicating whether the player can change groups. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ChangingIntercomMuteStatusEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ChangingIntercomMuteStatusEventArgs.cs index dab9f1a70..4e91256ec 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ChangingIntercomMuteStatusEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ChangingIntercomMuteStatusEventArgs.cs @@ -45,7 +45,7 @@ public ChangingIntercomMuteStatusEventArgs(Player player, bool isMuted, bool isA public bool IsMuted { get; } /// - /// Gets or sets a value indicating whether or not the player can be intercom muted/unmuted. + /// Gets or sets a value indicating whether the player can be intercom muted/unmuted. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ChangingMicroHIDStateEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ChangingMicroHIDStateEventArgs.cs index 2b9bacdbf..b65c76661 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ChangingMicroHIDStateEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ChangingMicroHIDStateEventArgs.cs @@ -62,7 +62,7 @@ public ChangingMicroHIDStateEventArgs(Player player, MicroHIDItem microHID, HidS public HidState NewState { get; set; } /// - /// Gets or sets a value indicating whether the MicroHID state can be changed or not. + /// Gets or sets a value indicating whether the MicroHID state can be changed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ChangingMuteStatusEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ChangingMuteStatusEventArgs.cs index 11904835a..a817645b0 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ChangingMuteStatusEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ChangingMuteStatusEventArgs.cs @@ -45,7 +45,7 @@ public ChangingMuteStatusEventArgs(Player player, bool isMuted, bool isAllowed = public bool IsMuted { get; } /// - /// Gets or sets a value indicating whether or not the player can be muted/unmuted. + /// Gets or sets a value indicating whether the player can be muted/unmuted. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ChangingRadioPresetEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ChangingRadioPresetEventArgs.cs index 70af9b581..39b36c809 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ChangingRadioPresetEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ChangingRadioPresetEventArgs.cs @@ -62,7 +62,7 @@ public ChangingRadioPresetEventArgs(Player player, RadioItem item, RadioRangeLev public RadioRange NewValue { get; set; } /// - /// Gets or sets a value indicating whether the radio preset can be changed or not. + /// Gets or sets a value indicating whether the radio preset can be changed. /// Client radio graphics won't sync with . /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ChangingRoleEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ChangingRoleEventArgs.cs index 3c2347d89..065c9a044 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ChangingRoleEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ChangingRoleEventArgs.cs @@ -95,7 +95,7 @@ public RoleTypeId NewRole public Dictionary Ammo { get; } = DictionaryPool.Pool.Get(); /// - /// Gets or sets a value indicating whether the inventory will be preserved or not. + /// Gets or sets a value indicating whether the inventory will be preserved. /// public bool ShouldPreserveInventory { diff --git a/EXILED/Exiled.Events/EventArgs/Player/ClosingGeneratorEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ClosingGeneratorEventArgs.cs index 0adc72e3f..3f4e75c57 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ClosingGeneratorEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ClosingGeneratorEventArgs.cs @@ -21,7 +21,7 @@ public class ClosingGeneratorEventArgs : IPlayerEvent, IDeniableEvent, IGenerato /// /// The player who's closing the generator. /// The instance. - /// Indicates whether or not the generator can be closed. + /// Indicates whether the generator can be closed. public ClosingGeneratorEventArgs(Player player, Scp079Generator generator, bool isAllowed = true) { Player = player; @@ -30,7 +30,7 @@ public ClosingGeneratorEventArgs(Player player, Scp079Generator generator, bool } /// - /// Gets or sets a value indicating whether or not the generator door can be closed. + /// Gets or sets a value indicating whether the generator door can be closed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/DamagingShootingTargetEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/DamagingShootingTargetEventArgs.cs index 6bbd5cef0..ea2f09495 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/DamagingShootingTargetEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/DamagingShootingTargetEventArgs.cs @@ -86,7 +86,7 @@ public DamagingShootingTargetEventArgs(Player player, float damage, float distan public float Distance { get; set; } /// - /// Gets or sets a value indicating whether or not the target can be damaged. + /// Gets or sets a value indicating whether the target can be damaged. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/DeactivatingWorkstationEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/DeactivatingWorkstationEventArgs.cs index fd8b0a281..7f6db6cbf 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/DeactivatingWorkstationEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/DeactivatingWorkstationEventArgs.cs @@ -52,7 +52,7 @@ public DeactivatingWorkstationEventArgs(WorkstationController controller, bool i public WorkstationStatus NewStatus { get; set; } = WorkstationStatus.PoweringDown; /// - /// Gets or sets a value indicating whether or not the workstation can be deactivated. + /// Gets or sets a value indicating whether the workstation can be deactivated. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/DroppedItemEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/DroppedItemEventArgs.cs index 0109a4bba..8126ffb95 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/DroppedItemEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/DroppedItemEventArgs.cs @@ -37,7 +37,7 @@ public DroppedItemEventArgs(Player player, ItemPickupBase pickup, bool wasThrown } /// - /// Gets or sets a value indicating whether or not the pickup was thrown. + /// Gets or sets a value indicating whether the pickup was thrown. /// public bool WasThrown { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/DroppingAmmoEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/DroppingAmmoEventArgs.cs index 3a0d0de97..de00e3429 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/DroppingAmmoEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/DroppingAmmoEventArgs.cs @@ -55,7 +55,7 @@ public DroppingAmmoEventArgs(Player player, AmmoType ammoType, ushort amount, bo public ushort Amount { get; set; } /// - /// Gets or sets a value indicating whether or not the ammo can be dropped. + /// Gets or sets a value indicating whether the ammo can be dropped. /// public bool IsAllowed { diff --git a/EXILED/Exiled.Events/EventArgs/Player/DroppingItemEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/DroppingItemEventArgs.cs index 2173163e7..efca36612 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/DroppingItemEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/DroppingItemEventArgs.cs @@ -47,12 +47,12 @@ public DroppingItemEventArgs(Player player, ItemBase item, bool isThrown, bool i } /// - /// Gets or sets a value indicating whether or not the item was thrown. + /// Gets or sets a value indicating whether the item was thrown. /// public bool IsThrown { get; set; } /// - /// Gets or sets a value indicating whether or not the item can be dropped. + /// Gets or sets a value indicating whether the item can be dropped. /// public bool IsAllowed { diff --git a/EXILED/Exiled.Events/EventArgs/Player/DryfiringWeaponEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/DryfiringWeaponEventArgs.cs index 85ba86733..ff37311a5 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/DryfiringWeaponEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/DryfiringWeaponEventArgs.cs @@ -37,7 +37,7 @@ public DryfiringWeaponEventArgs(Player player, Firearm firearm, bool isAllowed = } /// - /// Gets or sets a value indicating whether or not the weapon can be dryfired. + /// Gets or sets a value indicating whether the weapon can be dryfired. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/DyingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/DyingEventArgs.cs index 1a96627e7..41696a6e1 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/DyingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/DyingEventArgs.cs @@ -65,7 +65,7 @@ public List ItemsToDrop public CustomDamageHandler DamageHandler { get; set; } /// - /// Gets or sets a value indicating whether or not the player can be killed. + /// Gets or sets a value indicating whether the player can be killed. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Player/EnteringEnvironmentalHazardEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/EnteringEnvironmentalHazardEventArgs.cs index bc602b1d9..8ffefa313 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/EnteringEnvironmentalHazardEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/EnteringEnvironmentalHazardEventArgs.cs @@ -38,7 +38,7 @@ public EnteringEnvironmentalHazardEventArgs(API.Features.Player player, Environm public Hazard Hazard { get; } /// - /// Gets or sets a value indicating whether or not the player should be affected by the environmental hazard. + /// Gets or sets a value indicating whether the player should be affected by the environmental hazard. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/EnteringKillerCollisionEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/EnteringKillerCollisionEventArgs.cs index fa109bf07..c0f0c0805 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/EnteringKillerCollisionEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/EnteringKillerCollisionEventArgs.cs @@ -33,7 +33,7 @@ public EnteringKillerCollisionEventArgs(Player player, bool isAllowed = true) public Player Player { get; } /// - /// Gets or sets a value indicating whether or not the player is killed by killer collision. + /// Gets or sets a value indicating whether the player is killed by killer collision. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/EnteringPocketDimensionEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/EnteringPocketDimensionEventArgs.cs index dc9aa207b..09bb91803 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/EnteringPocketDimensionEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/EnteringPocketDimensionEventArgs.cs @@ -41,7 +41,7 @@ public EnteringPocketDimensionEventArgs(Player player, Player scp106, bool isAll public Player Scp106 { get; } /// - /// Gets or sets a value indicating whether or not the player can enter the pocket dimension. + /// Gets or sets a value indicating whether the player can enter the pocket dimension. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/EscapingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/EscapingEventArgs.cs index 109a744b1..5ae3deb5f 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/EscapingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/EscapingEventArgs.cs @@ -110,7 +110,7 @@ public EscapingEventArgs(Player player, RoleTypeId newRole, EscapeScenario escap public KeyValuePair RespawnTickets { get; set; } /// - /// Gets or sets a value indicating whether or not the player can escape. + /// Gets or sets a value indicating whether the player can escape. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/EscapingPocketDimensionEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/EscapingPocketDimensionEventArgs.cs index 4848107a6..57ab31694 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/EscapingPocketDimensionEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/EscapingPocketDimensionEventArgs.cs @@ -44,7 +44,7 @@ public EscapingPocketDimensionEventArgs(Player player, Vector3 position) public Vector3 TeleportPosition { get; set; } /// - /// Gets or sets a value indicating whether or not the player can successfully escape the pocket dimension. + /// Gets or sets a value indicating whether the player can successfully escape the pocket dimension. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ExitingEnvironmentalHazardEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ExitingEnvironmentalHazardEventArgs.cs index 7aecd1b3e..daa199a22 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ExitingEnvironmentalHazardEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ExitingEnvironmentalHazardEventArgs.cs @@ -38,7 +38,7 @@ public ExitingEnvironmentalHazardEventArgs(API.Features.Player player, Environme public Hazard Hazard { get; } /// - /// Gets or sets a value indicating whether or not the player should be affected by the environmental hazard. + /// Gets or sets a value indicating whether the player should be affected by the environmental hazard. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/FailingEscapePocketDimensionEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/FailingEscapePocketDimensionEventArgs.cs index 602cf6fb6..1bf968194 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/FailingEscapePocketDimensionEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/FailingEscapePocketDimensionEventArgs.cs @@ -41,7 +41,7 @@ public FailingEscapePocketDimensionEventArgs(Player player, PocketDimensionTelep public PocketDimensionTeleport Teleporter { get; } /// - /// Gets or sets a value indicating whether or not the player dies by failing the pocket dimension escape. + /// Gets or sets a value indicating whether the player dies by failing the pocket dimension escape. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/FlippingCoinEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/FlippingCoinEventArgs.cs index 7622d71b5..0e23da22b 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/FlippingCoinEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/FlippingCoinEventArgs.cs @@ -45,12 +45,12 @@ public FlippingCoinEventArgs(Player player, Coin coin, bool isTails) public Item Item { get; } /// - /// Gets or sets a value indicating whether or not the coin is landing on tails. + /// Gets or sets a value indicating whether the coin is landing on tails. /// public bool IsTails { get; set; } /// - /// Gets or sets a value indicating whether or not the coin can be flipped. + /// Gets or sets a value indicating whether the coin can be flipped. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/HandcuffingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/HandcuffingEventArgs.cs index 27a361cda..cea57b6d4 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/HandcuffingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/HandcuffingEventArgs.cs @@ -41,7 +41,7 @@ public HandcuffingEventArgs(Player cuffer, Player target, bool isAllowed = true) public Player Target { get; } /// - /// Gets or sets a value indicating whether or not the player can be handcuffed. + /// Gets or sets a value indicating whether the player can be handcuffed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/InteractingDoorEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/InteractingDoorEventArgs.cs index d8ab13538..267e3609b 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/InteractingDoorEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/InteractingDoorEventArgs.cs @@ -41,12 +41,12 @@ public InteractingDoorEventArgs(Player player, DoorVariant door, bool isAllowed } /// - /// Gets or sets a value indicating whether or not the player can interact with the door. + /// Gets or sets a value indicating whether the player can interact with the door. /// public bool CanInteract { get; set; } /// - /// Gets or sets a value indicating whether or not the player can access the door. + /// Gets or sets a value indicating whether the player can access the door. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/InteractingElevatorEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/InteractingElevatorEventArgs.cs index 7df9b7476..59960a9a7 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/InteractingElevatorEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/InteractingElevatorEventArgs.cs @@ -50,7 +50,7 @@ public InteractingElevatorEventArgs(Player player, ElevatorChamber elevator, boo public Lift Lift { get; } /// - /// Gets or sets a value indicating whether or not the player can interact with the elevator. + /// Gets or sets a value indicating whether the player can interact with the elevator. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/InteractingLockerEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/InteractingLockerEventArgs.cs index da490ade7..59b9c3b2c 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/InteractingLockerEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/InteractingLockerEventArgs.cs @@ -70,7 +70,7 @@ public InteractingLockerEventArgs(Player player, MapGeneration.Distributors.Lock public byte ChamberId => InteractingChamber.Id; /// - /// Gets or sets a value indicating whether or not the player can interact with the locker. + /// Gets or sets a value indicating whether the player can interact with the locker. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/InteractingShootingTargetEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/InteractingShootingTargetEventArgs.cs index 6f42b451e..1de0133c3 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/InteractingShootingTargetEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/InteractingShootingTargetEventArgs.cs @@ -97,7 +97,7 @@ public int NewAutoResetTime } /// - /// Gets or sets a value indicating whether or not the interaction is allowed. + /// Gets or sets a value indicating whether the interaction is allowed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/IntercomSpeakingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/IntercomSpeakingEventArgs.cs index 49b605ac0..ac7451f4f 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/IntercomSpeakingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/IntercomSpeakingEventArgs.cs @@ -37,7 +37,7 @@ public IntercomSpeakingEventArgs(Player player, bool isAllowed = true) public Player Player { get; } /// - /// Gets or sets a value indicating whether or not the player can speak on the intercom. + /// Gets or sets a value indicating whether the player can speak on the intercom. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/IssuingMuteEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/IssuingMuteEventArgs.cs index 19cf623e1..121ec39d6 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/IssuingMuteEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/IssuingMuteEventArgs.cs @@ -41,12 +41,12 @@ public IssuingMuteEventArgs(Player player, bool isIntercom, bool isAllowed = tru public Player Player { get; } /// - /// Gets or sets a value indicating whether the player is being intercom muted or not. + /// Gets or sets a value indicating whether the player is being intercom muted. /// public bool IsIntercom { get; set; } /// - /// Gets or sets a value indicating whether or not the player can be muted. + /// Gets or sets a value indicating whether the player can be muted. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/KickingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/KickingEventArgs.cs index 595ae1694..f8597c053 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/KickingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/KickingEventArgs.cs @@ -86,7 +86,7 @@ public string FullMessage } /// - /// Gets or sets a value indicating whether or not action is taken against the target. + /// Gets or sets a value indicating whether action is taken against the target. /// public bool IsAllowed { diff --git a/EXILED/Exiled.Events/EventArgs/Player/LocalReportingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/LocalReportingEventArgs.cs index 97a443ea7..e37047606 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/LocalReportingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/LocalReportingEventArgs.cs @@ -50,7 +50,7 @@ public LocalReportingEventArgs(Player issuer, Player target, string reason, bool public string Reason { get; set; } /// - /// Gets or sets a value indicating whether the report can be processed or not. + /// Gets or sets a value indicating whether the report can be processed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/OpeningGeneratorEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/OpeningGeneratorEventArgs.cs index d20813242..f134173b9 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/OpeningGeneratorEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/OpeningGeneratorEventArgs.cs @@ -38,7 +38,7 @@ public OpeningGeneratorEventArgs(Player player, Scp079Generator generator, bool } /// - /// Gets or sets a value indicating whether or not the generator can be opened. + /// Gets or sets a value indicating whether the generator can be opened. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/PlayingAudioLogEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/PlayingAudioLogEventArgs.cs index cad328ea2..4c32d2b1f 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/PlayingAudioLogEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/PlayingAudioLogEventArgs.cs @@ -32,7 +32,7 @@ public PlayingAudioLogEventArgs(Player player, bool isAllowed = true) } /// - /// Gets or sets a value indicating whether or not the audio will start. + /// Gets or sets a value indicating whether the audio will start. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/PreAuthenticatingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/PreAuthenticatingEventArgs.cs index 0b10296f2..9d2c0f5bf 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/PreAuthenticatingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/PreAuthenticatingEventArgs.cs @@ -101,7 +101,7 @@ public PreAuthenticatingEventArgs( public ConnectionRequest Request { get; } /// - /// Gets a value indicating whether the player can be authenticated or not. + /// Gets a value indicating whether the player can be authenticated. /// public bool IsAllowed { get; private set; } = true; @@ -122,7 +122,7 @@ internal PreauthCancellationData CachedPreauthData /// Delays a pre-authentincating player. /// /// The seconds of delay. - /// Indicates whether the delay is forced or not. + /// Indicates whether the delay is forced. public void Delay(byte seconds, bool isForced) => CachedPreauthData = PreauthCancellationData.RejectDelay(seconds, isForced); @@ -130,7 +130,7 @@ public void Delay(byte seconds, bool isForced) => /// Redirects a pre-authentincating player. /// /// The redirection port. - /// Indicates whether the redirection is forced or not. + /// Indicates whether the redirection is forced. public void Redirect(ushort port, bool isForced) => CachedPreauthData = PreauthCancellationData.RejectRedirect(port, isForced); @@ -139,7 +139,7 @@ public void Redirect(ushort port, bool isForced) => /// /// The ban reason.> /// The ban expiration. - /// Indicates whether the rejection is forced or not. + /// Indicates whether the rejection is forced. public void RejectBanned(string banReason, DateTime expiration, bool isForced) => CachedPreauthData = PreauthCancellationData.RejectBanned(banReason, expiration, isForced); @@ -148,7 +148,7 @@ public void RejectBanned(string banReason, DateTime expiration, bool isForced) = /// /// The ban reason. /// The ban expiration. - /// Indicates whether the rejection is forced or not. + /// Indicates whether the rejection is forced. public void RejectBanned(string banReason, long expiration, bool isForced) => CachedPreauthData = PreauthCancellationData.RejectBanned(banReason, expiration, isForced); @@ -156,7 +156,7 @@ public void RejectBanned(string banReason, long expiration, bool isForced) => /// Rejects a pre-authentincating player. /// /// The rejection custom reason. - /// Indicates whether the rejection is forced or not. + /// Indicates whether the rejection is forced. public void Reject(string customReason, bool isForced) => CachedPreauthData = PreauthCancellationData.Reject(customReason, isForced); @@ -164,7 +164,7 @@ public void Reject(string customReason, bool isForced) => /// Rejects a pre-authentincating player. /// /// The . - /// Indicates whether the rejection is forced or not. + /// Indicates whether the rejection is forced. public void Reject(RejectionReason reason, bool isForced) => CachedPreauthData = PreauthCancellationData.Reject(reason, isForced); @@ -173,7 +173,7 @@ public void Reject(RejectionReason reason, bool isForced) => /// Delays the connection. /// /// The delay in seconds. - /// Indicates whether the player has to be rejected forcefully or not. + /// Indicates whether the player has to be rejected forcefully. public void Delay(byte seconds, bool isForced) { if (seconds is < 1 or > 25) @@ -186,7 +186,7 @@ public void Delay(byte seconds, bool isForced) /// Rejects the player and redirects them to another server port. /// /// The new server port. - /// Indicates whether the player has to be rejected forcefully or not. + /// Indicates whether the player has to be rejected forcefully. public void Redirect(ushort port, bool isForced) => Reject(RejectionReason.Redirect, isForced, null, 0, 0, port); /// @@ -194,7 +194,7 @@ public void Delay(byte seconds, bool isForced) /// /// The ban reason. /// The ban expiration time. - /// Indicates whether the player has to be rejected forcefully or not. + /// Indicates whether the player has to be rejected forcefully. public void RejectBanned(string banReason, DateTime expiration, bool isForced) => Reject(RejectionReason.Banned, isForced, banReason, expiration.Ticks); /// @@ -202,14 +202,14 @@ public void Delay(byte seconds, bool isForced) /// /// The ban reason. /// The ban expiration time in .NET Ticks. - /// Indicates whether the player has to be rejected forcefully or not. + /// Indicates whether the player has to be rejected forcefully. public void RejectBanned(string banReason, long expiration, bool isForced) => Reject(RejectionReason.Banned, isForced, banReason, expiration); /// /// Rejects a player who's trying to authenticate. /// /// The instance. - /// Indicates whether the player has to be rejected forcefully or not. + /// Indicates whether the player has to be rejected forcefully. public void Reject(NetDataWriter writer, bool isForced) { if (!IsAllowed) @@ -227,14 +227,14 @@ public void Reject(NetDataWriter writer, bool isForced) /// Rejects a player who's trying to authenticate. /// /// The custom rejection reason. - /// Indicates whether the player has to be rejected forcefully or not. + /// Indicates whether the player has to be rejected forcefully. public void Reject(string rejectionReason, bool isForced) => Reject(RejectionReason.Custom, isForced, rejectionReason); /// /// Rejects a player who's trying to authenticate. /// /// The rejection reason. - /// Indicates whether the player has to be rejected forcefully or not. + /// Indicates whether the player has to be rejected forcefully. /// The custom rejection reason (Banned and Custom reasons only). /// The ban expiration ticks (Banned reason only). /// The delay in seconds (Delay reason only). diff --git a/EXILED/Exiled.Events/EventArgs/Player/ReceivingEffectEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ReceivingEffectEventArgs.cs index 696f4ff0c..f41791490 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ReceivingEffectEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ReceivingEffectEventArgs.cs @@ -74,7 +74,7 @@ public byte Intensity public byte CurrentIntensity { get; } /// - /// Gets or sets a value indicating whether or not the effect will be applied. + /// Gets or sets a value indicating whether the effect will be applied. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ReloadingWeaponEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ReloadingWeaponEventArgs.cs index 3fa8ba3ec..112dbc462 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ReloadingWeaponEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ReloadingWeaponEventArgs.cs @@ -37,7 +37,7 @@ public ReloadingWeaponEventArgs(Player player, Firearm firearm, bool isAllowed = } /// - /// Gets or sets a value indicating whether or not the weapon can be reloaded. + /// Gets or sets a value indicating whether the weapon can be reloaded. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/RemovingHandcuffsEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/RemovingHandcuffsEventArgs.cs index c375bb4b7..20af58634 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/RemovingHandcuffsEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/RemovingHandcuffsEventArgs.cs @@ -22,7 +22,7 @@ public class RemovingHandcuffsEventArgs : IPlayerEvent, IDeniableEvent /// The cuffer player. /// The target player to be uncuffed. /// The reason of removing handcuffs. - /// Indicates whether the event can be executed or not. + /// Indicates whether the event can be executed. public RemovingHandcuffsEventArgs(Player cuffer, Player target, UncuffReason uncuffReason, bool isAllowed = true) { Player = cuffer; @@ -37,7 +37,7 @@ public RemovingHandcuffsEventArgs(Player cuffer, Player target, UncuffReason unc public Player Target { get; } /// - /// Gets or sets a value indicating whether or not the player can be handcuffed. Denying the event will only have an effect when is until next major update. + /// Gets or sets a value indicating whether the player can be handcuffed. Denying the event will only have an effect when is until next major update. /// /// TODO: Update docs and patches public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/RevokingMuteEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/RevokingMuteEventArgs.cs index 52dd71aef..7ada74359 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/RevokingMuteEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/RevokingMuteEventArgs.cs @@ -21,10 +21,10 @@ public class RevokingMuteEventArgs : IssuingMuteEventArgs /// The player who's being unmuted. /// /// - /// Indicates whether the player is being intercom unmuted or not. + /// Indicates whether the player is being intercom unmuted. /// /// - /// Indicates whether or not the player can be unmuted. + /// Indicates whether the player can be unmuted. /// public RevokingMuteEventArgs(Player player, bool isIntercom, bool isAllowed = true) : base(player, isIntercom, isAllowed) diff --git a/EXILED/Exiled.Events/EventArgs/Player/ShootingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ShootingEventArgs.cs index 9802b8330..ae6e2a2dd 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ShootingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ShootingEventArgs.cs @@ -106,7 +106,7 @@ public uint TargetNetId } /// - /// Gets or sets a value indicating whether or not the shot can be fired. + /// Gets or sets a value indicating whether the shot can be fired. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/ShotEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/ShotEventArgs.cs index 288d3c3f7..021c88e0f 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/ShotEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/ShotEventArgs.cs @@ -94,7 +94,7 @@ public ShotEventArgs(Player shooter, Firearm firearm, RaycastHit hit, IDestructi public Player Target { get; } /// - /// Gets or sets a value indicating whether or not the shot can hurt the target. + /// Gets or sets a value indicating whether the shot can hurt the target. /// public bool CanHurt { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/SpawningRagdollEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/SpawningRagdollEventArgs.cs index b486a892f..fa65886e1 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/SpawningRagdollEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/SpawningRagdollEventArgs.cs @@ -100,7 +100,7 @@ public DamageHandlerBase DamageHandlerBase } /// - /// Gets or sets a value indicating whether or not the ragdoll can be spawned. + /// Gets or sets a value indicating whether the ragdoll can be spawned. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/StoppingGeneratorEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/StoppingGeneratorEventArgs.cs index addeb79ad..2fcbe2d04 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/StoppingGeneratorEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/StoppingGeneratorEventArgs.cs @@ -21,7 +21,7 @@ public class StoppingGeneratorEventArgs : IPlayerEvent, IGeneratorEvent, IDeniab /// /// The player who's flipping the switch. /// The instance. - /// Indicates whether or not the switch of the generator can be flipped. + /// Indicates whether the switch of the generator can be flipped. public StoppingGeneratorEventArgs(Player player, Scp079Generator generator, bool isAllowed = true) { Player = player; @@ -30,7 +30,7 @@ public StoppingGeneratorEventArgs(Player player, Scp079Generator generator, bool } /// - /// Gets or sets a value indicating whether or not the switch can be flipped. + /// Gets or sets a value indicating whether the switch can be flipped. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/TogglingFlashlightEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/TogglingFlashlightEventArgs.cs index 3a87a66a1..2aec03f9c 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/TogglingFlashlightEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/TogglingFlashlightEventArgs.cs @@ -49,12 +49,12 @@ public TogglingFlashlightEventArgs(ReferenceHub hub, ToggleableLightItemBase fla public Item Item => Flashlight; /// - /// Gets or sets a value indicating whether or not the flashlight should be on. + /// Gets or sets a value indicating whether the flashlight should be on. /// public bool NewState { get; set; } /// - /// Gets or sets a value indicating whether or not the player can toggle the flashlight. + /// Gets or sets a value indicating whether the player can toggle the flashlight. /// public bool IsAllowed { diff --git a/EXILED/Exiled.Events/EventArgs/Player/TogglingNoClipEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/TogglingNoClipEventArgs.cs index ee1b858d8..95a563e8c 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/TogglingNoClipEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/TogglingNoClipEventArgs.cs @@ -41,12 +41,12 @@ public TogglingNoClipEventArgs(Player player, bool newValue, bool isAllowed = tr public Player Player { get; } /// - /// Gets or sets a value indicating whether or not the noclip mode will be enabled or not. + /// Gets or sets a value indicating whether the noclip mode will be enabled. /// public bool IsEnabled { get; set; } /// - /// Gets or sets a value indicating whether or not the player can toggle noclip. + /// Gets or sets a value indicating whether the player can toggle noclip. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/TogglingOverwatchEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/TogglingOverwatchEventArgs.cs index 2b3dfc54d..e4c2bbdee 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/TogglingOverwatchEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/TogglingOverwatchEventArgs.cs @@ -43,12 +43,12 @@ public TogglingOverwatchEventArgs(API.Features.Player player, byte newValue) public API.Features.Player Player { get; } /// - /// Gets or sets a value indicating whether overwatch will be enabled or not. + /// Gets or sets a value indicating whether overwatch will be enabled. /// public bool IsEnabled { get; set; } /// - /// Gets or sets a value indicating whether the event is allowed or not. + /// Gets or sets a value indicating whether the event is allowed. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/TogglingWeaponFlashlightEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/TogglingWeaponFlashlightEventArgs.cs index 1335fe0bb..9dfa222d6 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/TogglingWeaponFlashlightEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/TogglingWeaponFlashlightEventArgs.cs @@ -46,7 +46,7 @@ public TogglingWeaponFlashlightEventArgs(Player player, Firearm firearm, bool ne public bool NewState { get; set; } /// - /// Gets or sets a value indicating whether or not the weapon's flashlight can be toggled. + /// Gets or sets a value indicating whether the weapon's flashlight can be toggled. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/TransmittingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/TransmittingEventArgs.cs index 3a1b3617c..ec710c12f 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/TransmittingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/TransmittingEventArgs.cs @@ -49,13 +49,13 @@ public TransmittingEventArgs(Player player, VoiceModuleBase voiceModule, bool is public VoiceModuleBase VoiceModule { get; } /// - /// Gets a value indicating whether or not the player is transmitting. + /// Gets a value indicating whether the player is transmitting. /// [Obsolete("IsTransmitting is always true.")] public bool IsTransmitting => true; /// - /// Gets or sets a value indicating whether or not the player can transmit. + /// Gets or sets a value indicating whether the player can transmit. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/TriggeringTeslaEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/TriggeringTeslaEventArgs.cs index ad71df8d1..cf6853a51 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/TriggeringTeslaEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/TriggeringTeslaEventArgs.cs @@ -34,17 +34,17 @@ public TriggeringTeslaEventArgs(Player player, TeslaGate teslaGate) } /// - /// Gets or sets a value indicating whether or not the player is in hurting range. + /// Gets or sets a value indicating whether the player is in hurting range. /// public bool IsInHurtingRange { get; set; } /// - /// Gets or sets a value indicating whether or not the player will cause the tesla going to be idle. + /// Gets or sets a value indicating whether the player will cause the tesla going to be idle. /// public bool IsInIdleRange { get; set; } = true; /// - /// Gets or sets a value indicating whether or not the player will cause the tesla going to be activated. + /// Gets or sets a value indicating whether the player will cause the tesla going to be activated. /// public bool IsTriggerable { get; set; } @@ -59,12 +59,12 @@ public TriggeringTeslaEventArgs(Player player, TeslaGate teslaGate) public TeslaGate Tesla { get; } /// - /// Gets or sets a value indicating whether or not the player will be detected by the tesla. + /// Gets or sets a value indicating whether the player will be detected by the tesla. /// public bool IsAllowed { get; set; } = true; /// - /// Gets or sets a value indicating whether or not the tesla will be deactivated. + /// Gets or sets a value indicating whether the tesla will be deactivated. /// public bool DisableTesla { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Player/UnloadingWeaponEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/UnloadingWeaponEventArgs.cs index c16b1131f..99d9c4c07 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/UnloadingWeaponEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/UnloadingWeaponEventArgs.cs @@ -37,7 +37,7 @@ public UnloadingWeaponEventArgs(Player player, Firearm firearm, bool isAllowed = } /// - /// Gets or sets a value indicating whether or not the weapon can be unloaded. + /// Gets or sets a value indicating whether the weapon can be unloaded. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/UnlockingGeneratorEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/UnlockingGeneratorEventArgs.cs index 5a42e3014..68e888870 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/UnlockingGeneratorEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/UnlockingGeneratorEventArgs.cs @@ -38,7 +38,7 @@ public UnlockingGeneratorEventArgs(Player player, Scp079Generator generator, boo } /// - /// Gets or sets a value indicating whether or not the generator can be unlocked. + /// Gets or sets a value indicating whether the generator can be unlocked. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/UsingItemCompletedEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/UsingItemCompletedEventArgs.cs index a0f86dd04..b83d1f4e5 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/UsingItemCompletedEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/UsingItemCompletedEventArgs.cs @@ -45,7 +45,7 @@ public UsingItemCompletedEventArgs(Player player, UsableItem item) public Player Player { get; } /// - /// Gets or sets a value indicating whether or not the player can use the item. + /// Gets or sets a value indicating whether the player can use the item. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/UsingItemEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/UsingItemEventArgs.cs index 708a58f8a..4b3436845 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/UsingItemEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/UsingItemEventArgs.cs @@ -54,7 +54,7 @@ public UsingItemEventArgs(Player player, UsableItem item, float cooldown) public float Cooldown { get; set; } /// - /// Gets or sets a value indicating whether or not the player can use the item. + /// Gets or sets a value indicating whether the player can use the item. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/UsingMicroHIDEnergyEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/UsingMicroHIDEnergyEventArgs.cs index 402d20e1b..2f7946d86 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/UsingMicroHIDEnergyEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/UsingMicroHIDEnergyEventArgs.cs @@ -65,7 +65,7 @@ public UsingMicroHIDEnergyEventArgs(Player player, MicroHIDItem microHIDitem, Hi public float Drain { get; set; } /// - /// Gets or sets a value indicating whether the MicroHID energy can be changed or not. + /// Gets or sets a value indicating whether the MicroHID energy can be changed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/UsingRadioBatteryEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/UsingRadioBatteryEventArgs.cs index 1f07dadde..e05dcf1e8 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/UsingRadioBatteryEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/UsingRadioBatteryEventArgs.cs @@ -56,7 +56,7 @@ public UsingRadioBatteryEventArgs(RadioItem radio, Player player, float drain, b public float Drain { get; set; } /// - /// Gets or sets a value indicating whether the radio battery charge can be changed or not. + /// Gets or sets a value indicating whether the radio battery charge can be changed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Player/VoiceChattingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Player/VoiceChattingEventArgs.cs index 3b0e90bb8..71468fcf7 100644 --- a/EXILED/Exiled.Events/EventArgs/Player/VoiceChattingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Player/VoiceChattingEventArgs.cs @@ -58,7 +58,7 @@ public VoiceChattingEventArgs(Player player, VoiceMessage voiceMessage, VoiceMod public VoiceModuleBase VoiceModule { get; } /// - /// Gets or sets a value indicating whether or not the player can voicechat. + /// Gets or sets a value indicating whether the player can voicechat. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp049/ActivatingSenseEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp049/ActivatingSenseEventArgs.cs index 8a8b719be..4914fdd59 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp049/ActivatingSenseEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp049/ActivatingSenseEventArgs.cs @@ -66,7 +66,7 @@ public ActivatingSenseEventArgs(Player player, Player target, bool isAllowed = t public float Duration { get; set; } /// - /// Gets or sets a value indicating whether or not the server will send 049 information on the recall. + /// Gets or sets a value indicating whether the server will send 049 information on the recall. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp049/AttackingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp049/AttackingEventArgs.cs index b7ed8dde0..0fa25f569 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp049/AttackingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp049/AttackingEventArgs.cs @@ -44,7 +44,7 @@ public AttackingEventArgs(Player player, Player target, bool isAllowed = true) public Player Target { get; } /// - /// Gets or sets a value indicating whether or not target can be attacked. + /// Gets or sets a value indicating whether target can be attacked. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp049/FinishingRecallEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp049/FinishingRecallEventArgs.cs index e897dbb04..e4b5d9ed9 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp049/FinishingRecallEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp049/FinishingRecallEventArgs.cs @@ -60,7 +60,7 @@ public FinishingRecallEventArgs(Player target, Player scp049, BasicRagdoll ragdo public Ragdoll Ragdoll { get; } /// - /// Gets or sets a value indicating whether or not the player can be revived. + /// Gets or sets a value indicating whether the player can be revived. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp049/SendingCallEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp049/SendingCallEventArgs.cs index cd882d151..495b0bcf1 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp049/SendingCallEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp049/SendingCallEventArgs.cs @@ -43,7 +43,7 @@ public SendingCallEventArgs(Player player, bool isAllowed = true) public float Duration { get; set; } /// - /// Gets or sets a value indicating whether or not the server will send 049 information on the call. + /// Gets or sets a value indicating whether the server will send 049 information on the call. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/ChangingCameraEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/ChangingCameraEventArgs.cs index 88e154243..b3b686765 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/ChangingCameraEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/ChangingCameraEventArgs.cs @@ -58,8 +58,8 @@ public ChangingCameraEventArgs(Player player, Scp079Camera camera, float auxilia public Camera Camera { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-079 can switch cameras. - /// Defaults to a value describing whether or not SCP-079 has enough auxiliary power to switch. + /// Gets or sets a value indicating whether SCP-079 can switch cameras. + /// Defaults to a value describing whether SCP-079 has enough auxiliary power to switch. ///
Can be set to to allow a switch regardless of SCP-079's auxiliary power amount.
///
public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/ElevatorTeleportingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/ElevatorTeleportingEventArgs.cs index 55ad118fa..d10ce5597 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/ElevatorTeleportingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/ElevatorTeleportingEventArgs.cs @@ -69,8 +69,8 @@ public ElevatorTeleportingEventArgs(Player player, RoomIdentifier room, Elevator public Lift Lift { get; } /// - /// Gets or sets a value indicating whether or not SCP-079 can teleport. - /// Defaults to a describing whether or not SCP-079 has enough auxiliary power to teleport. + /// Gets or sets a value indicating whether SCP-079 can teleport. + /// Defaults to a describing whether SCP-079 has enough auxiliary power to teleport. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/GainingExperienceEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/GainingExperienceEventArgs.cs index dfeae7760..5829f1c19 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/GainingExperienceEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/GainingExperienceEventArgs.cs @@ -64,7 +64,7 @@ public GainingExperienceEventArgs(Player player, Scp079HudTranslation gainType, public int Amount { get; set; } /// - /// Gets or sets a value indicating whether or not the experience is successfully granted. + /// Gets or sets a value indicating whether the experience is successfully granted. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/GainingLevelEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/GainingLevelEventArgs.cs index 8548052b8..b2a455742 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/GainingLevelEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/GainingLevelEventArgs.cs @@ -42,7 +42,7 @@ public GainingLevelEventArgs(Player player, int newLevel, bool isAllowed = true) public int NewLevel { get; set; } /// - /// Gets or sets a value indicating whether or not the level is successfully granted. + /// Gets or sets a value indicating whether the level is successfully granted. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/InteractingTeslaEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/InteractingTeslaEventArgs.cs index a22f2d04a..6e820e934 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/InteractingTeslaEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/InteractingTeslaEventArgs.cs @@ -58,7 +58,7 @@ public InteractingTeslaEventArgs(Player player, TeslaGate teslaGate, float auxil public float AuxiliaryPowerCost { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-079 can interact with the tesla gate. + /// Gets or sets a value indicating whether SCP-079 can interact with the tesla gate. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/LockingDownEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/LockingDownEventArgs.cs index 151b3fd46..edb57f8cf 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/LockingDownEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/LockingDownEventArgs.cs @@ -58,7 +58,7 @@ public LockingDownEventArgs(Player player, RoomIdentifier roomIdentifier, float public float AuxiliaryPowerCost { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-079 can lockdown a room. + /// Gets or sets a value indicating whether SCP-079 can lockdown a room. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/PingingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/PingingEventArgs.cs index 50b4b3935..07926a713 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/PingingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/PingingEventArgs.cs @@ -61,7 +61,7 @@ public PingingEventArgs(ReferenceHub hub, RelativePosition position, int powerCo public Vector3 SyncNormal { get; } /// - /// Gets or sets a value indicating whether or not the event is allowed to continue. + /// Gets or sets a value indicating whether the event is allowed to continue. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/RecontainingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/RecontainingEventArgs.cs index 11d88c3f1..cb473717f 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/RecontainingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/RecontainingEventArgs.cs @@ -35,7 +35,7 @@ public RecontainingEventArgs(BreakableWindow recontainer) public bool IsAllowed { get; set; } = true; /// - /// Gets a value indicating whether or not the recontained has been made automatically or by triggering the proccess. + /// Gets a value indicating whether the recontained has been made automatically or by triggering the proccess. /// public bool IsAutomatic { get; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/RoomBlackoutEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/RoomBlackoutEventArgs.cs index f1f6c85d5..361afe9c8 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/RoomBlackoutEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/RoomBlackoutEventArgs.cs @@ -79,7 +79,7 @@ public RoomBlackoutEventArgs(ReferenceHub player, RoomIdentifier roomIdentifier, public double Cooldown { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-079 can black out the room. + /// Gets or sets a value indicating whether SCP-079 can black out the room. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/StartingSpeakerEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/StartingSpeakerEventArgs.cs index b671e4da1..77b17e9d5 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/StartingSpeakerEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/StartingSpeakerEventArgs.cs @@ -59,7 +59,7 @@ public StartingSpeakerEventArgs(Player player, Room room, float auxiliaryPowerCo public float AuxiliaryPowerCost { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-079 can use the speaker. + /// Gets or sets a value indicating whether SCP-079 can use the speaker. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/StoppingSpeakerEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/StoppingSpeakerEventArgs.cs index 2c69fbc16..fcc8a23a5 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/StoppingSpeakerEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/StoppingSpeakerEventArgs.cs @@ -50,7 +50,7 @@ public StoppingSpeakerEventArgs(Player player, Room room, bool isAllowed = true) public Room Room { get; } /// - /// Gets or sets a value indicating whether or not SCP-079 can stop using the speaker. + /// Gets or sets a value indicating whether SCP-079 can stop using the speaker. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/TriggeringDoorEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/TriggeringDoorEventArgs.cs index 83d9d4849..62997d8d0 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/TriggeringDoorEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/TriggeringDoorEventArgs.cs @@ -41,7 +41,7 @@ public TriggeringDoorEventArgs(Player player, DoorVariant door, float auxiliaryP } /// - /// Gets or sets a value indicating whether or not the player can interact with the door. + /// Gets or sets a value indicating whether the player can interact with the door. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Scp079/ZoneBlackoutEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp079/ZoneBlackoutEventArgs.cs index 99adf04f5..c9a733b9e 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp079/ZoneBlackoutEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp079/ZoneBlackoutEventArgs.cs @@ -85,7 +85,7 @@ public ZoneBlackoutEventArgs(ReferenceHub player, FacilityZone zone, float auxil public float Cooldown { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-079 can lockdown a room. + /// Gets or sets a value indicating whether SCP-079 can lockdown a room. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp096/AddingTargetEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp096/AddingTargetEventArgs.cs index 7a21f77f0..554422d4e 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp096/AddingTargetEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp096/AddingTargetEventArgs.cs @@ -56,12 +56,12 @@ public AddingTargetEventArgs(Player scp096, Player target, bool isLooking, bool public Player Target { get; } /// - /// Gets a value indicating whether or not the target was being target cause of looking it's face. + /// Gets a value indicating whether the target was being target cause of looking it's face. /// public bool IsLooking { get; } /// - /// Gets or sets a value indicating whether or not the target is allowed to be added. + /// Gets or sets a value indicating whether the target is allowed to be added. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp096/CalmingDownEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp096/CalmingDownEventArgs.cs index 1a6647c68..1873553fb 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp096/CalmingDownEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp096/CalmingDownEventArgs.cs @@ -21,7 +21,7 @@ public class CalmingDownEventArgs : IScp096Event, IDeniableEvent /// /// The player who's controlling SCP-096. /// - /// Indicates whether or not SCP-096 can calm down. + /// Indicates whether SCP-096 can calm down. public CalmingDownEventArgs(Player player, bool shouldClearEnragedTimeLeft, bool isAllowed = true) { Player = player; @@ -39,12 +39,12 @@ public CalmingDownEventArgs(Player player, bool shouldClearEnragedTimeLeft, bool public Player Player { get; } /// - /// Gets or sets a value indicating whether SCP-096 enrage time left should be cleared or not. + /// Gets or sets a value indicating whether SCP-096 enrage time left should be cleared. /// public bool ShouldClearEnragedTimeLeft { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-096 can be enraged. + /// Gets or sets a value indicating whether SCP-096 can be enraged. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp096/ChargingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp096/ChargingEventArgs.cs index be040740a..ac7f2ba43 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp096/ChargingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp096/ChargingEventArgs.cs @@ -41,7 +41,7 @@ public ChargingEventArgs(Player player, bool isAllowed = true) public Player Player { get; } /// - /// Gets or sets a value indicating whether or not SCP-096 can charge. + /// Gets or sets a value indicating whether SCP-096 can charge. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp096/EnragingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp096/EnragingEventArgs.cs index 001a67cec..d469fd979 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp096/EnragingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp096/EnragingEventArgs.cs @@ -50,7 +50,7 @@ public EnragingEventArgs(Player player, float initialDuration, bool isAllowed = public float InitialDuration { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-096 can be enraged. + /// Gets or sets a value indicating whether SCP-096 can be enraged. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp096/StartPryingGateEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp096/StartPryingGateEventArgs.cs index be8cef0ce..0b39e2fab 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp096/StartPryingGateEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp096/StartPryingGateEventArgs.cs @@ -44,7 +44,7 @@ public StartPryingGateEventArgs(Player player, PryableDoor gate, bool isAllowed public Scp096Role Scp096 { get; } /// - /// Gets or Sets a value indicating whether or not the gate can be pried open by SCP-096. + /// Gets or Sets a value indicating whether the gate can be pried open by SCP-096. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp096/TryingNotToCryEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp096/TryingNotToCryEventArgs.cs index 693bbb377..378ef806e 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp096/TryingNotToCryEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp096/TryingNotToCryEventArgs.cs @@ -58,7 +58,7 @@ public TryingNotToCryEventArgs(Player player, bool isAllowed = true) public GameObject GameObject { get; } /// - /// Gets or sets a value indicating whether or not SCP-096 can try not to cry. + /// Gets or sets a value indicating whether SCP-096 can try not to cry. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp106/AttackingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp106/AttackingEventArgs.cs index f3bd01151..40521f8a0 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp106/AttackingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp106/AttackingEventArgs.cs @@ -44,7 +44,7 @@ public AttackingEventArgs(Player player, Player target, bool isAllowed = true) public Player Target { get; } /// - /// Gets or sets a value indicating whether or not target can be attacked. + /// Gets or sets a value indicating whether target can be attacked. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp106/ExitStalkingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp106/ExitStalkingEventArgs.cs index c6b44dbf7..8d891a19a 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp106/ExitStalkingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp106/ExitStalkingEventArgs.cs @@ -41,7 +41,7 @@ public ExitStalkingEventArgs(Player player, bool isAllowed = true) public Scp106Role Scp106 { get; } /// - /// Gets or sets a value indicating whether or not SCP-106 can stalk. + /// Gets or sets a value indicating whether SCP-106 can stalk. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp106/StalkingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp106/StalkingEventArgs.cs index 16c94d235..c03088f81 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp106/StalkingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp106/StalkingEventArgs.cs @@ -64,7 +64,7 @@ public float Vigor public Scp106Role Scp106 { get; } /// - /// Gets or sets a value indicating whether or not SCP-106 can stalk. + /// Gets or sets a value indicating whether SCP-106 can stalk. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp106/TeleportingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp106/TeleportingEventArgs.cs index ffc5a10de..848918d62 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp106/TeleportingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp106/TeleportingEventArgs.cs @@ -44,7 +44,7 @@ public TeleportingEventArgs(Player player, Vector3 position, bool isAllowed = tr public Vector3 Position { get; set; } /// - /// Gets or sets a value indicating whether or not SCP-106 can teleport using a portal. + /// Gets or sets a value indicating whether SCP-106 can teleport using a portal. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp173/BeingObservedEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp173/BeingObservedEventArgs.cs index e32410f31..c63400db7 100755 --- a/EXILED/Exiled.Events/EventArgs/Scp173/BeingObservedEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp173/BeingObservedEventArgs.cs @@ -26,7 +26,7 @@ public class BeingObservedEventArgs : IScp173Event, IDeniableEvent /// The instance of the SCP-173. /// /// - /// Whether or not the target will be counted as observing the SCP-173. + /// Whether the target will be counted as observing the SCP-173. /// public BeingObservedEventArgs(API.Features.Player target, API.Features.Player scp173, bool isAllowed = true) { @@ -50,7 +50,7 @@ public BeingObservedEventArgs(API.Features.Player target, API.Features.Player sc public Scp173Role Scp173 { get; } /// - /// Gets or sets a value indicating whether or not the player can be counted as observing. + /// Gets or sets a value indicating whether the player can be counted as observing. /// public bool IsAllowed { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp173/BlinkingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp173/BlinkingEventArgs.cs index 5ef166038..41adb2a12 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp173/BlinkingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp173/BlinkingEventArgs.cs @@ -62,7 +62,7 @@ public BlinkingEventArgs(Player player, List targets, Vector3 blinkPos) public List Targets { get; } /// - /// Gets or sets a value indicating whether or not the player is allowed to blink. + /// Gets or sets a value indicating whether the player is allowed to blink. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Scp173/BlinkingRequestEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp173/BlinkingRequestEventArgs.cs index cf05b21dd..78b849b3d 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp173/BlinkingRequestEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp173/BlinkingRequestEventArgs.cs @@ -42,7 +42,7 @@ public BlinkingRequestEventArgs(Player player, HashSet targets) public IReadOnlyCollection Targets { get; } /// - /// Gets or sets a value indicating whether or not the player is allowed to blink. + /// Gets or sets a value indicating whether the player is allowed to blink. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Scp173/PlacingTantrumEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp173/PlacingTantrumEventArgs.cs index d63231048..2bf89a18d 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp173/PlacingTantrumEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp173/PlacingTantrumEventArgs.cs @@ -60,7 +60,7 @@ public PlacingTantrumEventArgs(Player player, TantrumEnvironmentalHazard tantrum public AbilityCooldown Cooldown { get; } /// - /// Gets or sets a value indicating whether or not the tantrum can be placed. + /// Gets or sets a value indicating whether the tantrum can be placed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp173/UsingBreakneckSpeedsEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp173/UsingBreakneckSpeedsEventArgs.cs index d8cad06ec..47623ab5e 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp173/UsingBreakneckSpeedsEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp173/UsingBreakneckSpeedsEventArgs.cs @@ -33,7 +33,7 @@ public UsingBreakneckSpeedsEventArgs(Player player, bool isAllowed = true) } /// - /// Gets or sets a value indicating whether or not the player can use breakneck speeds. + /// Gets or sets a value indicating whether the player can use breakneck speeds. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp244/OpeningScp244EventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp244/OpeningScp244EventArgs.cs index 45e354b0c..e2e4632c2 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp244/OpeningScp244EventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp244/OpeningScp244EventArgs.cs @@ -34,7 +34,7 @@ public OpeningScp244EventArgs(Scp244DeployablePickup pickup) public Scp244Pickup Pickup { get; } /// - /// Gets or sets a value indicating whether or not the player can open SCP-244. + /// Gets or sets a value indicating whether the player can open SCP-244. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp3114/DancingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp3114/DancingEventArgs.cs index ecb4cf893..b48f36f0a 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp3114/DancingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp3114/DancingEventArgs.cs @@ -37,7 +37,7 @@ public DancingEventArgs(bool newState, Player player, bool isAllowed = true) public bool IsAllowed { get; set; } /// - /// Gets a value indicating whether or not SCP-3114 is dancing. + /// Gets a value indicating whether SCP-3114 is dancing. /// public bool IsDancing { get; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp3114/RevealedEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp3114/RevealedEventArgs.cs index 74866b193..230260e59 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp3114/RevealedEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp3114/RevealedEventArgs.cs @@ -39,7 +39,7 @@ public RevealedEventArgs(Player player, bool isManualReveal) public Scp3114Role Scp3114 { get; } /// - /// Gets a value indicating whether the reveal is manual or not. + /// Gets a value indicating whether the reveal is manual. /// public bool IsManualReveal { get; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp3114/RevealingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp3114/RevealingEventArgs.cs index 755ae8c0f..e2d7f9b1e 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp3114/RevealingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp3114/RevealingEventArgs.cs @@ -46,7 +46,7 @@ public RevealingEventArgs(Player player, bool isManualReveal, bool isAllowed = t public Scp3114Role Scp3114 { get; } /// - /// Gets a value indicating whether the reveal is manual or not. + /// Gets a value indicating whether the reveal is manual. /// public bool IsManualReveal { get; } } diff --git a/EXILED/Exiled.Events/EventArgs/Scp330/DroppingScp330EventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp330/DroppingScp330EventArgs.cs index 985e90337..56ee26162 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp330/DroppingScp330EventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp330/DroppingScp330EventArgs.cs @@ -47,12 +47,12 @@ public DroppingScp330EventArgs(Player player, Scp330Bag scp330, CandyKindID cand public Item Item => Scp330; /// - /// Gets or sets a value indicating whether or not the type of candy drop. + /// Gets or sets a value indicating whether the type of candy drop. /// public CandyKindID Candy { get; set; } /// - /// Gets or sets a value indicating whether or not the player can interact with SCP-330. + /// Gets or sets a value indicating whether the player can interact with SCP-330. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Scp330/EatingScp330EventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp330/EatingScp330EventArgs.cs index 825f8424b..d82a7e123 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp330/EatingScp330EventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp330/EatingScp330EventArgs.cs @@ -39,7 +39,7 @@ public EatingScp330EventArgs(Player player, Scp330Bag scp330, ICandy candy, bool public ICandy Candy { get; } /// - /// Gets or sets a value indicating whether or not the player can eat SCP-330. + /// Gets or sets a value indicating whether the player can eat SCP-330. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp914/ActivatingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp914/ActivatingEventArgs.cs index 6d229acf7..d8f879d5e 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp914/ActivatingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp914/ActivatingEventArgs.cs @@ -32,7 +32,7 @@ public ActivatingEventArgs(Player player, bool isAllowed = true) } /// - /// Gets or sets a value indicating whether or not SCP-914 can be activated. + /// Gets or sets a value indicating whether SCP-914 can be activated. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp914/ChangingKnobSettingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp914/ChangingKnobSettingEventArgs.cs index ae9a25042..d490ebffd 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp914/ChangingKnobSettingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp914/ChangingKnobSettingEventArgs.cs @@ -49,7 +49,7 @@ public Scp914KnobSetting KnobSetting } /// - /// Gets or sets a value indicating whether or not SCP-914's knob setting can be changed. + /// Gets or sets a value indicating whether SCP-914's knob setting can be changed. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingInventoryItemEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingInventoryItemEventArgs.cs index 8dd471a7f..0d8785651 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingInventoryItemEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingInventoryItemEventArgs.cs @@ -55,7 +55,7 @@ public UpgradingInventoryItemEventArgs(Player player, ItemBase item, Scp914KnobS public Scp914KnobSetting KnobSetting { get; set; } /// - /// Gets or sets a value indicating whether or not the upgrade is successful. + /// Gets or sets a value indicating whether the upgrade is successful. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingPickupEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingPickupEventArgs.cs index 22744d588..39313c75c 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingPickupEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingPickupEventArgs.cs @@ -61,7 +61,7 @@ public UpgradingPickupEventArgs(ItemPickupBase item, Vector3 newPos, Scp914KnobS public Scp914KnobSetting KnobSetting { get; set; } /// - /// Gets or sets a value indicating whether or not the upgrade is successful. + /// Gets or sets a value indicating whether the upgrade is successful. /// public bool IsAllowed { get; set; } = true; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingPlayerEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingPlayerEventArgs.cs index 41ef53347..4a4bdc0fb 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingPlayerEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp914/UpgradingPlayerEventArgs.cs @@ -49,12 +49,12 @@ public UpgradingPlayerEventArgs(Player player, bool upgradeItems, bool heldOnly, public Vector3 OutputPosition { get; set; } /// - /// Gets or sets a value indicating whether or not items will be upgraded. + /// Gets or sets a value indicating whether items will be upgraded. /// public bool UpgradeItems { get; set; } /// - /// Gets or sets a value indicating whether or not only held items are upgraded. + /// Gets or sets a value indicating whether only held items are upgraded. /// public bool HeldOnly { get; set; } @@ -64,7 +64,7 @@ public UpgradingPlayerEventArgs(Player player, bool upgradeItems, bool heldOnly, public Scp914KnobSetting KnobSetting { get; set; } /// - /// Gets or sets a value indicating whether or not the event can continue. + /// Gets or sets a value indicating whether the event can continue. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Scp939/ChangingFocusEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp939/ChangingFocusEventArgs.cs index ec3c29433..e8954c442 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp939/ChangingFocusEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp939/ChangingFocusEventArgs.cs @@ -37,12 +37,12 @@ public ChangingFocusEventArgs(ReferenceHub player, bool state, bool isAllowed = } /// - /// Gets or sets a value indicating whether or not SCP-939 can focus. + /// Gets or sets a value indicating whether SCP-939 can focus. /// public bool IsAllowed { get; set; } /// - /// Gets a value indicating whether or not SCP-939 is currently focusing or un-focusing. + /// Gets a value indicating whether SCP-939 is currently focusing or un-focusing. /// public bool State { get; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp939/PlacingAmnesticCloudEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp939/PlacingAmnesticCloudEventArgs.cs index e8b2c72f5..294ffb0bd 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp939/PlacingAmnesticCloudEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp939/PlacingAmnesticCloudEventArgs.cs @@ -23,10 +23,10 @@ public class PlacingAmnesticCloudEventArgs : IScp939Event, IDeniableEvent /// /// /// - /// Whether or not SCP-939 is attempting to place an amnestic cloud. + /// Whether SCP-939 is attempting to place an amnestic cloud. /// /// - /// Whether or not the cooldown is ready. + /// Whether the cooldown is ready. /// /// /// SCP-939's amnestic cloud cooldown. @@ -45,17 +45,17 @@ public PlacingAmnesticCloudEventArgs(Player player, bool state, bool isReady, fl } /// - /// Gets or sets a value indicating whether or not SCP-939 can place an amnestic cloud. + /// Gets or sets a value indicating whether SCP-939 can place an amnestic cloud. /// public bool IsAllowed { get; set; } /// - /// Gets a value indicating whether or not SCP-939 is ready to place its amnestic cloud. + /// Gets a value indicating whether SCP-939 is ready to place its amnestic cloud. /// public bool State { get; } /// - /// Gets or sets a value indicating whether or not SCP-939's amnestic cloud cooldown is ready. + /// Gets or sets a value indicating whether SCP-939's amnestic cloud cooldown is ready. /// public bool IsReady { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp939/PlayingSoundEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp939/PlayingSoundEventArgs.cs index 7502be5fb..74fdf5929 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp939/PlayingSoundEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp939/PlayingSoundEventArgs.cs @@ -27,7 +27,7 @@ public class PlayingSoundEventArgs : IScp939Event, IDeniableEvent /// The sound that is being played. /// /// - /// Whether or not SCP-939's environmental mimicry cooldown is ready. + /// Whether SCP-939's environmental mimicry cooldown is ready. /// /// /// The cooldown of the environmental mimicry. @@ -46,7 +46,7 @@ public PlayingSoundEventArgs(Player player, EnvMimicrySequence sound, bool isRea } /// - /// Gets or sets a value indicating whether or not SCP-939 can play the sound. + /// Gets or sets a value indicating whether SCP-939 can play the sound. /// /// This will default to if is . In this case, setting it to will override the cooldown. public bool IsAllowed { get; set; } @@ -57,7 +57,7 @@ public PlayingSoundEventArgs(Player player, EnvMimicrySequence sound, bool isRea public EnvMimicrySequence Sound { get; } /// - /// Gets a value indicating whether or not SCP-939's environmental mimicry cooldown is ready. + /// Gets a value indicating whether SCP-939's environmental mimicry cooldown is ready. /// public bool IsReady { get; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp939/PlayingVoiceEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp939/PlayingVoiceEventArgs.cs index 5b8dfdd37..1883f86a1 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp939/PlayingVoiceEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp939/PlayingVoiceEventArgs.cs @@ -33,7 +33,7 @@ public PlayingVoiceEventArgs(ReferenceHub player, ReferenceHub stolen) } /// - /// Gets or sets a value indicating whether or not SCP-939 can play the stolen voice. + /// Gets or sets a value indicating whether SCP-939 can play the stolen voice. /// public bool IsAllowed { get; set; } = true; diff --git a/EXILED/Exiled.Events/EventArgs/Scp939/SavingVoiceEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp939/SavingVoiceEventArgs.cs index 6f6381430..aa1bf7337 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp939/SavingVoiceEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp939/SavingVoiceEventArgs.cs @@ -37,7 +37,7 @@ public SavingVoiceEventArgs(ReferenceHub player, ReferenceHub stolen, bool isAll } /// - /// Gets or sets a value indicating whether or not SCP-939 can play the stolen voice. + /// Gets or sets a value indicating whether SCP-939 can play the stolen voice. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Scp939/ValidatingVisibilityEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Scp939/ValidatingVisibilityEventArgs.cs index 3a2bd2a0b..f448b325b 100644 --- a/EXILED/Exiled.Events/EventArgs/Scp939/ValidatingVisibilityEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Scp939/ValidatingVisibilityEventArgs.cs @@ -26,7 +26,7 @@ public class ValidatingVisibilityEventArgs : IScp939Event, IDeniableEvent /// The target being shown to SCP-939. /// /// - /// Whether or not SCP-939 is allowed to view the player. + /// Whether SCP-939 is allowed to view the player. /// public ValidatingVisibilityEventArgs(ReferenceHub player, ReferenceHub target, bool isAllowed) { diff --git a/EXILED/Exiled.Events/EventArgs/Server/AddingUnitNameEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Server/AddingUnitNameEventArgs.cs index 7af2fff05..2b380bf20 100644 --- a/EXILED/Exiled.Events/EventArgs/Server/AddingUnitNameEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Server/AddingUnitNameEventArgs.cs @@ -20,7 +20,7 @@ public class AddingUnitNameEventArgs : IDeniableEvent /// Initializes a new instance of the class. /// /// The generated unit name. - /// The value indicating whether or not the unit name can be added. + /// The value indicating whether the unit name can be added. public AddingUnitNameEventArgs(UnitNamingRule unitNamingRule, bool isAllowed = true) { UnitNamingRule = unitNamingRule; diff --git a/EXILED/Exiled.Events/EventArgs/Server/EndingRoundEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Server/EndingRoundEventArgs.cs index d84ecaf7a..9bb62cec4 100644 --- a/EXILED/Exiled.Events/EventArgs/Server/EndingRoundEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Server/EndingRoundEventArgs.cs @@ -51,7 +51,7 @@ public EndingRoundEventArgs(RoundSummary.LeadingTeam leadingTeam, RoundSummary.S public LeadingTeam LeadingTeam { get; set; } /// - /// Gets or sets a value indicating whether the round is going to finish or not. + /// Gets or sets a value indicating whether the round is going to finish. /// public bool IsRoundEnded { get; set; } // TODO: Obsolete this in Exiled 10 @@ -61,7 +61,7 @@ public EndingRoundEventArgs(RoundSummary.LeadingTeam leadingTeam, RoundSummary.S public bool IsForceEnded { get; set; } /// - /// Gets or sets a value indicating whether the event can be executed or not. + /// Gets or sets a value indicating whether the event can be executed. /// public bool IsAllowed { diff --git a/EXILED/Exiled.Events/EventArgs/Server/ReportingCheaterEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Server/ReportingCheaterEventArgs.cs index 9bed3417e..8b6edebb9 100644 --- a/EXILED/Exiled.Events/EventArgs/Server/ReportingCheaterEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Server/ReportingCheaterEventArgs.cs @@ -59,7 +59,7 @@ public ReportingCheaterEventArgs(Player issuer, Player target, int serverPort, s public string Reason { get; set; } /// - /// Gets or sets a value indicating whether or not the report will be sent. + /// Gets or sets a value indicating whether the report will be sent. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Server/RespawningTeamEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Server/RespawningTeamEventArgs.cs index 0ea3641b5..2406ec402 100644 --- a/EXILED/Exiled.Events/EventArgs/Server/RespawningTeamEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Server/RespawningTeamEventArgs.cs @@ -103,7 +103,7 @@ public SpawnableTeamHandlerBase SpawnableTeam => RespawnManager.SpawnableTeams.TryGetValue(NextKnownTeam, out SpawnableTeamHandlerBase @base) ? @base : null; /// - /// Gets or sets a value indicating whether or not the spawn can occur. + /// Gets or sets a value indicating whether the spawn can occur. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Warhead/ChangingLeverStatusEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Warhead/ChangingLeverStatusEventArgs.cs index 1caac039f..4de821046 100644 --- a/EXILED/Exiled.Events/EventArgs/Warhead/ChangingLeverStatusEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Warhead/ChangingLeverStatusEventArgs.cs @@ -41,7 +41,7 @@ public ChangingLeverStatusEventArgs(Player player, bool curState, bool isAllowed public bool CurrentState { get; } /// - /// Gets or sets a value indicating whether or not the lever status will change. + /// Gets or sets a value indicating whether the lever status will change. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/EventArgs/Warhead/StartingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Warhead/StartingEventArgs.cs index be6f6f2fd..6531f234a 100644 --- a/EXILED/Exiled.Events/EventArgs/Warhead/StartingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Warhead/StartingEventArgs.cs @@ -18,8 +18,8 @@ public class StartingEventArgs : StoppingEventArgs /// Initializes a new instance of the class. /// /// The player who's going to start the warhead. - /// Indicating whether or not the nuke was set off automatically. - /// Indicating whether the event can be executed or not. + /// Indicating whether the nuke was set off automatically. + /// Indicating whether the event can be executed. public StartingEventArgs(Player player, bool isAuto, bool isAllowed = true) : base(player, isAllowed) { @@ -27,7 +27,7 @@ public StartingEventArgs(Player player, bool isAuto, bool isAllowed = true) } /// - /// Gets or sets a value indicating whether or not the nuke was set off automatically. + /// Gets or sets a value indicating whether the nuke was set off automatically. /// public bool IsAuto { get; set; } } diff --git a/EXILED/Exiled.Events/EventArgs/Warhead/StoppingEventArgs.cs b/EXILED/Exiled.Events/EventArgs/Warhead/StoppingEventArgs.cs index 57d1dd1bb..98423cc01 100644 --- a/EXILED/Exiled.Events/EventArgs/Warhead/StoppingEventArgs.cs +++ b/EXILED/Exiled.Events/EventArgs/Warhead/StoppingEventArgs.cs @@ -32,7 +32,7 @@ public StoppingEventArgs(Player player, bool isAllowed = true) } /// - /// Gets or sets a value indicating whether or not the warhead can be stopped. + /// Gets or sets a value indicating whether the warhead can be stopped. /// public bool IsAllowed { get; set; } diff --git a/EXILED/Exiled.Events/Patches/Events/Scp244/DamagingScp244.cs b/EXILED/Exiled.Events/Patches/Events/Scp244/DamagingScp244.cs index 7bb4a5160..b9aa605e4 100644 --- a/EXILED/Exiled.Events/Patches/Events/Scp244/DamagingScp244.cs +++ b/EXILED/Exiled.Events/Patches/Events/Scp244/DamagingScp244.cs @@ -49,7 +49,7 @@ private static IEnumerable Transpiler(IEnumerable - [Description("Whether or not EXILED is enabled on this server.")] + [Description("Whether EXILED is enabled on this server.")] public bool IsEnabled { get; set; } = true; /// - [Description("Whether or not debug messages should be shown.")] + [Description("Whether debug messages should be shown.")] public bool Debug { get; set; } = false; /// - /// Gets or sets a value indicating whether outdated Exiled versions should be loaded or not. + /// Gets or sets a value indicating whether outdated Exiled versions should be loaded. /// - [Description("Indicates whether outdated Exiled versions should be loaded or not.")] + [Description("Indicates whether outdated Exiled versions should be loaded.")] public bool ShouldLoadOutdatedExiled { get; set; } = false; /// - /// Gets or sets a value indicating whether outdated plugins should be loaded or not. + /// Gets or sets a value indicating whether outdated plugins should be loaded. /// - [Description("Indicates whether outdated plugins should be loaded or not.")] + [Description("Indicates whether outdated plugins should be loaded.")] public bool ShouldLoadOutdatedPlugins { get; set; } = true; /// @@ -72,9 +72,9 @@ public sealed class Config : IConfig public ScalarStyle MultiLineScalarStyle { get; set; } = ScalarStyle.Literal; /// - /// Gets or sets a value indicating whether testing releases have to be downloaded or not. + /// Gets or sets a value indicating whether testing releases have to be downloaded. /// - [Description("Indicates whether testing releases have to be downloaded or not.")] + [Description("Indicates whether testing releases have to be downloaded.")] public bool ShouldDownloadTestingReleases { get; set; } = false; /// diff --git a/EXILED/Exiled.Loader/ConfigManager.cs b/EXILED/Exiled.Loader/ConfigManager.cs index 30243056c..ca55e4fe1 100644 --- a/EXILED/Exiled.Loader/ConfigManager.cs +++ b/EXILED/Exiled.Loader/ConfigManager.cs @@ -150,7 +150,7 @@ public static IConfig LoadSeparatedConfig(this IPlugin plugin) /// Saves default distribution configs. /// /// The configs to be saved, already serialized in yaml format. - /// Returns a value indicating whether the configs have been saved successfully or not. + /// Returns a value indicating whether the configs have been saved successfully. public static bool SaveDefaultConfig(string configs) { try @@ -172,7 +172,7 @@ public static bool SaveDefaultConfig(string configs) /// /// The prefix of the plugin which its config is going to be saved. /// The configs to be saved, already serialized in yaml format. - /// Returns a value indicating whether the configs have been saved successfully or not. + /// Returns a value indicating whether the configs have been saved successfully. public static bool SaveSeparatedConfig(this string pluginPrefix, string configs) { string configPath = Paths.GetConfigPath(pluginPrefix); @@ -196,7 +196,7 @@ public static bool SaveSeparatedConfig(this string pluginPrefix, string configs) /// Saves plugin configs. /// /// The configs to be saved. - /// Returns a value indicating whether the configs have been saved successfully or not. + /// Returns a value indicating whether the configs have been saved successfully. public static bool Save(SortedDictionary configs) { try @@ -244,7 +244,7 @@ public static string Read() /// /// Clears the configs. /// - /// Returns a value indicating whether configs have been cleared successfully or not. + /// Returns a value indicating whether configs have been cleared successfully. public static bool Clear() { try diff --git a/EXILED/Exiled.Loader/TranslationManager.cs b/EXILED/Exiled.Loader/TranslationManager.cs index 55360211f..f925e10c8 100644 --- a/EXILED/Exiled.Loader/TranslationManager.cs +++ b/EXILED/Exiled.Loader/TranslationManager.cs @@ -72,7 +72,7 @@ public static SortedDictionary Load(string rawTranslations /// Loads the translations of a plugin based on the actual distribution. /// /// The plugin which its translation has to be loaded. - /// The raw translations to check whether or not the plugin already has a translation config. + /// The raw translations to check whether the plugin already has a translation config. /// The of the desired plugin. public static ITranslation LoadTranslation(this IPlugin plugin, Dictionary rawTranslations = null) => LoaderPlugin.Config.ConfigType switch { @@ -90,7 +90,7 @@ public static SortedDictionary Load(string rawTranslations /// Saves default distribution translations. /// /// The translations to be saved, already serialized in yaml format. - /// Returns a value indicating whether the translations have been saved successfully or not. + /// Returns a value indicating whether the translations have been saved successfully. public static bool SaveDefaultTranslation(string translations) { try @@ -112,7 +112,7 @@ public static bool SaveDefaultTranslation(string translations) /// /// The prefix of the plugin which its translation is going to be saved. /// The translations to be saved, already serialized in yaml format. - /// Returns a value indicating whether the translations have been saved successfully or not. + /// Returns a value indicating whether the translations have been saved successfully. public static bool SaveSeparatedTranslation(this string pluginPrefix, string translations) { string translationsPath = Paths.GetTranslationPath(pluginPrefix); @@ -136,7 +136,7 @@ public static bool SaveSeparatedTranslation(this string pluginPrefix, string tra /// Saves plugin translations. /// /// The translations to be saved. - /// Returns a value indicating whether the translations have been saved successfully or not. + /// Returns a value indicating whether the translations have been saved successfully. public static bool Save(SortedDictionary translations) { try @@ -184,7 +184,7 @@ public static string Read() /// /// Clears the translations. /// - /// Returns a value indicating whether translations have been cleared successfully or not. + /// Returns a value indicating whether translations have been cleared successfully. public static bool Clear() { try @@ -208,7 +208,7 @@ public static bool Clear() /// Loads the translations of a plugin based on the default distribution. /// /// The plugin which its translation has to be loaded. - /// The raw translations to check whether or not the plugin already has a translation config. + /// The raw translations to check whether the plugin already has a translation config. /// The of the desired plugin. private static ITranslation LoadDefaultTranslation(this IPlugin plugin, Dictionary rawTranslations) { diff --git a/EXILED/Exiled.Permissions/Config.cs b/EXILED/Exiled.Permissions/Config.cs index 59230078d..d154cb265 100644 --- a/EXILED/Exiled.Permissions/Config.cs +++ b/EXILED/Exiled.Permissions/Config.cs @@ -27,9 +27,9 @@ public Config() } /// - /// Gets a value indicating whether the debug should be shown or not. + /// Gets a value indicating whether the debug should be shown. /// - [Description("Indicates whether the debug should be shown or not")] + [Description("Indicates whether the debug should be shown")] public bool ShouldDebugBeShown { get; private set; } /// diff --git a/EXILED/Exiled.Permissions/Extensions/Permissions.cs b/EXILED/Exiled.Permissions/Extensions/Permissions.cs index fba930746..cc908c209 100644 --- a/EXILED/Exiled.Permissions/Extensions/Permissions.cs +++ b/EXILED/Exiled.Permissions/Extensions/Permissions.cs @@ -161,7 +161,7 @@ public static void Reload() /// /// The sender to be checked. /// The permission to be checked. - /// Returns a value indicating whether the user has the permission or not. + /// Returns a value indicating whether the user has the permission. public static bool CheckPermission(this ICommandSender sender, string permission) => CheckPermission(sender as CommandSender, permission); /// @@ -169,7 +169,7 @@ public static void Reload() /// /// The sender to be checked. /// The permission to be checked. - /// Returns a value indicating whether the user has the permission or not. + /// Returns a value indicating whether the user has the permission. public static bool CheckPermission(this CommandSender sender, string permission) { if (sender.FullPermissions || sender is ServerConsoleSender || sender == Server.Host.Sender) @@ -285,7 +285,7 @@ public static bool CheckPermission(this Player player, string permission) /// /// The player to be checked. /// The permission for checking. - /// Returns a value indicating whether the user has the permission or not. + /// Returns a value indicating whether the user has the permission. public static bool CheckPermission(this Player player, params PlayerPermissions[] permissions) => permissions.All(permission => CommandProcessor.CheckPermissions(player.Sender, permission)); } diff --git a/EXILED/Exiled.Permissions/Features/Group.cs b/EXILED/Exiled.Permissions/Features/Group.cs index de3d040f3..d036f0d8d 100644 --- a/EXILED/Exiled.Permissions/Features/Group.cs +++ b/EXILED/Exiled.Permissions/Features/Group.cs @@ -17,7 +17,7 @@ namespace Exiled.Permissions.Features public class Group { /// - /// Gets or sets a value indicating whether group is the default one or not. + /// Gets or sets a value indicating whether group is the default. /// [YamlMember(Alias = "default")] public bool IsDefault { get; set; } diff --git a/EXILED/docs/articles/plugins/events.md b/EXILED/docs/articles/plugins/events.md index 8bd83cc15..e61f41422 100644 --- a/EXILED/docs/articles/plugins/events.md +++ b/EXILED/docs/articles/plugins/events.md @@ -33,7 +33,7 @@ public class EnragingEventArgs : System.EventArgs // Note: Constructor omitted. public Scp096 Scp096 { get; } // The SCP-096 instance. public Player Player { get; } // The player controlling SCP-096. - public bool IsAllowed { get; set; } // Whether or not SCP-096 can be enraged. + public bool IsAllowed { get; set; } // Whether SCP-096 can be enraged. } ``` Notice the `IsAllowed` property of the event. This property, which defaults to `true`, can be set to `false` to prevent SCP-096 from being enraged. For most events that can be disallowed, `IsAllowed` is set to `true` by default, and plugins can set it to `false` to prevent the event from occurring. However, in some cases, `IsAllowed` defaults to false and plugins can set it to `true` to *allow* the event to occur. An example of this behavior is the `InteractingDoor` event. `IsAllowed` will default to `false` in this event if a player cannot open a door, however plugins may set it to `true` to allow the player to open it regardless. diff --git a/EXILED/docs/articles/plugins/structure.md b/EXILED/docs/articles/plugins/structure.md index 7a0d5997d..117eefb59 100644 --- a/EXILED/docs/articles/plugins/structure.md +++ b/EXILED/docs/articles/plugins/structure.md @@ -120,7 +120,7 @@ namespace MyPluginNamespace using Exiled.API.Interfaces; public class Config : IConfig { - [Description("Whether or not the plugin is enabled.")] + [Description("Whether the plugin is enabled.")] public bool IsEnabled { get; set; } [Description("Config that must be true or false!")] public bool MyBoolConfig { get; set; } @@ -158,7 +158,7 @@ namespace MyPluginNamespace using Exiled.API.Interfaces; public class Config : IConfig { - [Description("Whether or not the plugin is enabled.")] + [Description("Whether the plugin is enabled.")] public bool IsEnabled { get; set; } [Description("Config that must be true or false!")] public bool MyBoolConfig { get; set; }