Skip to content

Commit

Permalink
Oops. Fix references & imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooshua committed Jan 8, 2024
1 parent 28e0fd1 commit d00a603
Show file tree
Hide file tree
Showing 16 changed files with 27 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Jailbreak.Warden.Views;
namespace Jailbreak.Warden.Extensions;

public class WardenFormatWriterExtensions
{
Expand Down
3 changes: 2 additions & 1 deletion mod/Jailbreak.Warden/Global/WardenBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@
using CounterStrikeSharp.API.Core.Attributes.Registration;
using CounterStrikeSharp.API.Modules.Utils;

using Jailbreak.Formatting.Formatting;
using Jailbreak.Public.Behaviors;
using Jailbreak.Public.Extensions;
using Jailbreak.Public.Mod.Warden;
using Jailbreak.Warden.Views;
using Jailbreak.Formatting.Core;
using Jailbreak.Formatting.Extensions;

namespace Jailbreak.Warden.Global;

Expand Down
1 change: 1 addition & 0 deletions mod/Jailbreak.Warden/Jailbreak.Warden.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\public\Jailbreak.Formatting\Jailbreak.Formatting.csproj" />
<ProjectReference Include="..\..\public\Jailbreak.Public\Jailbreak.Public.csproj" />
</ItemGroup>

Expand Down
7 changes: 3 additions & 4 deletions mod/Jailbreak.Warden/Selection/WardenSelectionBehavior.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;

using CounterStrikeSharp.API;
Expand All @@ -9,7 +8,7 @@
using CounterStrikeSharp.API.Modules.Timers;
using CounterStrikeSharp.API.Modules.Utils;

using Jailbreak.Formatting.Formatting;
using Jailbreak.Formatting.Extensions;
using Jailbreak.Public.Behaviors;
using Jailbreak.Public.Extensions;
using Jailbreak.Public.Generic;
Expand All @@ -20,7 +19,7 @@

using Timer = CounterStrikeSharp.API.Modules.Timers.Timer;

namespace Jailbreak.Warden.Queue;
namespace Jailbreak.Warden.Selection;

/// <summary>
/// Behavior responsible for choosing the next warden
Expand Down Expand Up @@ -97,7 +96,7 @@ protected void OnChooseWarden()

if (eligible.Count == 0)
{
Server.PrintToChatAll("[Warden] No Wardens in queue!");
WardenNotifications.NO_WARDENS.ToAllChat();
_queueInactive = true;

return;
Expand Down
2 changes: 1 addition & 1 deletion mod/Jailbreak.Warden/Views/NewWardenView.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using CounterStrikeSharp.API.Core;

using Jailbreak.Formatting.Base;
using Jailbreak.Formatting.Formatting;
using Jailbreak.Formatting.Core;

namespace Jailbreak.Warden.Views;

Expand Down
3 changes: 2 additions & 1 deletion mod/Jailbreak.Warden/Views/WardenNotifications.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
using CounterStrikeSharp.API.Modules.Utils;

using Jailbreak.Formatting.Base;
using Jailbreak.Formatting.Formatting;
using Jailbreak.Formatting.Core;
using Jailbreak.Formatting.Objects;

namespace Jailbreak.Warden.Views;

Expand Down
2 changes: 1 addition & 1 deletion mod/Jailbreak.Warden/WardenServiceExtension.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Jailbreak.Public.Mod.Warden;
using Jailbreak.Warden.Commands;
using Jailbreak.Warden.Global;
using Jailbreak.Warden.Queue;
using Jailbreak.Warden.Selection;

using Microsoft.Extensions.DependencyInjection;

Expand Down
2 changes: 1 addition & 1 deletion public/Jailbreak.Formatting/Base/IView.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Jailbreak.Formatting.Formatting;
using Jailbreak.Formatting.Core;

namespace Jailbreak.Formatting.Base;

Expand Down
2 changes: 1 addition & 1 deletion public/Jailbreak.Formatting/Base/SimpleView.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Jailbreak.Formatting.Formatting;
using Jailbreak.Formatting.Core;

namespace Jailbreak.Formatting.Base;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using CounterStrikeSharp.API.Core;

namespace Jailbreak.Formatting.Formatting;
using Jailbreak.Formatting.Objects;

namespace Jailbreak.Formatting.Core;

public abstract class FormatObject
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace Jailbreak.Formatting.Formatting;
namespace Jailbreak.Formatting.Core;

public class FormatWriter
{
Expand Down
3 changes: 2 additions & 1 deletion public/Jailbreak.Formatting/Extensions/ViewExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
using CounterStrikeSharp.API.Core;

using Jailbreak.Formatting.Base;
using Jailbreak.Formatting.Core;

namespace Jailbreak.Formatting.Formatting;
namespace Jailbreak.Formatting.Extensions;

public static class ViewExtensions
{
Expand Down
4 changes: 3 additions & 1 deletion public/Jailbreak.Formatting/Objects/HiddenFormatObject.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace Jailbreak.Formatting.Formatting;
using Jailbreak.Formatting.Core;

namespace Jailbreak.Formatting.Objects;

public class HiddenFormatObject : FormatObject
{
Expand Down
3 changes: 2 additions & 1 deletion public/Jailbreak.Formatting/Objects/PlayerFormatObject.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
using CounterStrikeSharp.API.Core;
using CounterStrikeSharp.API.Modules.Utils;

using Jailbreak.Formatting.Core;
using Jailbreak.Public.Extensions;

namespace Jailbreak.Formatting.Formatting;
namespace Jailbreak.Formatting.Objects;

public class PlayerFormatObject : FormatObject
{
Expand Down
4 changes: 2 additions & 2 deletions src/Jailbreak.Generic/PlayerState/PlayerStateFactory.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Jailbreak.Generic.Behaviors;
using Jailbreak.Generic.PlayerState.Behaviors;
using Jailbreak.Public.Generic;

namespace Jailbreak.Generic;
namespace Jailbreak.Generic.PlayerState;

public class PlayerStateFactory : IPlayerStateFactory
{
Expand Down
2 changes: 1 addition & 1 deletion src/Jailbreak.Generic/PlayerState/PlayerStateImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

using Jailbreak.Public.Generic;

namespace Jailbreak.Generic;
namespace Jailbreak.Generic.PlayerState;

public class PlayerStateImpl<TState> : IPlayerState<TState>, ITrackedPlayerState
where TState : class, new()
Expand Down

0 comments on commit d00a603

Please sign in to comment.