Skip to content

Commit

Permalink
Prefix abstract classes with "Abstract"
Browse files Browse the repository at this point in the history
  • Loading branch information
Lacyway committed Jan 8, 2025
1 parent 861119e commit 372e387
Show file tree
Hide file tree
Showing 99 changed files with 125 additions and 125 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

namespace Fuyu.Backend.BSG.Networking
{
public abstract class ItemEventController<TEvent> : IItemEventController where TEvent : BaseItemEvent
public abstract class AbstractItemEventController<TEvent> : IItemEventController where TEvent : BaseItemEvent
{
public string Action { get; private set; }

public ItemEventController(string action)
public AbstractItemEventController(string action)
{
Action = action;
}
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.Core/Controllers/AccountGamesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Fuyu.Backend.Core.Controllers
{
public class AccountGamesController : CoreHttpController
public class AccountGamesController : AbstractCoreHttpController
{
public AccountGamesController() : base("/account/games")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.Core/Controllers/AccountLogoutController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.Core.Controllers
{
public class AccountLogoutController : CoreHttpController
public class AccountLogoutController : AbstractCoreHttpController
{
public AccountLogoutController() : base("/account/logout")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.Core/Controllers/PingController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Fuyu.Backend.Core.Controllers
{
public class PingController : CoreHttpController
public class PingController : AbstractCoreHttpController
{
public PingController() : base("/ping")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@

namespace Fuyu.Backend.Core.Networking
{
public abstract class CoreHttpController : HttpController
public abstract class AbstractCoreHttpController : AbstractHttpController
{
protected CoreHttpController(Regex pattern) : base(pattern)
protected AbstractCoreHttpController(Regex pattern) : base(pattern)
{
// match dynamic paths
}

protected CoreHttpController(string path) : base(path)
protected AbstractCoreHttpController(string path) : base(path)
{
// match static paths
}
Expand All @@ -26,7 +26,7 @@ public override Task RunAsync(HttpContext context)
public abstract Task RunAsync(CoreHttpContext context);
}

public abstract class CoreHttpController<TRequest> : CoreHttpController where TRequest : class
public abstract class CoreHttpController<TRequest> : AbstractCoreHttpController where TRequest : class
{
protected CoreHttpController(Regex pattern) : base(pattern)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class AchievementListController : EftHttpController
public class AchievementListController : AbstractEftHttpController
{
public AchievementListController() : base("/client/achievement/list")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class AchievementStatisticController : EftHttpController
public class AchievementStatisticController : AbstractEftHttpController
{
public AchievementStatisticController() : base("/client/achievement/statistic")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/BuildsListController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class BuildsListController : EftHttpController
public class BuildsListController : AbstractEftHttpController
{
private readonly ResponseBody<BuildsListResponse> _response;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class CheckVersionController : EftHttpController
public class CheckVersionController : AbstractEftHttpController
{
public CheckVersionController() : base("/client/checkVersion")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public partial class ClientItemsPriceController : EftHttpController
public partial class ClientItemsPriceController : AbstractEftHttpController
{
[GeneratedRegex(@"^/client/items/prices(/(?<traderId>[A-Za-z0-9]+))?$")]
private static partial Regex PathExpression();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class CustomizationController : EftHttpController
public class CustomizationController : AbstractEftHttpController
{
public CustomizationController() : base("/client/customization")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class CustomizationStorageController : EftHttpController
public class CustomizationStorageController : AbstractEftHttpController
{
public CustomizationStorageController() : base("/client/customization/storage")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/FilesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public partial class FilesController : EftHttpController
public partial class FilesController : AbstractEftHttpController
{
[GeneratedRegex(@"^/files/(?<path>.+)$")]
private static partial Regex PathExpression();
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/FriendListController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class FriendListController : EftHttpController
public class FriendListController : AbstractEftHttpController
{
public FriendListController() : base("/client/friend/list")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class FriendRequestListInboxController : EftHttpController
public class FriendRequestListInboxController : AbstractEftHttpController
{
public FriendRequestListInboxController() : base("/client/friend/request/list/inbox")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class FriendRequestListOutboxController : EftHttpController
public class FriendRequestListOutboxController : AbstractEftHttpController
{
public FriendRequestListOutboxController() : base("/client/friend/request/list/outbox")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/GameConfigController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GameConfigController : EftHttpController
public class GameConfigController : AbstractEftHttpController
{
public GameConfigController() : base("/client/game/config")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GameKeepaliveController : EftHttpController
public class GameKeepaliveController : AbstractEftHttpController
{
public GameKeepaliveController() : base("/client/game/keepalive")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/GameLogoutController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GameLogoutController : EftHttpController
public class GameLogoutController : AbstractEftHttpController
{
public GameLogoutController() : base("/client/game/logout")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GameProfileListController : EftHttpController
public class GameProfileListController : AbstractEftHttpController
{
public GameProfileListController() : base("/client/game/profile/list")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GameProfileNicknameReservedController : EftHttpController
public class GameProfileNicknameReservedController : AbstractEftHttpController
{
public GameProfileNicknameReservedController() : base("/client/game/profile/nickname/reserved")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GameProfileSelectController : EftHttpController
public class GameProfileSelectController : AbstractEftHttpController
{
public GameProfileSelectController() : base("/client/game/profile/select")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/GameStartController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GameStartController : EftHttpController
public class GameStartController : AbstractEftHttpController
{
public GameStartController() : base("/client/game/start")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GameVersionValidateController : EftHttpController
public class GameVersionValidateController : AbstractEftHttpController
{
public GameVersionValidateController() : base("/client/game/version/validate")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GetMetricsConfigController : EftHttpController
public class GetMetricsConfigController : AbstractEftHttpController
{
public GetMetricsConfigController() : base("/client/getMetricsConfig")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public partial class GetTraderAssortController : EftHttpController
public partial class GetTraderAssortController : AbstractEftHttpController
{
[GeneratedRegex("/client/trading/api/getTraderAssort/(?<traderId>[A-Za-z0-9]+)")]
private static partial Regex PathExpression();
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/GlobalsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class GlobalsController : EftHttpController
public class GlobalsController : AbstractEftHttpController
{
public GlobalsController() : base("/client/globals")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class HandbookTemplatesController : EftHttpController
public class HandbookTemplatesController : AbstractEftHttpController
{
public HandbookTemplatesController() : base("/client/handbook/templates")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class HideoutAreasController : EftHttpController
public class HideoutAreasController : AbstractEftHttpController
{
public HideoutAreasController() : base("/client/hideout/areas")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class HideoutCustomizationOfferListController : EftHttpController
public class HideoutCustomizationOfferListController : AbstractEftHttpController
{
public HideoutCustomizationOfferListController() : base("/client/hideout/customization/offer/list")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class HideoutProductionRecipesController : EftHttpController
public class HideoutProductionRecipesController : AbstractEftHttpController
{
public HideoutProductionRecipesController() : base("/client/hideout/production/recipes")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class HideoutQteListController : EftHttpController
public class HideoutQteListController : AbstractEftHttpController
{
public HideoutQteListController() : base("/client/hideout/qte/list")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class HideoutSettingsController : EftHttpController
public class HideoutSettingsController : AbstractEftHttpController
{
public HideoutSettingsController() : base("/client/hideout/settings")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/ItemsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class ItemsController : EftHttpController
public class ItemsController : AbstractEftHttpController
{
public ItemsController() : base("/client/items")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/LanguagesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class LanguagesController : EftHttpController
public class LanguagesController : AbstractEftHttpController
{
public LanguagesController() : base("/client/languages")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class LocalGameWeatherController : EftHttpController
public class LocalGameWeatherController : AbstractEftHttpController
{
public LocalGameWeatherController() : base("/client/localGame/weather")
{
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/LocaleController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public partial class LocaleController : EftHttpController
public partial class LocaleController : AbstractEftHttpController
{
[GeneratedRegex("^/client/locale/(?<languageId>[a-z]+(-[a-z]+)?)$")]
private static partial Regex PathExpression();
Expand Down
2 changes: 1 addition & 1 deletion Fuyu.Backend.EFT/Controllers/Http/LocationsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class LocationsController : EftHttpController
public class LocationsController : AbstractEftHttpController
{
public LocationsController() : base("/client/locations")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class MailDialogListController : EftHttpController
public class MailDialogListController : AbstractEftHttpController
{
public MailDialogListController() : base("/client/mail/dialog/list")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class MatchGroupCurrentController : EftHttpController
public class MatchGroupCurrentController : AbstractEftHttpController
{
public MatchGroupCurrentController() : base("/client/match/group/current")
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace Fuyu.Backend.EFT.Controllers.Http
{
public class MatchGroupExitFromMenuController : EftHttpController
public class MatchGroupExitFromMenuController : AbstractEftHttpController
{
public MatchGroupExitFromMenuController() : base("/client/match/group/exit_from_menu")
{
Expand Down
Loading

0 comments on commit 372e387

Please sign in to comment.