From 39da783fe082258ef10031459be96ea97d461390 Mon Sep 17 00:00:00 2001 From: linmeideli <2558527373@qq.com> Date: Fri, 22 May 2026 20:19:49 +0800 Subject: [PATCH] Empostor renamed --- CONTRIBUTING.md | 10 +- Dockerfile | 16 +- build.cake | 32 ++-- docs/Admin-panel.md | 4 +- docs/Building-from-source.md | 10 +- docs/FAQ.md | 4 +- docs/Hello-page.md | 4 +- docs/Http-server.md | 2 +- docs/Plugin-marketplace.md | 6 +- docs/README.md | 2 +- docs/Running-the-server.md | 4 +- docs/TROUBLESHOOTING.md | 36 ++-- docs/Upgrading.md | 10 +- docs/Writing-a-plugin.md | 72 ++++---- ...ode.dll => Empostor.Plugins.FixedCode.dll} | Bin ... Empostor.Plugins.FriendCodeValidator.dll} | Bin ...dll => Empostor.Plugins.PlayerChannel.dll} | Bin ...rify.dll => Empostor.Plugins.QqVerify.dll} | Bin ...Titles.dll => Empostor.Plugins.Titles.dll} | Bin ...lcome.dll => Empostor.Plugins.Welcome.dll} | Bin marketplace/plugins.json | 37 +++-- .../Empostor.Api.Innersloth.Generator.csproj} | 0 .../Extensions.cs | 2 +- .../Generators/BaseGenerator.cs | 2 +- .../Generators/EnumGenerator.cs | 4 +- .../Generators/MapDataGenerator.cs | 4 +- .../Properties/launchSettings.json | 2 +- .../SourceGenerator.cs | 10 +- .../Vector2Converter.cs | 2 +- .../packages.lock.json | 0 .../CheatCategory.cs | 4 +- .../CheatContext.cs | 4 +- .../Commands/CommandContext.cs | 10 +- .../Commands/ICommand.cs | 2 +- .../Config/AdminConfig.cs | 2 +- .../Config/AntiCheatConfig.cs | 2 +- .../Config/ChatFilterConfig.cs | 2 +- .../Config/CheatingHostMode.cs | 2 +- .../Config/CompatibilityConfig.cs | 2 +- .../Config/DebugConfig.cs | 2 +- .../Config/DisconnectMessages.cs | 14 +- .../Config/DiscordWebhookConfig.cs | 2 +- .../Config/HttpServerConfig.cs | 2 +- .../Config/PlayerStatsConfig.cs | 2 +- .../Config/ServerConfig.cs | 4 +- .../Config/TimeoutConfig.cs | 2 +- .../Empostor.Api.csproj} | 18 +- .../Attributes/EventListenerAttribute.cs | 2 +- .../Events/Client/IClientConnectedEvent.cs | 4 +- .../Events/Client/IClientConnectionEvent.cs | 4 +- .../Events/Client/IClientEvent.cs | 4 +- .../Events/EventPriority.cs | 2 +- .../Events/Game/IGameAlterEvent.cs | 2 +- .../Events/Game/IGameCreatedEvent.cs | 6 +- .../Events/Game/IGameCreationEvent.cs | 8 +- .../Events/Game/IGameDestroyedEvent.cs | 4 +- .../Events/Game/IGameEndedEvent.cs | 4 +- .../Events/Game/IGameEvent.cs | 4 +- .../Events/Game/IGameHostChangedEvent.cs | 4 +- .../Events/Game/IGameOptionsChangedEvent.cs | 4 +- .../Events/Game/IGamePlayerJoinedEvent.cs | 4 +- .../Events/Game/IGamePlayerJoiningEvent.cs | 6 +- .../Events/Game/IGamePlayerLeftEvent.cs | 4 +- .../Events/Game/IGameStartedEvent.cs | 2 +- .../Events/Game/IGameStartingEvent.cs | 2 +- .../Events/Game/Meeting/IMeetingEndedEvent.cs | 4 +- .../Events/Game/Meeting/IMeetingEvent.cs | 4 +- .../Game/Meeting/IMeetingStartedEvent.cs | 2 +- .../Events/Game/Player/IPlayerChatEvent.cs | 2 +- .../Game/Player/IPlayerCheckMurderEvent.cs | 6 +- .../Game/Player/IPlayerCompletedTaskEvent.cs | 4 +- .../Game/Player/IPlayerDestroyedEvent.cs | 2 +- .../Game/Player/IPlayerEnterVentEvent.cs | 4 +- .../Events/Game/Player/IPlayerEvent.cs | 6 +- .../Events/Game/Player/IPlayerExileEvent.cs | 2 +- .../Game/Player/IPlayerExitVentEvent.cs | 4 +- .../Game/Player/IPlayerMovementEvent.cs | 2 +- .../Events/Game/Player/IPlayerMurderEvent.cs | 6 +- .../Events/Game/Player/IPlayerReadyEvent.cs | 8 + .../Events/Game/Player/IPlayerReportEvent.cs | 6 +- .../Player/IPlayerSetStartCounterEvent.cs | 2 +- .../Events/Game/Player/IPlayerSpawnedEvent.cs | 2 +- .../Game/Player/IPlayerStartMeetingEvent.cs | 4 +- .../Events/Game/Player/IPlayerVentEvent.cs | 4 +- .../Events/Game/Player/IPlayerVotedEvent.cs | 4 +- .../Events/IEvent.cs | 2 +- .../Events/IEventCancelable.cs | 2 +- .../Events/IEventListener.cs | 2 +- .../Events/IManualEventListener.cs | 2 +- .../Events/Managers/IEventManager.cs | 2 +- .../Events/MultiDisposable.cs | 2 +- .../Exceptions/ImpostorConfigException.cs | 19 +++ .../Exceptions/ImpostorException.cs | 19 +++ .../Exceptions/ImpostorProtocolException.cs | 19 +++ .../Extensions/DictionaryExtensions.cs | 2 +- .../Extensions/MurderResultFlagsExtensions.cs | 4 +- .../Extensions/SpanReaderExtensions.cs | 2 +- .../Extensions/SystemTypesExtensions.cs | 4 +- .../Games/Extensions/GameExtensions.cs | 4 +- .../Games/Extensions/GameManagerExtensions.cs | 6 +- .../Games/GameCode.cs | 4 +- .../Games/GameJoinError.cs | 2 +- .../Games/GameJoinResult.cs | 4 +- .../Games/IGame.cs | 10 +- .../Games/IGameCodeFactory.cs | 2 +- .../Games/Managers/IGameManager.cs | 8 +- .../GlobalUsings.cs | 0 .../Http/IListingFilter.cs | 4 +- .../Impostor.Api.csproj.DotSettings | 0 .../Innersloth/AlterGameTags.cs | 2 +- .../Innersloth/ChatNoteType.cs | 2 +- .../Innersloth/CrossplayFlags.cs | 2 +- .../Innersloth/Customization/PlayerOutfit.cs | 2 +- .../Customization/PlayerOutfitType.cs | 2 +- .../Innersloth/Data/SpawnableObjects.json | 0 .../Innersloth/Data/enums/ColorType.json | 0 .../Data/enums/DisconnectReasons.json | 0 .../Innersloth/Data/enums/GameKeywords.json | 0 .../Innersloth/Data/enums/GameOverReason.json | 0 .../Innersloth/Data/enums/Platforms.json | 0 .../Innersloth/Data/enums/RoleTypes.json | 0 .../Innersloth/Data/enums/RpcCalls.json | 0 .../Innersloth/Data/enums/RulesPresets.json | 0 .../Data/enums/SanctionReasons.json | 0 .../Data/enums/SpecialGameModes.json | 0 .../Innersloth/Data/enums/StringNames.json | 0 .../Innersloth/Data/enums/SupportedLangs.json | 0 .../Innersloth/Data/enums/SystemTypes.json | 0 .../Innersloth/Data/enums/TaskTypes.json | 0 .../Innersloth/Data/info.json | 0 .../Innersloth/Data/maps/Airship/doors.json | 0 .../Innersloth/Data/maps/Airship/spawn.json | 0 .../Innersloth/Data/maps/Airship/systems.json | 0 .../Innersloth/Data/maps/Airship/tasks.json | 0 .../Innersloth/Data/maps/Airship/vents.json | 0 .../Innersloth/Data/maps/April/doors.json | 0 .../Innersloth/Data/maps/April/spawn.json | 0 .../Innersloth/Data/maps/April/systems.json | 0 .../Innersloth/Data/maps/April/tasks.json | 0 .../Innersloth/Data/maps/April/vents.json | 0 .../Innersloth/Data/maps/Fungle/doors.json | 0 .../Innersloth/Data/maps/Fungle/spawn.json | 0 .../Innersloth/Data/maps/Fungle/systems.json | 0 .../Innersloth/Data/maps/Fungle/tasks.json | 0 .../Innersloth/Data/maps/Fungle/vents.json | 0 .../Innersloth/Data/maps/Mira/doors.json | 0 .../Innersloth/Data/maps/Mira/spawn.json | 0 .../Innersloth/Data/maps/Mira/systems.json | 0 .../Innersloth/Data/maps/Mira/tasks.json | 0 .../Innersloth/Data/maps/Mira/vents.json | 0 .../Innersloth/Data/maps/Polus/doors.json | 0 .../Innersloth/Data/maps/Polus/spawn.json | 0 .../Innersloth/Data/maps/Polus/systems.json | 0 .../Innersloth/Data/maps/Polus/tasks.json | 0 .../Innersloth/Data/maps/Polus/vents.json | 0 .../Innersloth/Data/maps/Skeld/doors.json | 0 .../Innersloth/Data/maps/Skeld/spawn.json | 0 .../Innersloth/Data/maps/Skeld/systems.json | 0 .../Innersloth/Data/maps/Skeld/tasks.json | 0 .../Innersloth/Data/maps/Skeld/vents.json | 0 .../Innersloth/DeathReason.cs | 2 +- .../Innersloth/GameCodeParser.cs | 2 +- .../Innersloth/GameFilterOptions.cs | 2 +- .../Innersloth/GameModes.cs | 2 +- .../GameOptions/GameOptionsFactory.cs | 2 +- .../Innersloth/GameOptions/GameTags.cs | 2 +- .../GameOptions/HideNSeekGameOptions.cs | 10 +- .../Innersloth/GameOptions/IGameOptions.cs | 6 +- .../GameOptions/LegacyGameOptionsData.cs | 16 +- .../GameOptions/NormalGameOptions.cs | 14 +- .../RoleOptions/DetectiveRoleOptions.cs | 2 +- .../RoleOptions/EngineerRoleOptions.cs | 2 +- .../RoleOptions/GuardianAngelRoleOptions.cs | 8 +- .../GameOptions/RoleOptions/IRoleOptions.cs | 2 +- .../RoleOptions/LegacyRoleOptionsData.cs | 8 +- .../RoleOptions/NoisemakerRoleOptions.cs | 8 +- .../RoleOptions/PhantomRoleOptions.cs | 2 +- .../RoleOptions/RoleOptionsCollection.cs | 2 +- .../GameOptions/RoleOptions/RoleRate.cs | 2 +- .../RoleOptions/ScientistRoleOptions.cs | 2 +- .../RoleOptions/ShapeshifterRoleOptions.cs | 2 +- .../RoleOptions/TrackerRoleOptions.cs | 2 +- .../RoleOptions/ViperRoleOptions.cs | 2 +- .../Innersloth/GameStates.cs | 2 +- .../Innersloth/GameVersion.cs | 2 +- .../Innersloth/KillDistances.cs | 2 +- .../Innersloth/MapFlags.cs | 2 +- .../Innersloth/MapTypes.cs | 2 +- .../Innersloth/Maps/DoorData.cs | 2 +- .../Innersloth/Maps/MapData.cs | 2 +- .../Innersloth/Maps/TaskData.cs | 2 +- .../Innersloth/Maps/VentData.cs | 2 +- .../Innersloth/MurderResultFlags.cs | 2 +- .../Innersloth/PlatformSpecificData.cs | 2 +- .../Innersloth/QuickChatModes.cs | 2 +- .../Innersloth/ReportOutcome.cs | 2 +- .../Innersloth/ReportReasons.cs | 2 +- .../Innersloth/SystemTypeHelpers.cs | 2 +- .../Innersloth/TaskBarUpdate.cs | 2 +- .../Innersloth/TaskCategories.cs | 2 +- .../Innersloth/TextBox.cs | 2 +- .../Languages/LanguageService.cs | 5 +- .../Languages/LanguageString.cs | 2 +- .../Net/Custom/ICustomMessage.cs | 2 +- .../Net/Custom/ICustomMessageManager.cs | 2 +- .../Net/Custom/ICustomRootMessage.cs | 2 +- .../Net/Custom/ICustomRpc.cs | 4 +- .../Net/IClient.cs | 4 +- .../Net/IClientPlayer.cs | 8 +- .../Net/IConnection.cs | 2 +- .../Net/IHazelConnection.cs | 2 +- .../Net/Inner/IGameNet.cs | 8 +- .../Net/Inner/IInnerNetObject.cs | 4 +- .../IInnerCustomNetworkTransform.cs | 2 +- .../Objects/Components/IInnerPlayerPhysics.cs | 2 +- .../Objects/GameManager/IInnerGameManager.cs | 5 + .../GameManager/IInnerHideAndSeekManager.cs | 4 +- .../GameManager/IInnerNormalGameManager.cs | 2 +- .../Logic/HideAndSeek/ILogicGameFlowHnS.cs | 2 +- .../Net/Inner/Objects/IInnerGameData.cs | 2 +- .../Net/Inner/Objects/IInnerLobbyBehaviour.cs | 2 +- .../Net/Inner/Objects/IInnerMeetingHud.cs | 6 +- .../Net/Inner/Objects/IInnerPlayerControl.cs | 42 ++--- .../Net/Inner/Objects/IInnerPlayerInfo.cs | 6 +- .../Net/Inner/Objects/IInnerVoteBanSystem.cs | 2 +- .../Net/Inner/Objects/ITaskInfo.cs | 4 +- .../Objects/ShipStatus/IInnerAirshipStatus.cs | 2 +- .../ShipStatus/IInnerDleksShipStatus.cs | 2 +- .../ShipStatus/IInnerMiraShipStatus.cs | 2 +- .../ShipStatus/IInnerPolusShipStatus.cs | 2 +- .../Objects/ShipStatus/IInnerShipStatus.cs | 2 +- .../ShipStatus/IInnerSkeldShipStatus.cs | 2 +- .../Net/LimboStates.cs | 2 +- .../Net/Manager/IClientManager.cs | 2 +- .../Net/Manager/ICompatibilityManager.cs | 14 +- .../Net/MessageReaderExtensions.cs | 10 +- .../Net/MessageWriterExtensions.cs | 10 +- .../Net/Messages/C2S/HandshakeC2S.cs | 4 +- .../Net/Messages/C2S/Message00HostGameC2S.cs | 6 +- .../Net/Messages/C2S/Message01JoinGameC2S.cs | 4 +- .../Messages/C2S/Message04RemovePlayerC2S.cs | 2 +- .../Net/Messages/C2S/Message08EndGameC2S.cs | 4 +- .../Net/Messages/C2S/Message10AlterGameC2S.cs | 4 +- .../Messages/C2S/Message11KickPlayerC2S.cs | 2 +- .../Messages/C2S/Message16GetGameListC2S.cs | 6 +- .../Messages/C2S/Message21SetActivePodType.cs | 2 +- .../C2S/Message22QueryPlatformIdsC2S.cs | 4 +- .../Net/Messages/MessageFlags.cs | 2 +- .../Net/Messages/Rpcs/Rpc00PlayAnimation.cs | 4 +- .../Net/Messages/Rpcs/Rpc01CompleteTask.cs | 2 +- .../Net/Messages/Rpcs/Rpc03SetInfected.cs | 2 +- .../Net/Messages/Rpcs/Rpc04Exiled.cs | 2 +- .../Net/Messages/Rpcs/Rpc05CheckName.cs | 2 +- .../Net/Messages/Rpcs/Rpc06SetName.cs | 2 +- .../Net/Messages/Rpcs/Rpc07CheckColor.cs | 4 +- .../Net/Messages/Rpcs/Rpc08SetColor.cs | 4 +- .../Net/Messages/Rpcs/Rpc11ReportDeadBody.cs | 2 +- .../Net/Messages/Rpcs/Rpc12MurderPlayer.cs | 8 +- .../Net/Messages/Rpcs/Rpc13SendChat.cs | 2 +- .../Net/Messages/Rpcs/Rpc14StartMeeting.cs | 2 +- .../Net/Messages/Rpcs/Rpc15SetScanner.cs | 2 +- .../Net/Messages/Rpcs/Rpc16SendChatNote.cs | 4 +- .../Net/Messages/Rpcs/Rpc18SetStartCounter.cs | 2 +- .../Net/Messages/Rpcs/Rpc19EnterVent.cs | 2 +- .../Net/Messages/Rpcs/Rpc20ExitVent.cs | 2 +- .../Net/Messages/Rpcs/Rpc21SnapTo.cs | 2 +- .../Net/Messages/Rpcs/Rpc22Close.cs | 2 +- .../Net/Messages/Rpcs/Rpc23VotingComplete.cs | 2 +- .../Net/Messages/Rpcs/Rpc24CastVote.cs | 2 +- .../Net/Messages/Rpcs/Rpc25ClearVote.cs | 2 +- .../Net/Messages/Rpcs/Rpc26AddVote.cs | 2 +- .../Messages/Rpcs/Rpc27CloseDoorsOfType.cs | 4 +- .../Net/Messages/Rpcs/Rpc29SetTasks.cs | 2 +- .../Net/Messages/Rpcs/Rpc30UpdateGameData.cs | 4 +- .../Net/Messages/Rpcs/Rpc31ClimbLadder.cs | 2 +- .../Net/Messages/Rpcs/Rpc32UsePlatform.cs | 2 +- .../Net/Messages/Rpcs/Rpc34BootFromVent.cs | 2 +- .../Net/Messages/Rpcs/Rpc35UpdateSystem.cs | 8 +- .../Net/Messages/Rpcs/Rpc38SetLevel.cs | 2 +- .../Net/Messages/Rpcs/Rpc39SetHatStr.cs | 2 +- .../Net/Messages/Rpcs/Rpc40SetSkinStr.cs | 2 +- .../Net/Messages/Rpcs/Rpc41SetPetStr.cs | 2 +- .../Net/Messages/Rpcs/Rpc42SetVisorStr.cs | 2 +- .../Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs | 2 +- .../Net/Messages/Rpcs/Rpc44SetRole.cs | 4 +- .../Net/Messages/Rpcs/Rpc45ProtectPlayer.cs | 8 +- .../Net/Messages/Rpcs/Rpc46Shapeshift.cs | 6 +- .../Net/Messages/Rpcs/Rpc47CheckMurder.cs | 6 +- .../Net/Messages/Rpcs/Rpc48CheckProtect.cs | 6 +- .../Net/Messages/Rpcs/Rpc49Pet.cs | 2 +- .../Net/Messages/Rpcs/Rpc50CancelPet.cs | 2 +- .../Net/Messages/Rpcs/Rpc51CheckZipline.cs | 2 +- .../Net/Messages/Rpcs/Rpc52UseZipline.cs | 2 +- .../Net/Messages/Rpcs/Rpc53TriggerSpores.cs | 2 +- .../Net/Messages/Rpcs/Rpc54CheckSpore.cs | 2 +- .../Net/Messages/Rpcs/Rpc55CheckShapeshift.cs | 6 +- .../Messages/Rpcs/Rpc56RejectShapeshift.cs | 2 +- .../Net/Messages/Rpcs/Rpc62CheckVanish.cs | 2 +- .../Net/Messages/Rpcs/Rpc63StartVanish.cs | 2 +- .../Net/Messages/Rpcs/Rpc64CheckAppear.cs | 2 +- .../Net/Messages/Rpcs/Rpc65StartAppear.cs | 2 +- .../Net/Messages/S2C/Message00HostGameS2C.cs | 4 +- .../Net/Messages/S2C/Message01JoinGameS2C.cs | 4 +- .../Messages/S2C/Message04RemovePlayerS2C.cs | 4 +- .../Messages/S2C/Message07JoinedGameS2C.cs | 2 +- .../Net/Messages/S2C/Message10AlterGameS2C.cs | 4 +- .../Messages/S2C/Message11KickPlayerS2C.cs | 2 +- .../Messages/S2C/Message12WaitForHostS2C.cs | 2 +- .../Net/Messages/S2C/Message13RedirectS2C.cs | 2 +- .../Messages/S2C/Message16GetGameListS2C.cs | 4 +- .../S2C/Message22QueryPlatformIdsS2C.cs | 6 +- .../S2C/Message24EndGameHostMigrationS2C.cs | 4 +- .../Net/Messages/S2C/MessageDisconnect.cs | 4 +- .../Plugins/DependencyType.cs | 2 +- .../Plugins/IPlugin.cs | 4 +- .../Plugins/IPluginHttpStartup.cs | 2 +- .../Plugins/IPluginStartup.cs | 2 +- .../Plugins/ImpostorDependencyAttribute.cs | 6 +- .../Plugins/ImpostorPluginAttribute.cs | 8 +- .../Plugins/PluginBase.cs | 2 +- .../Plugins/PluginConfigLoader.cs | 2 +- src/Empostor.Api/Properties/AssemblyInfo.cs | 3 + .../Service/Admin/Verify/IVerifyStore.cs | 2 +- .../Unity/Mathf.cs | 2 +- .../Unity/RuntimePlatform.cs | 2 +- .../Utils/IDateTimeProvider.cs | 2 +- .../Utils/IServerEnvironment.cs | 2 +- .../Utils/IpUtils.cs | 8 +- .../packages.lock.json | 0 .../Empostor.Plugins.Example.csproj} | 2 +- .../ExamplePlugin.cs | 12 +- .../ExamplePluginStartup.cs | 8 +- .../Handlers/ClientEventListener.cs | 6 +- .../Handlers/GameEventListener.cs | 4 +- .../Handlers/MeetingEventListener.cs | 6 +- .../Handlers/PlayerEventListener.cs | 10 +- .../packages.lock.json | 2 +- .../Empostor.Plugins.FixedCode.csproj} | 4 +- .../FixedCodeConfig.cs | 2 +- .../FixedCodeListener.cs | 6 +- .../FixedCodePlugin.cs | 6 +- .../FixedCodeStartup.cs | 6 +- .../packages.lock.json | 2 +- ...postor.Plugins.FriendCodeValidator.csproj} | 4 +- .../FriendCodeValidationListener.cs | 10 +- .../FriendCodeValidatorPlugin.cs | 6 +- .../FriendCodeValidatorStartup.cs | 6 +- .../packages.lock.json | 2 +- .../Empostor.Plugins.PlayerChannel.csproj} | 4 +- .../PlayerChannelCommand.cs | 4 +- .../PlayerChannelConfig.cs | 2 +- .../PlayerChannelPlugin.cs | 6 +- .../PlayerChannelStartup.cs | 6 +- .../packages.lock.json | 2 +- .../Empostor.Plugins.QqVerify.csproj} | 4 +- .../QqVerifyCommand.cs | 6 +- .../QqVerifyConfig.cs | 2 +- .../QqVerifyPlugin.cs | 6 +- .../QqVerifyStartup.cs | 8 +- .../QqVerifyStore.cs | 4 +- .../packages.lock.json | 4 +- .../Empostor.Plugins.Titles.csproj} | 4 +- .../Service/FriendCodeTitleListener.cs | 6 +- .../Service/TitleEventListener.cs | 6 +- .../TitleStore.cs | 2 +- .../TitlesConfig.cs | 2 +- .../TitlesPlugin.cs | 6 +- .../TitlesPluginStartup.cs | 8 +- .../packages.lock.json | 137 ++++++++++++++++ .../Empostor.Plugins.Welcome.csproj} | 4 +- .../Service/WelcomeEventListener.cs | 8 +- .../Service/WelcomeMessageService.cs | 2 +- .../WelcomePlugin.cs | 6 +- .../WelcomePluginStartup.cs | 8 +- .../packages.lock.json | 137 ++++++++++++++++ .../Commands/CommandBootstrapper.cs | 6 +- .../Commands/CommandService.cs | 6 +- .../Commands/Commands/HelpCommand.cs | 4 +- .../Commands/Commands/NoteCommand.cs | 4 +- .../Commands/Commands/SetColorCommand.cs | 6 +- .../Commands/Commands/StatCommand.cs | 8 +- .../Empostor.Server.csproj} | 10 +- .../Events/Client/ClientConnectedEvent.cs | 6 +- .../Events/Client/ClientConnectionEvent.cs | 6 +- .../Events/EventHandler.cs | 6 +- .../Events/EventManager.cs | 8 +- .../Events/Game/GameAlterEvent.cs | 6 +- .../Events/Game/GameCreatedEvent.cs | 8 +- .../Events/Game/GameCreationEvent.cs | 16 +- .../Events/Game/GameDestroyedEvent.cs | 6 +- .../Events/Game/GameEndedEvent.cs | 6 +- .../Events/Game/GameHostChangedEvent.cs | 8 +- .../Events/Game/GameOptionsChangedEvent.cs | 8 +- .../Events/Game/GamePlayerJoinedEvent.cs | 8 +- .../Events/Game/GamePlayerJoiningEvent.cs | 8 +- .../Events/Game/GamePlayerLeftEvent.cs | 8 +- .../Events/Game/GameStartedEvent.cs | 6 +- .../Events/Game/GameStartingEvent.cs | 6 +- .../Events/Game/Meeting/MeetingEndedEvent.cs | 8 +- .../Game/Meeting/MeetingStartedEvent.cs | 8 +- .../Events/Game/Player/PlayerChatEvent.cs | 10 +- .../Game/Player/PlayerCheckMurderEvent.cs | 10 +- .../Game/Player/PlayerCompletedTaskEvent.cs | 10 +- .../Game/Player/PlayerDestroyedEvent.cs | 10 +- .../Game/Player/PlayerEnterVentEvent.cs | 12 +- .../Events/Game/Player/PlayerExileEvent.cs | 10 +- .../Events/Game/Player/PlayerExitVentEvent.cs | 12 +- .../Events/Game/Player/PlayerMovementEvent.cs | 10 +- .../Events/Game/Player/PlayerMurderEvent.cs | 10 +- .../Events/Game/Player/PlayerReadyEvent.cs | 10 +- .../Events/Game/Player/PlayerReportEvent.cs | 10 +- .../Game/Player/PlayerSetStartCounterEvent.cs | 10 +- .../Events/Game/Player/PlayerSpawnedEvent.cs | 10 +- .../Game/Player/PlayerStartMeetingEvent.cs | 10 +- .../Events/Game/Player/PlayerVentEvent.cs | 12 +- .../Events/Game/Player/PlayerVotedEvent.cs | 10 +- .../Register/IRegisteredEventListener.cs | 4 +- .../InvokedRegisteredEventListener.cs | 4 +- .../Register/ManualRegisteredEventListener.cs | 4 +- .../Register/RegisteredEventListener.cs | 4 +- .../Events/Register/TemporaryEventRegister.cs | 2 +- .../WrappedRegisteredEventListener.cs | 4 +- .../Extensions/IGameOptionsExtensions.cs | 4 +- .../Extensions/IHazelConnectionExtensions.cs | 6 +- .../Extensions/ServiceProviderExtensions.cs | 4 +- .../Extensions/TypeExtensions.cs | 2 +- .../GlobalUsings.cs | 2 +- .../Http/AdminController.cs | 34 ++-- .../Http/GamesController.cs | 10 +- .../Http/HelloController.cs | 4 +- .../Http/ListingManager.cs | 12 +- .../Http/MarketplaceController.cs | 6 +- .../Http/TokenController.cs | 4 +- .../Http/VerifyController.cs | 4 +- .../Impostor.Server.csproj.DotSettings | 0 .../Languages/de.json | 2 +- .../Languages/en.json | 0 .../Languages/es.json | 2 +- .../Languages/fil.json | 2 +- .../Languages/fr.json | 2 +- .../Languages/ga.json | 2 +- .../Languages/it.json | 2 +- .../Languages/ja.json | 2 +- .../Languages/ko.json | 2 +- .../Languages/nl.json | 2 +- .../Languages/pt.json | 2 +- .../Languages/pt_BR.json | 2 +- .../Languages/ru.json | 2 +- .../Languages/zh_CN.json | 2 +- .../Languages/zh_TW.json | 2 +- .../Net/Client.cs | 26 +-- .../Net/ClientBase.cs | 10 +- .../Net/Custom/CustomMessageManager.cs | 8 +- .../Net/Factories/ClientFactory.cs | 4 +- .../Net/Factories/IClientFactory.cs | 4 +- .../Net/GameCodeFactory.cs | 4 +- .../Net/Hazel/HazelConnection.cs | 4 +- .../Net/Inner/GameDataTag.cs | 2 +- .../Net/Inner/GameObject.cs | 2 +- .../Net/Inner/InnerNetObject.Anticheat.cs | 8 +- .../Net/Inner/InnerNetObject.cs | 12 +- .../InnerCustomNetworkTransform.Api.cs | 8 +- .../Components/InnerCustomNetworkTransform.cs | 20 +-- .../Components/InnerPlayerPhysics.Api.cs | 8 + .../Objects/Components/InnerPlayerPhysics.cs | 18 +- .../Objects/Components/InnerVoteBanSystem.cs | 16 +- .../Objects/GameManager/InnerGameManager.cs | 14 +- .../InnerHideAndSeekManager.Api.cs | 9 + .../GameManager/InnerHideAndSeekManager.cs | 12 +- .../GameManager/InnerNormalGameManager.cs | 14 +- .../GameManager/Logic/GameLogicComponent.cs | 4 +- .../Logic/HideAndSeek/LogicGameFlowHnS.cs | 4 +- .../Logic/HideAndSeek/LogicHnSDangerLevel.cs | 2 +- .../Logic/HideAndSeek/LogicHnSDeathPopup.cs | 2 +- .../Logic/HideAndSeek/LogicHnSMusic.cs | 2 +- .../Logic/HideAndSeek/LogicMinigameHnS.cs | 2 +- .../Logic/HideAndSeek/LogicOptionsHnS.cs | 6 +- .../Logic/HideAndSeek/LogicPingsHnS.cs | 2 +- .../HideAndSeek/LogicRoleSelectionHnS.cs | 2 +- .../Logic/HideAndSeek/LogicUsablesHnS.cs | 2 +- .../GameManager/Logic/LogicGameFlow.cs | 2 +- .../GameManager/Logic/LogicMinigame.cs | 5 + .../Objects/GameManager/Logic/LogicOptions.cs | 10 +- .../GameManager/Logic/LogicRoleSelection.cs | 2 +- .../Objects/GameManager/Logic/LogicUsables.cs | 2 +- .../Logic/Normal/LogicGameFlowNormal.cs | 2 +- .../Logic/Normal/LogicOptionsNormal.cs | 6 +- .../Logic/Normal/LogicRoleSelectionNormal.cs | 2 +- .../Logic/Normal/LogicUsablesBasic.cs | 5 + .../Net/Inner/Objects/InnerGameData.cs | 4 +- .../Net/Inner/Objects/InnerLobbyBehaviour.cs | 10 +- .../Net/Inner/Objects/InnerMeetingHud.Api.cs | 4 +- .../Objects/InnerMeetingHud.PlayerVoteArea.cs | 8 +- .../Objects/InnerMeetingHud.VoterState.cs | 2 +- .../Net/Inner/Objects/InnerMeetingHud.cs | 24 +-- .../Inner/Objects/InnerPlayerControl.Api.cs | 40 ++--- .../Net/Inner/Objects/InnerPlayerControl.cs | 34 ++-- .../Net/Inner/Objects/InnerPlayerInfo.Api.cs | 4 +- .../Net/Inner/Objects/InnerPlayerInfo.cs | 26 +-- .../Objects/ShipStatus/InnerAirshipStatus.cs | 12 +- .../ShipStatus/InnerDleksShipStatus.cs | 12 +- .../ShipStatus/InnerFungleShipStatus.cs | 10 +- .../Objects/ShipStatus/InnerMiraShipStatus.cs | 12 +- .../ShipStatus/InnerPolusShipStatus.cs | 12 +- .../Objects/ShipStatus/InnerShipStatus.cs | 22 +-- .../ShipStatus/InnerSkeldShipStatus.cs | 12 +- .../Net/Inner/Objects/Systems/IActivatable.cs | 2 +- .../Net/Inner/Objects/Systems/ISystemType.cs | 2 +- .../Systems/ShipStatus/AutoDoorsSystemType.cs | 2 +- .../Systems/ShipStatus/DoorsSystemType.cs | 2 +- .../Systems/ShipStatus/ElectricalDoors.cs | 2 +- .../ShipStatus/HeliSabotageSystemType.cs | 2 +- .../ShipStatus/HudOverrideSystemType.cs | 2 +- .../Systems/ShipStatus/LifeSuppSystemType.cs | 2 +- .../Systems/ShipStatus/MedScanSystem.cs | 2 +- .../ShipStatus/MovingPlatformBehaviour.cs | 2 +- .../MushroomMixupSabotageSystemType.cs | 2 +- .../Systems/ShipStatus/ReactorSystemType.cs | 2 +- .../Systems/ShipStatus/SabotageSystemType.cs | 2 +- .../ShipStatus/SecurityCameraSystemType.cs | 2 +- .../Systems/ShipStatus/SwitchSystem.cs | 2 +- .../Net/Inner/Objects/TaskInfo.cs | 20 +-- .../Net/Inner/SpawnFlags.cs | 2 +- .../Net/Manager/ClientManager.Api.cs | 6 +- .../Net/Manager/ClientManager.cs | 16 +- .../Net/Manager/CompatibilityManager.cs | 6 +- .../Net/Manager/GameManager.cs | 24 +-- .../Net/Matchmaker.cs | 12 +- .../Net/MatchmakerService.cs | 8 +- .../Net/Messages/MessageWriterProvider.cs | 2 +- .../Net/State/ClientPlayer.Api.cs | 8 +- .../Net/State/ClientPlayer.cs | 10 +- .../Net/State/Game.Api.cs | 22 +-- .../Net/State/Game.Data.cs | 24 +-- .../Net/State/Game.Incoming.cs | 8 +- .../Net/State/Game.Outgoing.cs | 12 +- .../Net/State/Game.State.cs | 12 +- .../Net/State/Game.cs | 24 +-- .../Net/State/GameNet.Api.cs | 10 +- .../Net/State/GameNet.cs | 10 +- .../Pages/AdminStrings.json | 0 .../Pages/index.html | 2 +- .../Plugins/AssemblyInformation.cs | 2 +- .../Plugins/DependencyInformation.cs | 8 +- .../Plugins/IAssemblyInformation.cs | 2 +- .../Plugins/LoadedAssemblyInformation.cs | 2 +- .../Plugins/PluginConfig.cs | 2 +- .../Plugins/PluginInformation.cs | 10 +- .../Plugins/PluginLoader.cs | 12 +- .../Plugins/PluginLoaderException.cs | 6 +- .../Plugins/PluginLoaderService.cs | 4 +- .../Program.cs | 66 ++++---- .../Properties/launchSettings.json | 2 +- .../RealDateTimeProvider.cs | 4 +- .../Recorder/ClientRecorder.cs | 18 +- .../Recorder/PacketRecorder.cs | 10 +- .../Recorder/PacketSerializationContext.cs | 2 +- ...tSerializationContextPooledObjectPolicy.cs | 2 +- .../Recorder/RecordedPacketType.cs | 2 +- .../Recorder/ServerReplayVersion.cs | 2 +- .../Admin/Ban/BanEnforcementListener.cs | 6 +- .../Service/Admin/Ban/BanStore.cs | 2 +- .../Service/Admin/Chat/ChatFilterListener.cs | 6 +- .../Service/Admin/Chat/ChatFilterStore.cs | 4 +- .../Admin/Reactor/ReactorHandshakeListener.cs | 10 +- .../Admin/Reactor/ReactorModExtensions.cs | 4 +- .../Service/Admin/Report/ReportStore.cs | 131 +++++++++++++++ .../Service/Api/DiscordWebhookListener.cs | 8 +- .../Service/Auth/AuthCacheService.cs | 2 +- .../Service/Stat/PlayerLogListener.cs | 10 +- .../Service/Stat/PlayerLogStore.cs | 155 ++++++++++++++++++ .../Service/Stat/PlayerStatsListener.cs | 12 +- .../Service/Stat/PlayerStatsStore.cs | 8 +- .../Utils/DotnetUtils.cs | 2 +- .../Utils/RealDateTimeProvider.cs | 4 +- .../Utils/ServerEnvironment.cs | 4 +- .../config.json | 0 .../icon.ico | Bin .../packages.lock.json | 4 +- src/{Impostor.sln => Empostor.sln} | 21 +-- .../Events/Game/Player/IPlayerReadyEvent.cs | 8 - .../Exceptions/ImpostorConfigException.cs | 19 --- .../Exceptions/ImpostorException.cs | 19 --- .../Exceptions/ImpostorProtocolException.cs | 19 --- .../Objects/GameManager/IInnerGameManager.cs | 5 - src/Impostor.Api/Properties/AssemblyInfo.cs | 3 - .../packages.lock.json | 137 ---------------- .../packages.lock.json | 137 ---------------- .../Components/InnerPlayerPhysics.Api.cs | 8 - .../InnerHideAndSeekManager.Api.cs | 9 - .../GameManager/Logic/LogicMinigame.cs | 5 - .../Logic/Normal/LogicUsablesBasic.cs | 5 - .../Service/Admin/Report/ReportStore.cs | 52 ------ .../Service/Stat/PlayerLogStore.cs | 76 --------- src/NextFast.Hazel-New/.gitignore | 2 +- src/NextFast.Hazel-New/Directory.Build.props | 4 +- src/NextFast.Hazel-New/Hazel.sln | 2 +- src/NextFast.Hazel-New/README.md | 4 +- 598 files changed, 2115 insertions(+), 1950 deletions(-) rename marketplace/{Impostor.Plugins.FixedCode.dll => Empostor.Plugins.FixedCode.dll} (100%) rename marketplace/{Impostor.Plugins.FriendCodeValidator.dll => Empostor.Plugins.FriendCodeValidator.dll} (100%) rename marketplace/{Impostor.Plugins.PlayerChannel.dll => Empostor.Plugins.PlayerChannel.dll} (100%) rename marketplace/{Impostor.Plugins.QqVerify.dll => Empostor.Plugins.QqVerify.dll} (100%) rename marketplace/{Impostor.Plugins.Titles.dll => Empostor.Plugins.Titles.dll} (100%) rename marketplace/{Impostor.Plugins.Welcome.dll => Empostor.Plugins.Welcome.dll} (100%) rename src/{Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj => Empostor.Api.Innersloth.Generator/Empostor.Api.Innersloth.Generator.csproj} (100%) rename src/{Impostor.Api.Innersloth.Generator => Empostor.Api.Innersloth.Generator}/Extensions.cs (94%) rename src/{Impostor.Api.Innersloth.Generator => Empostor.Api.Innersloth.Generator}/Generators/BaseGenerator.cs (91%) rename src/{Impostor.Api.Innersloth.Generator => Empostor.Api.Innersloth.Generator}/Generators/EnumGenerator.cs (91%) rename src/{Impostor.Api.Innersloth.Generator => Empostor.Api.Innersloth.Generator}/Generators/MapDataGenerator.cs (98%) rename src/{Impostor.Api.Innersloth.Generator => Empostor.Api.Innersloth.Generator}/Properties/launchSettings.json (72%) rename src/{Impostor.Api.Innersloth.Generator => Empostor.Api.Innersloth.Generator}/SourceGenerator.cs (93%) rename src/{Impostor.Api.Innersloth.Generator => Empostor.Api.Innersloth.Generator}/Vector2Converter.cs (95%) rename src/{Impostor.Api.Innersloth.Generator => Empostor.Api.Innersloth.Generator}/packages.lock.json (100%) rename src/{Impostor.Api => Empostor.Api}/CheatCategory.cs (93%) rename src/{Impostor.Api => Empostor.Api}/CheatContext.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Commands/CommandContext.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Commands/ICommand.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Config/AdminConfig.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Config/AntiCheatConfig.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Config/ChatFilterConfig.cs (93%) rename src/{Impostor.Api => Empostor.Api}/Config/CheatingHostMode.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Config/CompatibilityConfig.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Config/DebugConfig.cs (86%) rename src/{Impostor.Api => Empostor.Api}/Config/DisconnectMessages.cs (81%) rename src/{Impostor.Api => Empostor.Api}/Config/DiscordWebhookConfig.cs (94%) rename src/{Impostor.Api => Empostor.Api}/Config/HttpServerConfig.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Config/PlayerStatsConfig.cs (87%) rename src/{Impostor.Api => Empostor.Api}/Config/ServerConfig.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Config/TimeoutConfig.cs (87%) rename src/{Impostor.Api/Impostor.Api.csproj => Empostor.Api/Empostor.Api.csproj} (68%) rename src/{Impostor.Api => Empostor.Api}/Events/Attributes/EventListenerAttribute.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Events/Client/IClientConnectedEvent.cs (78%) rename src/{Impostor.Api => Empostor.Api}/Events/Client/IClientConnectionEvent.cs (79%) rename src/{Impostor.Api => Empostor.Api}/Events/Client/IClientEvent.cs (63%) rename src/{Impostor.Api => Empostor.Api}/Events/EventPriority.cs (83%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameAlterEvent.cs (74%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameCreatedEvent.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameCreationEvent.cs (82%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameDestroyedEvent.cs (75%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameEndedEvent.cs (65%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameEvent.cs (77%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameHostChangedEvent.cs (73%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameOptionsChangedEvent.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGamePlayerJoinedEvent.cs (66%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGamePlayerJoiningEvent.cs (77%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGamePlayerLeftEvent.cs (70%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameStartedEvent.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/IGameStartingEvent.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Meeting/IMeetingEndedEvent.cs (81%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Meeting/IMeetingEvent.cs (58%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Meeting/IMeetingStartedEvent.cs (64%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerChatEvent.cs (93%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerCheckMurderEvent.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerCompletedTaskEvent.cs (58%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerDestroyedEvent.cs (64%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerEnterVentEvent.cs (79%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerEvent.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerExileEvent.cs (82%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerExitVentEvent.cs (79%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerMovementEvent.cs (66%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerMurderEvent.cs (89%) create mode 100644 src/Empostor.Api/Events/Game/Player/IPlayerReadyEvent.cs rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerReportEvent.cs (68%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerSetStartCounterEvent.cs (85%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerSpawnedEvent.cs (64%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerStartMeetingEvent.cs (78%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerVentEvent.cs (80%) rename src/{Impostor.Api => Empostor.Api}/Events/Game/Player/IPlayerVotedEvent.cs (86%) rename src/{Impostor.Api => Empostor.Api}/Events/IEvent.cs (57%) rename src/{Impostor.Api => Empostor.Api}/Events/IEventCancelable.cs (87%) rename src/{Impostor.Api => Empostor.Api}/Events/IEventListener.cs (61%) rename src/{Impostor.Api => Empostor.Api}/Events/IManualEventListener.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Events/Managers/IEventManager.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Events/MultiDisposable.cs (95%) create mode 100644 src/Empostor.Api/Exceptions/ImpostorConfigException.cs create mode 100644 src/Empostor.Api/Exceptions/ImpostorException.cs create mode 100644 src/Empostor.Api/Exceptions/ImpostorProtocolException.cs rename src/{Impostor.Api => Empostor.Api}/Extensions/DictionaryExtensions.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Extensions/MurderResultFlagsExtensions.cs (80%) rename src/{Impostor.Api => Empostor.Api}/Extensions/SpanReaderExtensions.cs (99%) rename src/{Impostor.Api => Empostor.Api}/Extensions/SystemTypesExtensions.cs (78%) rename src/{Impostor.Api => Empostor.Api}/Games/Extensions/GameExtensions.cs (95%) rename src/{Impostor.Api => Empostor.Api}/Games/Extensions/GameManagerExtensions.cs (75%) rename src/{Impostor.Api => Empostor.Api}/Games/GameCode.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Games/GameJoinError.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Games/GameJoinResult.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Games/IGame.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Games/IGameCodeFactory.cs (71%) rename src/{Impostor.Api => Empostor.Api}/Games/Managers/IGameManager.cs (77%) rename src/{Impostor.Api => Empostor.Api}/GlobalUsings.cs (100%) rename src/{Impostor.Api => Empostor.Api}/Http/IListingFilter.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Impostor.Api.csproj.DotSettings (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/AlterGameTags.cs (68%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/ChatNoteType.cs (66%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/CrossplayFlags.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Customization/PlayerOutfit.cs (98%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Customization/PlayerOutfitType.cs (73%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/SpawnableObjects.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/ColorType.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/DisconnectReasons.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/GameKeywords.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/GameOverReason.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/Platforms.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/RoleTypes.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/RpcCalls.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/RulesPresets.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/SanctionReasons.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/SpecialGameModes.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/StringNames.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/SupportedLangs.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/SystemTypes.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/enums/TaskTypes.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/info.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Airship/doors.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Airship/spawn.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Airship/systems.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Airship/tasks.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Airship/vents.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/April/doors.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/April/spawn.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/April/systems.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/April/tasks.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/April/vents.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Fungle/doors.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Fungle/spawn.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Fungle/systems.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Fungle/tasks.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Fungle/vents.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Mira/doors.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Mira/spawn.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Mira/systems.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Mira/tasks.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Mira/vents.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Polus/doors.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Polus/spawn.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Polus/systems.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Polus/tasks.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Polus/vents.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Skeld/doors.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Skeld/spawn.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Skeld/systems.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Skeld/tasks.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Data/maps/Skeld/vents.json (100%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/DeathReason.cs (73%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameCodeParser.cs (98%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameFilterOptions.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameModes.cs (80%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/GameOptionsFactory.cs (98%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/GameTags.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/HideNSeekGameOptions.cs (95%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/IGameOptions.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/LegacyGameOptionsData.cs (94%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/NormalGameOptions.cs (95%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/DetectiveRoleOptions.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/EngineerRoleOptions.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/GuardianAngelRoleOptions.cs (78%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/IRoleOptions.cs (64%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/LegacyRoleOptionsData.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/NoisemakerRoleOptions.cs (75%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/PhantomRoleOptions.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/RoleOptionsCollection.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/RoleRate.cs (85%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/ScientistRoleOptions.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/ShapeshifterRoleOptions.cs (93%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/TrackerRoleOptions.cs (93%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameOptions/RoleOptions/ViperRoleOptions.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameStates.cs (81%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/GameVersion.cs (98%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/KillDistances.cs (80%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/MapFlags.cs (86%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/MapTypes.cs (81%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Maps/DoorData.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Maps/MapData.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Maps/TaskData.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/Maps/VentData.cs (95%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/MurderResultFlags.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/PlatformSpecificData.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/QuickChatModes.cs (75%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/ReportOutcome.cs (85%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/ReportReasons.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/SystemTypeHelpers.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/TaskBarUpdate.cs (75%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/TaskCategories.cs (76%) rename src/{Impostor.Api => Empostor.Api}/Innersloth/TextBox.cs (93%) rename src/{Impostor.Api => Empostor.Api}/Languages/LanguageService.cs (99%) rename src/{Impostor.Api => Empostor.Api}/Languages/LanguageString.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Net/Custom/ICustomMessage.cs (69%) rename src/{Impostor.Api => Empostor.Api}/Net/Custom/ICustomMessageManager.cs (93%) rename src/{Impostor.Api => Empostor.Api}/Net/Custom/ICustomRootMessage.cs (85%) rename src/{Impostor.Api => Empostor.Api}/Net/Custom/ICustomRpc.cs (78%) rename src/{Impostor.Api => Empostor.Api}/Net/IClient.cs (98%) rename src/{Impostor.Api => Empostor.Api}/Net/IClientPlayer.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Net/IConnection.cs (62%) rename src/{Impostor.Api => Empostor.Api}/Net/IHazelConnection.cs (98%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/IGameNet.cs (70%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/IInnerNetObject.cs (72%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/Components/IInnerCustomNetworkTransform.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/Components/IInnerPlayerPhysics.cs (57%) create mode 100644 src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerGameManager.cs rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/GameManager/IInnerHideAndSeekManager.cs (50%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/GameManager/IInnerNormalGameManager.cs (53%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/ILogicGameFlowHnS.cs (66%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/IInnerGameData.cs (54%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/IInnerLobbyBehaviour.cs (63%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/IInnerMeetingHud.cs (93%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/IInnerPlayerControl.cs (85%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/IInnerPlayerInfo.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/IInnerVoteBanSystem.cs (63%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/ITaskInfo.cs (81%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/ShipStatus/IInnerAirshipStatus.cs (59%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/ShipStatus/IInnerDleksShipStatus.cs (58%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/ShipStatus/IInnerMiraShipStatus.cs (58%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/ShipStatus/IInnerPolusShipStatus.cs (60%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/ShipStatus/IInnerShipStatus.cs (56%) rename src/{Impostor.Api => Empostor.Api}/Net/Inner/Objects/ShipStatus/IInnerSkeldShipStatus.cs (58%) rename src/{Impostor.Api => Empostor.Api}/Net/LimboStates.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Net/Manager/IClientManager.cs (79%) rename src/{Impostor.Api => Empostor.Api}/Net/Manager/ICompatibilityManager.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Net/MessageReaderExtensions.cs (83%) rename src/{Impostor.Api => Empostor.Api}/Net/MessageWriterExtensions.cs (85%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/HandshakeC2S.cs (98%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message00HostGameC2S.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message01JoinGameC2S.cs (86%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message04RemovePlayerC2S.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message08EndGameC2S.cs (85%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message10AlterGameC2S.cs (87%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message11KickPlayerC2S.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message16GetGameListC2S.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message21SetActivePodType.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/C2S/Message22QueryPlatformIdsC2S.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/MessageFlags.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc00PlayAnimation.cs (82%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc01CompleteTask.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc03SetInfected.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc04Exiled.cs (83%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc05CheckName.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc06SetName.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc07CheckColor.cs (80%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc08SetColor.cs (83%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc11ReportDeadBody.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc12MurderPlayer.cs (80%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc13SendChat.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc14StartMeeting.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc15SetScanner.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc16SendChatNote.cs (87%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc18SetStartCounter.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc19EnterVent.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc20ExitVent.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc21SnapTo.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc22Close.cs (83%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc23VotingComplete.cs (94%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc24CastVote.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc25ClearVote.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc26AddVote.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc27CloseDoorsOfType.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc29SetTasks.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc30UpdateGameData.cs (82%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc31ClimbLadder.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc32UsePlatform.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc34BootFromVent.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc35UpdateSystem.cs (86%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc38SetLevel.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc39SetHatStr.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc40SetSkinStr.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc41SetPetStr.cs (91%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc42SetVisorStr.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc44SetRole.cs (87%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc45ProtectPlayer.cs (78%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc46Shapeshift.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc47CheckMurder.cs (80%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc48CheckProtect.cs (80%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc49Pet.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc50CancelPet.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc51CheckZipline.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc52UseZipline.cs (88%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc53TriggerSpores.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc54CheckSpore.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc55CheckShapeshift.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc56RejectShapeshift.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc62CheckVanish.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc63StartVanish.cs (84%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc64CheckAppear.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/Rpcs/Rpc65StartAppear.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message00HostGameS2C.cs (86%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message01JoinGameS2C.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message04RemovePlayerS2C.cs (92%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message07JoinedGameS2C.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message10AlterGameS2C.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message11KickPlayerS2C.cs (94%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message12WaitForHostS2C.cs (93%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message13RedirectS2C.cs (94%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message16GetGameListS2C.cs (95%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message22QueryPlatformIdsS2C.cs (87%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/Message24EndGameHostMigrationS2C.cs (89%) rename src/{Impostor.Api => Empostor.Api}/Net/Messages/S2C/MessageDisconnect.cs (95%) rename src/{Impostor.Api => Empostor.Api}/Plugins/DependencyType.cs (77%) rename src/{Impostor.Api => Empostor.Api}/Plugins/IPlugin.cs (77%) rename src/{Impostor.Api => Empostor.Api}/Plugins/IPluginHttpStartup.cs (83%) rename src/{Impostor.Api => Empostor.Api}/Plugins/IPluginStartup.cs (90%) rename src/{Impostor.Api => Empostor.Api}/Plugins/ImpostorDependencyAttribute.cs (64%) rename src/{Impostor.Api => Empostor.Api}/Plugins/ImpostorPluginAttribute.cs (71%) rename src/{Impostor.Api => Empostor.Api}/Plugins/PluginBase.cs (97%) rename src/{Impostor.Api => Empostor.Api}/Plugins/PluginConfigLoader.cs (96%) create mode 100644 src/Empostor.Api/Properties/AssemblyInfo.cs rename src/{Impostor.Api => Empostor.Api}/Service/Admin/Verify/IVerifyStore.cs (83%) rename src/{Impostor.Api => Empostor.Api}/Unity/Mathf.cs (98%) rename src/{Impostor.Api => Empostor.Api}/Unity/RuntimePlatform.cs (96%) rename src/{Impostor.Api => Empostor.Api}/Utils/IDateTimeProvider.cs (78%) rename src/{Impostor.Api => Empostor.Api}/Utils/IServerEnvironment.cs (75%) rename src/{Impostor.Api => Empostor.Api}/Utils/IpUtils.cs (83%) rename src/{Impostor.Api => Empostor.Api}/packages.lock.json (100%) rename src/{Impostor.Plugins.Example/Impostor.Plugins.Example.csproj => Empostor.Plugins.Example/Empostor.Plugins.Example.csproj} (81%) rename src/{Impostor.Plugins.Example => Empostor.Plugins.Example}/ExamplePlugin.cs (84%) rename src/{Impostor.Plugins.Example => Empostor.Plugins.Example}/ExamplePluginStartup.cs (82%) rename src/{Impostor.Plugins.Example => Empostor.Plugins.Example}/Handlers/ClientEventListener.cs (84%) rename src/{Impostor.Plugins.Example => Empostor.Plugins.Example}/Handlers/GameEventListener.cs (97%) rename src/{Impostor.Plugins.Example => Empostor.Plugins.Example}/Handlers/MeetingEventListener.cs (91%) rename src/{Impostor.Plugins.Example => Empostor.Plugins.Example}/Handlers/PlayerEventListener.cs (96%) rename src/{Impostor.Plugins.Example => Empostor.Plugins.Example}/packages.lock.json (99%) rename src/{Impostor.Plugins.FixedCode/Impostor.Plugins.FixedCode.csproj => Empostor.Plugins.FixedCode/Empostor.Plugins.FixedCode.csproj} (61%) rename src/{Impostor.Plugins.FixedCode => Empostor.Plugins.FixedCode}/FixedCodeConfig.cs (93%) rename src/{Impostor.Plugins.FixedCode => Empostor.Plugins.FixedCode}/FixedCodeListener.cs (96%) rename src/{Impostor.Plugins.FixedCode => Empostor.Plugins.FixedCode}/FixedCodePlugin.cs (83%) rename src/{Impostor.Plugins.FixedCode => Empostor.Plugins.FixedCode}/FixedCodeStartup.cs (88%) rename src/{Impostor.Plugins.FixedCode => Empostor.Plugins.FixedCode}/packages.lock.json (99%) rename src/{Impostor.Plugins.FriendCodeValidator/Impostor.Plugins.FriendCodeValidator.csproj => Empostor.Plugins.FriendCodeValidator/Empostor.Plugins.FriendCodeValidator.csproj} (61%) rename src/{Impostor.Plugins.FriendCodeValidator => Empostor.Plugins.FriendCodeValidator}/FriendCodeValidationListener.cs (99%) rename src/{Impostor.Plugins.FriendCodeValidator => Empostor.Plugins.FriendCodeValidator}/FriendCodeValidatorPlugin.cs (82%) rename src/{Impostor.Plugins.FriendCodeValidator => Empostor.Plugins.FriendCodeValidator}/FriendCodeValidatorStartup.cs (79%) rename src/{Impostor.Plugins.FriendCodeValidator => Empostor.Plugins.FriendCodeValidator}/packages.lock.json (99%) rename src/{Impostor.Plugins.PlayerChannel/Impostor.Plugins.PlayerChannel.csproj => Empostor.Plugins.PlayerChannel/Empostor.Plugins.PlayerChannel.csproj} (60%) rename src/{Impostor.Plugins.PlayerChannel => Empostor.Plugins.PlayerChannel}/PlayerChannelCommand.cs (96%) rename src/{Impostor.Plugins.PlayerChannel => Empostor.Plugins.PlayerChannel}/PlayerChannelConfig.cs (93%) rename src/{Impostor.Plugins.PlayerChannel => Empostor.Plugins.PlayerChannel}/PlayerChannelPlugin.cs (79%) rename src/{Impostor.Plugins.PlayerChannel => Empostor.Plugins.PlayerChannel}/PlayerChannelStartup.cs (87%) rename src/{Impostor.Plugins.PlayerChannel => Empostor.Plugins.PlayerChannel}/packages.lock.json (99%) rename src/{Impostor.Plugins.QqVerify/Impostor.Plugins.QqVerify.csproj => Empostor.Plugins.QqVerify/Empostor.Plugins.QqVerify.csproj} (61%) rename src/{Impostor.Plugins.QqVerify => Empostor.Plugins.QqVerify}/QqVerifyCommand.cs (93%) rename src/{Impostor.Plugins.QqVerify => Empostor.Plugins.QqVerify}/QqVerifyConfig.cs (82%) rename src/{Impostor.Plugins.QqVerify => Empostor.Plugins.QqVerify}/QqVerifyPlugin.cs (79%) rename src/{Impostor.Plugins.QqVerify => Empostor.Plugins.QqVerify}/QqVerifyStartup.cs (84%) rename src/{Impostor.Plugins.QqVerify => Empostor.Plugins.QqVerify}/QqVerifyStore.cs (95%) rename src/{Impostor.Plugins.QqVerify => Empostor.Plugins.QqVerify}/packages.lock.json (98%) rename src/{Impostor.Plugins.Titles/Impostor.Plugins.Titles.csproj => Empostor.Plugins.Titles/Empostor.Plugins.Titles.csproj} (61%) rename src/{Impostor.Plugins.Titles => Empostor.Plugins.Titles}/Service/FriendCodeTitleListener.cs (94%) rename src/{Impostor.Plugins.Titles => Empostor.Plugins.Titles}/Service/TitleEventListener.cs (93%) rename src/{Impostor.Plugins.Titles => Empostor.Plugins.Titles}/TitleStore.cs (95%) rename src/{Impostor.Plugins.Titles => Empostor.Plugins.Titles}/TitlesConfig.cs (93%) rename src/{Impostor.Plugins.Titles => Empostor.Plugins.Titles}/TitlesPlugin.cs (78%) rename src/{Impostor.Plugins.Titles => Empostor.Plugins.Titles}/TitlesPluginStartup.cs (83%) create mode 100644 src/Empostor.Plugins.Titles/packages.lock.json rename src/{Impostor.Plugins.Welcome/Impostor.Plugins.Welcome.csproj => Empostor.Plugins.Welcome/Empostor.Plugins.Welcome.csproj} (61%) rename src/{Impostor.Plugins.Welcome => Empostor.Plugins.Welcome}/Service/WelcomeEventListener.cs (93%) rename src/{Impostor.Plugins.Welcome => Empostor.Plugins.Welcome}/Service/WelcomeMessageService.cs (98%) rename src/{Impostor.Plugins.Welcome => Empostor.Plugins.Welcome}/WelcomePlugin.cs (95%) rename src/{Impostor.Plugins.Welcome => Empostor.Plugins.Welcome}/WelcomePluginStartup.cs (72%) create mode 100644 src/Empostor.Plugins.Welcome/packages.lock.json rename src/{Impostor.Server => Empostor.Server}/Commands/CommandBootstrapper.cs (93%) rename src/{Impostor.Server => Empostor.Server}/Commands/CommandService.cs (95%) rename src/{Impostor.Server => Empostor.Server}/Commands/Commands/HelpCommand.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Commands/Commands/NoteCommand.cs (93%) rename src/{Impostor.Server => Empostor.Server}/Commands/Commands/SetColorCommand.cs (89%) rename src/{Impostor.Server => Empostor.Server}/Commands/Commands/StatCommand.cs (93%) rename src/{Impostor.Server/Impostor.Server.csproj => Empostor.Server/Empostor.Server.csproj} (85%) rename src/{Impostor.Server => Empostor.Server}/Events/Client/ClientConnectedEvent.cs (77%) rename src/{Impostor.Server => Empostor.Server}/Events/Client/ClientConnectionEvent.cs (79%) rename src/{Impostor.Server => Empostor.Server}/Events/EventHandler.cs (82%) rename src/{Impostor.Server => Empostor.Server}/Events/EventManager.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameAlterEvent.cs (76%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameCreatedEvent.cs (70%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameCreationEvent.cs (75%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameDestroyedEvent.cs (69%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameEndedEvent.cs (78%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameHostChangedEvent.cs (79%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameOptionsChangedEvent.cs (69%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GamePlayerJoinedEvent.cs (73%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GamePlayerJoiningEvent.cs (76%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GamePlayerLeftEvent.cs (76%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameStartedEvent.cs (68%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/GameStartingEvent.cs (69%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Meeting/MeetingEndedEvent.cs (77%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Meeting/MeetingStartedEvent.cs (69%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerChatEvent.cs (79%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerCheckMurderEvent.cs (82%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerCompletedTaskEvent.cs (77%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerDestroyedEvent.cs (73%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerEnterVentEvent.cs (73%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerExileEvent.cs (73%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerExitVentEvent.cs (73%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerMovementEvent.cs (87%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerMurderEvent.cs (80%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerReadyEvent.cs (72%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerReportEvent.cs (83%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerSetStartCounterEvent.cs (78%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerSpawnedEvent.cs (73%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerStartMeetingEvent.cs (78%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerVentEvent.cs (72%) rename src/{Impostor.Server => Empostor.Server}/Events/Game/Player/PlayerVotedEvent.cs (80%) rename src/{Impostor.Server => Empostor.Server}/Events/Register/IRegisteredEventListener.cs (80%) rename src/{Impostor.Server => Empostor.Server}/Events/Register/InvokedRegisteredEventListener.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Events/Register/ManualRegisteredEventListener.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Events/Register/RegisteredEventListener.cs (99%) rename src/{Impostor.Server => Empostor.Server}/Events/Register/TemporaryEventRegister.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Events/Register/WrappedRegisteredEventListener.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Extensions/IGameOptionsExtensions.cs (88%) rename src/{Impostor.Server => Empostor.Server}/Extensions/IHazelConnectionExtensions.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Extensions/ServiceProviderExtensions.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Extensions/TypeExtensions.cs (98%) rename src/{Impostor.Server => Empostor.Server}/GlobalUsings.cs (50%) rename src/{Impostor.Server => Empostor.Server}/Http/AdminController.cs (99%) rename src/{Impostor.Server => Empostor.Server}/Http/GamesController.cs (98%) rename src/{Impostor.Server => Empostor.Server}/Http/HelloController.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Http/ListingManager.cs (95%) rename src/{Impostor.Server => Empostor.Server}/Http/MarketplaceController.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Http/TokenController.cs (99%) rename src/{Impostor.Server => Empostor.Server}/Http/VerifyController.cs (95%) rename src/{Impostor.Server => Empostor.Server}/Impostor.Server.csproj.DotSettings (100%) rename src/{Impostor.Server => Empostor.Server}/Languages/de.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/en.json (100%) rename src/{Impostor.Server => Empostor.Server}/Languages/es.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/fil.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/fr.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/ga.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/it.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/ja.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/ko.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/nl.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/pt.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/pt_BR.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/ru.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/zh_CN.json (99%) rename src/{Impostor.Server => Empostor.Server}/Languages/zh_TW.json (99%) rename src/{Impostor.Server => Empostor.Server}/Net/Client.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Net/ClientBase.cs (93%) rename src/{Impostor.Server => Empostor.Server}/Net/Custom/CustomMessageManager.cs (90%) rename src/{Impostor.Server => Empostor.Server}/Net/Factories/ClientFactory.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Net/Factories/IClientFactory.cs (78%) rename src/{Impostor.Server => Empostor.Server}/Net/GameCodeFactory.cs (73%) rename src/{Impostor.Server => Empostor.Server}/Net/Hazel/HazelConnection.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/GameDataTag.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/GameObject.cs (93%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/InnerNetObject.Anticheat.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/InnerNetObject.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Components/InnerCustomNetworkTransform.Api.cs (81%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Components/InnerCustomNetworkTransform.cs (93%) create mode 100644 src/Empostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.Api.cs rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Components/InnerPlayerPhysics.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Components/InnerVoteBanSystem.cs (90%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/InnerGameManager.cs (92%) create mode 100644 src/Empostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.Api.cs rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.cs (83%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/InnerNormalGameManager.cs (67%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/GameLogicComponent.cs (84%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicGameFlowHnS.cs (79%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDangerLevel.cs (53%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDeathPopup.cs (53%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSMusic.cs (51%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicMinigameHnS.cs (51%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicOptionsHnS.cs (55%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicPingsHnS.cs (51%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicRoleSelectionHnS.cs (54%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicUsablesHnS.cs (50%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/LogicGameFlow.cs (50%) create mode 100644 src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicMinigame.cs rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/LogicOptions.cs (80%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/LogicRoleSelection.cs (52%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/LogicUsables.cs (50%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/Normal/LogicGameFlowNormal.cs (50%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/Normal/LogicOptionsNormal.cs (55%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/GameManager/Logic/Normal/LogicRoleSelectionNormal.cs (53%) create mode 100644 src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicUsablesBasic.cs rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerGameData.cs (95%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerLobbyBehaviour.cs (80%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerMeetingHud.Api.cs (79%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerMeetingHud.PlayerVoteArea.cs (93%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerMeetingHud.VoterState.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerMeetingHud.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerPlayerControl.Api.cs (88%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerPlayerControl.cs (98%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerPlayerInfo.Api.cs (70%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/InnerPlayerInfo.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/ShipStatus/InnerAirshipStatus.cs (85%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/ShipStatus/InnerDleksShipStatus.cs (74%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/ShipStatus/InnerFungleShipStatus.cs (76%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/ShipStatus/InnerMiraShipStatus.cs (70%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/ShipStatus/InnerPolusShipStatus.cs (84%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/ShipStatus/InnerShipStatus.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/ShipStatus/InnerSkeldShipStatus.cs (74%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/IActivatable.cs (59%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ISystemType.cs (76%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/AutoDoorsSystemType.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/DoorsSystemType.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/ElectricalDoors.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/HeliSabotageSystemType.cs (95%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/HudOverrideSystemType.cs (87%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/LifeSuppSystemType.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/MedScanSystem.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/MovingPlatformBehaviour.cs (89%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/MushroomMixupSabotageSystemType.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/ReactorSystemType.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/SabotageSystemType.cs (90%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/SecurityCameraSystemType.cs (86%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/Systems/ShipStatus/SwitchSystem.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/Objects/TaskInfo.cs (80%) rename src/{Impostor.Server => Empostor.Server}/Net/Inner/SpawnFlags.cs (78%) rename src/{Impostor.Server => Empostor.Server}/Net/Manager/ClientManager.Api.cs (66%) rename src/{Impostor.Server => Empostor.Server}/Net/Manager/ClientManager.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Net/Manager/CompatibilityManager.cs (98%) rename src/{Impostor.Server => Empostor.Server}/Net/Manager/GameManager.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Net/Matchmaker.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Net/MatchmakerService.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Net/Messages/MessageWriterProvider.cs (86%) rename src/{Impostor.Server => Empostor.Server}/Net/State/ClientPlayer.Api.cs (70%) rename src/{Impostor.Server => Empostor.Server}/Net/State/ClientPlayer.cs (93%) rename src/{Impostor.Server => Empostor.Server}/Net/State/Game.Api.cs (87%) rename src/{Impostor.Server => Empostor.Server}/Net/State/Game.Data.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Net/State/Game.Incoming.cs (98%) rename src/{Impostor.Server => Empostor.Server}/Net/State/Game.Outgoing.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Net/State/Game.State.cs (95%) rename src/{Impostor.Server => Empostor.Server}/Net/State/Game.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Net/State/GameNet.Api.cs (66%) rename src/{Impostor.Server => Empostor.Server}/Net/State/GameNet.cs (62%) rename src/{Impostor.Server => Empostor.Server}/Pages/AdminStrings.json (100%) rename src/{Impostor.Server => Empostor.Server}/Pages/index.html (90%) rename src/{Impostor.Server => Empostor.Server}/Plugins/AssemblyInformation.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Plugins/DependencyInformation.cs (56%) rename src/{Impostor.Server => Empostor.Server}/Plugins/IAssemblyInformation.cs (87%) rename src/{Impostor.Server => Empostor.Server}/Plugins/LoadedAssemblyInformation.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Plugins/PluginConfig.cs (87%) rename src/{Impostor.Server => Empostor.Server}/Plugins/PluginInformation.cs (86%) rename src/{Impostor.Server => Empostor.Server}/Plugins/PluginLoader.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Plugins/PluginLoaderException.cs (73%) rename src/{Impostor.Server => Empostor.Server}/Plugins/PluginLoaderService.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Program.cs (89%) rename src/{Impostor.Server => Empostor.Server}/Properties/launchSettings.json (90%) rename src/{Impostor.Server => Empostor.Server}/RealDateTimeProvider.cs (74%) rename src/{Impostor.Server => Empostor.Server}/Recorder/ClientRecorder.cs (90%) rename src/{Impostor.Server => Empostor.Server}/Recorder/PacketRecorder.cs (98%) rename src/{Impostor.Server => Empostor.Server}/Recorder/PacketSerializationContext.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Recorder/PacketSerializationContextPooledObjectPolicy.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Recorder/RecordedPacketType.cs (79%) rename src/{Impostor.Server => Empostor.Server}/Recorder/ServerReplayVersion.cs (90%) rename src/{Impostor.Server => Empostor.Server}/Service/Admin/Ban/BanEnforcementListener.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Service/Admin/Ban/BanStore.cs (99%) rename src/{Impostor.Server => Empostor.Server}/Service/Admin/Chat/ChatFilterListener.cs (96%) rename src/{Impostor.Server => Empostor.Server}/Service/Admin/Chat/ChatFilterStore.cs (95%) rename src/{Impostor.Server => Empostor.Server}/Service/Admin/Reactor/ReactorHandshakeListener.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Service/Admin/Reactor/ReactorModExtensions.cs (89%) create mode 100644 src/Empostor.Server/Service/Admin/Report/ReportStore.cs rename src/{Impostor.Server => Empostor.Server}/Service/Api/DiscordWebhookListener.cs (97%) rename src/{Impostor.Server => Empostor.Server}/Service/Auth/AuthCacheService.cs (98%) rename src/{Impostor.Server => Empostor.Server}/Service/Stat/PlayerLogListener.cs (95%) create mode 100644 src/Empostor.Server/Service/Stat/PlayerLogStore.cs rename src/{Impostor.Server => Empostor.Server}/Service/Stat/PlayerStatsListener.cs (92%) rename src/{Impostor.Server => Empostor.Server}/Service/Stat/PlayerStatsStore.cs (94%) rename src/{Impostor.Server => Empostor.Server}/Utils/DotnetUtils.cs (91%) rename src/{Impostor.Server => Empostor.Server}/Utils/RealDateTimeProvider.cs (72%) rename src/{Impostor.Server => Empostor.Server}/Utils/ServerEnvironment.cs (75%) rename src/{Impostor.Server => Empostor.Server}/config.json (100%) rename src/{Impostor.Server => Empostor.Server}/icon.ico (100%) rename src/{Impostor.Server => Empostor.Server}/packages.lock.json (99%) rename src/{Impostor.sln => Empostor.sln} (83%) delete mode 100644 src/Impostor.Api/Events/Game/Player/IPlayerReadyEvent.cs delete mode 100644 src/Impostor.Api/Exceptions/ImpostorConfigException.cs delete mode 100644 src/Impostor.Api/Exceptions/ImpostorException.cs delete mode 100644 src/Impostor.Api/Exceptions/ImpostorProtocolException.cs delete mode 100644 src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerGameManager.cs delete mode 100644 src/Impostor.Api/Properties/AssemblyInfo.cs delete mode 100644 src/Impostor.Plugins.Titles/packages.lock.json delete mode 100644 src/Impostor.Plugins.Welcome/packages.lock.json delete mode 100644 src/Impostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.Api.cs delete mode 100644 src/Impostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.Api.cs delete mode 100644 src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicMinigame.cs delete mode 100644 src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicUsablesBasic.cs delete mode 100644 src/Impostor.Server/Service/Admin/Report/ReportStore.cs delete mode 100644 src/Impostor.Server/Service/Stat/PlayerLogStore.cs diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index addde9d..a8e9e69 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -17,13 +17,13 @@ Thank you for your interest in contributing! We welcome bug reports, feature sug ```bash git clone https://github.com/your-org/Empostor.git cd Empostor -dotnet build src/Impostor.sln +dotnet build src/Empostor.sln ``` ### Run locally ```bash -dotnet run --project src/Core/Impostor.Server +dotnet run --project src/Core/Empostor.Server ``` --- @@ -66,10 +66,10 @@ dotnet run --project src/Core/Impostor.Server ## Writing a Plugin -Plugins implement `PluginBase` + `IPluginStartup` and reference `Impostor.Api`. +Plugins implement `PluginBase` + `IPluginStartup` and reference `Empostor.Api`. ```csharp -[ImpostorPlugin("com.example.myplugin", "My Plugin", "Author", "1.0.0")] +[EmpostorPlugin("com.example.myplugin", "My Plugin", "Author", "1.0.0")] public sealed class MyPlugin : PluginBase { public override ValueTask EnableAsync() @@ -82,7 +82,7 @@ public sealed class MyPlugin : PluginBase See **[docs/Writing-a-plugin.md](docs/Writing-a-plugin.md)** for the full guide. -Custom commands can be registered by injecting `CommandService` and calling `Register(new MyCommand())`. The `ICommand` interface lives in `Impostor.Api.Commands` so plugins can use it without referencing `Impostor.Server`. +Custom commands can be registered by injecting `CommandService` and calling `Register(new MyCommand())`. The `ICommand` interface lives in `Empostor.Api.Commands` so plugins can use it without referencing `Empostor.Server`. --- diff --git a/Dockerfile b/Dockerfile index 15c5273..47b20b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,9 +9,9 @@ ARG VERSIONSUFFIX="docker" WORKDIR /source # Copy csproj and restore. -COPY src/Impostor.Server/Impostor.Server.csproj ./src/Impostor.Server/Impostor.Server.csproj -COPY src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj ./src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj -COPY src/Impostor.Api/Impostor.Api.csproj ./src/Impostor.Api/Impostor.Api.csproj +COPY src/Empostor.Server/Empostor.Server.csproj ./src/Empostor.Server/Empostor.Server.csproj +COPY src/Empostor.Api.Innersloth.Generator/Empostor.Api.Innersloth.Generator.csproj ./src/Empostor.Api.Innersloth.Generator/Empostor.Api.Innersloth.Generator.csproj +COPY src/Empostor.Api/Empostor.Api.csproj ./src/Empostor.Api/Empostor.Api.csproj COPY src/Directory.Build.props ./src/Directory.Build.props RUN case "$TARGETARCH" in \ @@ -20,9 +20,9 @@ RUN case "$TARGETARCH" in \ arm) NETCORE_PLATFORM='linux-arm';; \ *) echo "unsupported architecture"; exit 1 ;; \ esac && \ - dotnet restore -r "$NETCORE_PLATFORM" ./src/Impostor.Server/Impostor.Server.csproj && \ - dotnet restore -r "$NETCORE_PLATFORM" ./src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj && \ - dotnet restore -r "$NETCORE_PLATFORM" ./src/Impostor.Api/Impostor.Api.csproj + dotnet restore -r "$NETCORE_PLATFORM" ./src/Empostor.Server/Empostor.Server.csproj && \ + dotnet restore -r "$NETCORE_PLATFORM" ./src/Empostor.Api.Innersloth.Generator/Empostor.Api.Innersloth.Generator.csproj && \ + dotnet restore -r "$NETCORE_PLATFORM" ./src/Empostor.Api/Empostor.Api.csproj # Copy everything else. COPY src/. ./src/ @@ -33,7 +33,7 @@ RUN case "$TARGETARCH" in \ *) echo "unsupported architecture"; exit 1 ;; \ esac && \ [ $VERSIONSUFFIX = "none" ] && VERSIONSUFFIX=; \ - dotnet publish -c release -o /app -r "$NETCORE_PLATFORM" -p:VersionSuffix="$VERSIONSUFFIX" --no-restore ./src/Impostor.Server/Impostor.Server.csproj + dotnet publish -c release -o /app -r "$NETCORE_PLATFORM" -p:VersionSuffix="$VERSIONSUFFIX" --no-restore ./src/Empostor.Server/Empostor.Server.csproj # Final image. FROM --platform=$TARGETPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0 @@ -44,4 +44,4 @@ COPY --from=build /app ./ ENV ASPNETCORE_URLS= EXPOSE 22023/tcp 22023/udp -ENTRYPOINT ["./Impostor.Server"] +ENTRYPOINT ["./Empostor.Server"] diff --git a/build.cake b/build.cake index 0b00dd8..4f896dd 100644 --- a/build.cake +++ b/build.cake @@ -35,7 +35,7 @@ else ////////////////////////////////////////////////////////////////////// // Remove unnecessary files for packaging. -private void ImpostorPublish(string name, string project, string runtime, bool isServer = false) { +private void EmpostorPublish(string name, string project, string runtime, bool isServer = false) { var projBuildDir = buildDir.Combine(name + "_" + runtime); var projBuildName = name + "_" + buildVersion + "_" + runtime; @@ -55,7 +55,7 @@ private void ImpostorPublish(string name, string project, string runtime, bool i CreateDirectory(projBuildDir.Combine("libraries")); if (runtime == "win-x64") { - FileWriteText(projBuildDir.CombineWithFilePath("run.bat"), "@echo off\r\nImpostor.Server.exe\r\npause"); + FileWriteText(projBuildDir.CombineWithFilePath("run.bat"), "@echo off\r\nEmpostor.Server.exe\r\npause"); } } @@ -70,7 +70,7 @@ private void ImpostorPublish(string name, string project, string runtime, bool i } } -private void ImpostorPublishNF(string name, string project) { +private void EmpostorPublishNF(string name, string project) { var runtime = "win-x64"; var projBuildDir = buildDir.Combine(name + "_" + runtime); var projBuildZip = buildDir.CombineWithFilePath(name + "_" + buildVersion + "_" + runtime + ".zip"); @@ -101,15 +101,15 @@ Task("Clean") Task("Restore") .Does(() => { - DotNetRestore("./src/Impostor.sln"); + DotNetRestore("./src/Empostor.sln"); }); Task("Replay") .Does(() => { - // D:\Projects\GitHub\Impostor\Impostor\src\Impostor.Tools.ServerReplay\sessions + // D:\Projects\GitHub\Empostor\Empostor\src\Empostor.Tools.ServerReplay\sessions DotNetRun( - "./src/Impostor.Tools.ServerReplay/Impostor.Tools.ServerReplay.csproj", - "./src/Impostor.Tools.ServerReplay/sessions", new DotNetRunSettings { + "./src/Empostor.Tools.ServerReplay/Empostor.Tools.ServerReplay.csproj", + "./src/Empostor.Tools.ServerReplay/sessions", new DotNetRunSettings { Configuration = configuration, NoRestore = true, }); @@ -121,19 +121,19 @@ Task("Build") .IsDependentOn("Replay") .Does(() => { // Tests. - DotNetBuild("./src/Impostor.Tests/Impostor.Tests.csproj", new DotNetBuildSettings { + DotNetBuild("./src/Empostor.Tests/Empostor.Tests.csproj", new DotNetBuildSettings { Configuration = configuration, }); // Server. - ImpostorPublish("Impostor-Server", "./src/Impostor.Server/Impostor.Server.csproj", "win-x64", true); - ImpostorPublish("Impostor-Server", "./src/Impostor.Server/Impostor.Server.csproj", "osx-x64", true); - ImpostorPublish("Impostor-Server", "./src/Impostor.Server/Impostor.Server.csproj", "linux-x64", true); - ImpostorPublish("Impostor-Server", "./src/Impostor.Server/Impostor.Server.csproj", "linux-arm", true); - ImpostorPublish("Impostor-Server", "./src/Impostor.Server/Impostor.Server.csproj", "linux-arm64", true); + EmpostorPublish("Empostor-Server", "./src/Empostor.Server/Empostor.Server.csproj", "win-x64", true); + EmpostorPublish("Empostor-Server", "./src/Empostor.Server/Empostor.Server.csproj", "osx-x64", true); + EmpostorPublish("Empostor-Server", "./src/Empostor.Server/Empostor.Server.csproj", "linux-x64", true); + EmpostorPublish("Empostor-Server", "./src/Empostor.Server/Empostor.Server.csproj", "linux-arm", true); + EmpostorPublish("Empostor-Server", "./src/Empostor.Server/Empostor.Server.csproj", "linux-arm64", true); // API. - DotNetPack("./src/Impostor.Api/Impostor.Api.csproj", new DotNetPackSettings { + DotNetPack("./src/Empostor.Api/Empostor.Api.csproj", new DotNetPackSettings { Configuration = configuration, OutputDirectory = buildDir, IncludeSource = true, @@ -144,7 +144,7 @@ Task("Build") if (BuildSystem.GitHubActions.IsRunningOnGitHubActions) { foreach (var file in GetFiles(buildDir + "/*.{nupkg,snupkg}")) { - BuildSystem.GitHubActions.Commands.UploadArtifact(file, "Impostor.Api"); + BuildSystem.GitHubActions.Commands.UploadArtifact(file, "Empostor.Api"); } } }); @@ -152,7 +152,7 @@ Task("Build") Task("Test") .IsDependentOn("Build") .Does(() => { - DotNetTest("./src/Impostor.Tests/Impostor.Tests.csproj", new DotNetTestSettings { + DotNetTest("./src/Empostor.Tests/Empostor.Tests.csproj", new DotNetTestSettings { Configuration = configuration, NoBuild = true }); diff --git a/docs/Admin-panel.md b/docs/Admin-panel.md index 3afbfd3..76bd458 100644 --- a/docs/Admin-panel.md +++ b/docs/Admin-panel.md @@ -130,11 +130,11 @@ Toggles a game between Public and Private. This affects whether the room appears ## Plugin Marketplace -Fetches the plugin list from the URL configured in `Admin.MarketplaceUrl` (a raw GitHub JSON file). For each plugin, the latest version, supported Impostor version, and description are shown. +Fetches the plugin list from the URL configured in `Admin.MarketplaceUrl` (a raw GitHub JSON file). For each plugin, the latest version, supported Empostor version, and description are shown. Clicking **Install** downloads the `.dll` to the `plugins/` folder. The server must be restarted to load the new plugin. -If the plugin was built for a different Impostor version, a warning is displayed but installation is not blocked. +If the plugin was built for a different Empostor version, a warning is displayed but installation is not blocked. --- diff --git a/docs/Building-from-source.md b/docs/Building-from-source.md index e9b8c0f..eb4f516 100644 --- a/docs/Building-from-source.md +++ b/docs/Building-from-source.md @@ -1,13 +1,13 @@ # Building from source -The solution contains the Impostor server and its dependencies, like Hazel and the plugin API. The server is built using [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0). +The solution contains the Empostor server and its dependencies, like Hazel and the plugin API. The server is built using [.NET 8](https://dotnet.microsoft.com/download/dotnet/8.0). -## Cloning Impostor +## Cloning Empostor -You need to clone Impostor using git: +You need to clone Empostor using git: ```bash -git clone https://github.com/Impostor/Impostor.git +git clone https://github.com/Empostor/Empostor.git ``` ## Building the server @@ -20,7 +20,7 @@ git clone https://github.com/Impostor/Impostor.git ### Build using the CLI ```bash -cd src/Impostor.Server/ +cd src/Empostor.Server/ dotnet build # Or if you want a single file, ready for production: (change linux-x64 to win-x64 if you use Windows) dotnet publish -c Release -r linux-x64 -p:PublishSingleFile=true diff --git a/docs/FAQ.md b/docs/FAQ.md index b78e10b..b175e62 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -6,7 +6,7 @@ The Empostor project is a reverse engineered and open source server for the game ## Can this be used with the mobile version of the game? -Yes, Empostor can be used with both the Android and iOS versions of the game. You can add a custom server via a link, you can do this using the [site](https://impostor.github.io/Impostor) +Yes, Empostor can be used with both the Android and iOS versions of the game. You can add a custom server via a link, you can do this using the [site](https://empostor.github.io/Empostor) ## Can this be used with the console version of the game? @@ -18,6 +18,6 @@ No, it's an entirely different game with a completely different network stack. S ## How can I get started? -See [Setting up your Server](Running-the-server.md) for more information on running the server and [Client Setup](https://impostor.github.io/Impostor/) for helping your friends join in! +See [Setting up your Server](Running-the-server.md) for more information on running the server and [Client Setup](https://empostor.github.io/Empostor/) for helping your friends join in! If you're having issues with the server software, check the [Troubleshooting page](TROUBLESHOOTING.md). diff --git a/docs/Hello-page.md b/docs/Hello-page.md index 87cc895..0b691b7 100644 --- a/docs/Hello-page.md +++ b/docs/Hello-page.md @@ -7,7 +7,7 @@ Empostor serves a customisable home page at `http://your-server:22023/`. On startup, the server checks for a `Pages/` directory next to the executable. If it does not exist it is created automatically, and a default `index.html` is written into it. ``` -Impostor.Server (binary) +Empostor.Server (binary) Pages/ index.html ← served at GET / ``` @@ -31,7 +31,7 @@ The generated default page contains: - A status indicator showing the server is online - A link to the admin panel (`/admin`) -- A link to the [region file generator](https://impostor.github.io/Impostor) +- A link to the [region file generator](https://empostor.github.io/Empostor) - The server start time ## Notes diff --git a/docs/Http-server.md b/docs/Http-server.md index 6ef02be..e3c1f88 100644 --- a/docs/Http-server.md +++ b/docs/Http-server.md @@ -1,6 +1,6 @@ # HTTP Server -Since Impostor 1.9.0 a HTTP service is included for matchmaking, which is required for clients to connect to the Empostor server. +Since Empostor 1.9.0 a HTTP service is included for matchmaking, which is required for clients to connect to the Empostor server. Starting from Among Us 16.0.5, you need to set up HTTPS for players to connect to your server. Unfortunately Empostor doesn't handle SSL certificates, so you need to set up a reverse proxy. diff --git a/docs/Plugin-marketplace.md b/docs/Plugin-marketplace.md index 282d9a6..c6dfa84 100644 --- a/docs/Plugin-marketplace.md +++ b/docs/Plugin-marketplace.md @@ -25,11 +25,11 @@ The admin panel plugin marketplace reads `marketplace/plugins.json` at startup. // Semantic version of this plugin release "version": "1.0.0", - // Minimum Empostor / Impostor version required - "impostor_version": "2.0.0", + // Minimum Empostor / Empostor version required + "empostor_version": "2.0.0", // Direct download URL for the .dll file - "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Impostor.Plugins.Welcome.dll" + "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Empostor.Plugins.Welcome.dll" } ] } diff --git a/docs/README.md b/docs/README.md index e32ff8c..17fa360 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,4 +1,4 @@ -# Impostor Documentation +# Empostor Documentation 1. [Running the server](Running-the-server.md) 2. [Server configuration](Server-configuration.md) diff --git a/docs/Running-the-server.md b/docs/Running-the-server.md index 81653dd..99f33fb 100644 --- a/docs/Running-the-server.md +++ b/docs/Running-the-server.md @@ -6,7 +6,7 @@ There are currently two install methods for Empostor: You can install it normall This section applies to both the normal installation as well as the Docker (Compose) installation -To connect to the server, you need to configure and install a region file on https://impostor.github.io/Impostor/ +To connect to the server, you need to configure and install a region file on https://empostor.github.io/Empostor/ Among Us connects to the server using two network services: the (TCP) HTTP service points Among Us to the UDP service, then the UDP service hosts the actual game traffic. Because of this, Empostor uses port 22023 using **both** the TCP and UDP protocols. @@ -22,7 +22,7 @@ Depending on your host you may also need to port forward Empostor to the interne 2. Download the [latest release](https://github.com/HayashiUme/Empostor/releases) or the [latest CI build](https://nightly.link/HayashiUme/Empostor/workflows/ci/master). Note that Empostor is built for multiple CPU-architectures and operating systems, you most likely want the x64 version, unless you are running on a Raspberry Pi or another device/VPS with an Arm processor. 3. Extract the zip. 4. Modify `config.json` to your liking. Documentation can be found [here](Server-configuration.md). You need to at least change `PublicIp` to the address people will connect to your server to. -5. Run `Impostor.Server` (Linux/macOS) or `Impostor.Server.exe` (Windows) +5. Run `Empostor.Server` (Linux/macOS) or `Empostor.Server.exe` (Windows) 6. Set up a reverse proxy to support HTTPS, so you can connect to your server from another device. See [reverse proxy configuration](Http-server.md) 7. (OPTIONAL - Linux) Configure a systemd definition file and enable the service to start on boot, see [systemd configuration](Server-configuration.md#systemd) diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index ed257e7..f79e2a4 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -3,44 +3,44 @@ If you're reading this, something went wrong. Don't worry though, as this is the most thorough guide to help you! -## `./Impostor.Server: line 1: ELF: not found` (plus other errors) +## `./Empostor.Server: line 1: ELF: not found` (plus other errors) No idea where you got that system. But we clearly do **NOT** support it. ## `cannot execute binary file: Exec format error` -Please check that you have downloaded the right version of Impostor, as we mantain two CPU architectures (x64 and ARM). -Unless you are running Impostor on a computer like the Raspberry Pi, you most likely want to use the x64 version. +Please check that you have downloaded the right version of Empostor, as we mantain two CPU architectures (x64 and ARM). +Unless you are running Empostor on a computer like the Raspberry Pi, you most likely want to use the x64 version. -## `./Impostor.Server: Permission denied` +## `./Empostor.Server: Permission denied` This is an error related to Linux file permissions. Some files do not hold their executable bit (the permission that allows them to run) during a download. -You can solve this by doing: `chmod +x Impostor.Server` +You can solve this by doing: `chmod +x Empostor.Server` -## Disconnected with `Your client is too new, please update your Impostor to play` +## Disconnected with `Your client is too new, please update your Empostor to play` -This happens when your game is too new for your copy of Impostor to support. +This happens when your game is too new for your copy of Empostor to support. -If you're using an Impostor release, check if there is a newer release available that supports your version. If this doesn't exist, you can try the [latest build from CI](https://nightly.link/Impostor/Impostor/workflows/ci/master). +If you're using an Empostor release, check if there is a newer release available that supports your version. If this doesn't exist, you can try the [latest build from CI](https://nightly.link/Empostor/Empostor/workflows/ci/master). -If even that build doesn't work, you can try looking through the Pull Requests to see if there is a pending pull request that aims to update it to the next version, but note these may be unstable and may contain malicious code, as they haven't been vetted by the Impostor development team yet. +If even that build doesn't work, you can try looking through the Pull Requests to see if there is a pending pull request that aims to update it to the next version, but note these may be unstable and may contain malicious code, as they haven't been vetted by the Empostor development team yet. ## Disconnected with `Please update your game to play on this server` -This happens when you're using a version of Impostor that is too new for your game version. You can download an older version from [the GitHub release page](https://github.com/Impostor/Impostor/releases). We however don't support older versions of Impostor with new API's and bugfixes so we recommend to update your game instead. +This happens when you're using a version of Empostor that is too new for your game version. You can download an older version from [the GitHub release page](https://github.com/Empostor/Empostor/releases). We however don't support older versions of Empostor with new API's and bugfixes so we recommend to update your game instead. ## Disconnected with `You are using an older version of the game` -You are using a version of Impostor that is not designed for the version of the game you're playing. The game does not really check who is outdated and blames it on the user. Newer versions (v1.5.0+) do warn correctly and send the correct message. +You are using a version of Empostor that is not designed for the version of the game you're playing. The game does not really check who is outdated and blames it on the user. Newer versions (v1.5.0+) do warn correctly and send the correct message. -Look at which version of the game you're playing, which you can see in the top left corner of the main menu, then download an Impostor version for that game. Every [release on the release page](https://github.com/Impostor/Impostor/releases) shows which version of the game it is compatible with. If your game version is newer than the latest release, check if the [latest build from CI works](https://nightly.link/Impostor/Impostor/workflows/ci/master). +Look at which version of the game you're playing, which you can see in the top left corner of the main menu, then download an Empostor version for that game. Every [release on the release page](https://github.com/Empostor/Empostor/releases) shows which version of the game it is compatible with. If your game version is newer than the latest release, check if the [latest build from CI works](https://nightly.link/Empostor/Empostor/workflows/ci/master). ## Disconnected with `You disconnected from the server. Reliable Packet 1 ...` Please double-check that you have followed the [Server Configuration](Server-configuration.md) correctly. **NOTE: Your public ip does not start with `10`, `127` or `192`** -Also check if the port Impostor (ListenPort) is listening on is correctly port-forwarded for UDP (or TCP/UDP). +Also check if the port Empostor (ListenPort) is listening on is correctly port-forwarded for UDP (or TCP/UDP). ## `Could not load file or assembly...` @@ -49,15 +49,15 @@ This error can be caused by non-plugin files or plugins that are not working cor ## Disconnected with `You disconnected from the server. If this happens often, check your network strength. This may also be a server issue` -Usually this means that Among Us couldn't connect to Impostor's HTTP server. +Usually this means that Among Us couldn't connect to Empostor's HTTP server. -Open the address of your server in a web browser, it should show you a small page confirming that Impostor is available. +Open the address of your server in a web browser, it should show you a small page confirming that Empostor is available. ## My question is not yet answered and I'm still having problems! -That's unfortunate. Join the [Impostor Discord](https://discord.gg/Mk3w6Tb), ask your question there and we'll try to help you out. Note that we're not always available, so it may take some time to get an answer. To make answering your question easier, please add the following details: +That's unfortunate. Join the [Empostor Discord](https://discord.gg/Mk3w6Tb), ask your question there and we'll try to help you out. Note that we're not always available, so it may take some time to get an answer. To make answering your question easier, please add the following details: -- Which version of Impostor are you using? +- Which version of Empostor are you using? - Which version or Among Us are you using? -- Which operating system are you running Impostor on? +- Which operating system are you running Empostor on? - If you have console logs, attaching these will also help. diff --git a/docs/Upgrading.md b/docs/Upgrading.md index 7b7be31..df7bc9b 100644 --- a/docs/Upgrading.md +++ b/docs/Upgrading.md @@ -1,12 +1,12 @@ -# Upgrading Impostor +# Upgrading Empostor Sometimes we make incompatible changes to existing code. This document lists these changes and which changes you should make as a server administrator. -## Impostor 1.9.0 +## Empostor 1.9.0 -Previously we recommended using the Impostor.Http plugin for HTTP matchmaking. Because Among Us now relies on HTTP matchmaking, this plugin is now part of the default installation. As a result, you should change your server as follows: +Previously we recommended using the Empostor.Http plugin for HTTP matchmaking. Because Among Us now relies on HTTP matchmaking, this plugin is now part of the default installation. As a result, you should change your server as follows: -- If you have Impostor.Http installed, you should remove that plugin. If you have changed the default settings, you need to move these changes to the [HttpServer section in config.json](Server-configuration.md#HttpServer). -- If you have plugins that required Impostor.Http's API (like Reactor.Impostor.Http), you should check that plugin for updates +- If you have Empostor.Http installed, you should remove that plugin. If you have changed the default settings, you need to move these changes to the [HttpServer section in config.json](Server-configuration.md#HttpServer). +- If you have plugins that required Empostor.Http's API (like Reactor.Empostor.Http), you should check that plugin for updates - It is no longer necessary to add the ASP.NET Core folder to the PluginLoader's LibraryPaths diff --git a/docs/Writing-a-plugin.md b/docs/Writing-a-plugin.md index a4bf480..7e3a342 100644 --- a/docs/Writing-a-plugin.md +++ b/docs/Writing-a-plugin.md @@ -1,10 +1,10 @@ # Writing a plugin -Impostor has support for plugins. This document will help you to setup a development environment for writing a plugin. +Empostor has support for plugins. This document will help you to setup a development environment for writing a plugin. - [1. Install .NET Core SDK](#1-install-net-core-sdk) - [2. Create a C# project](#2-create-a-c-project) -- [3. Add the Impostor.Api library](#3-add-the-impostorapi-library) +- [3. Add the Empostor.Api library](#3-add-the-empostorapi-library) - [Quick](#quick) - [Visual Studio](#visual-studio) - [4. The plugin class](#4-the-plugin-class) @@ -16,7 +16,7 @@ Impostor has support for plugins. This document will help you to setup a develop - [Dependency injection](#dependency-injection) - [Server configuration](#server-configuration) - [Using other libraries](#using-other-libraries) - - [Impostor versions](#impostor-versions) + - [Empostor versions](#empostor-versions) - [9. Missing/invalid data or want more functions?](#9-missinginvalid-data-or-want-more-functions) ## 1. Install .NET SDK @@ -41,13 +41,13 @@ When the project has been created, you should have `Class.cs` and `Project.cspro ``` -## 3. Add the Impostor.Api library +## 3. Add the Empostor.Api library You only have to follow the instructions of one below. ### Quick -Install the `Impostor.Api` NuGet package. +Install the `Empostor.Api` NuGet package. Make sure to get a prerelease if you are writing a plugin for a dev release of the server. ### Visual Studio @@ -55,31 +55,31 @@ Make sure to get a prerelease if you are writing a plugin for a dev release of t 1. Right click your project. 2. Click `Manage NuGet Packages`. 3. Click `Browse`. -4. Search for `Impostor.Api`. -5. Click the `Impostor.Api` result and press install on the right side. +4. Search for `Empostor.Api`. +5. Click the `Empostor.Api` result and press install on the right side. ### Dotnet CLI 1. Open your project folder in command prompt / bash. -2. Run `dotnet add package Impostor.Api`. +2. Run `dotnet add package Empostor.Api`. ## 4. The plugin class -Now the `Impostor.Api` is installed, you need to create a class for your plugin. A plugin **must** contain exactly one. See the code below for an example. +Now the `Empostor.Api` is installed, you need to create a class for your plugin. A plugin **must** contain exactly one. See the code below for an example. ```csharp using System.Threading.Tasks; -using Impostor.Api.Events.Managers; -using Impostor.Api.Plugins; +using Empostor.Api.Events.Managers; +using Empostor.Api.Plugins; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Example +namespace Empostor.Plugins.Example { /// /// The metadata information of your plugin, this is required. /// - [ImpostorPlugin( - package: "gg.impostor.example", + [EmpostorPlugin( + package: "gg.empostor.example", name: "Example", author: "AeonLucid", version: "1.0.0")] @@ -139,11 +139,11 @@ Currently you should have a plugin that loads and does nothing. In order to get Create a new class called `GameEventListener`. Example code: ```csharp -using Impostor.Api.Events; -using Impostor.Api.Events.Player; +using Empostor.Api.Events; +using Empostor.Api.Events.Player; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Example.Handlers +namespace Empostor.Plugins.Example.Handlers { /// /// A class that listens for two events. @@ -209,15 +209,15 @@ The last step to get your plugin working is to register the event listener, so t ```csharp using System; using System.Threading.Tasks; -using Impostor.Api.Events.Managers; -using Impostor.Api.Plugins; -using Impostor.Plugins.Example.Handlers; +using Empostor.Api.Events.Managers; +using Empostor.Api.Plugins; +using Empostor.Plugins.Example.Handlers; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Example +namespace Empostor.Plugins.Example { - [ImpostorPlugin( - package: "gg.impostor.example", + [EmpostorPlugin( + package: "gg.empostor.example", name: "Example", author: "AeonLucid", version: "1.0.0")] @@ -264,8 +264,8 @@ Now your plugin is ready to be tested. 2. Right click your project and press `Open Folder in File Explorer`. 3. Go to `bin/Debug/net8.0/`. 4. In this directory, you should find your plugin named `Project.dll`. -5. Copy the `Project.dll` to the `plugins` directory in your Impostor server directory. -6. (Re)start your Impostor server. +5. Copy the `Project.dll` to the `plugins` directory in your Empostor server directory. +6. (Re)start your Empostor server. 7. Open Among Us, create a game and send a chat message. In the console you should see your plugin being loaded and the messages from the example. ## 8. Extra @@ -289,7 +289,7 @@ Some extra information that might be useful for those developing plugins. ### Server configuration -Constantly copying the plugin dll to your server directory can be pretty annoying. Luckily we have a solution for that. In your Impostor server open the `config.json` and add the `PluginLoader` from the example below, replace the path with the build destination of your plugin. +Constantly copying the plugin dll to your server directory can be pretty annoying. Luckily we have a solution for that. In your Empostor server open the `config.json` and add the `PluginLoader` from the example below, replace the path with the build destination of your plugin. ```json { @@ -301,7 +301,7 @@ Constantly copying the plugin dll to your server directory can be pretty annoyin }, "PluginLoader": { "Paths": [ - "D:\\Projects\\Impostor\\src\\Impostor.Plugins.Example\\bin\\Debug\\net8.0" + "D:\\Projects\\Empostor\\src\\Empostor.Plugins.Example\\bin\\Debug\\net8.0" ], "LibraryPaths": [] } @@ -310,23 +310,23 @@ Constantly copying the plugin dll to your server directory can be pretty annoyin ### Using other libraries -Sometimes you need to use libraries that the original Impostor server does not provide. The dll files of these libraries must be placed in the `libraries` folder next to the server executable. You could also provide them by modifying the `PluginLoader.LibraryPaths` option in the `config.json`, similarly to the `PluginLoader.Paths` option. +Sometimes you need to use libraries that the original Empostor server does not provide. The dll files of these libraries must be placed in the `libraries` folder next to the server executable. You could also provide them by modifying the `PluginLoader.LibraryPaths` option in the `config.json`, similarly to the `PluginLoader.Paths` option. -### Impostor versions +### Empostor versions -It is important to use the correct versions when working with `Impostor.Api` prereleases and the `Impostor` dev builds to reduce the chances of mismatching assemblies. +It is important to use the correct versions when working with `Empostor.Api` prereleases and the `Empostor` dev builds to reduce the chances of mismatching assemblies. **Example** -The prerelease `Impostor.Api` package `1.2.0-ci.54` belongs to build `54` on AppVeyor, which can be found here https://ci.appveyor.com/project/Impostor/Impostor/build/54. Notice the `54` on the end of the url. +The prerelease `Empostor.Api` package `1.2.0-ci.54` belongs to build `54` on AppVeyor, which can be found here https://ci.appveyor.com/project/Empostor/Empostor/build/54. Notice the `54` on the end of the url. ## 9. Missing/invalid data or want more functions? -The `Impostor.Api` is currently in beta. There are a lot of things still missing and we would like to hear from you what you need to develop a plugin. +The `Empostor.Api` is currently in beta. There are a lot of things still missing and we would like to hear from you what you need to develop a plugin. Create an issue: -- [Suggest a function](https://github.com/Impostor/Impostor/issues/new?template=3--api-suggestion.md) -- [Data is invalid](https://github.com/Impostor/Impostor/issues/new?template=4--api-invalid.md) -- [Data is unavailable](https://github.com/Impostor/Impostor/issues/new?template=5--api-missing.md) -- [Other](https://github.com/Impostor/Impostor/issues/new?template=6--api-other.md) +- [Suggest a function](https://github.com/Empostor/Empostor/issues/new?template=3--api-suggestion.md) +- [Data is invalid](https://github.com/Empostor/Empostor/issues/new?template=4--api-invalid.md) +- [Data is unavailable](https://github.com/Empostor/Empostor/issues/new?template=5--api-missing.md) +- [Other](https://github.com/Empostor/Empostor/issues/new?template=6--api-other.md) diff --git a/marketplace/Impostor.Plugins.FixedCode.dll b/marketplace/Empostor.Plugins.FixedCode.dll similarity index 100% rename from marketplace/Impostor.Plugins.FixedCode.dll rename to marketplace/Empostor.Plugins.FixedCode.dll diff --git a/marketplace/Impostor.Plugins.FriendCodeValidator.dll b/marketplace/Empostor.Plugins.FriendCodeValidator.dll similarity index 100% rename from marketplace/Impostor.Plugins.FriendCodeValidator.dll rename to marketplace/Empostor.Plugins.FriendCodeValidator.dll diff --git a/marketplace/Impostor.Plugins.PlayerChannel.dll b/marketplace/Empostor.Plugins.PlayerChannel.dll similarity index 100% rename from marketplace/Impostor.Plugins.PlayerChannel.dll rename to marketplace/Empostor.Plugins.PlayerChannel.dll diff --git a/marketplace/Impostor.Plugins.QqVerify.dll b/marketplace/Empostor.Plugins.QqVerify.dll similarity index 100% rename from marketplace/Impostor.Plugins.QqVerify.dll rename to marketplace/Empostor.Plugins.QqVerify.dll diff --git a/marketplace/Impostor.Plugins.Titles.dll b/marketplace/Empostor.Plugins.Titles.dll similarity index 100% rename from marketplace/Impostor.Plugins.Titles.dll rename to marketplace/Empostor.Plugins.Titles.dll diff --git a/marketplace/Impostor.Plugins.Welcome.dll b/marketplace/Empostor.Plugins.Welcome.dll similarity index 100% rename from marketplace/Impostor.Plugins.Welcome.dll rename to marketplace/Empostor.Plugins.Welcome.dll diff --git a/marketplace/plugins.json b/marketplace/plugins.json index 7e02a68..2c7a7c7 100644 --- a/marketplace/plugins.json +++ b/marketplace/plugins.json @@ -7,7 +7,7 @@ "versions": [ { "version": "5.0.0", - "impostor_version": "2.0.0", + "empostor_version": "2.0.0", "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Serilog.Sinks.File.dll" } ] @@ -20,7 +20,7 @@ "versions": [ { "version": "0.1", - "impostor_version": "2.0.0", + "empostor_version": "2.0.0", "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Boot.Chat.dll" } ] @@ -33,7 +33,7 @@ "versions": [ { "version": "0.1", - "impostor_version": "2.0.0", + "empostor_version": "2.0.0", "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Boot.Codes.dll" } ] @@ -46,13 +46,13 @@ "versions": [ { "version": "1.0.0", - "impostor_version": "2.0.0", - "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Impostor.Plugins.Welcome.dll" + "empostor_version": "2.0.0", + "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Empostor.Plugins.Welcome.dll" }, { "version": "1.1.0", - "impostor_version": "2.0.0", - "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Impostor.Plugins.Welcome1.1.0.dll" + "empostor_version": "2.0.0", + "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Empostor.Plugins.Welcome1.1.0.dll" } ] }, @@ -64,8 +64,8 @@ "versions": [ { "version": "1.0.0", - "impostor_version": "2.0.0", - "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Impostor.Plugins.FriendCodeValidator.dll" + "empostor_version": "2.0.0", + "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Empostor.Plugins.FriendCodeValidator.dll" } ] }, @@ -77,12 +77,13 @@ "versions": [ { "version": "1.0.0", - "impostor_version": "2.0.0", - "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Impostor.Plugins.FixedCode.dll" + "empostor_version": "2.0.0", + "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Empostor.Plugins.FixedCode.dll" } ] }, - { + + { "id": "cn.hayashiume.titles", "name": "Custom Title", "description": "Assigns a title based on their friend code and show in front of their name.", @@ -90,8 +91,8 @@ "versions": [ { "version": "1.0.0", - "impostor_version": "2.0.0", - "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Impostor.Plugins.Titles.dll" + "empostor_version": "2.0.0", + "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Empostor.Plugins.Titles.dll" } ] }, @@ -103,8 +104,8 @@ "versions": [ { "version": "1.0.0", - "impostor_version": "2.0.0", - "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Impostor.Plugins.PlayerChannel.dll" + "empostor_version": "2.0.0", + "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Empostor.Plugins.PlayerChannel.dll" } ] }, @@ -116,8 +117,8 @@ "versions": [ { "version": "1.0.0", - "impostor_version": "2.0.0", - "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Impostor.Plugins.QqVerify.dll" + "empostor_version": "2.0.0", + "download_url": "https://raw.githubusercontent.com/Empostor/Empostor/master/marketplace/Empostor.Plugins.QqVerify.dll" } ] } diff --git a/src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj b/src/Empostor.Api.Innersloth.Generator/Empostor.Api.Innersloth.Generator.csproj similarity index 100% rename from src/Impostor.Api.Innersloth.Generator/Impostor.Api.Innersloth.Generator.csproj rename to src/Empostor.Api.Innersloth.Generator/Empostor.Api.Innersloth.Generator.csproj diff --git a/src/Impostor.Api.Innersloth.Generator/Extensions.cs b/src/Empostor.Api.Innersloth.Generator/Extensions.cs similarity index 94% rename from src/Impostor.Api.Innersloth.Generator/Extensions.cs rename to src/Empostor.Api.Innersloth.Generator/Extensions.cs index 942d5cc..80494aa 100644 --- a/src/Impostor.Api.Innersloth.Generator/Extensions.cs +++ b/src/Empostor.Api.Innersloth.Generator/Extensions.cs @@ -2,7 +2,7 @@ using System.Diagnostics.CodeAnalysis; using System.Globalization; using System.Numerics; -namespace Impostor.Api.Innersloth.Generator; +namespace Empostor.Api.Innersloth.Generator; internal static class Extensions { diff --git a/src/Impostor.Api.Innersloth.Generator/Generators/BaseGenerator.cs b/src/Empostor.Api.Innersloth.Generator/Generators/BaseGenerator.cs similarity index 91% rename from src/Impostor.Api.Innersloth.Generator/Generators/BaseGenerator.cs rename to src/Empostor.Api.Innersloth.Generator/Generators/BaseGenerator.cs index 1582ddb..cadd591 100644 --- a/src/Impostor.Api.Innersloth.Generator/Generators/BaseGenerator.cs +++ b/src/Empostor.Api.Innersloth.Generator/Generators/BaseGenerator.cs @@ -2,7 +2,7 @@ using System.Collections.Immutable; using System.Linq; using Microsoft.CodeAnalysis; -namespace Impostor.Api.Innersloth.Generator.Generators; +namespace Empostor.Api.Innersloth.Generator.Generators; public abstract class BaseGenerator { diff --git a/src/Impostor.Api.Innersloth.Generator/Generators/EnumGenerator.cs b/src/Empostor.Api.Innersloth.Generator/Generators/EnumGenerator.cs similarity index 91% rename from src/Impostor.Api.Innersloth.Generator/Generators/EnumGenerator.cs rename to src/Empostor.Api.Innersloth.Generator/Generators/EnumGenerator.cs index aa5bbf2..a8f86a9 100644 --- a/src/Impostor.Api.Innersloth.Generator/Generators/EnumGenerator.cs +++ b/src/Empostor.Api.Innersloth.Generator/Generators/EnumGenerator.cs @@ -5,7 +5,7 @@ using System.Text.Json; using CSharpPoet; using Microsoft.CodeAnalysis; -namespace Impostor.Api.Innersloth.Generator.Generators; +namespace Empostor.Api.Innersloth.Generator.Generators; public sealed class EnumGenerator : BaseGenerator { @@ -33,7 +33,7 @@ public sealed class EnumGenerator : BaseGenerator @enum.Attributes.Add(new CSharpAttribute("System.FlagsAttribute")); } - var source = new CSharpFile(@namespace ?? "Impostor.Api.Innersloth") { @enum }.ToString(); + var source = new CSharpFile(@namespace ?? "Empostor.Api.Innersloth") { @enum }.ToString(); _sourceProductionContext.AddSource(name, source); } } diff --git a/src/Impostor.Api.Innersloth.Generator/Generators/MapDataGenerator.cs b/src/Empostor.Api.Innersloth.Generator/Generators/MapDataGenerator.cs similarity index 98% rename from src/Impostor.Api.Innersloth.Generator/Generators/MapDataGenerator.cs rename to src/Empostor.Api.Innersloth.Generator/Generators/MapDataGenerator.cs index b13144a..4bbf3c0 100644 --- a/src/Impostor.Api.Innersloth.Generator/Generators/MapDataGenerator.cs +++ b/src/Empostor.Api.Innersloth.Generator/Generators/MapDataGenerator.cs @@ -7,7 +7,7 @@ using System.Text.Json; using CSharpPoet; using Microsoft.CodeAnalysis; -namespace Impostor.Api.Innersloth.Generator.Generators; +namespace Empostor.Api.Innersloth.Generator.Generators; public sealed class MapDataGenerator : BaseGenerator { @@ -110,7 +110,7 @@ public sealed class MapDataGenerator : BaseGenerator }, }; - var source = new CSharpFile("Impostor.Api.Innersloth.Maps") + var source = new CSharpFile("Empostor.Api.Innersloth.Maps") { Usings = { "System.Collections.Generic", "System.Numerics" }, Members = { @class }, diff --git a/src/Impostor.Api.Innersloth.Generator/Properties/launchSettings.json b/src/Empostor.Api.Innersloth.Generator/Properties/launchSettings.json similarity index 72% rename from src/Impostor.Api.Innersloth.Generator/Properties/launchSettings.json rename to src/Empostor.Api.Innersloth.Generator/Properties/launchSettings.json index 776975f..91d55e9 100644 --- a/src/Impostor.Api.Innersloth.Generator/Properties/launchSettings.json +++ b/src/Empostor.Api.Innersloth.Generator/Properties/launchSettings.json @@ -3,7 +3,7 @@ "profiles": { "Generator": { "commandName": "DebugRoslynComponent", - "targetProject": "../Impostor.Api/Impostor.Api.csproj" + "targetProject": "../Empostor.Api/Empostor.Api.csproj" } } } diff --git a/src/Impostor.Api.Innersloth.Generator/SourceGenerator.cs b/src/Empostor.Api.Innersloth.Generator/SourceGenerator.cs similarity index 93% rename from src/Impostor.Api.Innersloth.Generator/SourceGenerator.cs rename to src/Empostor.Api.Innersloth.Generator/SourceGenerator.cs index f385006..f7d7b30 100644 --- a/src/Impostor.Api.Innersloth.Generator/SourceGenerator.cs +++ b/src/Empostor.Api.Innersloth.Generator/SourceGenerator.cs @@ -1,10 +1,10 @@ using System; using System.Diagnostics.CodeAnalysis; using CSharpPoet; -using Impostor.Api.Innersloth.Generator.Generators; +using Empostor.Api.Innersloth.Generator.Generators; using Microsoft.CodeAnalysis; -namespace Impostor.Api.Innersloth.Generator; +namespace Empostor.Api.Innersloth.Generator; [Generator(LanguageNames.CSharp)] public sealed class SourceGenerator : IIncrementalGenerator @@ -67,12 +67,12 @@ public sealed class SourceGenerator : IIncrementalGenerator { if (files.IsEmpty) { - throw new InvalidOperationException($"No json files found in Impostor.Api/{DataPath}"); + throw new InvalidOperationException($"No json files found in Empostor.Api/{DataPath}"); } var enumGenerator = new EnumGenerator(spc, files); - enumGenerator.Generate("ColorType", "Impostor.Api.Innersloth.Customization"); + enumGenerator.Generate("ColorType", "Empostor.Api.Innersloth.Customization"); enumGenerator.Generate("DisconnectReason", sourceName: "DisconnectReasons"); enumGenerator.Generate("GameKeywords", flags: true, underlyingType: CSharpEnumUnderlyingType.UnsignedInt); @@ -86,7 +86,7 @@ public sealed class SourceGenerator : IIncrementalGenerator enumGenerator.Generate("Language", sourceName: "SupportedLangs"); enumGenerator.Generate("TaskTypes"); - enumGenerator.Generate("RpcCalls", "Impostor.Api.Net.Inner", underlyingType: CSharpEnumUnderlyingType.Byte); + enumGenerator.Generate("RpcCalls", "Empostor.Api.Net.Inner", underlyingType: CSharpEnumUnderlyingType.Byte); var mapDataGenerator = new MapDataGenerator(spc, files); diff --git a/src/Impostor.Api.Innersloth.Generator/Vector2Converter.cs b/src/Empostor.Api.Innersloth.Generator/Vector2Converter.cs similarity index 95% rename from src/Impostor.Api.Innersloth.Generator/Vector2Converter.cs rename to src/Empostor.Api.Innersloth.Generator/Vector2Converter.cs index 7eeb1cc..d8fabdc 100644 --- a/src/Impostor.Api.Innersloth.Generator/Vector2Converter.cs +++ b/src/Empostor.Api.Innersloth.Generator/Vector2Converter.cs @@ -3,7 +3,7 @@ using System.Numerics; using System.Text.Json; using System.Text.Json.Serialization; -namespace Impostor.Api.Innersloth.Generator; +namespace Empostor.Api.Innersloth.Generator; public class Vector2Converter : JsonConverter { diff --git a/src/Impostor.Api.Innersloth.Generator/packages.lock.json b/src/Empostor.Api.Innersloth.Generator/packages.lock.json similarity index 100% rename from src/Impostor.Api.Innersloth.Generator/packages.lock.json rename to src/Empostor.Api.Innersloth.Generator/packages.lock.json diff --git a/src/Impostor.Api/CheatCategory.cs b/src/Empostor.Api/CheatCategory.cs similarity index 93% rename from src/Impostor.Api/CheatCategory.cs rename to src/Empostor.Api/CheatCategory.cs index 9972268..b9b219f 100644 --- a/src/Impostor.Api/CheatCategory.cs +++ b/src/Empostor.Api/CheatCategory.cs @@ -1,8 +1,8 @@ -namespace Impostor.Api; +namespace Empostor.Api; public enum CheatCategory { - /// A packet used a part of the network protocol that is unknown to Impostor, like a custom RPC. + /// A packet used a part of the network protocol that is unknown to Empostor, like a custom RPC. ProtocolExtension, /// A packet was sent at an inappropriate moment. diff --git a/src/Impostor.Api/CheatContext.cs b/src/Empostor.Api/CheatContext.cs similarity index 90% rename from src/Impostor.Api/CheatContext.cs rename to src/Empostor.Api/CheatContext.cs index 7508a78..4a7ae50 100644 --- a/src/Impostor.Api/CheatContext.cs +++ b/src/Empostor.Api/CheatContext.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net.Inner; +using Empostor.Api.Net.Inner; -namespace Impostor.Api +namespace Empostor.Api { public class CheatContext { diff --git a/src/Impostor.Api/Commands/CommandContext.cs b/src/Empostor.Api/Commands/CommandContext.cs similarity index 84% rename from src/Impostor.Api/Commands/CommandContext.cs rename to src/Empostor.Api/Commands/CommandContext.cs index 64ee745..4a1c50d 100644 --- a/src/Impostor.Api/Commands/CommandContext.cs +++ b/src/Empostor.Api/Commands/CommandContext.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Games; -using Impostor.Api.Languages; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Languages; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Commands +namespace Empostor.Api.Commands { public sealed class CommandContext { diff --git a/src/Impostor.Api/Commands/ICommand.cs b/src/Empostor.Api/Commands/ICommand.cs similarity index 90% rename from src/Impostor.Api/Commands/ICommand.cs rename to src/Empostor.Api/Commands/ICommand.cs index 5fc5af5..1cd4a52 100644 --- a/src/Impostor.Api/Commands/ICommand.cs +++ b/src/Empostor.Api/Commands/ICommand.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Impostor.Api.Commands +namespace Empostor.Api.Commands { public interface ICommand { diff --git a/src/Impostor.Api/Config/AdminConfig.cs b/src/Empostor.Api/Config/AdminConfig.cs similarity index 90% rename from src/Impostor.Api/Config/AdminConfig.cs rename to src/Empostor.Api/Config/AdminConfig.cs index c0699c5..32651b8 100644 --- a/src/Impostor.Api/Config/AdminConfig.cs +++ b/src/Empostor.Api/Config/AdminConfig.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class AdminConfig { diff --git a/src/Impostor.Api/Config/AntiCheatConfig.cs b/src/Empostor.Api/Config/AntiCheatConfig.cs similarity index 96% rename from src/Impostor.Api/Config/AntiCheatConfig.cs rename to src/Empostor.Api/Config/AntiCheatConfig.cs index f888fd7..fa631e3 100644 --- a/src/Impostor.Api/Config/AntiCheatConfig.cs +++ b/src/Empostor.Api/Config/AntiCheatConfig.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class AntiCheatConfig { diff --git a/src/Impostor.Api/Config/ChatFilterConfig.cs b/src/Empostor.Api/Config/ChatFilterConfig.cs similarity index 93% rename from src/Impostor.Api/Config/ChatFilterConfig.cs rename to src/Empostor.Api/Config/ChatFilterConfig.cs index d30bda4..7b48bdc 100644 --- a/src/Impostor.Api/Config/ChatFilterConfig.cs +++ b/src/Empostor.Api/Config/ChatFilterConfig.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class ChatFilterConfig { diff --git a/src/Impostor.Api/Config/CheatingHostMode.cs b/src/Empostor.Api/Config/CheatingHostMode.cs similarity index 96% rename from src/Impostor.Api/Config/CheatingHostMode.cs rename to src/Empostor.Api/Config/CheatingHostMode.cs index 103f6ca..65a570b 100644 --- a/src/Impostor.Api/Config/CheatingHostMode.cs +++ b/src/Empostor.Api/Config/CheatingHostMode.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { /// /// Details if exceptions are made for hosts that are cheating. diff --git a/src/Impostor.Api/Config/CompatibilityConfig.cs b/src/Empostor.Api/Config/CompatibilityConfig.cs similarity index 90% rename from src/Impostor.Api/Config/CompatibilityConfig.cs rename to src/Empostor.Api/Config/CompatibilityConfig.cs index 650d33d..0046154 100644 --- a/src/Impostor.Api/Config/CompatibilityConfig.cs +++ b/src/Empostor.Api/Config/CompatibilityConfig.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class CompatibilityConfig { diff --git a/src/Impostor.Api/Config/DebugConfig.cs b/src/Empostor.Api/Config/DebugConfig.cs similarity index 86% rename from src/Impostor.Api/Config/DebugConfig.cs rename to src/Empostor.Api/Config/DebugConfig.cs index 47cddac..0f1e922 100644 --- a/src/Impostor.Api/Config/DebugConfig.cs +++ b/src/Empostor.Api/Config/DebugConfig.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class DebugConfig { diff --git a/src/Impostor.Api/Config/DisconnectMessages.cs b/src/Empostor.Api/Config/DisconnectMessages.cs similarity index 81% rename from src/Impostor.Api/Config/DisconnectMessages.cs rename to src/Empostor.Api/Config/DisconnectMessages.cs index 4743878..0a2babd 100644 --- a/src/Impostor.Api/Config/DisconnectMessages.cs +++ b/src/Empostor.Api/Config/DisconnectMessages.cs @@ -1,10 +1,10 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public static class DisconnectMessages { public const string Error = "There was an internal server error. " + "Check the server console for more information. " + - "Please report the issue on the Impostor GitHub if it keeps happening."; + "Please report the issue on the Empostor GitHub if it keeps happening."; public const string ClientOutdated = "Please update your game to play in this lobby."; @@ -20,17 +20,17 @@ public const string VersionClientTooOld = "Please update your game to play on this server."; - public const string VersionServerTooOld = "Your client is too new, please update your Impostor server to play."; + public const string VersionServerTooOld = "Your client is too new, please update your Empostor server to play."; - public const string VersionUnsupported = "Your client version is unsupported, please update your Game and/or Impostor server."; + public const string VersionUnsupported = "Your client version is unsupported, please update your Game and/or Empostor server."; - private const string UpgradingDocsLink = "https://github.com/Impostor/Impostor/blob/master/docs/Upgrading.md"; + private const string UpgradingDocsLink = "https://github.com/Empostor/Empostor/blob/master/docs/Upgrading.md"; public const string UdpMatchmakingUnsupported = $""" Sorry, UDP Matchmaking is no longer supported. - See Impostor documentation on how to migrate to HTTP Matchmaking + See Empostor documentation on how to migrate to HTTP Matchmaking """; - public const string HostAuthorityUnsupported = "Your client is requesting host authority, which is not enabled on this Impostor server."; + public const string HostAuthorityUnsupported = "Your client is requesting host authority, which is not enabled on this Empostor server."; } } diff --git a/src/Impostor.Api/Config/DiscordWebhookConfig.cs b/src/Empostor.Api/Config/DiscordWebhookConfig.cs similarity index 94% rename from src/Impostor.Api/Config/DiscordWebhookConfig.cs rename to src/Empostor.Api/Config/DiscordWebhookConfig.cs index d86a586..ce27201 100644 --- a/src/Impostor.Api/Config/DiscordWebhookConfig.cs +++ b/src/Empostor.Api/Config/DiscordWebhookConfig.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class DiscordWebhookConfig { diff --git a/src/Impostor.Api/Config/HttpServerConfig.cs b/src/Empostor.Api/Config/HttpServerConfig.cs similarity index 96% rename from src/Impostor.Api/Config/HttpServerConfig.cs rename to src/Empostor.Api/Config/HttpServerConfig.cs index bf7354d..8978568 100644 --- a/src/Impostor.Api/Config/HttpServerConfig.cs +++ b/src/Empostor.Api/Config/HttpServerConfig.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config; +namespace Empostor.Api.Config; /// /// Configuration for HttpServer. diff --git a/src/Impostor.Api/Config/PlayerStatsConfig.cs b/src/Empostor.Api/Config/PlayerStatsConfig.cs similarity index 87% rename from src/Impostor.Api/Config/PlayerStatsConfig.cs rename to src/Empostor.Api/Config/PlayerStatsConfig.cs index e53a32f..f8464f6 100644 --- a/src/Impostor.Api/Config/PlayerStatsConfig.cs +++ b/src/Empostor.Api/Config/PlayerStatsConfig.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class PlayerStatsConfig { diff --git a/src/Impostor.Api/Config/ServerConfig.cs b/src/Empostor.Api/Config/ServerConfig.cs similarity index 92% rename from src/Impostor.Api/Config/ServerConfig.cs rename to src/Empostor.Api/Config/ServerConfig.cs index 7dd8686..0c3e7f8 100644 --- a/src/Impostor.Api/Config/ServerConfig.cs +++ b/src/Empostor.Api/Config/ServerConfig.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Utils; +using Empostor.Api.Utils; -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class ServerConfig { diff --git a/src/Impostor.Api/Config/TimeoutConfig.cs b/src/Empostor.Api/Config/TimeoutConfig.cs similarity index 87% rename from src/Impostor.Api/Config/TimeoutConfig.cs rename to src/Empostor.Api/Config/TimeoutConfig.cs index 43429e0..60cef70 100644 --- a/src/Impostor.Api/Config/TimeoutConfig.cs +++ b/src/Empostor.Api/Config/TimeoutConfig.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Config +namespace Empostor.Api.Config { public class TimeoutConfig { diff --git a/src/Impostor.Api/Impostor.Api.csproj b/src/Empostor.Api/Empostor.Api.csproj similarity index 68% rename from src/Impostor.Api/Impostor.Api.csproj rename to src/Empostor.Api/Empostor.Api.csproj index 4bea898..d2c41aa 100644 --- a/src/Impostor.Api/Impostor.Api.csproj +++ b/src/Empostor.Api/Empostor.Api.csproj @@ -6,17 +6,17 @@ enable true snupkg - Impostor.Api - Impostor.Api + Empostor.Api + Empostor.Api AeonLucid - An api library for Impostor, an Among Us private server. You need this package to write plugins for Impostor. - Impostor.Api - Among Us;Impostor;Impostor Plugin - https://raw.githubusercontent.com/Impostor/Impostor/dev/docs/images/logo_64.png + An api library for Empostor, an Among Us private server. You need this package to write plugins for Empostor. + Empostor.Api + Among Us;Empostor;Empostor Plugin + https://raw.githubusercontent.com/Empostor/Empostor/dev/docs/images/logo_64.png logo_64.png - https://github.com/Impostor/Impostor + https://github.com/Empostor/Empostor git - https://github.com/Impostor/Impostor + https://github.com/Empostor/Empostor true @@ -30,7 +30,7 @@ - + diff --git a/src/Impostor.Api/Events/Attributes/EventListenerAttribute.cs b/src/Empostor.Api/Events/Attributes/EventListenerAttribute.cs similarity index 97% rename from src/Impostor.Api/Events/Attributes/EventListenerAttribute.cs rename to src/Empostor.Api/Events/Attributes/EventListenerAttribute.cs index da1e489..e464d7b 100644 --- a/src/Impostor.Api/Events/Attributes/EventListenerAttribute.cs +++ b/src/Empostor.Api/Events/Attributes/EventListenerAttribute.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { [AttributeUsage(AttributeTargets.Method, AllowMultiple = true)] public class EventListenerAttribute : Attribute diff --git a/src/Impostor.Api/Events/Client/IClientConnectedEvent.cs b/src/Empostor.Api/Events/Client/IClientConnectedEvent.cs similarity index 78% rename from src/Impostor.Api/Events/Client/IClientConnectedEvent.cs rename to src/Empostor.Api/Events/Client/IClientConnectedEvent.cs index c638170..e0d8b32 100644 --- a/src/Impostor.Api/Events/Client/IClientConnectedEvent.cs +++ b/src/Empostor.Api/Events/Client/IClientConnectedEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Api.Events.Client +namespace Empostor.Api.Events.Client { /// /// Called just after a is created and connected. diff --git a/src/Impostor.Api/Events/Client/IClientConnectionEvent.cs b/src/Empostor.Api/Events/Client/IClientConnectionEvent.cs similarity index 79% rename from src/Impostor.Api/Events/Client/IClientConnectionEvent.cs rename to src/Empostor.Api/Events/Client/IClientConnectionEvent.cs index 1cd063b..fc3d79a 100644 --- a/src/Impostor.Api/Events/Client/IClientConnectionEvent.cs +++ b/src/Empostor.Api/Events/Client/IClientConnectionEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Api.Events.Client +namespace Empostor.Api.Events.Client { /// /// Called just before a is registered. diff --git a/src/Impostor.Api/Events/Client/IClientEvent.cs b/src/Empostor.Api/Events/Client/IClientEvent.cs similarity index 63% rename from src/Impostor.Api/Events/Client/IClientEvent.cs rename to src/Empostor.Api/Events/Client/IClientEvent.cs index 69184bc..246f59c 100644 --- a/src/Impostor.Api/Events/Client/IClientEvent.cs +++ b/src/Empostor.Api/Events/Client/IClientEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Api.Events.Client +namespace Empostor.Api.Events.Client { public interface IClientEvent : IEvent { diff --git a/src/Impostor.Api/Events/EventPriority.cs b/src/Empostor.Api/Events/EventPriority.cs similarity index 83% rename from src/Impostor.Api/Events/EventPriority.cs rename to src/Empostor.Api/Events/EventPriority.cs index 7acdbeb..19232d9 100644 --- a/src/Impostor.Api/Events/EventPriority.cs +++ b/src/Empostor.Api/Events/EventPriority.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public enum EventPriority { diff --git a/src/Impostor.Api/Events/Game/IGameAlterEvent.cs b/src/Empostor.Api/Events/Game/IGameAlterEvent.cs similarity index 74% rename from src/Impostor.Api/Events/Game/IGameAlterEvent.cs rename to src/Empostor.Api/Events/Game/IGameAlterEvent.cs index 18956ea..60891d5 100644 --- a/src/Impostor.Api/Events/Game/IGameAlterEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameAlterEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IGameAlterEvent : IGameEvent { diff --git a/src/Impostor.Api/Events/Game/IGameCreatedEvent.cs b/src/Empostor.Api/Events/Game/IGameCreatedEvent.cs similarity index 89% rename from src/Impostor.Api/Events/Game/IGameCreatedEvent.cs rename to src/Empostor.Api/Events/Game/IGameCreatedEvent.cs index 089ee9c..fd3a12d 100644 --- a/src/Impostor.Api/Events/Game/IGameCreatedEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameCreatedEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Games; +using Empostor.Api.Net; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { /// /// Called whenever a new is created. diff --git a/src/Impostor.Api/Events/Game/IGameCreationEvent.cs b/src/Empostor.Api/Events/Game/IGameCreationEvent.cs similarity index 82% rename from src/Impostor.Api/Events/Game/IGameCreationEvent.cs rename to src/Empostor.Api/Events/Game/IGameCreationEvent.cs index b51b9f4..7353fb9 100644 --- a/src/Impostor.Api/Events/Game/IGameCreationEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameCreationEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Games; +using Empostor.Api.Net; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { /// /// Called just before a new is created. @@ -19,7 +19,7 @@ namespace Impostor.Api.Events /// /// Gets or sets the desired . /// - /// If the GameCode is invalid or already used in another game. + /// If the GameCode is invalid or already used in another game. GameCode? GameCode { get; set; } } } diff --git a/src/Impostor.Api/Events/Game/IGameDestroyedEvent.cs b/src/Empostor.Api/Events/Game/IGameDestroyedEvent.cs similarity index 75% rename from src/Impostor.Api/Events/Game/IGameDestroyedEvent.cs rename to src/Empostor.Api/Events/Game/IGameDestroyedEvent.cs index e598aae..c42143a 100644 --- a/src/Impostor.Api/Events/Game/IGameDestroyedEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameDestroyedEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { /// /// Called whenever a new is destroyed. diff --git a/src/Impostor.Api/Events/Game/IGameEndedEvent.cs b/src/Empostor.Api/Events/Game/IGameEndedEvent.cs similarity index 65% rename from src/Impostor.Api/Events/Game/IGameEndedEvent.cs rename to src/Empostor.Api/Events/Game/IGameEndedEvent.cs index d8ae159..f77db42 100644 --- a/src/Impostor.Api/Events/Game/IGameEndedEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameEndedEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IGameEndedEvent : IGameEvent { diff --git a/src/Impostor.Api/Events/Game/IGameEvent.cs b/src/Empostor.Api/Events/Game/IGameEvent.cs similarity index 77% rename from src/Impostor.Api/Events/Game/IGameEvent.cs rename to src/Empostor.Api/Events/Game/IGameEvent.cs index c188af3..3a453b6 100644 --- a/src/Impostor.Api/Events/Game/IGameEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IGameEvent : IEvent { diff --git a/src/Impostor.Api/Events/Game/IGameHostChangedEvent.cs b/src/Empostor.Api/Events/Game/IGameHostChangedEvent.cs similarity index 73% rename from src/Impostor.Api/Events/Game/IGameHostChangedEvent.cs rename to src/Empostor.Api/Events/Game/IGameHostChangedEvent.cs index 4470978..78a8381 100644 --- a/src/Impostor.Api/Events/Game/IGameHostChangedEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameHostChangedEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IGameHostChangedEvent : IGameEvent { diff --git a/src/Impostor.Api/Events/Game/IGameOptionsChangedEvent.cs b/src/Empostor.Api/Events/Game/IGameOptionsChangedEvent.cs similarity index 96% rename from src/Impostor.Api/Events/Game/IGameOptionsChangedEvent.cs rename to src/Empostor.Api/Events/Game/IGameOptionsChangedEvent.cs index 85392c4..2e827d7 100644 --- a/src/Impostor.Api/Events/Game/IGameOptionsChangedEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameOptionsChangedEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { /// /// This event is triggered when game options are going to be changed. diff --git a/src/Impostor.Api/Events/Game/IGamePlayerJoinedEvent.cs b/src/Empostor.Api/Events/Game/IGamePlayerJoinedEvent.cs similarity index 66% rename from src/Impostor.Api/Events/Game/IGamePlayerJoinedEvent.cs rename to src/Empostor.Api/Events/Game/IGamePlayerJoinedEvent.cs index 280d397..27f7757 100644 --- a/src/Impostor.Api/Events/Game/IGamePlayerJoinedEvent.cs +++ b/src/Empostor.Api/Events/Game/IGamePlayerJoinedEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IGamePlayerJoinedEvent : IGameEvent { diff --git a/src/Impostor.Api/Events/Game/IGamePlayerJoiningEvent.cs b/src/Empostor.Api/Events/Game/IGamePlayerJoiningEvent.cs similarity index 77% rename from src/Impostor.Api/Events/Game/IGamePlayerJoiningEvent.cs rename to src/Empostor.Api/Events/Game/IGamePlayerJoiningEvent.cs index dc326b0..fc4c6af 100644 --- a/src/Impostor.Api/Events/Game/IGamePlayerJoiningEvent.cs +++ b/src/Empostor.Api/Events/Game/IGamePlayerJoiningEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Games; +using Empostor.Api.Net; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { /// /// Called just before a joins a game. diff --git a/src/Impostor.Api/Events/Game/IGamePlayerLeftEvent.cs b/src/Empostor.Api/Events/Game/IGamePlayerLeftEvent.cs similarity index 70% rename from src/Impostor.Api/Events/Game/IGamePlayerLeftEvent.cs rename to src/Empostor.Api/Events/Game/IGamePlayerLeftEvent.cs index 4568a60..c1cb468 100644 --- a/src/Impostor.Api/Events/Game/IGamePlayerLeftEvent.cs +++ b/src/Empostor.Api/Events/Game/IGamePlayerLeftEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IGamePlayerLeftEvent : IGameEvent { diff --git a/src/Impostor.Api/Events/Game/IGameStartedEvent.cs b/src/Empostor.Api/Events/Game/IGameStartedEvent.cs similarity index 84% rename from src/Impostor.Api/Events/Game/IGameStartedEvent.cs rename to src/Empostor.Api/Events/Game/IGameStartedEvent.cs index b6e5111..3450940 100644 --- a/src/Impostor.Api/Events/Game/IGameStartedEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameStartedEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events +namespace Empostor.Api.Events { /// /// The game is started here and players have been initialized. diff --git a/src/Impostor.Api/Events/Game/IGameStartingEvent.cs b/src/Empostor.Api/Events/Game/IGameStartingEvent.cs similarity index 90% rename from src/Impostor.Api/Events/Game/IGameStartingEvent.cs rename to src/Empostor.Api/Events/Game/IGameStartingEvent.cs index 3ba450e..94c8e0a 100644 --- a/src/Impostor.Api/Events/Game/IGameStartingEvent.cs +++ b/src/Empostor.Api/Events/Game/IGameStartingEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events +namespace Empostor.Api.Events { /// /// Called when the game is going to start. diff --git a/src/Impostor.Api/Events/Game/Meeting/IMeetingEndedEvent.cs b/src/Empostor.Api/Events/Game/Meeting/IMeetingEndedEvent.cs similarity index 81% rename from src/Impostor.Api/Events/Game/Meeting/IMeetingEndedEvent.cs rename to src/Empostor.Api/Events/Game/Meeting/IMeetingEndedEvent.cs index 7787be6..18c241f 100644 --- a/src/Impostor.Api/Events/Game/Meeting/IMeetingEndedEvent.cs +++ b/src/Empostor.Api/Events/Game/Meeting/IMeetingEndedEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Events.Meeting +namespace Empostor.Api.Events.Meeting { public interface IMeetingEndedEvent : IMeetingEvent { diff --git a/src/Impostor.Api/Events/Game/Meeting/IMeetingEvent.cs b/src/Empostor.Api/Events/Game/Meeting/IMeetingEvent.cs similarity index 58% rename from src/Impostor.Api/Events/Game/Meeting/IMeetingEvent.cs rename to src/Empostor.Api/Events/Game/Meeting/IMeetingEvent.cs index 4461318..707b56a 100644 --- a/src/Impostor.Api/Events/Game/Meeting/IMeetingEvent.cs +++ b/src/Empostor.Api/Events/Game/Meeting/IMeetingEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Events.Meeting +namespace Empostor.Api.Events.Meeting { public interface IMeetingEvent : IGameEvent { diff --git a/src/Impostor.Api/Events/Game/Meeting/IMeetingStartedEvent.cs b/src/Empostor.Api/Events/Game/Meeting/IMeetingStartedEvent.cs similarity index 64% rename from src/Impostor.Api/Events/Game/Meeting/IMeetingStartedEvent.cs rename to src/Empostor.Api/Events/Game/Meeting/IMeetingStartedEvent.cs index a237fff..6642938 100644 --- a/src/Impostor.Api/Events/Game/Meeting/IMeetingStartedEvent.cs +++ b/src/Empostor.Api/Events/Game/Meeting/IMeetingStartedEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events.Meeting +namespace Empostor.Api.Events.Meeting { public interface IMeetingStartedEvent : IMeetingEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerChatEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerChatEvent.cs similarity index 93% rename from src/Impostor.Api/Events/Game/Player/IPlayerChatEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerChatEvent.cs index c3143e1..4633f06 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerChatEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerChatEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerChatEvent : IPlayerEvent, IEventCancelable { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerCheckMurderEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerCheckMurderEvent.cs similarity index 90% rename from src/Impostor.Api/Events/Game/Player/IPlayerCheckMurderEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerCheckMurderEvent.cs index a1192ac..f706c96 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerCheckMurderEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerCheckMurderEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Innersloth; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Innersloth; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { /// /// Event that allows changing or canceling an upcoming player murder. diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerCompletedTaskEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerCompletedTaskEvent.cs similarity index 58% rename from src/Impostor.Api/Events/Game/Player/IPlayerCompletedTaskEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerCompletedTaskEvent.cs index a5e3228..9bf8a97 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerCompletedTaskEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerCompletedTaskEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerCompletedTaskEvent : IPlayerEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerDestroyedEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerDestroyedEvent.cs similarity index 64% rename from src/Impostor.Api/Events/Game/Player/IPlayerDestroyedEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerDestroyedEvent.cs index ac80d64..2947912 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerDestroyedEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerDestroyedEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerDestroyedEvent : IPlayerEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerEnterVentEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerEnterVentEvent.cs similarity index 79% rename from src/Impostor.Api/Events/Game/Player/IPlayerEnterVentEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerEnterVentEvent.cs index 2413401..b6ac739 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerEnterVentEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerEnterVentEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth.Maps; +using Empostor.Api.Innersloth.Maps; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { /// /// Called whenever a player enters a vent. diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerEvent.cs similarity index 84% rename from src/Impostor.Api/Events/Game/Player/IPlayerEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerEvent.cs index d8269ff..740d68d 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerEvent : IGameEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerExileEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerExileEvent.cs similarity index 82% rename from src/Impostor.Api/Events/Game/Player/IPlayerExileEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerExileEvent.cs index 65ade4e..cff98c6 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerExileEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerExileEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { /// /// Called whenever a player gets exiled (voted out). diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerExitVentEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerExitVentEvent.cs similarity index 79% rename from src/Impostor.Api/Events/Game/Player/IPlayerExitVentEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerExitVentEvent.cs index 65c3dce..6a8bdc3 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerExitVentEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerExitVentEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth.Maps; +using Empostor.Api.Innersloth.Maps; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { /// /// Called whenever a player exits a vent. diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerMovementEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerMovementEvent.cs similarity index 66% rename from src/Impostor.Api/Events/Game/Player/IPlayerMovementEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerMovementEvent.cs index 816684d..4e256c0 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerMovementEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerMovementEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerMovementEvent : IPlayerEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerMurderEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerMurderEvent.cs similarity index 89% rename from src/Impostor.Api/Events/Game/Player/IPlayerMurderEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerMurderEvent.cs index 827dc95..d35fe90 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerMurderEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerMurderEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Innersloth; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Innersloth; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { /// /// Event that is called when a player is killed by another player. diff --git a/src/Empostor.Api/Events/Game/Player/IPlayerReadyEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerReadyEvent.cs new file mode 100644 index 0000000..65664e7 --- /dev/null +++ b/src/Empostor.Api/Events/Game/Player/IPlayerReadyEvent.cs @@ -0,0 +1,8 @@ +using Empostor.Api.Events.Player; + +namespace Empostor.Api.Events.Game.Player +{ + public interface IPlayerReadyEvent : IPlayerEvent + { + } +} diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerReportEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerReportEvent.cs similarity index 68% rename from src/Impostor.Api/Events/Game/Player/IPlayerReportEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerReportEvent.cs index 986968e..48f8c8c 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerReportEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerReportEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Innersloth; -using Impostor.Api.Net; +using Empostor.Api.Innersloth; +using Empostor.Api.Net; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerReportEvent : IPlayerEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerSetStartCounterEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerSetStartCounterEvent.cs similarity index 85% rename from src/Impostor.Api/Events/Game/Player/IPlayerSetStartCounterEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerSetStartCounterEvent.cs index c03d782..8ad146f 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerSetStartCounterEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerSetStartCounterEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerSetStartCounterEvent : IPlayerEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerSpawnedEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerSpawnedEvent.cs similarity index 64% rename from src/Impostor.Api/Events/Game/Player/IPlayerSpawnedEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerSpawnedEvent.cs index a3be654..bce41e7 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerSpawnedEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerSpawnedEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerSpawnedEvent : IPlayerEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerStartMeetingEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerStartMeetingEvent.cs similarity index 78% rename from src/Impostor.Api/Events/Game/Player/IPlayerStartMeetingEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerStartMeetingEvent.cs index 016d131..f5a14fd 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerStartMeetingEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerStartMeetingEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public interface IPlayerStartMeetingEvent : IPlayerEvent { diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerVentEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerVentEvent.cs similarity index 80% rename from src/Impostor.Api/Events/Game/Player/IPlayerVentEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerVentEvent.cs index cf60c57..cadc3ed 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerVentEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerVentEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth.Maps; +using Empostor.Api.Innersloth.Maps; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { /// /// Called whenever a player moves to another vent. diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerVotedEvent.cs b/src/Empostor.Api/Events/Game/Player/IPlayerVotedEvent.cs similarity index 86% rename from src/Impostor.Api/Events/Game/Player/IPlayerVotedEvent.cs rename to src/Empostor.Api/Events/Game/Player/IPlayerVotedEvent.cs index 1424cce..fbe34ec 100644 --- a/src/Impostor.Api/Events/Game/Player/IPlayerVotedEvent.cs +++ b/src/Empostor.Api/Events/Game/Player/IPlayerVotedEvent.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Events.Player +namespace Empostor.Api.Events.Player { public enum VoteType : byte { diff --git a/src/Impostor.Api/Events/IEvent.cs b/src/Empostor.Api/Events/IEvent.cs similarity index 57% rename from src/Impostor.Api/Events/IEvent.cs rename to src/Empostor.Api/Events/IEvent.cs index 3bdb3a6..7c41b2d 100644 --- a/src/Impostor.Api/Events/IEvent.cs +++ b/src/Empostor.Api/Events/IEvent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IEvent { diff --git a/src/Impostor.Api/Events/IEventCancelable.cs b/src/Empostor.Api/Events/IEventCancelable.cs similarity index 87% rename from src/Impostor.Api/Events/IEventCancelable.cs rename to src/Empostor.Api/Events/IEventCancelable.cs index 1902284..7d2a74a 100644 --- a/src/Impostor.Api/Events/IEventCancelable.cs +++ b/src/Empostor.Api/Events/IEventCancelable.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IEventCancelable : IEvent { diff --git a/src/Impostor.Api/Events/IEventListener.cs b/src/Empostor.Api/Events/IEventListener.cs similarity index 61% rename from src/Impostor.Api/Events/IEventListener.cs rename to src/Empostor.Api/Events/IEventListener.cs index f3e8e41..fa438bd 100644 --- a/src/Impostor.Api/Events/IEventListener.cs +++ b/src/Empostor.Api/Events/IEventListener.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IEventListener { diff --git a/src/Impostor.Api/Events/IManualEventListener.cs b/src/Empostor.Api/Events/IManualEventListener.cs similarity index 88% rename from src/Impostor.Api/Events/IManualEventListener.cs rename to src/Empostor.Api/Events/IManualEventListener.cs index 1b054f7..0d32d0e 100644 --- a/src/Impostor.Api/Events/IManualEventListener.cs +++ b/src/Empostor.Api/Events/IManualEventListener.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { public interface IManualEventListener : IEventListener { diff --git a/src/Impostor.Api/Events/Managers/IEventManager.cs b/src/Empostor.Api/Events/Managers/IEventManager.cs similarity index 97% rename from src/Impostor.Api/Events/Managers/IEventManager.cs rename to src/Empostor.Api/Events/Managers/IEventManager.cs index 3d73768..329de9e 100644 --- a/src/Impostor.Api/Events/Managers/IEventManager.cs +++ b/src/Empostor.Api/Events/Managers/IEventManager.cs @@ -1,7 +1,7 @@ using System; using System.Threading.Tasks; -namespace Impostor.Api.Events.Managers +namespace Empostor.Api.Events.Managers { public interface IEventManager { diff --git a/src/Impostor.Api/Events/MultiDisposable.cs b/src/Empostor.Api/Events/MultiDisposable.cs similarity index 95% rename from src/Impostor.Api/Events/MultiDisposable.cs rename to src/Empostor.Api/Events/MultiDisposable.cs index bacaef7..971f94b 100644 --- a/src/Impostor.Api/Events/MultiDisposable.cs +++ b/src/Empostor.Api/Events/MultiDisposable.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Linq; -namespace Impostor.Api.Events +namespace Empostor.Api.Events { /// /// Disposes multiple . diff --git a/src/Empostor.Api/Exceptions/ImpostorConfigException.cs b/src/Empostor.Api/Exceptions/ImpostorConfigException.cs new file mode 100644 index 0000000..d6e5222 --- /dev/null +++ b/src/Empostor.Api/Exceptions/ImpostorConfigException.cs @@ -0,0 +1,19 @@ +using System; + +namespace Empostor.Api +{ + public class EmpostorConfigException : EmpostorException + { + public EmpostorConfigException() + { + } + + public EmpostorConfigException(string? message) : base(message) + { + } + + public EmpostorConfigException(string? message, Exception? innerException) : base(message, innerException) + { + } + } +} diff --git a/src/Empostor.Api/Exceptions/ImpostorException.cs b/src/Empostor.Api/Exceptions/ImpostorException.cs new file mode 100644 index 0000000..d50c4a1 --- /dev/null +++ b/src/Empostor.Api/Exceptions/ImpostorException.cs @@ -0,0 +1,19 @@ +using System; + +namespace Empostor.Api +{ + public class EmpostorException : Exception + { + public EmpostorException() + { + } + + public EmpostorException(string? message) : base(message) + { + } + + public EmpostorException(string? message, Exception? innerException) : base(message, innerException) + { + } + } +} diff --git a/src/Empostor.Api/Exceptions/ImpostorProtocolException.cs b/src/Empostor.Api/Exceptions/ImpostorProtocolException.cs new file mode 100644 index 0000000..ca48248 --- /dev/null +++ b/src/Empostor.Api/Exceptions/ImpostorProtocolException.cs @@ -0,0 +1,19 @@ +using System; + +namespace Empostor.Api +{ + public class EmpostorProtocolException : EmpostorException + { + public EmpostorProtocolException() + { + } + + public EmpostorProtocolException(string? message) : base(message) + { + } + + public EmpostorProtocolException(string? message, Exception? innerException) : base(message, innerException) + { + } + } +} diff --git a/src/Impostor.Api/Extensions/DictionaryExtensions.cs b/src/Empostor.Api/Extensions/DictionaryExtensions.cs similarity index 97% rename from src/Impostor.Api/Extensions/DictionaryExtensions.cs rename to src/Empostor.Api/Extensions/DictionaryExtensions.cs index 39a19ec..a3eea3d 100644 --- a/src/Impostor.Api/Extensions/DictionaryExtensions.cs +++ b/src/Empostor.Api/Extensions/DictionaryExtensions.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Collections.ObjectModel; -namespace Impostor.Api +namespace Empostor.Api { public static class DictionaryExtensions { diff --git a/src/Impostor.Api/Extensions/MurderResultFlagsExtensions.cs b/src/Empostor.Api/Extensions/MurderResultFlagsExtensions.cs similarity index 80% rename from src/Impostor.Api/Extensions/MurderResultFlagsExtensions.cs rename to src/Empostor.Api/Extensions/MurderResultFlagsExtensions.cs index 7565915..2230110 100644 --- a/src/Impostor.Api/Extensions/MurderResultFlagsExtensions.cs +++ b/src/Empostor.Api/Extensions/MurderResultFlagsExtensions.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api; +namespace Empostor.Api; public static class MurderResultFlagsExtensions { diff --git a/src/Impostor.Api/Extensions/SpanReaderExtensions.cs b/src/Empostor.Api/Extensions/SpanReaderExtensions.cs similarity index 99% rename from src/Impostor.Api/Extensions/SpanReaderExtensions.cs rename to src/Empostor.Api/Extensions/SpanReaderExtensions.cs index 3b24c77..672b943 100644 --- a/src/Impostor.Api/Extensions/SpanReaderExtensions.cs +++ b/src/Empostor.Api/Extensions/SpanReaderExtensions.cs @@ -2,7 +2,7 @@ using System.Buffers.Binary; using System.Runtime.CompilerServices; -namespace Impostor.Api +namespace Empostor.Api { /// /// Priovides a StreamReader-like api throught extensions. diff --git a/src/Impostor.Api/Extensions/SystemTypesExtensions.cs b/src/Empostor.Api/Extensions/SystemTypesExtensions.cs similarity index 78% rename from src/Impostor.Api/Extensions/SystemTypesExtensions.cs rename to src/Empostor.Api/Extensions/SystemTypesExtensions.cs index 4238b4d..ca20cb3 100644 --- a/src/Impostor.Api/Extensions/SystemTypesExtensions.cs +++ b/src/Empostor.Api/Extensions/SystemTypesExtensions.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api +namespace Empostor.Api { public static class SystemTypesExtensions { diff --git a/src/Impostor.Api/Games/Extensions/GameExtensions.cs b/src/Empostor.Api/Games/Extensions/GameExtensions.cs similarity index 95% rename from src/Impostor.Api/Games/Extensions/GameExtensions.cs rename to src/Empostor.Api/Games/Extensions/GameExtensions.cs index 7319655..fc2a978 100644 --- a/src/Impostor.Api/Games/Extensions/GameExtensions.cs +++ b/src/Empostor.Api/Games/Extensions/GameExtensions.cs @@ -1,8 +1,8 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Api.Games +namespace Empostor.Api.Games { public static class GameExtensions { diff --git a/src/Impostor.Api/Games/Extensions/GameManagerExtensions.cs b/src/Empostor.Api/Games/Extensions/GameManagerExtensions.cs similarity index 75% rename from src/Impostor.Api/Games/Extensions/GameManagerExtensions.cs rename to src/Empostor.Api/Games/Extensions/GameManagerExtensions.cs index de9a066..f628ae5 100644 --- a/src/Impostor.Api/Games/Extensions/GameManagerExtensions.cs +++ b/src/Empostor.Api/Games/Extensions/GameManagerExtensions.cs @@ -1,8 +1,8 @@ using System.Linq; -using Impostor.Api.Games.Managers; -using Impostor.Api.Innersloth; +using Empostor.Api.Games.Managers; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Games +namespace Empostor.Api.Games { public static class GameManagerExtensions { diff --git a/src/Impostor.Api/Games/GameCode.cs b/src/Empostor.Api/Games/GameCode.cs similarity index 96% rename from src/Impostor.Api/Games/GameCode.cs rename to src/Empostor.Api/Games/GameCode.cs index 915ffb7..033227c 100644 --- a/src/Impostor.Api/Games/GameCode.cs +++ b/src/Empostor.Api/Games/GameCode.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Games +namespace Empostor.Api.Games { public readonly struct GameCode : IEquatable { diff --git a/src/Impostor.Api/Games/GameJoinError.cs b/src/Empostor.Api/Games/GameJoinError.cs similarity index 97% rename from src/Impostor.Api/Games/GameJoinError.cs rename to src/Empostor.Api/Games/GameJoinError.cs index 7c445fa..a516a07 100644 --- a/src/Impostor.Api/Games/GameJoinError.cs +++ b/src/Empostor.Api/Games/GameJoinError.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Games +namespace Empostor.Api.Games { public enum GameJoinError { diff --git a/src/Impostor.Api/Games/GameJoinResult.cs b/src/Empostor.Api/Games/GameJoinResult.cs similarity index 96% rename from src/Impostor.Api/Games/GameJoinResult.cs rename to src/Empostor.Api/Games/GameJoinResult.cs index 4b25c8f..cf2f79b 100644 --- a/src/Impostor.Api/Games/GameJoinResult.cs +++ b/src/Empostor.Api/Games/GameJoinResult.cs @@ -1,8 +1,8 @@ using System; using System.Diagnostics.CodeAnalysis; -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Api.Games +namespace Empostor.Api.Games { public readonly struct GameJoinResult { diff --git a/src/Impostor.Api/Games/IGame.cs b/src/Empostor.Api/Games/IGame.cs similarity index 97% rename from src/Impostor.Api/Games/IGame.cs rename to src/Empostor.Api/Games/IGame.cs index ba43c3f..057b5b4 100644 --- a/src/Impostor.Api/Games/IGame.cs +++ b/src/Empostor.Api/Games/IGame.cs @@ -1,12 +1,12 @@ using System.Collections.Generic; using System.Net; using System.Threading.Tasks; -using Impostor.Api.Innersloth; -using Impostor.Api.Innersloth.GameOptions; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner; +using Empostor.Api.Innersloth; +using Empostor.Api.Innersloth.GameOptions; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner; -namespace Impostor.Api.Games +namespace Empostor.Api.Games { public interface IGame { diff --git a/src/Impostor.Api/Games/IGameCodeFactory.cs b/src/Empostor.Api/Games/IGameCodeFactory.cs similarity index 71% rename from src/Impostor.Api/Games/IGameCodeFactory.cs rename to src/Empostor.Api/Games/IGameCodeFactory.cs index 38f047f..0848170 100644 --- a/src/Impostor.Api/Games/IGameCodeFactory.cs +++ b/src/Empostor.Api/Games/IGameCodeFactory.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Games +namespace Empostor.Api.Games { public interface IGameCodeFactory { diff --git a/src/Impostor.Api/Games/Managers/IGameManager.cs b/src/Empostor.Api/Games/Managers/IGameManager.cs similarity index 77% rename from src/Impostor.Api/Games/Managers/IGameManager.cs rename to src/Empostor.Api/Games/Managers/IGameManager.cs index a9572e4..84ef963 100644 --- a/src/Impostor.Api/Games/Managers/IGameManager.cs +++ b/src/Empostor.Api/Games/Managers/IGameManager.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Impostor.Api.Innersloth; -using Impostor.Api.Innersloth.GameOptions; +using Empostor.Api.Innersloth; +using Empostor.Api.Innersloth.GameOptions; -namespace Impostor.Api.Games.Managers +namespace Empostor.Api.Games.Managers { public interface IGameManager { @@ -17,7 +17,7 @@ namespace Impostor.Api.Games.Managers /// Game options. /// Filter options. /// Created game or null if creation was cancelled by a plugin. - /// Thrown when game creation failed. + /// Thrown when game creation failed. ValueTask CreateAsync(IGameOptions options, GameFilterOptions filterOptions); } } diff --git a/src/Impostor.Api/GlobalUsings.cs b/src/Empostor.Api/GlobalUsings.cs similarity index 100% rename from src/Impostor.Api/GlobalUsings.cs rename to src/Empostor.Api/GlobalUsings.cs diff --git a/src/Impostor.Api/Http/IListingFilter.cs b/src/Empostor.Api/Http/IListingFilter.cs similarity index 90% rename from src/Impostor.Api/Http/IListingFilter.cs rename to src/Empostor.Api/Http/IListingFilter.cs index ce3768a..0f6a8a1 100644 --- a/src/Impostor.Api/Http/IListingFilter.cs +++ b/src/Empostor.Api/Http/IListingFilter.cs @@ -1,8 +1,8 @@ using System; -using Impostor.Api.Games; +using Empostor.Api.Games; using Microsoft.AspNetCore.Http; -namespace Impostor.Api.Http; +namespace Empostor.Api.Http; /// /// Register a method to filter listings on. diff --git a/src/Impostor.Api/Impostor.Api.csproj.DotSettings b/src/Empostor.Api/Impostor.Api.csproj.DotSettings similarity index 100% rename from src/Impostor.Api/Impostor.Api.csproj.DotSettings rename to src/Empostor.Api/Impostor.Api.csproj.DotSettings diff --git a/src/Impostor.Api/Innersloth/AlterGameTags.cs b/src/Empostor.Api/Innersloth/AlterGameTags.cs similarity index 68% rename from src/Impostor.Api/Innersloth/AlterGameTags.cs rename to src/Empostor.Api/Innersloth/AlterGameTags.cs index a1d9c42..9cc3219 100644 --- a/src/Impostor.Api/Innersloth/AlterGameTags.cs +++ b/src/Empostor.Api/Innersloth/AlterGameTags.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum AlterGameTags : byte { diff --git a/src/Impostor.Api/Innersloth/ChatNoteType.cs b/src/Empostor.Api/Innersloth/ChatNoteType.cs similarity index 66% rename from src/Impostor.Api/Innersloth/ChatNoteType.cs rename to src/Empostor.Api/Innersloth/ChatNoteType.cs index 697b031..3aebe8d 100644 --- a/src/Impostor.Api/Innersloth/ChatNoteType.cs +++ b/src/Empostor.Api/Innersloth/ChatNoteType.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum ChatNoteType : byte { diff --git a/src/Impostor.Api/Innersloth/CrossplayFlags.cs b/src/Empostor.Api/Innersloth/CrossplayFlags.cs similarity index 90% rename from src/Impostor.Api/Innersloth/CrossplayFlags.cs rename to src/Empostor.Api/Innersloth/CrossplayFlags.cs index e8696a7..15cb325 100644 --- a/src/Impostor.Api/Innersloth/CrossplayFlags.cs +++ b/src/Empostor.Api/Innersloth/CrossplayFlags.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth; +namespace Empostor.Api.Innersloth; public enum CrossplayFlags { diff --git a/src/Impostor.Api/Innersloth/Customization/PlayerOutfit.cs b/src/Empostor.Api/Innersloth/Customization/PlayerOutfit.cs similarity index 98% rename from src/Impostor.Api/Innersloth/Customization/PlayerOutfit.cs rename to src/Empostor.Api/Innersloth/Customization/PlayerOutfit.cs index 82f8ced..66fa8cb 100644 --- a/src/Impostor.Api/Innersloth/Customization/PlayerOutfit.cs +++ b/src/Empostor.Api/Innersloth/Customization/PlayerOutfit.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.Customization +namespace Empostor.Api.Innersloth.Customization { public class PlayerOutfit { diff --git a/src/Impostor.Api/Innersloth/Customization/PlayerOutfitType.cs b/src/Empostor.Api/Innersloth/Customization/PlayerOutfitType.cs similarity index 73% rename from src/Impostor.Api/Innersloth/Customization/PlayerOutfitType.cs rename to src/Empostor.Api/Innersloth/Customization/PlayerOutfitType.cs index 17ed351..3cba79f 100644 --- a/src/Impostor.Api/Innersloth/Customization/PlayerOutfitType.cs +++ b/src/Empostor.Api/Innersloth/Customization/PlayerOutfitType.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.Customization +namespace Empostor.Api.Innersloth.Customization { public enum PlayerOutfitType { diff --git a/src/Impostor.Api/Innersloth/Data/SpawnableObjects.json b/src/Empostor.Api/Innersloth/Data/SpawnableObjects.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/SpawnableObjects.json rename to src/Empostor.Api/Innersloth/Data/SpawnableObjects.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/ColorType.json b/src/Empostor.Api/Innersloth/Data/enums/ColorType.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/ColorType.json rename to src/Empostor.Api/Innersloth/Data/enums/ColorType.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/DisconnectReasons.json b/src/Empostor.Api/Innersloth/Data/enums/DisconnectReasons.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/DisconnectReasons.json rename to src/Empostor.Api/Innersloth/Data/enums/DisconnectReasons.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/GameKeywords.json b/src/Empostor.Api/Innersloth/Data/enums/GameKeywords.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/GameKeywords.json rename to src/Empostor.Api/Innersloth/Data/enums/GameKeywords.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/GameOverReason.json b/src/Empostor.Api/Innersloth/Data/enums/GameOverReason.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/GameOverReason.json rename to src/Empostor.Api/Innersloth/Data/enums/GameOverReason.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/Platforms.json b/src/Empostor.Api/Innersloth/Data/enums/Platforms.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/Platforms.json rename to src/Empostor.Api/Innersloth/Data/enums/Platforms.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/RoleTypes.json b/src/Empostor.Api/Innersloth/Data/enums/RoleTypes.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/RoleTypes.json rename to src/Empostor.Api/Innersloth/Data/enums/RoleTypes.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/RpcCalls.json b/src/Empostor.Api/Innersloth/Data/enums/RpcCalls.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/RpcCalls.json rename to src/Empostor.Api/Innersloth/Data/enums/RpcCalls.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/RulesPresets.json b/src/Empostor.Api/Innersloth/Data/enums/RulesPresets.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/RulesPresets.json rename to src/Empostor.Api/Innersloth/Data/enums/RulesPresets.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/SanctionReasons.json b/src/Empostor.Api/Innersloth/Data/enums/SanctionReasons.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/SanctionReasons.json rename to src/Empostor.Api/Innersloth/Data/enums/SanctionReasons.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/SpecialGameModes.json b/src/Empostor.Api/Innersloth/Data/enums/SpecialGameModes.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/SpecialGameModes.json rename to src/Empostor.Api/Innersloth/Data/enums/SpecialGameModes.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/StringNames.json b/src/Empostor.Api/Innersloth/Data/enums/StringNames.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/StringNames.json rename to src/Empostor.Api/Innersloth/Data/enums/StringNames.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/SupportedLangs.json b/src/Empostor.Api/Innersloth/Data/enums/SupportedLangs.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/SupportedLangs.json rename to src/Empostor.Api/Innersloth/Data/enums/SupportedLangs.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/SystemTypes.json b/src/Empostor.Api/Innersloth/Data/enums/SystemTypes.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/SystemTypes.json rename to src/Empostor.Api/Innersloth/Data/enums/SystemTypes.json diff --git a/src/Impostor.Api/Innersloth/Data/enums/TaskTypes.json b/src/Empostor.Api/Innersloth/Data/enums/TaskTypes.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/enums/TaskTypes.json rename to src/Empostor.Api/Innersloth/Data/enums/TaskTypes.json diff --git a/src/Impostor.Api/Innersloth/Data/info.json b/src/Empostor.Api/Innersloth/Data/info.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/info.json rename to src/Empostor.Api/Innersloth/Data/info.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Airship/doors.json b/src/Empostor.Api/Innersloth/Data/maps/Airship/doors.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Airship/doors.json rename to src/Empostor.Api/Innersloth/Data/maps/Airship/doors.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Airship/spawn.json b/src/Empostor.Api/Innersloth/Data/maps/Airship/spawn.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Airship/spawn.json rename to src/Empostor.Api/Innersloth/Data/maps/Airship/spawn.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Airship/systems.json b/src/Empostor.Api/Innersloth/Data/maps/Airship/systems.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Airship/systems.json rename to src/Empostor.Api/Innersloth/Data/maps/Airship/systems.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Airship/tasks.json b/src/Empostor.Api/Innersloth/Data/maps/Airship/tasks.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Airship/tasks.json rename to src/Empostor.Api/Innersloth/Data/maps/Airship/tasks.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Airship/vents.json b/src/Empostor.Api/Innersloth/Data/maps/Airship/vents.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Airship/vents.json rename to src/Empostor.Api/Innersloth/Data/maps/Airship/vents.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/April/doors.json b/src/Empostor.Api/Innersloth/Data/maps/April/doors.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/April/doors.json rename to src/Empostor.Api/Innersloth/Data/maps/April/doors.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/April/spawn.json b/src/Empostor.Api/Innersloth/Data/maps/April/spawn.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/April/spawn.json rename to src/Empostor.Api/Innersloth/Data/maps/April/spawn.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/April/systems.json b/src/Empostor.Api/Innersloth/Data/maps/April/systems.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/April/systems.json rename to src/Empostor.Api/Innersloth/Data/maps/April/systems.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/April/tasks.json b/src/Empostor.Api/Innersloth/Data/maps/April/tasks.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/April/tasks.json rename to src/Empostor.Api/Innersloth/Data/maps/April/tasks.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/April/vents.json b/src/Empostor.Api/Innersloth/Data/maps/April/vents.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/April/vents.json rename to src/Empostor.Api/Innersloth/Data/maps/April/vents.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Fungle/doors.json b/src/Empostor.Api/Innersloth/Data/maps/Fungle/doors.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Fungle/doors.json rename to src/Empostor.Api/Innersloth/Data/maps/Fungle/doors.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Fungle/spawn.json b/src/Empostor.Api/Innersloth/Data/maps/Fungle/spawn.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Fungle/spawn.json rename to src/Empostor.Api/Innersloth/Data/maps/Fungle/spawn.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Fungle/systems.json b/src/Empostor.Api/Innersloth/Data/maps/Fungle/systems.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Fungle/systems.json rename to src/Empostor.Api/Innersloth/Data/maps/Fungle/systems.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Fungle/tasks.json b/src/Empostor.Api/Innersloth/Data/maps/Fungle/tasks.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Fungle/tasks.json rename to src/Empostor.Api/Innersloth/Data/maps/Fungle/tasks.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Fungle/vents.json b/src/Empostor.Api/Innersloth/Data/maps/Fungle/vents.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Fungle/vents.json rename to src/Empostor.Api/Innersloth/Data/maps/Fungle/vents.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Mira/doors.json b/src/Empostor.Api/Innersloth/Data/maps/Mira/doors.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Mira/doors.json rename to src/Empostor.Api/Innersloth/Data/maps/Mira/doors.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Mira/spawn.json b/src/Empostor.Api/Innersloth/Data/maps/Mira/spawn.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Mira/spawn.json rename to src/Empostor.Api/Innersloth/Data/maps/Mira/spawn.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Mira/systems.json b/src/Empostor.Api/Innersloth/Data/maps/Mira/systems.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Mira/systems.json rename to src/Empostor.Api/Innersloth/Data/maps/Mira/systems.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Mira/tasks.json b/src/Empostor.Api/Innersloth/Data/maps/Mira/tasks.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Mira/tasks.json rename to src/Empostor.Api/Innersloth/Data/maps/Mira/tasks.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Mira/vents.json b/src/Empostor.Api/Innersloth/Data/maps/Mira/vents.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Mira/vents.json rename to src/Empostor.Api/Innersloth/Data/maps/Mira/vents.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Polus/doors.json b/src/Empostor.Api/Innersloth/Data/maps/Polus/doors.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Polus/doors.json rename to src/Empostor.Api/Innersloth/Data/maps/Polus/doors.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Polus/spawn.json b/src/Empostor.Api/Innersloth/Data/maps/Polus/spawn.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Polus/spawn.json rename to src/Empostor.Api/Innersloth/Data/maps/Polus/spawn.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Polus/systems.json b/src/Empostor.Api/Innersloth/Data/maps/Polus/systems.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Polus/systems.json rename to src/Empostor.Api/Innersloth/Data/maps/Polus/systems.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Polus/tasks.json b/src/Empostor.Api/Innersloth/Data/maps/Polus/tasks.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Polus/tasks.json rename to src/Empostor.Api/Innersloth/Data/maps/Polus/tasks.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Polus/vents.json b/src/Empostor.Api/Innersloth/Data/maps/Polus/vents.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Polus/vents.json rename to src/Empostor.Api/Innersloth/Data/maps/Polus/vents.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Skeld/doors.json b/src/Empostor.Api/Innersloth/Data/maps/Skeld/doors.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Skeld/doors.json rename to src/Empostor.Api/Innersloth/Data/maps/Skeld/doors.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Skeld/spawn.json b/src/Empostor.Api/Innersloth/Data/maps/Skeld/spawn.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Skeld/spawn.json rename to src/Empostor.Api/Innersloth/Data/maps/Skeld/spawn.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Skeld/systems.json b/src/Empostor.Api/Innersloth/Data/maps/Skeld/systems.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Skeld/systems.json rename to src/Empostor.Api/Innersloth/Data/maps/Skeld/systems.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Skeld/tasks.json b/src/Empostor.Api/Innersloth/Data/maps/Skeld/tasks.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Skeld/tasks.json rename to src/Empostor.Api/Innersloth/Data/maps/Skeld/tasks.json diff --git a/src/Impostor.Api/Innersloth/Data/maps/Skeld/vents.json b/src/Empostor.Api/Innersloth/Data/maps/Skeld/vents.json similarity index 100% rename from src/Impostor.Api/Innersloth/Data/maps/Skeld/vents.json rename to src/Empostor.Api/Innersloth/Data/maps/Skeld/vents.json diff --git a/src/Impostor.Api/Innersloth/DeathReason.cs b/src/Empostor.Api/Innersloth/DeathReason.cs similarity index 73% rename from src/Impostor.Api/Innersloth/DeathReason.cs rename to src/Empostor.Api/Innersloth/DeathReason.cs index 8b8a430..40a37e4 100644 --- a/src/Impostor.Api/Innersloth/DeathReason.cs +++ b/src/Empostor.Api/Innersloth/DeathReason.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum DeathReason { diff --git a/src/Impostor.Api/Innersloth/GameCodeParser.cs b/src/Empostor.Api/Innersloth/GameCodeParser.cs similarity index 98% rename from src/Impostor.Api/Innersloth/GameCodeParser.cs rename to src/Empostor.Api/Innersloth/GameCodeParser.cs index 583587c..23701d9 100644 --- a/src/Impostor.Api/Innersloth/GameCodeParser.cs +++ b/src/Empostor.Api/Innersloth/GameCodeParser.cs @@ -4,7 +4,7 @@ using System.Linq; using System.Security.Cryptography; using System.Text; -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public static class GameCodeParser { diff --git a/src/Impostor.Api/Innersloth/GameFilterOptions.cs b/src/Empostor.Api/Innersloth/GameFilterOptions.cs similarity index 96% rename from src/Impostor.Api/Innersloth/GameFilterOptions.cs rename to src/Empostor.Api/Innersloth/GameFilterOptions.cs index e560c00..826b302 100644 --- a/src/Impostor.Api/Innersloth/GameFilterOptions.cs +++ b/src/Empostor.Api/Innersloth/GameFilterOptions.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Impostor.Api.Innersloth; +namespace Empostor.Api.Innersloth; public class GameFilterOptions { diff --git a/src/Impostor.Api/Innersloth/GameModes.cs b/src/Empostor.Api/Innersloth/GameModes.cs similarity index 80% rename from src/Impostor.Api/Innersloth/GameModes.cs rename to src/Empostor.Api/Innersloth/GameModes.cs index e10d067..3071734 100644 --- a/src/Impostor.Api/Innersloth/GameModes.cs +++ b/src/Empostor.Api/Innersloth/GameModes.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum GameModes : byte { diff --git a/src/Impostor.Api/Innersloth/GameOptions/GameOptionsFactory.cs b/src/Empostor.Api/Innersloth/GameOptions/GameOptionsFactory.cs similarity index 98% rename from src/Impostor.Api/Innersloth/GameOptions/GameOptionsFactory.cs rename to src/Empostor.Api/Innersloth/GameOptions/GameOptionsFactory.cs index be306ec..f4cd39c 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/GameOptionsFactory.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/GameOptionsFactory.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Innersloth.GameOptions; +namespace Empostor.Api.Innersloth.GameOptions; public static class GameOptionsFactory { diff --git a/src/Impostor.Api/Innersloth/GameOptions/GameTags.cs b/src/Empostor.Api/Innersloth/GameOptions/GameTags.cs similarity index 84% rename from src/Impostor.Api/Innersloth/GameOptions/GameTags.cs rename to src/Empostor.Api/Innersloth/GameOptions/GameTags.cs index b7db653..4552fbf 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/GameTags.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/GameTags.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions; +namespace Empostor.Api.Innersloth.GameOptions; // TODO: generate this enum based on game data diff --git a/src/Impostor.Api/Innersloth/GameOptions/HideNSeekGameOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/HideNSeekGameOptions.cs similarity index 95% rename from src/Impostor.Api/Innersloth/GameOptions/HideNSeekGameOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/HideNSeekGameOptions.cs index 74b3fd1..2f8f1fd 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/HideNSeekGameOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/HideNSeekGameOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions; +namespace Empostor.Api.Innersloth.GameOptions; public class HideNSeekGameOptions : IGameOptions { @@ -48,7 +48,7 @@ public class HideNSeekGameOptions : IGameOptions public float CrewLightMod { get; set; } = 1f; /// - /// Gets or sets the Light modifier for the players that are Impostors as a multiplier value. + /// Gets or sets the Light modifier for the players that are Empostors as a multiplier value. /// public float ImpostorLightMod { get; set; } = 1f; @@ -75,7 +75,7 @@ public class HideNSeekGameOptions : IGameOptions public float CrewmateFlashlightSize { get; set; } = 0.35f; - public float ImpostorFlashlightSize { get; set; } = 0.25f; + public float EmpostorFlashlightSize { get; set; } = 0.25f; public bool UseFlashlight { get; set; } = true; @@ -127,7 +127,7 @@ public class HideNSeekGameOptions : IGameOptions CrewmateVentUses = reader.ReadInt32(); HidingTime = reader.ReadSingle(); CrewmateFlashlightSize = reader.ReadSingle(); - ImpostorFlashlightSize = reader.ReadSingle(); + EmpostorFlashlightSize = reader.ReadSingle(); UseFlashlight = reader.ReadBoolean(); FinalHideSeekMap = reader.ReadBoolean(); FinalHideTime = reader.ReadSingle(); @@ -171,7 +171,7 @@ public class HideNSeekGameOptions : IGameOptions writer.Write(CrewmateVentUses); writer.Write(HidingTime); writer.Write(CrewmateFlashlightSize); - writer.Write(ImpostorFlashlightSize); + writer.Write(EmpostorFlashlightSize); writer.Write(UseFlashlight); writer.Write(FinalHideSeekMap); writer.Write(FinalHideTime); diff --git a/src/Impostor.Api/Innersloth/GameOptions/IGameOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/IGameOptions.cs similarity index 91% rename from src/Impostor.Api/Innersloth/GameOptions/IGameOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/IGameOptions.cs index fd60495..5f62ee1 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/IGameOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/IGameOptions.cs @@ -1,6 +1,6 @@ using System.Diagnostics.CodeAnalysis; -namespace Impostor.Api.Innersloth.GameOptions; +namespace Empostor.Api.Innersloth.GameOptions; public interface IGameOptions { @@ -55,13 +55,13 @@ public interface IGameOptions { if (version < GameOptionsFactory.ModularOptionsDataVersion) { - throw new ImpostorException($"{typeof(TCaller).Name} didn't exist before version 7, did you mean {nameof(LegacyGameOptionsData)}?"); + throw new EmpostorException($"{typeof(TCaller).Name} didn't exist before version 7, did you mean {nameof(LegacyGameOptionsData)}?"); } } [DoesNotReturn] public static void ThrowUnknownVersion(byte version) { - throw new ImpostorException($"Unknown {typeof(TCaller).Name} version {version}"); + throw new EmpostorException($"Unknown {typeof(TCaller).Name} version {version}"); } } diff --git a/src/Impostor.Api/Innersloth/GameOptions/LegacyGameOptionsData.cs b/src/Empostor.Api/Innersloth/GameOptions/LegacyGameOptionsData.cs similarity index 94% rename from src/Impostor.Api/Innersloth/GameOptions/LegacyGameOptionsData.cs rename to src/Empostor.Api/Innersloth/GameOptions/LegacyGameOptionsData.cs index 25862c4..de11a4f 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/LegacyGameOptionsData.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/LegacyGameOptionsData.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth.GameOptions.RoleOptions; +using Empostor.Api.Innersloth.GameOptions.RoleOptions; -namespace Impostor.Api.Innersloth.GameOptions; +namespace Empostor.Api.Innersloth.GameOptions; public class LegacyGameOptionsData : IGameOptions { @@ -53,12 +53,12 @@ public class LegacyGameOptionsData : IGameOptions public float CrewLightMod { get; set; } = 1f; /// - /// Gets or sets the Light modifier for the players that are Impostors as a multiplier value. + /// Gets or sets the Light modifier for the players that are Empostors as a multiplier value. /// public float ImpostorLightMod { get; set; } = 1f; /// - /// Gets or sets the Impostor cooldown to kill in seconds. + /// Gets or sets the Empostor cooldown to kill in seconds. /// public float KillCooldown { get; set; } = 15f; @@ -115,7 +115,7 @@ public class LegacyGameOptionsData : IGameOptions /// /// Gets or sets a value indicating whether an ejected player is an impostor or not. /// - public bool ConfirmImpostor { get; set; } = true; + public bool ConfirmEmpostor { get; set; } = true; /// /// Gets or sets a value indicating whether players are able to see tasks being performed by other players. @@ -184,7 +184,7 @@ public class LegacyGameOptionsData : IGameOptions if (Version >= 3) { - ConfirmImpostor = reader.ReadBoolean(); + ConfirmEmpostor = reader.ReadBoolean(); VisualTasks = reader.ReadBoolean(); } @@ -241,7 +241,7 @@ public class LegacyGameOptionsData : IGameOptions if (Version >= 3) { - writer.Write((bool)ConfirmImpostor); + writer.Write((bool)ConfirmEmpostor); writer.Write((bool)VisualTasks); } @@ -263,7 +263,7 @@ public class LegacyGameOptionsData : IGameOptions if (Version > 6) { - throw new ImpostorException($"Unknown {nameof(LegacyGameOptionsData)} version {Version}"); + throw new EmpostorException($"Unknown {nameof(LegacyGameOptionsData)} version {Version}"); } } } diff --git a/src/Impostor.Api/Innersloth/GameOptions/NormalGameOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/NormalGameOptions.cs similarity index 95% rename from src/Impostor.Api/Innersloth/GameOptions/NormalGameOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/NormalGameOptions.cs index 4055f82..fee6931 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/NormalGameOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/NormalGameOptions.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth.GameOptions.RoleOptions; +using Empostor.Api.Innersloth.GameOptions.RoleOptions; -namespace Impostor.Api.Innersloth.GameOptions; +namespace Empostor.Api.Innersloth.GameOptions; public class NormalGameOptions : IGameOptions { @@ -51,12 +51,12 @@ public class NormalGameOptions : IGameOptions public float CrewLightMod { get; set; } = 1f; /// - /// Gets or sets the Light modifier for the players that are Impostors as a multiplier value. + /// Gets or sets the Light modifier for the players that are Empostors as a multiplier value. /// public float ImpostorLightMod { get; set; } = 1f; /// - /// Gets or sets the Impostor cooldown to kill in seconds. + /// Gets or sets the Empostor cooldown to kill in seconds. /// public float KillCooldown { get; set; } = 15f; @@ -108,7 +108,7 @@ public class NormalGameOptions : IGameOptions /// /// Gets or sets a value indicating whether an ejected player is an impostor or not. /// - public bool ConfirmImpostor { get; set; } = true; + public bool ConfirmEmpostor { get; set; } = true; /// /// Gets or sets a value indicating whether players are able to see tasks being performed by other players. @@ -173,7 +173,7 @@ public class NormalGameOptions : IGameOptions IsDefaults = reader.ReadBoolean(); EmergencyCooldown = reader.ReadByte(); - ConfirmImpostor = reader.ReadBoolean(); + ConfirmEmpostor = reader.ReadBoolean(); VisualTasks = reader.ReadBoolean(); AnonymousVotes = reader.ReadBoolean(); TaskBarUpdate = (TaskBarUpdate)reader.ReadByte(); @@ -222,7 +222,7 @@ public class NormalGameOptions : IGameOptions writer.Write(IsDefaults); writer.Write((byte)EmergencyCooldown); - writer.Write(ConfirmImpostor); + writer.Write(ConfirmEmpostor); writer.Write(VisualTasks); writer.Write(AnonymousVotes); writer.Write((byte)TaskBarUpdate); diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/DetectiveRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/DetectiveRoleOptions.cs similarity index 91% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/DetectiveRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/DetectiveRoleOptions.cs index 4bd29b3..d62a4a0 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/DetectiveRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/DetectiveRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class DetectiveRoleOptions : IRoleOptions { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/EngineerRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/EngineerRoleOptions.cs similarity index 92% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/EngineerRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/EngineerRoleOptions.cs index 45c7b74..a254be0 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/EngineerRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/EngineerRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class EngineerRoleOptions : IRoleOptions { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/GuardianAngelRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/GuardianAngelRoleOptions.cs similarity index 78% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/GuardianAngelRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/GuardianAngelRoleOptions.cs index d46c57d..5a59862 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/GuardianAngelRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/GuardianAngelRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class GuardianAngelRoleOptions : IRoleOptions { @@ -15,7 +15,7 @@ public class GuardianAngelRoleOptions : IRoleOptions public byte ProtectionDurationSeconds { get; set; } = 10; - public bool ImpostorsCanSeeProtect { get; set; } + public bool EmpostorsCanSeeProtect { get; set; } public static GuardianAngelRoleOptions Deserialize(IMessageReader reader, byte version) { @@ -23,7 +23,7 @@ public class GuardianAngelRoleOptions : IRoleOptions options.Cooldown = reader.ReadByte(); options.ProtectionDurationSeconds = reader.ReadByte(); - options.ImpostorsCanSeeProtect = reader.ReadBoolean(); + options.EmpostorsCanSeeProtect = reader.ReadBoolean(); return options; } @@ -32,6 +32,6 @@ public class GuardianAngelRoleOptions : IRoleOptions { writer.Write(Cooldown); writer.Write(ProtectionDurationSeconds); - writer.Write(ImpostorsCanSeeProtect); + writer.Write(EmpostorsCanSeeProtect); } } diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/IRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/IRoleOptions.cs similarity index 64% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/IRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/IRoleOptions.cs index 0fe0bac..f80cff3 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/IRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/IRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public interface IRoleOptions { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/LegacyRoleOptionsData.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/LegacyRoleOptionsData.cs similarity index 91% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/LegacyRoleOptionsData.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/LegacyRoleOptionsData.cs index 5a5381f..73af306 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/LegacyRoleOptionsData.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/LegacyRoleOptionsData.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class LegacyRoleOptionsData { @@ -16,7 +16,7 @@ public class LegacyRoleOptionsData public byte GuardianAngelCooldown { get; set; } = 60; - public bool ImpostorsCanSeeProtect { get; set; } + public bool EmpostorsCanSeeProtect { get; set; } public byte ProtectionDurationSeconds { get; set; } = 10; @@ -46,7 +46,7 @@ public class LegacyRoleOptionsData roleOptionsData.EngineerInVentMaxTime = reader.ReadByte(); roleOptionsData.ScientistBatteryCharge = reader.ReadByte(); roleOptionsData.ProtectionDurationSeconds = reader.ReadByte(); - roleOptionsData.ImpostorsCanSeeProtect = reader.ReadBoolean(); + roleOptionsData.EmpostorsCanSeeProtect = reader.ReadBoolean(); return roleOptionsData; } @@ -68,6 +68,6 @@ public class LegacyRoleOptionsData writer.Write(EngineerInVentMaxTime); writer.Write(ScientistBatteryCharge); writer.Write(ProtectionDurationSeconds); - writer.Write(ImpostorsCanSeeProtect); + writer.Write(EmpostorsCanSeeProtect); } } diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/NoisemakerRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/NoisemakerRoleOptions.cs similarity index 75% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/NoisemakerRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/NoisemakerRoleOptions.cs index d84a88d..3d6599b 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/NoisemakerRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/NoisemakerRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class NoisemakerRoleOptions : IRoleOptions { @@ -11,7 +11,7 @@ public class NoisemakerRoleOptions : IRoleOptions public RoleTypes Type => RoleTypes.Noisemaker; - public bool ImpostorAlert { get; set; } = true; + public bool EmpostorAlert { get; set; } = true; public byte AlertDuration { get; set; } = 10; @@ -20,7 +20,7 @@ public class NoisemakerRoleOptions : IRoleOptions var options = new NoisemakerRoleOptions(version); options.AlertDuration = reader.ReadByte(); - options.ImpostorAlert = reader.ReadBoolean(); + options.EmpostorAlert = reader.ReadBoolean(); return options; } @@ -28,6 +28,6 @@ public class NoisemakerRoleOptions : IRoleOptions public void Serialize(IMessageWriter writer) { writer.Write(AlertDuration); - writer.Write(ImpostorAlert); + writer.Write(EmpostorAlert); } } diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/PhantomRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/PhantomRoleOptions.cs similarity index 92% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/PhantomRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/PhantomRoleOptions.cs index 7257622..5fbfb22 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/PhantomRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/PhantomRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class PhantomRoleOptions : IRoleOptions { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/RoleOptionsCollection.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/RoleOptionsCollection.cs similarity index 97% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/RoleOptionsCollection.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/RoleOptionsCollection.cs index 187987b..ddd7835 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/RoleOptionsCollection.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/RoleOptionsCollection.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class RoleOptionsCollection { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/RoleRate.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/RoleRate.cs similarity index 85% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/RoleRate.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/RoleRate.cs index 352db4f..52c74b0 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/RoleRate.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/RoleRate.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public readonly record struct RoleRate(byte MaxCount, byte Chance) { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ScientistRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ScientistRoleOptions.cs similarity index 92% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ScientistRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ScientistRoleOptions.cs index 4a38953..bce626a 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ScientistRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ScientistRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class ScientistRoleOptions : IRoleOptions { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ShapeshifterRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ShapeshifterRoleOptions.cs similarity index 93% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ShapeshifterRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ShapeshifterRoleOptions.cs index 8202b7d..d90f415 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ShapeshifterRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ShapeshifterRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class ShapeshifterRoleOptions : IRoleOptions { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/TrackerRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/TrackerRoleOptions.cs similarity index 93% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/TrackerRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/TrackerRoleOptions.cs index 4b8f50f..19bf8b4 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/TrackerRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/TrackerRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class TrackerRoleOptions : IRoleOptions { diff --git a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ViperRoleOptions.cs b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ViperRoleOptions.cs similarity index 91% rename from src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ViperRoleOptions.cs rename to src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ViperRoleOptions.cs index 56185ad..55a4a9e 100644 --- a/src/Impostor.Api/Innersloth/GameOptions/RoleOptions/ViperRoleOptions.cs +++ b/src/Empostor.Api/Innersloth/GameOptions/RoleOptions/ViperRoleOptions.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.GameOptions.RoleOptions; +namespace Empostor.Api.Innersloth.GameOptions.RoleOptions; public class ViperRoleOptions : IRoleOptions { diff --git a/src/Impostor.Api/Innersloth/GameStates.cs b/src/Empostor.Api/Innersloth/GameStates.cs similarity index 81% rename from src/Impostor.Api/Innersloth/GameStates.cs rename to src/Empostor.Api/Innersloth/GameStates.cs index 8e791de..4fe3b30 100644 --- a/src/Impostor.Api/Innersloth/GameStates.cs +++ b/src/Empostor.Api/Innersloth/GameStates.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum GameStates : byte { diff --git a/src/Impostor.Api/Innersloth/GameVersion.cs b/src/Empostor.Api/Innersloth/GameVersion.cs similarity index 98% rename from src/Impostor.Api/Innersloth/GameVersion.cs rename to src/Empostor.Api/Innersloth/GameVersion.cs index 3c10804..a4a0dc7 100644 --- a/src/Impostor.Api/Innersloth/GameVersion.cs +++ b/src/Empostor.Api/Innersloth/GameVersion.cs @@ -1,7 +1,7 @@ using System; using System.Numerics; -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public readonly struct GameVersion : IEquatable, IComparable, IComparisonOperators { diff --git a/src/Impostor.Api/Innersloth/KillDistances.cs b/src/Empostor.Api/Innersloth/KillDistances.cs similarity index 80% rename from src/Impostor.Api/Innersloth/KillDistances.cs rename to src/Empostor.Api/Innersloth/KillDistances.cs index b2ee5d9..d6cea12 100644 --- a/src/Impostor.Api/Innersloth/KillDistances.cs +++ b/src/Empostor.Api/Innersloth/KillDistances.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { [Flags] public enum KillDistances : byte diff --git a/src/Impostor.Api/Innersloth/MapFlags.cs b/src/Empostor.Api/Innersloth/MapFlags.cs similarity index 86% rename from src/Impostor.Api/Innersloth/MapFlags.cs rename to src/Empostor.Api/Innersloth/MapFlags.cs index 59d5ba6..1786b7b 100644 --- a/src/Impostor.Api/Innersloth/MapFlags.cs +++ b/src/Empostor.Api/Innersloth/MapFlags.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { [Flags] public enum MapFlags diff --git a/src/Impostor.Api/Innersloth/MapTypes.cs b/src/Empostor.Api/Innersloth/MapTypes.cs similarity index 81% rename from src/Impostor.Api/Innersloth/MapTypes.cs rename to src/Empostor.Api/Innersloth/MapTypes.cs index bbb912d..5e4d71c 100644 --- a/src/Impostor.Api/Innersloth/MapTypes.cs +++ b/src/Empostor.Api/Innersloth/MapTypes.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum MapTypes : byte { diff --git a/src/Impostor.Api/Innersloth/Maps/DoorData.cs b/src/Empostor.Api/Innersloth/Maps/DoorData.cs similarity index 88% rename from src/Impostor.Api/Innersloth/Maps/DoorData.cs rename to src/Empostor.Api/Innersloth/Maps/DoorData.cs index 3adbb15..2c90f73 100644 --- a/src/Impostor.Api/Innersloth/Maps/DoorData.cs +++ b/src/Empostor.Api/Innersloth/Maps/DoorData.cs @@ -1,6 +1,6 @@ using System.Numerics; -namespace Impostor.Api.Innersloth.Maps; +namespace Empostor.Api.Innersloth.Maps; public sealed class DoorData { diff --git a/src/Impostor.Api/Innersloth/Maps/MapData.cs b/src/Empostor.Api/Innersloth/Maps/MapData.cs similarity index 96% rename from src/Impostor.Api/Innersloth/Maps/MapData.cs rename to src/Empostor.Api/Innersloth/Maps/MapData.cs index 6e3b831..23c8031 100644 --- a/src/Impostor.Api/Innersloth/Maps/MapData.cs +++ b/src/Empostor.Api/Innersloth/Maps/MapData.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Numerics; -namespace Impostor.Api.Innersloth.Maps; +namespace Empostor.Api.Innersloth.Maps; public abstract class MapData { diff --git a/src/Impostor.Api/Innersloth/Maps/TaskData.cs b/src/Empostor.Api/Innersloth/Maps/TaskData.cs similarity index 91% rename from src/Impostor.Api/Innersloth/Maps/TaskData.cs rename to src/Empostor.Api/Innersloth/Maps/TaskData.cs index 176c6fc..c67d855 100644 --- a/src/Impostor.Api/Innersloth/Maps/TaskData.cs +++ b/src/Empostor.Api/Innersloth/Maps/TaskData.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth.Maps; +namespace Empostor.Api.Innersloth.Maps; public sealed class TaskData { diff --git a/src/Impostor.Api/Innersloth/Maps/VentData.cs b/src/Empostor.Api/Innersloth/Maps/VentData.cs similarity index 95% rename from src/Impostor.Api/Innersloth/Maps/VentData.cs rename to src/Empostor.Api/Innersloth/Maps/VentData.cs index 216fb9c..caf1de7 100644 --- a/src/Impostor.Api/Innersloth/Maps/VentData.cs +++ b/src/Empostor.Api/Innersloth/Maps/VentData.cs @@ -1,7 +1,7 @@ using System; using System.Numerics; -namespace Impostor.Api.Innersloth.Maps; +namespace Empostor.Api.Innersloth.Maps; public class VentData { diff --git a/src/Impostor.Api/Innersloth/MurderResultFlags.cs b/src/Empostor.Api/Innersloth/MurderResultFlags.cs similarity index 84% rename from src/Impostor.Api/Innersloth/MurderResultFlags.cs rename to src/Empostor.Api/Innersloth/MurderResultFlags.cs index 1618275..4863f68 100644 --- a/src/Impostor.Api/Innersloth/MurderResultFlags.cs +++ b/src/Empostor.Api/Innersloth/MurderResultFlags.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { [Flags] public enum MurderResultFlags diff --git a/src/Impostor.Api/Innersloth/PlatformSpecificData.cs b/src/Empostor.Api/Innersloth/PlatformSpecificData.cs similarity index 97% rename from src/Impostor.Api/Innersloth/PlatformSpecificData.cs rename to src/Empostor.Api/Innersloth/PlatformSpecificData.cs index ac3954f..acbb71e 100644 --- a/src/Impostor.Api/Innersloth/PlatformSpecificData.cs +++ b/src/Empostor.Api/Innersloth/PlatformSpecificData.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public class PlatformSpecificData { diff --git a/src/Impostor.Api/Innersloth/QuickChatModes.cs b/src/Empostor.Api/Innersloth/QuickChatModes.cs similarity index 75% rename from src/Impostor.Api/Innersloth/QuickChatModes.cs rename to src/Empostor.Api/Innersloth/QuickChatModes.cs index 1920264..18962f7 100644 --- a/src/Impostor.Api/Innersloth/QuickChatModes.cs +++ b/src/Empostor.Api/Innersloth/QuickChatModes.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum QuickChatModes { diff --git a/src/Impostor.Api/Innersloth/ReportOutcome.cs b/src/Empostor.Api/Innersloth/ReportOutcome.cs similarity index 85% rename from src/Impostor.Api/Innersloth/ReportOutcome.cs rename to src/Empostor.Api/Innersloth/ReportOutcome.cs index d740846..bf826f2 100644 --- a/src/Impostor.Api/Innersloth/ReportOutcome.cs +++ b/src/Empostor.Api/Innersloth/ReportOutcome.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum ReportOutcome : byte { diff --git a/src/Impostor.Api/Innersloth/ReportReasons.cs b/src/Empostor.Api/Innersloth/ReportReasons.cs similarity index 84% rename from src/Impostor.Api/Innersloth/ReportReasons.cs rename to src/Empostor.Api/Innersloth/ReportReasons.cs index 2fd02c7..a8db6fe 100644 --- a/src/Impostor.Api/Innersloth/ReportReasons.cs +++ b/src/Empostor.Api/Innersloth/ReportReasons.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum ReportReasons : byte { diff --git a/src/Impostor.Api/Innersloth/SystemTypeHelpers.cs b/src/Empostor.Api/Innersloth/SystemTypeHelpers.cs similarity index 96% rename from src/Impostor.Api/Innersloth/SystemTypeHelpers.cs rename to src/Empostor.Api/Innersloth/SystemTypeHelpers.cs index e9ba29b..37ed8e5 100644 --- a/src/Impostor.Api/Innersloth/SystemTypeHelpers.cs +++ b/src/Empostor.Api/Innersloth/SystemTypeHelpers.cs @@ -1,7 +1,7 @@ using System; using System.Linq; -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { internal class SystemTypeHelpers { diff --git a/src/Impostor.Api/Innersloth/TaskBarUpdate.cs b/src/Empostor.Api/Innersloth/TaskBarUpdate.cs similarity index 75% rename from src/Impostor.Api/Innersloth/TaskBarUpdate.cs rename to src/Empostor.Api/Innersloth/TaskBarUpdate.cs index ea9a5fc..1d025bb 100644 --- a/src/Impostor.Api/Innersloth/TaskBarUpdate.cs +++ b/src/Empostor.Api/Innersloth/TaskBarUpdate.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum TaskBarUpdate : byte { diff --git a/src/Impostor.Api/Innersloth/TaskCategories.cs b/src/Empostor.Api/Innersloth/TaskCategories.cs similarity index 76% rename from src/Impostor.Api/Innersloth/TaskCategories.cs rename to src/Empostor.Api/Innersloth/TaskCategories.cs index 8b6c425..f6a1332 100644 --- a/src/Impostor.Api/Innersloth/TaskCategories.cs +++ b/src/Empostor.Api/Innersloth/TaskCategories.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public enum TaskCategories : byte { diff --git a/src/Impostor.Api/Innersloth/TextBox.cs b/src/Empostor.Api/Innersloth/TextBox.cs similarity index 93% rename from src/Impostor.Api/Innersloth/TextBox.cs rename to src/Empostor.Api/Innersloth/TextBox.cs index 11ad22d..5416caf 100644 --- a/src/Impostor.Api/Innersloth/TextBox.cs +++ b/src/Empostor.Api/Innersloth/TextBox.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Innersloth +namespace Empostor.Api.Innersloth { public static class TextBox { diff --git a/src/Impostor.Api/Languages/LanguageService.cs b/src/Empostor.Api/Languages/LanguageService.cs similarity index 99% rename from src/Impostor.Api/Languages/LanguageService.cs rename to src/Empostor.Api/Languages/LanguageService.cs index 5cedb94..a28e818 100644 --- a/src/Impostor.Api/Languages/LanguageService.cs +++ b/src/Empostor.Api/Languages/LanguageService.cs @@ -3,10 +3,10 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; using System.Text.Json; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; using Microsoft.Extensions.Logging; -namespace Impostor.Api.Languages; +namespace Empostor.Api.Languages; public sealed class LanguageService { @@ -141,6 +141,7 @@ public sealed class LanguageService "command.note.set": "Note set: {0}", "command.color.invalid": "Invalid color ID. Valid range: 0–17.", "command.color.set": "Color changed to {0} ({1}).", + "command.title.too_long": "Title too long. Max 12 characters.", "command.title.cleared": "Title removed.", "command.title.set": "Title set: {0}", diff --git a/src/Impostor.Api/Languages/LanguageString.cs b/src/Empostor.Api/Languages/LanguageString.cs similarity index 97% rename from src/Impostor.Api/Languages/LanguageString.cs rename to src/Empostor.Api/Languages/LanguageString.cs index d139ab9..54e7f00 100644 --- a/src/Impostor.Api/Languages/LanguageString.cs +++ b/src/Empostor.Api/Languages/LanguageString.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Languages; +namespace Empostor.Api.Languages; public sealed class LanguageString { diff --git a/src/Impostor.Api/Net/Custom/ICustomMessage.cs b/src/Empostor.Api/Net/Custom/ICustomMessage.cs similarity index 69% rename from src/Impostor.Api/Net/Custom/ICustomMessage.cs rename to src/Empostor.Api/Net/Custom/ICustomMessage.cs index 52364c8..5919f19 100644 --- a/src/Impostor.Api/Net/Custom/ICustomMessage.cs +++ b/src/Empostor.Api/Net/Custom/ICustomMessage.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Custom +namespace Empostor.Api.Net.Custom { public interface ICustomMessage { diff --git a/src/Impostor.Api/Net/Custom/ICustomMessageManager.cs b/src/Empostor.Api/Net/Custom/ICustomMessageManager.cs similarity index 93% rename from src/Impostor.Api/Net/Custom/ICustomMessageManager.cs rename to src/Empostor.Api/Net/Custom/ICustomMessageManager.cs index 81cd606..5718ff7 100644 --- a/src/Impostor.Api/Net/Custom/ICustomMessageManager.cs +++ b/src/Empostor.Api/Net/Custom/ICustomMessageManager.cs @@ -1,7 +1,7 @@ using System; using System.Diagnostics.CodeAnalysis; -namespace Impostor.Api.Net.Custom +namespace Empostor.Api.Net.Custom { public interface ICustomMessageManager where T : ICustomMessage diff --git a/src/Impostor.Api/Net/Custom/ICustomRootMessage.cs b/src/Empostor.Api/Net/Custom/ICustomRootMessage.cs similarity index 85% rename from src/Impostor.Api/Net/Custom/ICustomRootMessage.cs rename to src/Empostor.Api/Net/Custom/ICustomRootMessage.cs index 9a475f5..f5bc78b 100644 --- a/src/Impostor.Api/Net/Custom/ICustomRootMessage.cs +++ b/src/Empostor.Api/Net/Custom/ICustomRootMessage.cs @@ -1,6 +1,6 @@ using System.Threading.Tasks; -namespace Impostor.Api.Net.Custom +namespace Empostor.Api.Net.Custom { public interface ICustomRootMessage : ICustomMessage { diff --git a/src/Impostor.Api/Net/Custom/ICustomRpc.cs b/src/Empostor.Api/Net/Custom/ICustomRpc.cs similarity index 78% rename from src/Impostor.Api/Net/Custom/ICustomRpc.cs rename to src/Empostor.Api/Net/Custom/ICustomRpc.cs index 48df220..bb1e48d 100644 --- a/src/Impostor.Api/Net/Custom/ICustomRpc.cs +++ b/src/Empostor.Api/Net/Custom/ICustomRpc.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; -using Impostor.Api.Net.Inner; +using Empostor.Api.Net.Inner; -namespace Impostor.Api.Net.Custom +namespace Empostor.Api.Net.Custom { public interface ICustomRpc : ICustomMessage { diff --git a/src/Impostor.Api/Net/IClient.cs b/src/Empostor.Api/Net/IClient.cs similarity index 98% rename from src/Impostor.Api/Net/IClient.cs rename to src/Empostor.Api/Net/IClient.cs index eace23b..8e6bfdf 100644 --- a/src/Impostor.Api/Net/IClient.cs +++ b/src/Empostor.Api/Net/IClient.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net +namespace Empostor.Api.Net { /// /// Represents a connected game client. diff --git a/src/Impostor.Api/Net/IClientPlayer.cs b/src/Empostor.Api/Net/IClientPlayer.cs similarity index 90% rename from src/Impostor.Api/Net/IClientPlayer.cs rename to src/Empostor.Api/Net/IClientPlayer.cs index f11c873..d5f9172 100644 --- a/src/Impostor.Api/Net/IClientPlayer.cs +++ b/src/Empostor.Api/Net/IClientPlayer.cs @@ -1,9 +1,9 @@ using System.Threading.Tasks; -using Impostor.Api.Games; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net +namespace Empostor.Api.Net { /// /// Represents a player in . diff --git a/src/Impostor.Api/Net/IConnection.cs b/src/Empostor.Api/Net/IConnection.cs similarity index 62% rename from src/Impostor.Api/Net/IConnection.cs rename to src/Empostor.Api/Net/IConnection.cs index fa99841..8063fbd 100644 --- a/src/Impostor.Api/Net/IConnection.cs +++ b/src/Empostor.Api/Net/IConnection.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net +namespace Empostor.Api.Net { public interface IConnection { diff --git a/src/Impostor.Api/Net/IHazelConnection.cs b/src/Empostor.Api/Net/IHazelConnection.cs similarity index 98% rename from src/Impostor.Api/Net/IHazelConnection.cs rename to src/Empostor.Api/Net/IHazelConnection.cs index bf8ce81..f8efa0d 100644 --- a/src/Impostor.Api/Net/IHazelConnection.cs +++ b/src/Empostor.Api/Net/IHazelConnection.cs @@ -1,7 +1,7 @@ using System.Net; using System.Threading.Tasks; -namespace Impostor.Api.Net +namespace Empostor.Api.Net { /// /// Represents the connection of the client. diff --git a/src/Impostor.Api/Net/Inner/IGameNet.cs b/src/Empostor.Api/Net/Inner/IGameNet.cs similarity index 70% rename from src/Impostor.Api/Net/Inner/IGameNet.cs rename to src/Empostor.Api/Net/Inner/IGameNet.cs index 0167b5c..d1cc0fe 100644 --- a/src/Impostor.Api/Net/Inner/IGameNet.cs +++ b/src/Empostor.Api/Net/Inner/IGameNet.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Net.Inner.Objects; -using Impostor.Api.Net.Inner.Objects.GameManager; -using Impostor.Api.Net.Inner.Objects.ShipStatus; +using Empostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects.GameManager; +using Empostor.Api.Net.Inner.Objects.ShipStatus; -namespace Impostor.Api.Net.Inner +namespace Empostor.Api.Net.Inner { /// /// Holds all data that is serialized over the network through GameData packets. diff --git a/src/Impostor.Api/Net/Inner/IInnerNetObject.cs b/src/Empostor.Api/Net/Inner/IInnerNetObject.cs similarity index 72% rename from src/Impostor.Api/Net/Inner/IInnerNetObject.cs rename to src/Empostor.Api/Net/Inner/IInnerNetObject.cs index db868b6..9a2422b 100644 --- a/src/Impostor.Api/Net/Inner/IInnerNetObject.cs +++ b/src/Empostor.Api/Net/Inner/IInnerNetObject.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Net.Inner +namespace Empostor.Api.Net.Inner { public interface IInnerNetObject { diff --git a/src/Impostor.Api/Net/Inner/Objects/Components/IInnerCustomNetworkTransform.cs b/src/Empostor.Api/Net/Inner/Objects/Components/IInnerCustomNetworkTransform.cs similarity index 92% rename from src/Impostor.Api/Net/Inner/Objects/Components/IInnerCustomNetworkTransform.cs rename to src/Empostor.Api/Net/Inner/Objects/Components/IInnerCustomNetworkTransform.cs index d8e802c..a632383 100644 --- a/src/Impostor.Api/Net/Inner/Objects/Components/IInnerCustomNetworkTransform.cs +++ b/src/Empostor.Api/Net/Inner/Objects/Components/IInnerCustomNetworkTransform.cs @@ -1,7 +1,7 @@ using System.Numerics; using System.Threading.Tasks; -namespace Impostor.Api.Net.Inner.Objects.Components +namespace Empostor.Api.Net.Inner.Objects.Components { public interface IInnerCustomNetworkTransform : IInnerNetObject { diff --git a/src/Impostor.Api/Net/Inner/Objects/Components/IInnerPlayerPhysics.cs b/src/Empostor.Api/Net/Inner/Objects/Components/IInnerPlayerPhysics.cs similarity index 57% rename from src/Impostor.Api/Net/Inner/Objects/Components/IInnerPlayerPhysics.cs rename to src/Empostor.Api/Net/Inner/Objects/Components/IInnerPlayerPhysics.cs index 9378c5b..9ad474b 100644 --- a/src/Impostor.Api/Net/Inner/Objects/Components/IInnerPlayerPhysics.cs +++ b/src/Empostor.Api/Net/Inner/Objects/Components/IInnerPlayerPhysics.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.Components +namespace Empostor.Api.Net.Inner.Objects.Components { public interface IInnerPlayerPhysics : IInnerNetObject { diff --git a/src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerGameManager.cs b/src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerGameManager.cs new file mode 100644 index 0000000..6b09693 --- /dev/null +++ b/src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerGameManager.cs @@ -0,0 +1,5 @@ +namespace Empostor.Api.Net.Inner.Objects.GameManager; + +public interface IInnerGameManager +{ +} diff --git a/src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerHideAndSeekManager.cs b/src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerHideAndSeekManager.cs similarity index 50% rename from src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerHideAndSeekManager.cs rename to src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerHideAndSeekManager.cs index 043bb21..cef18de 100644 --- a/src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerHideAndSeekManager.cs +++ b/src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerHideAndSeekManager.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +using Empostor.Api.Net.Inner.Objects.GameManager.Logic.HideAndSeek; -namespace Impostor.Api.Net.Inner.Objects.GameManager; +namespace Empostor.Api.Net.Inner.Objects.GameManager; public interface IInnerHideAndSeekManager : IInnerGameManager { diff --git a/src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerNormalGameManager.cs b/src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerNormalGameManager.cs similarity index 53% rename from src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerNormalGameManager.cs rename to src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerNormalGameManager.cs index 5096386..19c344c 100644 --- a/src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerNormalGameManager.cs +++ b/src/Empostor.Api/Net/Inner/Objects/GameManager/IInnerNormalGameManager.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.GameManager; +namespace Empostor.Api.Net.Inner.Objects.GameManager; public interface IInnerNormalGameManager : IInnerGameManager { diff --git a/src/Impostor.Api/Net/Inner/Objects/GameManager/Logic/HideAndSeek/ILogicGameFlowHnS.cs b/src/Empostor.Api/Net/Inner/Objects/GameManager/Logic/HideAndSeek/ILogicGameFlowHnS.cs similarity index 66% rename from src/Impostor.Api/Net/Inner/Objects/GameManager/Logic/HideAndSeek/ILogicGameFlowHnS.cs rename to src/Empostor.Api/Net/Inner/Objects/GameManager/Logic/HideAndSeek/ILogicGameFlowHnS.cs index 98a2f41..aa29945 100644 --- a/src/Impostor.Api/Net/Inner/Objects/GameManager/Logic/HideAndSeek/ILogicGameFlowHnS.cs +++ b/src/Empostor.Api/Net/Inner/Objects/GameManager/Logic/HideAndSeek/ILogicGameFlowHnS.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Api.Net.Inner.Objects.GameManager.Logic.HideAndSeek; public interface ILogicGameFlowHnS { diff --git a/src/Impostor.Api/Net/Inner/Objects/IInnerGameData.cs b/src/Empostor.Api/Net/Inner/Objects/IInnerGameData.cs similarity index 54% rename from src/Impostor.Api/Net/Inner/Objects/IInnerGameData.cs rename to src/Empostor.Api/Net/Inner/Objects/IInnerGameData.cs index a535131..4e69ee2 100644 --- a/src/Impostor.Api/Net/Inner/Objects/IInnerGameData.cs +++ b/src/Empostor.Api/Net/Inner/Objects/IInnerGameData.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects +namespace Empostor.Api.Net.Inner.Objects { public interface IInnerGameData { diff --git a/src/Impostor.Api/Net/Inner/Objects/IInnerLobbyBehaviour.cs b/src/Empostor.Api/Net/Inner/Objects/IInnerLobbyBehaviour.cs similarity index 63% rename from src/Impostor.Api/Net/Inner/Objects/IInnerLobbyBehaviour.cs rename to src/Empostor.Api/Net/Inner/Objects/IInnerLobbyBehaviour.cs index f05f4cf..ac49f39 100644 --- a/src/Impostor.Api/Net/Inner/Objects/IInnerLobbyBehaviour.cs +++ b/src/Empostor.Api/Net/Inner/Objects/IInnerLobbyBehaviour.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects +namespace Empostor.Api.Net.Inner.Objects { public interface IInnerLobbyBehaviour : IInnerNetObject { diff --git a/src/Impostor.Api/Net/Inner/Objects/IInnerMeetingHud.cs b/src/Empostor.Api/Net/Inner/Objects/IInnerMeetingHud.cs similarity index 93% rename from src/Impostor.Api/Net/Inner/Objects/IInnerMeetingHud.cs rename to src/Empostor.Api/Net/Inner/Objects/IInnerMeetingHud.cs index b6c781f..33b1719 100644 --- a/src/Impostor.Api/Net/Inner/Objects/IInnerMeetingHud.cs +++ b/src/Empostor.Api/Net/Inner/Objects/IInnerMeetingHud.cs @@ -1,8 +1,8 @@ using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; -using Impostor.Api.Events.Player; +using Empostor.Api.Events.Player; -namespace Impostor.Api.Net.Inner.Objects +namespace Empostor.Api.Net.Inner.Objects { public interface IInnerMeetingHud : IInnerNetObject { @@ -41,7 +41,7 @@ namespace Impostor.Api.Net.Inner.Objects /// Gets the player voted for. /// /// - /// Null when isn't . + /// Null when isn't . /// public IInnerPlayerControl? VotedFor { get; } } diff --git a/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs b/src/Empostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs similarity index 85% rename from src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs rename to src/Empostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs index fe3dc21..1aefcda 100644 --- a/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs +++ b/src/Empostor.Api/Net/Inner/Objects/IInnerPlayerControl.cs @@ -1,10 +1,10 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Innersloth; -using Impostor.Api.Innersloth.Customization; -using Impostor.Api.Net.Inner.Objects.Components; +using Empostor.Api.Innersloth; +using Empostor.Api.Innersloth.Customization; +using Empostor.Api.Net.Inner.Objects.Components; -namespace Impostor.Api.Net.Inner.Objects +namespace Empostor.Api.Net.Inner.Objects { public interface IInnerPlayerControl : IInnerNetObject { @@ -36,7 +36,7 @@ namespace Impostor.Api.Net.Inner.Objects /// Visible to all players. /// /// A name for the player. - /// Thrown when player doesn't have a PlayerInfo. + /// Thrown when player doesn't have a PlayerInfo. /// Task that must be awaited. ValueTask SetNameAsync(string name); @@ -45,7 +45,7 @@ namespace Impostor.Api.Net.Inner.Objects /// Visible to all players. /// /// A color for the player. - /// Thrown when player doesn't have a PlayerInfo. + /// Thrown when player doesn't have a PlayerInfo. /// Task that must be awaited. ValueTask SetColorAsync(ColorType colorType); @@ -54,7 +54,7 @@ namespace Impostor.Api.Net.Inner.Objects /// Visible to all players. /// /// An hat for the player. - /// Thrown when player doesn't have a PlayerInfo. + /// Thrown when player doesn't have a PlayerInfo. /// Task that must be awaited. ValueTask SetHatAsync(string hatId); @@ -63,7 +63,7 @@ namespace Impostor.Api.Net.Inner.Objects /// Visible to all players. /// /// A pet for the player. - /// Thrown when player doesn't have a PlayerInfo. + /// Thrown when player doesn't have a PlayerInfo. /// Task that must be awaited. ValueTask SetPetAsync(string petId); @@ -72,7 +72,7 @@ namespace Impostor.Api.Net.Inner.Objects /// Visible to all players. /// /// A skin for the player. - /// Thrown when player doesn't have a PlayerInfo. + /// Thrown when player doesn't have a PlayerInfo. /// Task that must be awaited. ValueTask SetSkinAsync(string skinId); @@ -117,10 +117,10 @@ namespace Impostor.Api.Net.Inner.Objects /// /// Target player to murder. /// The result of the murder operation. - /// Thrown when player is not the impostor. - /// Thrown when player is dead. - /// Thrown when target is dead. - /// Thrown when player or target player doesn't have a PlayerInfo. + /// Thrown when player is not the impostor. + /// Thrown when player is dead. + /// Thrown when target is dead. + /// Thrown when player or target player doesn't have a PlayerInfo. /// Task that must be awaited. ValueTask MurderPlayerAsync(IInnerPlayerControl target, MurderResultFlags result); @@ -136,10 +136,10 @@ namespace Impostor.Api.Net.Inner.Objects /// Murder player after validating if this is a valid kill. /// /// Target player to murder. - /// Thrown when player is not the impostor. - /// Thrown when player is dead. - /// Thrown when target is dead. - /// Thrown when player or target player doesn't have a PlayerInfo. + /// Thrown when player is not the impostor. + /// Thrown when player is dead. + /// Thrown when target is dead. + /// Thrown when player or target player doesn't have a PlayerInfo. /// Task that must be awaited. [Obsolete("Please switch to version with the MurderResultFlags argument")] ValueTask MurderPlayerAsync(IInnerPlayerControl target); @@ -148,8 +148,8 @@ namespace Impostor.Api.Net.Inner.Objects /// Protect player. /// /// Target player to protect. - /// Thrown when target is dead. - /// Thrown when player or target player doesn't have a PlayerInfo. + /// Thrown when target is dead. + /// Thrown when player or target player doesn't have a PlayerInfo. /// Task that must be awaited. ValueTask ProtectPlayerAsync(IInnerPlayerControl target); @@ -164,8 +164,8 @@ namespace Impostor.Api.Net.Inner.Objects /// Exile the current player. This doesn't produce a body to be reported. /// Visible to all players. /// - /// Thrown if player to be exiled is already dead. - /// Thrown when player or target player doesn't have a PlayerInfo. + /// Thrown if player to be exiled is already dead. + /// Thrown when player or target player doesn't have a PlayerInfo. /// Task that must be awaited. ValueTask ExileAsync(); diff --git a/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs b/src/Empostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs similarity index 90% rename from src/Impostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs rename to src/Empostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs index eb3654a..aedea02 100644 --- a/src/Impostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs +++ b/src/Empostor.Api/Net/Inner/Objects/IInnerPlayerInfo.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; -using Impostor.Api.Innersloth; -using Impostor.Api.Innersloth.Customization; +using Empostor.Api.Innersloth; +using Empostor.Api.Innersloth.Customization; -namespace Impostor.Api.Net.Inner.Objects +namespace Empostor.Api.Net.Inner.Objects { public interface IInnerPlayerInfo { diff --git a/src/Impostor.Api/Net/Inner/Objects/IInnerVoteBanSystem.cs b/src/Empostor.Api/Net/Inner/Objects/IInnerVoteBanSystem.cs similarity index 63% rename from src/Impostor.Api/Net/Inner/Objects/IInnerVoteBanSystem.cs rename to src/Empostor.Api/Net/Inner/Objects/IInnerVoteBanSystem.cs index 8d8b4ac..6202852 100644 --- a/src/Impostor.Api/Net/Inner/Objects/IInnerVoteBanSystem.cs +++ b/src/Empostor.Api/Net/Inner/Objects/IInnerVoteBanSystem.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects +namespace Empostor.Api.Net.Inner.Objects { public interface IInnerVoteBanSystem : IInnerNetObject { diff --git a/src/Impostor.Api/Net/Inner/Objects/ITaskInfo.cs b/src/Empostor.Api/Net/Inner/Objects/ITaskInfo.cs similarity index 81% rename from src/Impostor.Api/Net/Inner/Objects/ITaskInfo.cs rename to src/Empostor.Api/Net/Inner/Objects/ITaskInfo.cs index 62807b8..930f294 100644 --- a/src/Impostor.Api/Net/Inner/Objects/ITaskInfo.cs +++ b/src/Empostor.Api/Net/Inner/Objects/ITaskInfo.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; -using Impostor.Api.Innersloth.Maps; +using Empostor.Api.Innersloth.Maps; -namespace Impostor.Api.Net.Inner.Objects +namespace Empostor.Api.Net.Inner.Objects { public interface ITaskInfo { diff --git a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerAirshipStatus.cs b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerAirshipStatus.cs similarity index 59% rename from src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerAirshipStatus.cs rename to src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerAirshipStatus.cs index 2711b89..195aac2 100644 --- a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerAirshipStatus.cs +++ b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerAirshipStatus.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.ShipStatus +namespace Empostor.Api.Net.Inner.Objects.ShipStatus { public interface IInnerAirshipStatus : IInnerShipStatus { diff --git a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerDleksShipStatus.cs b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerDleksShipStatus.cs similarity index 58% rename from src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerDleksShipStatus.cs rename to src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerDleksShipStatus.cs index 773cf46..a835e24 100644 --- a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerDleksShipStatus.cs +++ b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerDleksShipStatus.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.ShipStatus +namespace Empostor.Api.Net.Inner.Objects.ShipStatus { public interface IInnerDleksShipStatus : IInnerShipStatus { diff --git a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerMiraShipStatus.cs b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerMiraShipStatus.cs similarity index 58% rename from src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerMiraShipStatus.cs rename to src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerMiraShipStatus.cs index 870a945..bdaa489 100644 --- a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerMiraShipStatus.cs +++ b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerMiraShipStatus.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.ShipStatus +namespace Empostor.Api.Net.Inner.Objects.ShipStatus { public interface IInnerMiraShipStatus : IInnerShipStatus { diff --git a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerPolusShipStatus.cs b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerPolusShipStatus.cs similarity index 60% rename from src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerPolusShipStatus.cs rename to src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerPolusShipStatus.cs index 5e336bd..3e3e925 100644 --- a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerPolusShipStatus.cs +++ b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerPolusShipStatus.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.ShipStatus +namespace Empostor.Api.Net.Inner.Objects.ShipStatus { public interface IInnerPolusShipStatus : IInnerShipStatus { diff --git a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerShipStatus.cs b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerShipStatus.cs similarity index 56% rename from src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerShipStatus.cs rename to src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerShipStatus.cs index c00769d..0f2af12 100644 --- a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerShipStatus.cs +++ b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerShipStatus.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.ShipStatus +namespace Empostor.Api.Net.Inner.Objects.ShipStatus { public interface IInnerShipStatus : IInnerNetObject { diff --git a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerSkeldShipStatus.cs b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerSkeldShipStatus.cs similarity index 58% rename from src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerSkeldShipStatus.cs rename to src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerSkeldShipStatus.cs index e0e9df1..7f73618 100644 --- a/src/Impostor.Api/Net/Inner/Objects/ShipStatus/IInnerSkeldShipStatus.cs +++ b/src/Empostor.Api/Net/Inner/Objects/ShipStatus/IInnerSkeldShipStatus.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Inner.Objects.ShipStatus +namespace Empostor.Api.Net.Inner.Objects.ShipStatus { public interface IInnerSkeldShipStatus : IInnerShipStatus { diff --git a/src/Impostor.Api/Net/LimboStates.cs b/src/Empostor.Api/Net/LimboStates.cs similarity index 88% rename from src/Impostor.Api/Net/LimboStates.cs rename to src/Empostor.Api/Net/LimboStates.cs index 5d1242d..641bf21 100644 --- a/src/Impostor.Api/Net/LimboStates.cs +++ b/src/Empostor.Api/Net/LimboStates.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net +namespace Empostor.Api.Net { [Flags] public enum LimboStates diff --git a/src/Impostor.Api/Net/Manager/IClientManager.cs b/src/Empostor.Api/Net/Manager/IClientManager.cs similarity index 79% rename from src/Impostor.Api/Net/Manager/IClientManager.cs rename to src/Empostor.Api/Net/Manager/IClientManager.cs index 737e42f..e73d618 100644 --- a/src/Impostor.Api/Net/Manager/IClientManager.cs +++ b/src/Empostor.Api/Net/Manager/IClientManager.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Impostor.Api.Net.Manager +namespace Empostor.Api.Net.Manager { public interface IClientManager { diff --git a/src/Impostor.Api/Net/Manager/ICompatibilityManager.cs b/src/Empostor.Api/Net/Manager/ICompatibilityManager.cs similarity index 92% rename from src/Impostor.Api/Net/Manager/ICompatibilityManager.cs rename to src/Empostor.Api/Net/Manager/ICompatibilityManager.cs index 27941ee..e339e36 100644 --- a/src/Impostor.Api/Net/Manager/ICompatibilityManager.cs +++ b/src/Empostor.Api/Net/Manager/ICompatibilityManager.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using System.Linq; -using Impostor.Api.Games; -using Impostor.Api.Innersloth; +using Empostor.Api.Games; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Manager +namespace Empostor.Api.Net.Manager { /// /// Maintains an internal compatibility list of versions that are allowed to connect to the server, and which game @@ -48,8 +48,8 @@ namespace Impostor.Api.Net.Manager /// /// Add a new compatibility group. /// - /// WARNING: this method does not magically make changes to Impostor to properly support these versions. If - /// Impostor cannot support the game versions you're trying to add or that the game versions you're making + /// WARNING: this method does not magically make changes to Empostor to properly support these versions. If + /// Empostor cannot support the game versions you're trying to add or that the game versions you're making /// compatible do not crossplay correctly, weird behaviour may occur. Here be dragons. /// /// The compatibility group to add. @@ -58,8 +58,8 @@ namespace Impostor.Api.Net.Manager /// /// Add a supported game version to the specified compatibility group. /// - /// WARNING: this method does not magically make changes to Impostor to properly support these versions. If - /// Impostor cannot support the game versions you're trying to add or that the game versions you're making + /// WARNING: this method does not magically make changes to Empostor to properly support these versions. If + /// Empostor cannot support the game versions you're trying to add or that the game versions you're making /// compatible do not crossplay correctly, weird behaviour may occur. Here be dragons. /// /// The compatibility group to add this version to. diff --git a/src/Impostor.Api/Net/MessageReaderExtensions.cs b/src/Empostor.Api/Net/MessageReaderExtensions.cs similarity index 83% rename from src/Impostor.Api/Net/MessageReaderExtensions.cs rename to src/Empostor.Api/Net/MessageReaderExtensions.cs index 0234555..f1ef246 100644 --- a/src/Impostor.Api/Net/MessageReaderExtensions.cs +++ b/src/Empostor.Api/Net/MessageReaderExtensions.cs @@ -1,10 +1,10 @@ using System.Numerics; -using Impostor.Api.Games; -using Impostor.Api.Innersloth; -using Impostor.Api.Net.Inner; -using Impostor.Api.Unity; +using Empostor.Api.Games; +using Empostor.Api.Innersloth; +using Empostor.Api.Net.Inner; +using Empostor.Api.Unity; -namespace Impostor.Api.Net; +namespace Empostor.Api.Net; public static class MessageReaderExtensions { diff --git a/src/Impostor.Api/Net/MessageWriterExtensions.cs b/src/Empostor.Api/Net/MessageWriterExtensions.cs similarity index 85% rename from src/Impostor.Api/Net/MessageWriterExtensions.cs rename to src/Empostor.Api/Net/MessageWriterExtensions.cs index f860ce5..9785222 100644 --- a/src/Impostor.Api/Net/MessageWriterExtensions.cs +++ b/src/Empostor.Api/Net/MessageWriterExtensions.cs @@ -1,10 +1,10 @@ using System.Numerics; -using Impostor.Api.Games; -using Impostor.Api.Innersloth; -using Impostor.Api.Net.Inner; -using Impostor.Api.Unity; +using Empostor.Api.Games; +using Empostor.Api.Innersloth; +using Empostor.Api.Net.Inner; +using Empostor.Api.Unity; -namespace Impostor.Api.Net; +namespace Empostor.Api.Net; public static class MessageWriterExtensions { diff --git a/src/Impostor.Api/Net/Messages/C2S/HandshakeC2S.cs b/src/Empostor.Api/Net/Messages/C2S/HandshakeC2S.cs similarity index 98% rename from src/Impostor.Api/Net/Messages/C2S/HandshakeC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/HandshakeC2S.cs index c2b0b1c..a16139d 100644 --- a/src/Impostor.Api/Net/Messages/C2S/HandshakeC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/HandshakeC2S.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public static class HandshakeC2S { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message00HostGameC2S.cs b/src/Empostor.Api/Net/Messages/C2S/Message00HostGameC2S.cs similarity index 88% rename from src/Impostor.Api/Net/Messages/C2S/Message00HostGameC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/Message00HostGameC2S.cs index 8b802c2..1217391 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message00HostGameC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message00HostGameC2S.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Innersloth; -using Impostor.Api.Innersloth.GameOptions; +using Empostor.Api.Innersloth; +using Empostor.Api.Innersloth.GameOptions; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public static class Message00HostGameC2S { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message01JoinGameC2S.cs b/src/Empostor.Api/Net/Messages/C2S/Message01JoinGameC2S.cs similarity index 86% rename from src/Impostor.Api/Net/Messages/C2S/Message01JoinGameC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/Message01JoinGameC2S.cs index 9c91ac1..2180565 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message01JoinGameC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message01JoinGameC2S.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public static class Message01JoinGameC2S { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message04RemovePlayerC2S.cs b/src/Empostor.Api/Net/Messages/C2S/Message04RemovePlayerC2S.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/C2S/Message04RemovePlayerC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/Message04RemovePlayerC2S.cs index a3bcedf..6459891 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message04RemovePlayerC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message04RemovePlayerC2S.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public class Message04RemovePlayerC2S { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message08EndGameC2S.cs b/src/Empostor.Api/Net/Messages/C2S/Message08EndGameC2S.cs similarity index 85% rename from src/Impostor.Api/Net/Messages/C2S/Message08EndGameC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/Message08EndGameC2S.cs index d264294..2528036 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message08EndGameC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message08EndGameC2S.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public class Message08EndGameC2S { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message10AlterGameC2S.cs b/src/Empostor.Api/Net/Messages/C2S/Message10AlterGameC2S.cs similarity index 87% rename from src/Impostor.Api/Net/Messages/C2S/Message10AlterGameC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/Message10AlterGameC2S.cs index 57db669..93cc174 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message10AlterGameC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message10AlterGameC2S.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public class Message10AlterGameC2S { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message11KickPlayerC2S.cs b/src/Empostor.Api/Net/Messages/C2S/Message11KickPlayerC2S.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/C2S/Message11KickPlayerC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/Message11KickPlayerC2S.cs index acafcee..5992367 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message11KickPlayerC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message11KickPlayerC2S.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public class Message11KickPlayerC2S { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message16GetGameListC2S.cs b/src/Empostor.Api/Net/Messages/C2S/Message16GetGameListC2S.cs similarity index 88% rename from src/Impostor.Api/Net/Messages/C2S/Message16GetGameListC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/Message16GetGameListC2S.cs index 9ba3b6c..db082c9 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message16GetGameListC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message16GetGameListC2S.cs @@ -1,8 +1,8 @@ using System; -using Impostor.Api.Innersloth; -using Impostor.Api.Innersloth.GameOptions; +using Empostor.Api.Innersloth; +using Empostor.Api.Innersloth.GameOptions; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public class Message16GetGameListC2S { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message21SetActivePodType.cs b/src/Empostor.Api/Net/Messages/C2S/Message21SetActivePodType.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/C2S/Message21SetActivePodType.cs rename to src/Empostor.Api/Net/Messages/C2S/Message21SetActivePodType.cs index af30785..22e8300 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message21SetActivePodType.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message21SetActivePodType.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public class Message21SetActivePodType { diff --git a/src/Impostor.Api/Net/Messages/C2S/Message22QueryPlatformIdsC2S.cs b/src/Empostor.Api/Net/Messages/C2S/Message22QueryPlatformIdsC2S.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/C2S/Message22QueryPlatformIdsC2S.cs rename to src/Empostor.Api/Net/Messages/C2S/Message22QueryPlatformIdsC2S.cs index dca404f..1d77536 100644 --- a/src/Impostor.Api/Net/Messages/C2S/Message22QueryPlatformIdsC2S.cs +++ b/src/Empostor.Api/Net/Messages/C2S/Message22QueryPlatformIdsC2S.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Net.Messages.C2S +namespace Empostor.Api.Net.Messages.C2S { public class Message22QueryPlatformIdsC2S { diff --git a/src/Impostor.Api/Net/Messages/MessageFlags.cs b/src/Empostor.Api/Net/Messages/MessageFlags.cs similarity index 97% rename from src/Impostor.Api/Net/Messages/MessageFlags.cs rename to src/Empostor.Api/Net/Messages/MessageFlags.cs index a1a9a11..25e71ff 100644 --- a/src/Impostor.Api/Net/Messages/MessageFlags.cs +++ b/src/Empostor.Api/Net/Messages/MessageFlags.cs @@ -2,7 +2,7 @@ using System.Linq; using System.Reflection; -namespace Impostor.Api.Net.Messages +namespace Empostor.Api.Net.Messages { public static class MessageFlags { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc00PlayAnimation.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc00PlayAnimation.cs similarity index 82% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc00PlayAnimation.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc00PlayAnimation.cs index f7f9183..dbf85a1 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc00PlayAnimation.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc00PlayAnimation.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc00PlayAnimation { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc01CompleteTask.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc01CompleteTask.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc01CompleteTask.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc01CompleteTask.cs index dfe7ec0..1e8cafb 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc01CompleteTask.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc01CompleteTask.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc01CompleteTask { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc03SetInfected.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc03SetInfected.cs similarity index 90% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc03SetInfected.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc03SetInfected.cs index 27a11e9..9d91539 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc03SetInfected.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc03SetInfected.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc03SetInfected { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc04Exiled.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc04Exiled.cs similarity index 83% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc04Exiled.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc04Exiled.cs index 7dba967..9e6d689 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc04Exiled.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc04Exiled.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc04Exiled { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc05CheckName.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc05CheckName.cs similarity index 88% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc05CheckName.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc05CheckName.cs index 0147075..943ee8b 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc05CheckName.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc05CheckName.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc05CheckName { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc06SetName.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc06SetName.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc06SetName.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc06SetName.cs index 3aca0ef..e0a8bf4 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc06SetName.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc06SetName.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc06SetName { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc07CheckColor.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc07CheckColor.cs similarity index 80% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc07CheckColor.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc07CheckColor.cs index d33875a..5677e58 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc07CheckColor.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc07CheckColor.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth.Customization; +using Empostor.Api.Innersloth.Customization; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc07CheckColor { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc08SetColor.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc08SetColor.cs similarity index 83% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc08SetColor.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc08SetColor.cs index 6cab399..5c4bfb8 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc08SetColor.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc08SetColor.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth.Customization; +using Empostor.Api.Innersloth.Customization; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc08SetColor { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc11ReportDeadBody.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc11ReportDeadBody.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc11ReportDeadBody.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc11ReportDeadBody.cs index a8707a9..50c62ca 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc11ReportDeadBody.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc11ReportDeadBody.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc11ReportDeadBody { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc12MurderPlayer.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc12MurderPlayer.cs similarity index 80% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc12MurderPlayer.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc12MurderPlayer.cs index 202cea6..f05b8f4 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc12MurderPlayer.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc12MurderPlayer.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Games; -using Impostor.Api.Innersloth; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Innersloth; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc12MurderPlayer { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc13SendChat.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc13SendChat.cs similarity index 88% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc13SendChat.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc13SendChat.cs index dcce229..811e41c 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc13SendChat.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc13SendChat.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc13SendChat { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc14StartMeeting.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc14StartMeeting.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc14StartMeeting.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc14StartMeeting.cs index 8001e43..8194a84 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc14StartMeeting.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc14StartMeeting.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc14StartMeeting { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc15SetScanner.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc15SetScanner.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc15SetScanner.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc15SetScanner.cs index f46adea..5bf22cf 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc15SetScanner.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc15SetScanner.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc15SetScanner { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc16SendChatNote.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc16SendChatNote.cs similarity index 87% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc16SendChatNote.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc16SendChatNote.cs index 4def9d1..389cacd 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc16SendChatNote.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc16SendChatNote.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc16SendChatNote { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc18SetStartCounter.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc18SetStartCounter.cs similarity index 92% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc18SetStartCounter.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc18SetStartCounter.cs index cb3c2d1..4d116dd 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc18SetStartCounter.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc18SetStartCounter.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc18SetStartCounter { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc19EnterVent.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc19EnterVent.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc19EnterVent.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc19EnterVent.cs index eca9f13..9e5e7ca 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc19EnterVent.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc19EnterVent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc19EnterVent { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc20ExitVent.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc20ExitVent.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc20ExitVent.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc20ExitVent.cs index ddfaf44..41a9671 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc20ExitVent.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc20ExitVent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc20ExitVent { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc21SnapTo.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc21SnapTo.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc21SnapTo.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc21SnapTo.cs index 576a911..f511d8e 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc21SnapTo.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc21SnapTo.cs @@ -1,6 +1,6 @@ using System.Numerics; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc21SnapTo { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc22Close.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc22Close.cs similarity index 83% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc22Close.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc22Close.cs index 00caaf3..c7c1057 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc22Close.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc22Close.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc22Close { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc23VotingComplete.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc23VotingComplete.cs similarity index 94% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc23VotingComplete.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc23VotingComplete.cs index 6a05e41..5787a4a 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc23VotingComplete.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc23VotingComplete.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc23VotingComplete { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc24CastVote.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc24CastVote.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc24CastVote.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc24CastVote.cs index e75ba95..70f98e7 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc24CastVote.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc24CastVote.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc24CastVote { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc25ClearVote.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc25ClearVote.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc25ClearVote.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc25ClearVote.cs index 5a89331..993ba8d 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc25ClearVote.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc25ClearVote.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc25ClearVote { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc26AddVote.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc26AddVote.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc26AddVote.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc26AddVote.cs index f665acc..f11d0fc 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc26AddVote.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc26AddVote.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc26AddVote { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc27CloseDoorsOfType.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc27CloseDoorsOfType.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc27CloseDoorsOfType.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc27CloseDoorsOfType.cs index 4e3c822..93bc7ed 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc27CloseDoorsOfType.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc27CloseDoorsOfType.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc27CloseDoorsOfType { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc29SetTasks.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc29SetTasks.cs similarity index 90% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc29SetTasks.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc29SetTasks.cs index eb2bab4..6e483a4 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc29SetTasks.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc29SetTasks.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc29SetTasks { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc30UpdateGameData.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc30UpdateGameData.cs similarity index 82% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc30UpdateGameData.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc30UpdateGameData.cs index 4403cf6..a61ed4f 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc30UpdateGameData.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc30UpdateGameData.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc30UpdateGameData { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc31ClimbLadder.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc31ClimbLadder.cs similarity index 92% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc31ClimbLadder.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc31ClimbLadder.cs index a315221..e27dd2b 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc31ClimbLadder.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc31ClimbLadder.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc31ClimbLadder { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc32UsePlatform.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc32UsePlatform.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc32UsePlatform.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc32UsePlatform.cs index 9344be2..e3b6ba6 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc32UsePlatform.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc32UsePlatform.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc32UsePlatform { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc34BootFromVent.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc34BootFromVent.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc34BootFromVent.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc34BootFromVent.cs index 9ae2cb4..6d46415 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc34BootFromVent.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc34BootFromVent.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc34BootFromVent { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc35UpdateSystem.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc35UpdateSystem.cs similarity index 86% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc35UpdateSystem.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc35UpdateSystem.cs index 5a4ef62..8b0cff4 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc35UpdateSystem.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc35UpdateSystem.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Games; -using Impostor.Api.Innersloth; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Innersloth; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc35UpdateSystem { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc38SetLevel.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc38SetLevel.cs similarity index 88% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc38SetLevel.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc38SetLevel.cs index 0ceca3b..948b324 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc38SetLevel.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc38SetLevel.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc38SetLevel { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc39SetHatStr.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc39SetHatStr.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc39SetHatStr.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc39SetHatStr.cs index 35f1ffd..01f40e1 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc39SetHatStr.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc39SetHatStr.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc39SetHatStr { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc40SetSkinStr.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc40SetSkinStr.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc40SetSkinStr.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc40SetSkinStr.cs index f09c580..663342c 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc40SetSkinStr.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc40SetSkinStr.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc40SetSkinStr { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc41SetPetStr.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc41SetPetStr.cs similarity index 91% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc41SetPetStr.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc41SetPetStr.cs index d511b8d..3b2f139 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc41SetPetStr.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc41SetPetStr.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc41SetPetStr { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc42SetVisorStr.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc42SetVisorStr.cs similarity index 92% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc42SetVisorStr.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc42SetVisorStr.cs index cd74db0..824f50b 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc42SetVisorStr.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc42SetVisorStr.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc42SetVisorStr { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs similarity index 92% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs index eaf8092..5894f3d 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc43SetNamePlateStr.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc43SetNamePlateStr { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc44SetRole.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc44SetRole.cs similarity index 87% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc44SetRole.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc44SetRole.cs index ac57d0d..6056bef 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc44SetRole.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc44SetRole.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc44SetRole { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc45ProtectPlayer.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc45ProtectPlayer.cs similarity index 78% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc45ProtectPlayer.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc45ProtectPlayer.cs index 7116aa5..0b54a5f 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc45ProtectPlayer.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc45ProtectPlayer.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Games; -using Impostor.Api.Innersloth.Customization; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Innersloth.Customization; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc45ProtectPlayer { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc46Shapeshift.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc46Shapeshift.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc46Shapeshift.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc46Shapeshift.cs index 5fb307d..918483e 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc46Shapeshift.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc46Shapeshift.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Games; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc46Shapeshift { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc47CheckMurder.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc47CheckMurder.cs similarity index 80% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc47CheckMurder.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc47CheckMurder.cs index 51df123..a4e4a48 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc47CheckMurder.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc47CheckMurder.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Games; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc47CheckMurder { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc48CheckProtect.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc48CheckProtect.cs similarity index 80% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc48CheckProtect.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc48CheckProtect.cs index 00f5a94..df55e91 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc48CheckProtect.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc48CheckProtect.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Games; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc48CheckProtect { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc49Pet.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc49Pet.cs similarity index 92% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc49Pet.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc49Pet.cs index 657af50..20372c4 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc49Pet.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc49Pet.cs @@ -1,6 +1,6 @@ using System.Numerics; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc49Pet { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc50CancelPet.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc50CancelPet.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc50CancelPet.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc50CancelPet.cs index bc30d8b..7454bdd 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc50CancelPet.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc50CancelPet.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc50CancelPet { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc51CheckZipline.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc51CheckZipline.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc51CheckZipline.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc51CheckZipline.cs index b94a2fe..d5e4770 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc51CheckZipline.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc51CheckZipline.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc51CheckZipline { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc52UseZipline.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc52UseZipline.cs similarity index 88% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc52UseZipline.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc52UseZipline.cs index 3a973f8..3ad4f0c 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc52UseZipline.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc52UseZipline.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc52UseZipline { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc53TriggerSpores.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc53TriggerSpores.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc53TriggerSpores.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc53TriggerSpores.cs index 1b24b3e..d5d66dc 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc53TriggerSpores.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc53TriggerSpores.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc53TriggerSpores { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc54CheckSpore.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc54CheckSpore.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc54CheckSpore.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc54CheckSpore.cs index 1ddbf8f..cc80d01 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc54CheckSpore.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc54CheckSpore.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc54CheckSpore { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc55CheckShapeshift.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc55CheckShapeshift.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc55CheckShapeshift.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc55CheckShapeshift.cs index ef150c9..8f9275d 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc55CheckShapeshift.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc55CheckShapeshift.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Games; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc55CheckShapeshift { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc56RejectShapeshift.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc56RejectShapeshift.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc56RejectShapeshift.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc56RejectShapeshift.cs index 0479a68..a134bf0 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc56RejectShapeshift.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc56RejectShapeshift.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc56RejectShapeshift { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc62CheckVanish.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc62CheckVanish.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc62CheckVanish.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc62CheckVanish.cs index eb7af15..37c0beb 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc62CheckVanish.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc62CheckVanish.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc62CheckVanish { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc63StartVanish.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc63StartVanish.cs similarity index 84% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc63StartVanish.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc63StartVanish.cs index 9a0ecc1..ad54f9a 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc63StartVanish.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc63StartVanish.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc63StartVanish { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc64CheckAppear.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc64CheckAppear.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc64CheckAppear.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc64CheckAppear.cs index cfa8a6b..0d56e0b 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc64CheckAppear.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc64CheckAppear.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc64CheckAppear { diff --git a/src/Impostor.Api/Net/Messages/Rpcs/Rpc65StartAppear.cs b/src/Empostor.Api/Net/Messages/Rpcs/Rpc65StartAppear.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/Rpcs/Rpc65StartAppear.cs rename to src/Empostor.Api/Net/Messages/Rpcs/Rpc65StartAppear.cs index 7f35449..93caa06 100644 --- a/src/Impostor.Api/Net/Messages/Rpcs/Rpc65StartAppear.cs +++ b/src/Empostor.Api/Net/Messages/Rpcs/Rpc65StartAppear.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Net.Messages.Rpcs +namespace Empostor.Api.Net.Messages.Rpcs { public static class Rpc65StartAppear { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message00HostGameS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message00HostGameS2C.cs similarity index 86% rename from src/Impostor.Api/Net/Messages/S2C/Message00HostGameS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message00HostGameS2C.cs index f370bb6..e6435a0 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message00HostGameS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message00HostGameS2C.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public static class Message00HostGameS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message01JoinGameS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message01JoinGameS2C.cs similarity index 96% rename from src/Impostor.Api/Net/Messages/S2C/Message01JoinGameS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message01JoinGameS2C.cs index 3c89cfb..92d398c 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message01JoinGameS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message01JoinGameS2C.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class Message01JoinGameS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message04RemovePlayerS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message04RemovePlayerS2C.cs similarity index 92% rename from src/Impostor.Api/Net/Messages/S2C/Message04RemovePlayerS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message04RemovePlayerS2C.cs index bcdca04..d04920a 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message04RemovePlayerS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message04RemovePlayerS2C.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class Message04RemovePlayerS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message07JoinedGameS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message07JoinedGameS2C.cs similarity index 96% rename from src/Impostor.Api/Net/Messages/S2C/Message07JoinedGameS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message07JoinedGameS2C.cs index 9ddeb03..66d1f54 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message07JoinedGameS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message07JoinedGameS2C.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public static class Message07JoinedGameS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message10AlterGameS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message10AlterGameS2C.cs similarity index 90% rename from src/Impostor.Api/Net/Messages/S2C/Message10AlterGameS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message10AlterGameS2C.cs index 40c949d..4f1ded0 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message10AlterGameS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message10AlterGameS2C.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public static class Message10AlterGameS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message11KickPlayerS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message11KickPlayerS2C.cs similarity index 94% rename from src/Impostor.Api/Net/Messages/S2C/Message11KickPlayerS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message11KickPlayerS2C.cs index 7ffdb7b..1e1eb41 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message11KickPlayerS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message11KickPlayerS2C.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class Message11KickPlayerS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message12WaitForHostS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message12WaitForHostS2C.cs similarity index 93% rename from src/Impostor.Api/Net/Messages/S2C/Message12WaitForHostS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message12WaitForHostS2C.cs index 8cf9046..2920ac2 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message12WaitForHostS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message12WaitForHostS2C.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class Message12WaitForHostS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message13RedirectS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message13RedirectS2C.cs similarity index 94% rename from src/Impostor.Api/Net/Messages/S2C/Message13RedirectS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message13RedirectS2C.cs index 0576c71..387f8c5 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message13RedirectS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message13RedirectS2C.cs @@ -1,7 +1,7 @@ using System; using System.Net; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class Message13RedirectS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message16GetGameListS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message16GetGameListS2C.cs similarity index 95% rename from src/Impostor.Api/Net/Messages/S2C/Message16GetGameListS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message16GetGameListS2C.cs index 656959c..27599b2 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message16GetGameListS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message16GetGameListS2C.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class Message16GetGameListS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message22QueryPlatformIdsS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message22QueryPlatformIdsS2C.cs similarity index 87% rename from src/Impostor.Api/Net/Messages/S2C/Message22QueryPlatformIdsS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message22QueryPlatformIdsS2C.cs index 6fc57de..4404fb6 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message22QueryPlatformIdsS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message22QueryPlatformIdsS2C.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; -using Impostor.Api.Games; -using Impostor.Api.Innersloth; +using Empostor.Api.Games; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class Message22QueryPlatformIdsS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/Message24EndGameHostMigrationS2C.cs b/src/Empostor.Api/Net/Messages/S2C/Message24EndGameHostMigrationS2C.cs similarity index 89% rename from src/Impostor.Api/Net/Messages/S2C/Message24EndGameHostMigrationS2C.cs rename to src/Empostor.Api/Net/Messages/S2C/Message24EndGameHostMigrationS2C.cs index 18f1d24..a95a18a 100644 --- a/src/Impostor.Api/Net/Messages/S2C/Message24EndGameHostMigrationS2C.cs +++ b/src/Empostor.Api/Net/Messages/S2C/Message24EndGameHostMigrationS2C.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class Message24EndGameHostMigrationS2C { diff --git a/src/Impostor.Api/Net/Messages/S2C/MessageDisconnect.cs b/src/Empostor.Api/Net/Messages/S2C/MessageDisconnect.cs similarity index 95% rename from src/Impostor.Api/Net/Messages/S2C/MessageDisconnect.cs rename to src/Empostor.Api/Net/Messages/S2C/MessageDisconnect.cs index 3e334bc..dd1be41 100644 --- a/src/Impostor.Api/Net/Messages/S2C/MessageDisconnect.cs +++ b/src/Empostor.Api/Net/Messages/S2C/MessageDisconnect.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Innersloth; +using Empostor.Api.Innersloth; -namespace Impostor.Api.Net.Messages.S2C +namespace Empostor.Api.Net.Messages.S2C { public class MessageDisconnect { diff --git a/src/Impostor.Api/Plugins/DependencyType.cs b/src/Empostor.Api/Plugins/DependencyType.cs similarity index 77% rename from src/Impostor.Api/Plugins/DependencyType.cs rename to src/Empostor.Api/Plugins/DependencyType.cs index 255e51e..36c82f2 100644 --- a/src/Impostor.Api/Plugins/DependencyType.cs +++ b/src/Empostor.Api/Plugins/DependencyType.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Plugins +namespace Empostor.Api.Plugins { public enum DependencyType { diff --git a/src/Impostor.Api/Plugins/IPlugin.cs b/src/Empostor.Api/Plugins/IPlugin.cs similarity index 77% rename from src/Impostor.Api/Plugins/IPlugin.cs rename to src/Empostor.Api/Plugins/IPlugin.cs index 9f1efcf..4e6b0ba 100644 --- a/src/Impostor.Api/Plugins/IPlugin.cs +++ b/src/Empostor.Api/Plugins/IPlugin.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; -using Impostor.Api.Events; +using Empostor.Api.Events; -namespace Impostor.Api.Plugins +namespace Empostor.Api.Plugins { public interface IPlugin : IEventListener { diff --git a/src/Impostor.Api/Plugins/IPluginHttpStartup.cs b/src/Empostor.Api/Plugins/IPluginHttpStartup.cs similarity index 83% rename from src/Impostor.Api/Plugins/IPluginHttpStartup.cs rename to src/Empostor.Api/Plugins/IPluginHttpStartup.cs index bdb7dd6..268d390 100644 --- a/src/Impostor.Api/Plugins/IPluginHttpStartup.cs +++ b/src/Empostor.Api/Plugins/IPluginHttpStartup.cs @@ -1,6 +1,6 @@ using Microsoft.AspNetCore.Builder; -namespace Impostor.Api.Plugins; +namespace Empostor.Api.Plugins; public interface IPluginHttpStartup : IPluginStartup { diff --git a/src/Impostor.Api/Plugins/IPluginStartup.cs b/src/Empostor.Api/Plugins/IPluginStartup.cs similarity index 90% rename from src/Impostor.Api/Plugins/IPluginStartup.cs rename to src/Empostor.Api/Plugins/IPluginStartup.cs index 45f967e..bd38045 100644 --- a/src/Impostor.Api/Plugins/IPluginStartup.cs +++ b/src/Empostor.Api/Plugins/IPluginStartup.cs @@ -1,7 +1,7 @@ using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Impostor.Api.Plugins +namespace Empostor.Api.Plugins { public interface IPluginStartup { diff --git a/src/Impostor.Api/Plugins/ImpostorDependencyAttribute.cs b/src/Empostor.Api/Plugins/ImpostorDependencyAttribute.cs similarity index 64% rename from src/Impostor.Api/Plugins/ImpostorDependencyAttribute.cs rename to src/Empostor.Api/Plugins/ImpostorDependencyAttribute.cs index ae55299..a176a2c 100644 --- a/src/Impostor.Api/Plugins/ImpostorDependencyAttribute.cs +++ b/src/Empostor.Api/Plugins/ImpostorDependencyAttribute.cs @@ -1,11 +1,11 @@ using System; -namespace Impostor.Api.Plugins +namespace Empostor.Api.Plugins { [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] - public class ImpostorDependencyAttribute : Attribute + public class EmpostorDependencyAttribute : Attribute { - public ImpostorDependencyAttribute(string id, DependencyType type) + public EmpostorDependencyAttribute(string id, DependencyType type) { Id = id; DependencyType = type; diff --git a/src/Impostor.Api/Plugins/ImpostorPluginAttribute.cs b/src/Empostor.Api/Plugins/ImpostorPluginAttribute.cs similarity index 71% rename from src/Impostor.Api/Plugins/ImpostorPluginAttribute.cs rename to src/Empostor.Api/Plugins/ImpostorPluginAttribute.cs index 9b207f1..b0226ea 100644 --- a/src/Impostor.Api/Plugins/ImpostorPluginAttribute.cs +++ b/src/Empostor.Api/Plugins/ImpostorPluginAttribute.cs @@ -1,17 +1,17 @@ using System; -namespace Impostor.Api.Plugins +namespace Empostor.Api.Plugins { [AttributeUsage(AttributeTargets.Class)] - public class ImpostorPluginAttribute : Attribute + public class EmpostorPluginAttribute : Attribute { - public ImpostorPluginAttribute(string id) + public EmpostorPluginAttribute(string id) { Id = id; } [Obsolete("Use (string id) constructor to avoid redundancy")] - public ImpostorPluginAttribute(string id, string name, string author, string version) + public EmpostorPluginAttribute(string id, string name, string author, string version) { Id = id; Name = name; diff --git a/src/Impostor.Api/Plugins/PluginBase.cs b/src/Empostor.Api/Plugins/PluginBase.cs similarity index 97% rename from src/Impostor.Api/Plugins/PluginBase.cs rename to src/Empostor.Api/Plugins/PluginBase.cs index 0a501b8..3edebb6 100644 --- a/src/Impostor.Api/Plugins/PluginBase.cs +++ b/src/Empostor.Api/Plugins/PluginBase.cs @@ -1,7 +1,7 @@ using System.IO; using System.Threading.Tasks; -namespace Impostor.Api.Plugins +namespace Empostor.Api.Plugins { public abstract class PluginBase : IPlugin { diff --git a/src/Impostor.Api/Plugins/PluginConfigLoader.cs b/src/Empostor.Api/Plugins/PluginConfigLoader.cs similarity index 96% rename from src/Impostor.Api/Plugins/PluginConfigLoader.cs rename to src/Empostor.Api/Plugins/PluginConfigLoader.cs index a6cfa32..d0d6dff 100644 --- a/src/Impostor.Api/Plugins/PluginConfigLoader.cs +++ b/src/Empostor.Api/Plugins/PluginConfigLoader.cs @@ -1,7 +1,7 @@ using System.IO; using System.Text.Json; -namespace Impostor.Api.Plugins +namespace Empostor.Api.Plugins { public static class PluginConfigLoader { diff --git a/src/Empostor.Api/Properties/AssemblyInfo.cs b/src/Empostor.Api/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e63329d --- /dev/null +++ b/src/Empostor.Api/Properties/AssemblyInfo.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("Empostor.Server")] diff --git a/src/Impostor.Api/Service/Admin/Verify/IVerifyStore.cs b/src/Empostor.Api/Service/Admin/Verify/IVerifyStore.cs similarity index 83% rename from src/Impostor.Api/Service/Admin/Verify/IVerifyStore.cs rename to src/Empostor.Api/Service/Admin/Verify/IVerifyStore.cs index 8cb584c..ab4604d 100644 --- a/src/Impostor.Api/Service/Admin/Verify/IVerifyStore.cs +++ b/src/Empostor.Api/Service/Admin/Verify/IVerifyStore.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Service.Admin.Verify +namespace Empostor.Api.Service.Admin.Verify { public interface IVerifyStore { diff --git a/src/Impostor.Api/Unity/Mathf.cs b/src/Empostor.Api/Unity/Mathf.cs similarity index 98% rename from src/Impostor.Api/Unity/Mathf.cs rename to src/Empostor.Api/Unity/Mathf.cs index 5ab93c7..1e764c5 100644 --- a/src/Impostor.Api/Unity/Mathf.cs +++ b/src/Empostor.Api/Unity/Mathf.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Unity +namespace Empostor.Api.Unity { public static class Mathf { diff --git a/src/Impostor.Api/Unity/RuntimePlatform.cs b/src/Empostor.Api/Unity/RuntimePlatform.cs similarity index 96% rename from src/Impostor.Api/Unity/RuntimePlatform.cs rename to src/Empostor.Api/Unity/RuntimePlatform.cs index 6951ca2..01221ee 100644 --- a/src/Impostor.Api/Unity/RuntimePlatform.cs +++ b/src/Empostor.Api/Unity/RuntimePlatform.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Unity +namespace Empostor.Api.Unity { public enum RuntimePlatform { diff --git a/src/Impostor.Api/Utils/IDateTimeProvider.cs b/src/Empostor.Api/Utils/IDateTimeProvider.cs similarity index 78% rename from src/Impostor.Api/Utils/IDateTimeProvider.cs rename to src/Empostor.Api/Utils/IDateTimeProvider.cs index 8212b99..e96e061 100644 --- a/src/Impostor.Api/Utils/IDateTimeProvider.cs +++ b/src/Empostor.Api/Utils/IDateTimeProvider.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Api.Utils +namespace Empostor.Api.Utils { public interface IDateTimeProvider { diff --git a/src/Impostor.Api/Utils/IServerEnvironment.cs b/src/Empostor.Api/Utils/IServerEnvironment.cs similarity index 75% rename from src/Impostor.Api/Utils/IServerEnvironment.cs rename to src/Empostor.Api/Utils/IServerEnvironment.cs index 006aaeb..25deb33 100644 --- a/src/Impostor.Api/Utils/IServerEnvironment.cs +++ b/src/Empostor.Api/Utils/IServerEnvironment.cs @@ -1,4 +1,4 @@ -namespace Impostor.Api.Utils +namespace Empostor.Api.Utils { public interface IServerEnvironment { diff --git a/src/Impostor.Api/Utils/IpUtils.cs b/src/Empostor.Api/Utils/IpUtils.cs similarity index 83% rename from src/Impostor.Api/Utils/IpUtils.cs rename to src/Empostor.Api/Utils/IpUtils.cs index c50eccf..11d77c6 100644 --- a/src/Impostor.Api/Utils/IpUtils.cs +++ b/src/Empostor.Api/Utils/IpUtils.cs @@ -2,7 +2,7 @@ using System.Net; using System.Net.Sockets; -namespace Impostor.Api.Utils +namespace Empostor.Api.Utils { internal static class IpUtils { @@ -17,7 +17,7 @@ namespace Impostor.Api.Utils var hostAddresses = Dns.GetHostAddresses(ip); if (hostAddresses.Length == 0) { - throw new ImpostorConfigException($"Invalid IP Address entered '{ip}'."); + throw new EmpostorConfigException($"Invalid IP Address entered '{ip}'."); } // Use first IPv4 result. @@ -25,14 +25,14 @@ namespace Impostor.Api.Utils } catch (SocketException) { - throw new ImpostorConfigException($"Failed to resolve hostname '{ip}'."); + throw new EmpostorConfigException($"Failed to resolve hostname '{ip}'."); } } // Only IPv4. if (ipAddress.AddressFamily == AddressFamily.InterNetworkV6) { - throw new ImpostorConfigException($"Invalid IP Address entered '{ipAddress}', only IPv4 is supported by Among Us."); + throw new EmpostorConfigException($"Invalid IP Address entered '{ipAddress}', only IPv4 is supported by Among Us."); } return ipAddress.ToString(); diff --git a/src/Impostor.Api/packages.lock.json b/src/Empostor.Api/packages.lock.json similarity index 100% rename from src/Impostor.Api/packages.lock.json rename to src/Empostor.Api/packages.lock.json diff --git a/src/Impostor.Plugins.Example/Impostor.Plugins.Example.csproj b/src/Empostor.Plugins.Example/Empostor.Plugins.Example.csproj similarity index 81% rename from src/Impostor.Plugins.Example/Impostor.Plugins.Example.csproj rename to src/Empostor.Plugins.Example/Empostor.Plugins.Example.csproj index 02c6899..18de541 100644 --- a/src/Impostor.Plugins.Example/Impostor.Plugins.Example.csproj +++ b/src/Empostor.Plugins.Example/Empostor.Plugins.Example.csproj @@ -9,7 +9,7 @@ - + diff --git a/src/Impostor.Plugins.Example/ExamplePlugin.cs b/src/Empostor.Plugins.Example/ExamplePlugin.cs similarity index 84% rename from src/Impostor.Plugins.Example/ExamplePlugin.cs rename to src/Empostor.Plugins.Example/ExamplePlugin.cs index c0f377f..489d933 100644 --- a/src/Impostor.Plugins.Example/ExamplePlugin.cs +++ b/src/Empostor.Plugins.Example/ExamplePlugin.cs @@ -1,13 +1,13 @@ using System.Threading.Tasks; -using Impostor.Api.Games.Managers; -using Impostor.Api.Innersloth; -using Impostor.Api.Innersloth.GameOptions; -using Impostor.Api.Plugins; +using Empostor.Api.Games.Managers; +using Empostor.Api.Innersloth; +using Empostor.Api.Innersloth.GameOptions; +using Empostor.Api.Plugins; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Example +namespace Empostor.Plugins.Example { - [ImpostorPlugin("gg.impostor.example")] + [EmpostorPlugin("gg.empostor.example")] public class ExamplePlugin : PluginBase { private readonly ILogger _logger; diff --git a/src/Impostor.Plugins.Example/ExamplePluginStartup.cs b/src/Empostor.Plugins.Example/ExamplePluginStartup.cs similarity index 82% rename from src/Impostor.Plugins.Example/ExamplePluginStartup.cs rename to src/Empostor.Plugins.Example/ExamplePluginStartup.cs index 45cc414..b723263 100644 --- a/src/Impostor.Plugins.Example/ExamplePluginStartup.cs +++ b/src/Empostor.Plugins.Example/ExamplePluginStartup.cs @@ -1,10 +1,10 @@ -using Impostor.Api.Events; -using Impostor.Api.Plugins; -using Impostor.Plugins.Example.Handlers; +using Empostor.Api.Events; +using Empostor.Api.Plugins; +using Empostor.Plugins.Example.Handlers; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Impostor.Plugins.Example +namespace Empostor.Plugins.Example { public class ExamplePluginStartup : IPluginStartup { diff --git a/src/Impostor.Plugins.Example/Handlers/ClientEventListener.cs b/src/Empostor.Plugins.Example/Handlers/ClientEventListener.cs similarity index 84% rename from src/Impostor.Plugins.Example/Handlers/ClientEventListener.cs rename to src/Empostor.Plugins.Example/Handlers/ClientEventListener.cs index 062e266..702dd7c 100644 --- a/src/Impostor.Plugins.Example/Handlers/ClientEventListener.cs +++ b/src/Empostor.Plugins.Example/Handlers/ClientEventListener.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events; -using Impostor.Api.Events.Client; +using Empostor.Api.Events; +using Empostor.Api.Events.Client; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Example.Handlers +namespace Empostor.Plugins.Example.Handlers { public class ClientEventListener : IEventListener { diff --git a/src/Impostor.Plugins.Example/Handlers/GameEventListener.cs b/src/Empostor.Plugins.Example/Handlers/GameEventListener.cs similarity index 97% rename from src/Impostor.Plugins.Example/Handlers/GameEventListener.cs rename to src/Empostor.Plugins.Example/Handlers/GameEventListener.cs index fec58cb..b3f6e1f 100644 --- a/src/Impostor.Plugins.Example/Handlers/GameEventListener.cs +++ b/src/Empostor.Plugins.Example/Handlers/GameEventListener.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events; +using Empostor.Api.Events; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Example.Handlers +namespace Empostor.Plugins.Example.Handlers { public class GameEventListener : IEventListener { diff --git a/src/Impostor.Plugins.Example/Handlers/MeetingEventListener.cs b/src/Empostor.Plugins.Example/Handlers/MeetingEventListener.cs similarity index 91% rename from src/Impostor.Plugins.Example/Handlers/MeetingEventListener.cs rename to src/Empostor.Plugins.Example/Handlers/MeetingEventListener.cs index 8fb9d50..cc7454f 100644 --- a/src/Impostor.Plugins.Example/Handlers/MeetingEventListener.cs +++ b/src/Empostor.Plugins.Example/Handlers/MeetingEventListener.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events; -using Impostor.Api.Events.Meeting; +using Empostor.Api.Events; +using Empostor.Api.Events.Meeting; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Example.Handlers +namespace Empostor.Plugins.Example.Handlers { public class MeetingEventListener : IEventListener { diff --git a/src/Impostor.Plugins.Example/Handlers/PlayerEventListener.cs b/src/Empostor.Plugins.Example/Handlers/PlayerEventListener.cs similarity index 96% rename from src/Impostor.Plugins.Example/Handlers/PlayerEventListener.cs rename to src/Empostor.Plugins.Example/Handlers/PlayerEventListener.cs index e85ab1f..ccec614 100644 --- a/src/Impostor.Plugins.Example/Handlers/PlayerEventListener.cs +++ b/src/Empostor.Plugins.Example/Handlers/PlayerEventListener.cs @@ -1,13 +1,13 @@ using System; using System.Numerics; using System.Threading.Tasks; -using Impostor.Api.Events; -using Impostor.Api.Events.Player; -using Impostor.Api.Innersloth.Customization; -using Impostor.Api.Innersloth.GameOptions; +using Empostor.Api.Events; +using Empostor.Api.Events.Player; +using Empostor.Api.Innersloth.Customization; +using Empostor.Api.Innersloth.GameOptions; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Example.Handlers +namespace Empostor.Plugins.Example.Handlers { public class PlayerEventListener : IEventListener { diff --git a/src/Impostor.Plugins.Example/packages.lock.json b/src/Empostor.Plugins.Example/packages.lock.json similarity index 99% rename from src/Impostor.Plugins.Example/packages.lock.json rename to src/Empostor.Plugins.Example/packages.lock.json index 8e2baba..ac11d80 100644 --- a/src/Impostor.Plugins.Example/packages.lock.json +++ b/src/Empostor.Plugins.Example/packages.lock.json @@ -109,7 +109,7 @@ "resolved": "4.5.0", "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" }, - "impostor.api": { + "empostor.api": { "type": "Project", "dependencies": { "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", diff --git a/src/Impostor.Plugins.FixedCode/Impostor.Plugins.FixedCode.csproj b/src/Empostor.Plugins.FixedCode/Empostor.Plugins.FixedCode.csproj similarity index 61% rename from src/Impostor.Plugins.FixedCode/Impostor.Plugins.FixedCode.csproj rename to src/Empostor.Plugins.FixedCode/Empostor.Plugins.FixedCode.csproj index 8e22886..5f9c0a8 100644 --- a/src/Impostor.Plugins.FixedCode/Impostor.Plugins.FixedCode.csproj +++ b/src/Empostor.Plugins.FixedCode/Empostor.Plugins.FixedCode.csproj @@ -1,10 +1,10 @@ net8.0 - Impostor.Plugins.FixedCode + Empostor.Plugins.FixedCode enable - + diff --git a/src/Impostor.Plugins.FixedCode/FixedCodeConfig.cs b/src/Empostor.Plugins.FixedCode/FixedCodeConfig.cs similarity index 93% rename from src/Impostor.Plugins.FixedCode/FixedCodeConfig.cs rename to src/Empostor.Plugins.FixedCode/FixedCodeConfig.cs index 9a37b8d..fbe545a 100644 --- a/src/Impostor.Plugins.FixedCode/FixedCodeConfig.cs +++ b/src/Empostor.Plugins.FixedCode/FixedCodeConfig.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -namespace Impostor.Plugins.FixedCode; +namespace Empostor.Plugins.FixedCode; public sealed class FixedCodeConfig { diff --git a/src/Impostor.Plugins.FixedCode/FixedCodeListener.cs b/src/Empostor.Plugins.FixedCode/FixedCodeListener.cs similarity index 96% rename from src/Impostor.Plugins.FixedCode/FixedCodeListener.cs rename to src/Empostor.Plugins.FixedCode/FixedCodeListener.cs index 37e2fef..c139667 100644 --- a/src/Impostor.Plugins.FixedCode/FixedCodeListener.cs +++ b/src/Empostor.Plugins.FixedCode/FixedCodeListener.cs @@ -1,11 +1,11 @@ using System; using System.Collections.Generic; using System.Linq; -using Impostor.Api.Events; -using Impostor.Api.Games; +using Empostor.Api.Events; +using Empostor.Api.Games; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.FixedCode; +namespace Empostor.Plugins.FixedCode; public sealed class FixedCodeListener : IEventListener { diff --git a/src/Impostor.Plugins.FixedCode/FixedCodePlugin.cs b/src/Empostor.Plugins.FixedCode/FixedCodePlugin.cs similarity index 83% rename from src/Impostor.Plugins.FixedCode/FixedCodePlugin.cs rename to src/Empostor.Plugins.FixedCode/FixedCodePlugin.cs index 6c57667..b230a9c 100644 --- a/src/Impostor.Plugins.FixedCode/FixedCodePlugin.cs +++ b/src/Empostor.Plugins.FixedCode/FixedCodePlugin.cs @@ -1,10 +1,10 @@ using System.Threading.Tasks; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.FixedCode; +namespace Empostor.Plugins.FixedCode; -[ImpostorPlugin("cn.Empostor.fixedcode", "Fixed Room Code", "Empostor", "1.0.0")] +[EmpostorPlugin("cn.Empostor.fixedcode", "Fixed Room Code", "Empostor", "1.0.0")] public sealed class FixedCodePlugin : PluginBase { private readonly ILogger _logger; diff --git a/src/Impostor.Plugins.FixedCode/FixedCodeStartup.cs b/src/Empostor.Plugins.FixedCode/FixedCodeStartup.cs similarity index 88% rename from src/Impostor.Plugins.FixedCode/FixedCodeStartup.cs rename to src/Empostor.Plugins.FixedCode/FixedCodeStartup.cs index 825e388..80489cc 100644 --- a/src/Impostor.Plugins.FixedCode/FixedCodeStartup.cs +++ b/src/Empostor.Plugins.FixedCode/FixedCodeStartup.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events; -using Impostor.Api.Plugins; +using Empostor.Api.Events; +using Empostor.Api.Plugins; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Impostor.Plugins.FixedCode; +namespace Empostor.Plugins.FixedCode; public sealed class FixedCodeStartup : IPluginStartup { diff --git a/src/Impostor.Plugins.FixedCode/packages.lock.json b/src/Empostor.Plugins.FixedCode/packages.lock.json similarity index 99% rename from src/Impostor.Plugins.FixedCode/packages.lock.json rename to src/Empostor.Plugins.FixedCode/packages.lock.json index 8e2baba..ac11d80 100644 --- a/src/Impostor.Plugins.FixedCode/packages.lock.json +++ b/src/Empostor.Plugins.FixedCode/packages.lock.json @@ -109,7 +109,7 @@ "resolved": "4.5.0", "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" }, - "impostor.api": { + "empostor.api": { "type": "Project", "dependencies": { "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", diff --git a/src/Impostor.Plugins.FriendCodeValidator/Impostor.Plugins.FriendCodeValidator.csproj b/src/Empostor.Plugins.FriendCodeValidator/Empostor.Plugins.FriendCodeValidator.csproj similarity index 61% rename from src/Impostor.Plugins.FriendCodeValidator/Impostor.Plugins.FriendCodeValidator.csproj rename to src/Empostor.Plugins.FriendCodeValidator/Empostor.Plugins.FriendCodeValidator.csproj index 68573b2..655a27f 100644 --- a/src/Impostor.Plugins.FriendCodeValidator/Impostor.Plugins.FriendCodeValidator.csproj +++ b/src/Empostor.Plugins.FriendCodeValidator/Empostor.Plugins.FriendCodeValidator.csproj @@ -1,10 +1,10 @@ net8.0 - Impostor.Plugins.FriendCodeValidator + Empostor.Plugins.FriendCodeValidator enable - + diff --git a/src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidationListener.cs b/src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidationListener.cs similarity index 99% rename from src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidationListener.cs rename to src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidationListener.cs index 128050a..5bf0109 100644 --- a/src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidationListener.cs +++ b/src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidationListener.cs @@ -2,13 +2,13 @@ using System; using System.Collections.Generic; using System.Text.RegularExpressions; using System.Threading.Tasks; -using Impostor.Api.Events; -using Impostor.Api.Events.Client; -using Impostor.Api.Innersloth; -using Impostor.Api.Languages; +using Empostor.Api.Events; +using Empostor.Api.Events.Client; +using Empostor.Api.Innersloth; +using Empostor.Api.Languages; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.FriendCodeValidator +namespace Empostor.Plugins.FriendCodeValidator { internal sealed class FriendCodeValidationListener : IEventListener { diff --git a/src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidatorPlugin.cs b/src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidatorPlugin.cs similarity index 82% rename from src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidatorPlugin.cs rename to src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidatorPlugin.cs index 8ffc8d5..ed0a212 100644 --- a/src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidatorPlugin.cs +++ b/src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidatorPlugin.cs @@ -1,11 +1,11 @@ using System.Threading.Tasks; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.FriendCodeValidator +namespace Empostor.Plugins.FriendCodeValidator { // MatchDuck offered the Friendcode safenames.txt lol - [ImpostorPlugin("duck.Empostor.friendcodevalidator", "Friend Code Validator", "MatchDuck & Empostor", "1.0.0")] + [EmpostorPlugin("duck.Empostor.friendcodevalidator", "Friend Code Validator", "MatchDuck & Empostor", "1.0.0")] public sealed class FriendCodeValidatorPlugin : PluginBase { private readonly ILogger _logger; diff --git a/src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidatorStartup.cs b/src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidatorStartup.cs similarity index 79% rename from src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidatorStartup.cs rename to src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidatorStartup.cs index 4d70ab3..31ddd3a 100644 --- a/src/Impostor.Plugins.FriendCodeValidator/FriendCodeValidatorStartup.cs +++ b/src/Empostor.Plugins.FriendCodeValidator/FriendCodeValidatorStartup.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events; -using Impostor.Api.Plugins; +using Empostor.Api.Events; +using Empostor.Api.Plugins; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Impostor.Plugins.FriendCodeValidator +namespace Empostor.Plugins.FriendCodeValidator { public sealed class FriendCodeValidatorStartup : IPluginStartup { diff --git a/src/Impostor.Plugins.FriendCodeValidator/packages.lock.json b/src/Empostor.Plugins.FriendCodeValidator/packages.lock.json similarity index 99% rename from src/Impostor.Plugins.FriendCodeValidator/packages.lock.json rename to src/Empostor.Plugins.FriendCodeValidator/packages.lock.json index 8e2baba..ac11d80 100644 --- a/src/Impostor.Plugins.FriendCodeValidator/packages.lock.json +++ b/src/Empostor.Plugins.FriendCodeValidator/packages.lock.json @@ -109,7 +109,7 @@ "resolved": "4.5.0", "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" }, - "impostor.api": { + "empostor.api": { "type": "Project", "dependencies": { "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", diff --git a/src/Impostor.Plugins.PlayerChannel/Impostor.Plugins.PlayerChannel.csproj b/src/Empostor.Plugins.PlayerChannel/Empostor.Plugins.PlayerChannel.csproj similarity index 60% rename from src/Impostor.Plugins.PlayerChannel/Impostor.Plugins.PlayerChannel.csproj rename to src/Empostor.Plugins.PlayerChannel/Empostor.Plugins.PlayerChannel.csproj index a35718e..a1e9ee7 100644 --- a/src/Impostor.Plugins.PlayerChannel/Impostor.Plugins.PlayerChannel.csproj +++ b/src/Empostor.Plugins.PlayerChannel/Empostor.Plugins.PlayerChannel.csproj @@ -1,10 +1,10 @@ net8.0 - Impostor.Plugins.PlayerChannel + Empostor.Plugins.PlayerChannel enable - + diff --git a/src/Impostor.Plugins.PlayerChannel/PlayerChannelCommand.cs b/src/Empostor.Plugins.PlayerChannel/PlayerChannelCommand.cs similarity index 96% rename from src/Impostor.Plugins.PlayerChannel/PlayerChannelCommand.cs rename to src/Empostor.Plugins.PlayerChannel/PlayerChannelCommand.cs index 26ea489..b57b60e 100644 --- a/src/Impostor.Plugins.PlayerChannel/PlayerChannelCommand.cs +++ b/src/Empostor.Plugins.PlayerChannel/PlayerChannelCommand.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Impostor.Api.Commands; +using Empostor.Api.Commands; -namespace Impostor.Plugins.PlayerChannel; +namespace Empostor.Plugins.PlayerChannel; public sealed class PlayerChannelCommand : ICommand { diff --git a/src/Impostor.Plugins.PlayerChannel/PlayerChannelConfig.cs b/src/Empostor.Plugins.PlayerChannel/PlayerChannelConfig.cs similarity index 93% rename from src/Impostor.Plugins.PlayerChannel/PlayerChannelConfig.cs rename to src/Empostor.Plugins.PlayerChannel/PlayerChannelConfig.cs index 7169ddd..0bdb184 100644 --- a/src/Impostor.Plugins.PlayerChannel/PlayerChannelConfig.cs +++ b/src/Empostor.Plugins.PlayerChannel/PlayerChannelConfig.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -namespace Impostor.Plugins.PlayerChannel; +namespace Empostor.Plugins.PlayerChannel; public sealed class PlayerChannelConfig { diff --git a/src/Impostor.Plugins.PlayerChannel/PlayerChannelPlugin.cs b/src/Empostor.Plugins.PlayerChannel/PlayerChannelPlugin.cs similarity index 79% rename from src/Impostor.Plugins.PlayerChannel/PlayerChannelPlugin.cs rename to src/Empostor.Plugins.PlayerChannel/PlayerChannelPlugin.cs index 1f1a4d7..d38d359 100644 --- a/src/Impostor.Plugins.PlayerChannel/PlayerChannelPlugin.cs +++ b/src/Empostor.Plugins.PlayerChannel/PlayerChannelPlugin.cs @@ -1,10 +1,10 @@ using System.Threading.Tasks; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.PlayerChannel; +namespace Empostor.Plugins.PlayerChannel; -[ImpostorPlugin("cn.hayashiume.playerchannel", "Player Channel", "HayashiUme", "1.0.0")] +[EmpostorPlugin("cn.hayashiume.playerchannel", "Player Channel", "HayashiUme", "1.0.0")] public sealed class PlayerChannelPlugin : PluginBase { private readonly ILogger _logger; diff --git a/src/Impostor.Plugins.PlayerChannel/PlayerChannelStartup.cs b/src/Empostor.Plugins.PlayerChannel/PlayerChannelStartup.cs similarity index 87% rename from src/Impostor.Plugins.PlayerChannel/PlayerChannelStartup.cs rename to src/Empostor.Plugins.PlayerChannel/PlayerChannelStartup.cs index 98b863c..1dae141 100644 --- a/src/Impostor.Plugins.PlayerChannel/PlayerChannelStartup.cs +++ b/src/Empostor.Plugins.PlayerChannel/PlayerChannelStartup.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Commands; -using Impostor.Api.Plugins; +using Empostor.Api.Commands; +using Empostor.Api.Plugins; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Impostor.Plugins.PlayerChannel; +namespace Empostor.Plugins.PlayerChannel; public sealed class PlayerChannelStartup : IPluginStartup { diff --git a/src/Impostor.Plugins.PlayerChannel/packages.lock.json b/src/Empostor.Plugins.PlayerChannel/packages.lock.json similarity index 99% rename from src/Impostor.Plugins.PlayerChannel/packages.lock.json rename to src/Empostor.Plugins.PlayerChannel/packages.lock.json index 8e2baba..ac11d80 100644 --- a/src/Impostor.Plugins.PlayerChannel/packages.lock.json +++ b/src/Empostor.Plugins.PlayerChannel/packages.lock.json @@ -109,7 +109,7 @@ "resolved": "4.5.0", "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" }, - "impostor.api": { + "empostor.api": { "type": "Project", "dependencies": { "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", diff --git a/src/Impostor.Plugins.QqVerify/Impostor.Plugins.QqVerify.csproj b/src/Empostor.Plugins.QqVerify/Empostor.Plugins.QqVerify.csproj similarity index 61% rename from src/Impostor.Plugins.QqVerify/Impostor.Plugins.QqVerify.csproj rename to src/Empostor.Plugins.QqVerify/Empostor.Plugins.QqVerify.csproj index 7728e78..4135b29 100644 --- a/src/Impostor.Plugins.QqVerify/Impostor.Plugins.QqVerify.csproj +++ b/src/Empostor.Plugins.QqVerify/Empostor.Plugins.QqVerify.csproj @@ -1,10 +1,10 @@ net8.0 - Impostor.Plugins.QqVerify + Empostor.Plugins.QqVerify enable - + diff --git a/src/Impostor.Plugins.QqVerify/QqVerifyCommand.cs b/src/Empostor.Plugins.QqVerify/QqVerifyCommand.cs similarity index 93% rename from src/Impostor.Plugins.QqVerify/QqVerifyCommand.cs rename to src/Empostor.Plugins.QqVerify/QqVerifyCommand.cs index 2613d6c..4b0809b 100644 --- a/src/Impostor.Plugins.QqVerify/QqVerifyCommand.cs +++ b/src/Empostor.Plugins.QqVerify/QqVerifyCommand.cs @@ -1,8 +1,8 @@ using System.Threading.Tasks; -using Impostor.Api.Commands; -using Impostor.Api.Service.Admin.Verify; +using Empostor.Api.Commands; +using Empostor.Api.Service.Admin.Verify; -namespace Impostor.Plugins.QqVerify; +namespace Empostor.Plugins.QqVerify; public sealed class QqVerifyCommand : ICommand { diff --git a/src/Impostor.Plugins.QqVerify/QqVerifyConfig.cs b/src/Empostor.Plugins.QqVerify/QqVerifyConfig.cs similarity index 82% rename from src/Impostor.Plugins.QqVerify/QqVerifyConfig.cs rename to src/Empostor.Plugins.QqVerify/QqVerifyConfig.cs index d8e716a..22fc580 100644 --- a/src/Impostor.Plugins.QqVerify/QqVerifyConfig.cs +++ b/src/Empostor.Plugins.QqVerify/QqVerifyConfig.cs @@ -1,6 +1,6 @@ using System.Text.Json.Serialization; -namespace Impostor.Plugins.QqVerify; +namespace Empostor.Plugins.QqVerify; public sealed class QqVerifyConfig { diff --git a/src/Impostor.Plugins.QqVerify/QqVerifyPlugin.cs b/src/Empostor.Plugins.QqVerify/QqVerifyPlugin.cs similarity index 79% rename from src/Impostor.Plugins.QqVerify/QqVerifyPlugin.cs rename to src/Empostor.Plugins.QqVerify/QqVerifyPlugin.cs index 8e16d34..c529a1f 100644 --- a/src/Impostor.Plugins.QqVerify/QqVerifyPlugin.cs +++ b/src/Empostor.Plugins.QqVerify/QqVerifyPlugin.cs @@ -1,10 +1,10 @@ using System.Threading.Tasks; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.QqVerify; +namespace Empostor.Plugins.QqVerify; -[ImpostorPlugin("cn.hayashiume.qqverify", "QQ Verify", "ELinmei", "1.0.0")] +[EmpostorPlugin("cn.hayashiume.qqverify", "QQ Verify", "ELinmei", "1.0.0")] public sealed class QqVerifyPlugin : PluginBase { private readonly ILogger _logger; diff --git a/src/Impostor.Plugins.QqVerify/QqVerifyStartup.cs b/src/Empostor.Plugins.QqVerify/QqVerifyStartup.cs similarity index 84% rename from src/Impostor.Plugins.QqVerify/QqVerifyStartup.cs rename to src/Empostor.Plugins.QqVerify/QqVerifyStartup.cs index 2fb82a6..db0cf9e 100644 --- a/src/Impostor.Plugins.QqVerify/QqVerifyStartup.cs +++ b/src/Empostor.Plugins.QqVerify/QqVerifyStartup.cs @@ -1,10 +1,10 @@ -using Impostor.Api.Commands; -using Impostor.Api.Plugins; -using Impostor.Api.Service.Admin.Verify; +using Empostor.Api.Commands; +using Empostor.Api.Plugins; +using Empostor.Api.Service.Admin.Verify; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Impostor.Plugins.QqVerify; +namespace Empostor.Plugins.QqVerify; public sealed class QqVerifyStartup : IPluginStartup { diff --git a/src/Impostor.Plugins.QqVerify/QqVerifyStore.cs b/src/Empostor.Plugins.QqVerify/QqVerifyStore.cs similarity index 95% rename from src/Impostor.Plugins.QqVerify/QqVerifyStore.cs rename to src/Empostor.Plugins.QqVerify/QqVerifyStore.cs index 132b8b4..f3e391c 100644 --- a/src/Impostor.Plugins.QqVerify/QqVerifyStore.cs +++ b/src/Empostor.Plugins.QqVerify/QqVerifyStore.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; -using Impostor.Api.Service.Admin.Verify; +using Empostor.Api.Service.Admin.Verify; -namespace Impostor.Plugins.QqVerify; +namespace Empostor.Plugins.QqVerify; public sealed class QqVerifyStore : IVerifyStore { diff --git a/src/Impostor.Plugins.QqVerify/packages.lock.json b/src/Empostor.Plugins.QqVerify/packages.lock.json similarity index 98% rename from src/Impostor.Plugins.QqVerify/packages.lock.json rename to src/Empostor.Plugins.QqVerify/packages.lock.json index decfb4a..01c3989 100644 --- a/src/Impostor.Plugins.QqVerify/packages.lock.json +++ b/src/Empostor.Plugins.QqVerify/packages.lock.json @@ -109,7 +109,7 @@ "resolved": "4.5.0", "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" }, - "impostor.api": { + "empostor.api": { "type": "Project", "dependencies": { "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", @@ -119,7 +119,7 @@ "NextFast.Hazel.Abstractions": "[1.0.2-dev, )" } }, - "impostor.api.innersloth.generator": { + "empostor.api.innersloth.generator": { "type": "Project" }, "NextFast.Hazel": { diff --git a/src/Impostor.Plugins.Titles/Impostor.Plugins.Titles.csproj b/src/Empostor.Plugins.Titles/Empostor.Plugins.Titles.csproj similarity index 61% rename from src/Impostor.Plugins.Titles/Impostor.Plugins.Titles.csproj rename to src/Empostor.Plugins.Titles/Empostor.Plugins.Titles.csproj index c28181c..68e8960 100644 --- a/src/Impostor.Plugins.Titles/Impostor.Plugins.Titles.csproj +++ b/src/Empostor.Plugins.Titles/Empostor.Plugins.Titles.csproj @@ -1,10 +1,10 @@ net8.0 - Impostor.Plugins.Titles + Empostor.Plugins.Titles enable - + diff --git a/src/Impostor.Plugins.Titles/Service/FriendCodeTitleListener.cs b/src/Empostor.Plugins.Titles/Service/FriendCodeTitleListener.cs similarity index 94% rename from src/Impostor.Plugins.Titles/Service/FriendCodeTitleListener.cs rename to src/Empostor.Plugins.Titles/Service/FriendCodeTitleListener.cs index f0efd7c..e9631d8 100644 --- a/src/Impostor.Plugins.Titles/Service/FriendCodeTitleListener.cs +++ b/src/Empostor.Plugins.Titles/Service/FriendCodeTitleListener.cs @@ -2,11 +2,11 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Impostor.Api.Events; -using Impostor.Api.Events.Game.Player; +using Empostor.Api.Events; +using Empostor.Api.Events.Game.Player; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Titles.Service; +namespace Empostor.Plugins.Titles.Service; public sealed class FriendCodeTitleListener : IEventListener { diff --git a/src/Impostor.Plugins.Titles/Service/TitleEventListener.cs b/src/Empostor.Plugins.Titles/Service/TitleEventListener.cs similarity index 93% rename from src/Impostor.Plugins.Titles/Service/TitleEventListener.cs rename to src/Empostor.Plugins.Titles/Service/TitleEventListener.cs index 8c1ee03..1682f39 100644 --- a/src/Impostor.Plugins.Titles/Service/TitleEventListener.cs +++ b/src/Empostor.Plugins.Titles/Service/TitleEventListener.cs @@ -1,10 +1,10 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Events; -using Impostor.Api.Events.Player; +using Empostor.Api.Events; +using Empostor.Api.Events.Player; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Titles.Service; +namespace Empostor.Plugins.Titles.Service; public sealed class TitleEventListener : IEventListener { diff --git a/src/Impostor.Plugins.Titles/TitleStore.cs b/src/Empostor.Plugins.Titles/TitleStore.cs similarity index 95% rename from src/Impostor.Plugins.Titles/TitleStore.cs rename to src/Empostor.Plugins.Titles/TitleStore.cs index 1290956..1d72b4a 100644 --- a/src/Impostor.Plugins.Titles/TitleStore.cs +++ b/src/Empostor.Plugins.Titles/TitleStore.cs @@ -1,6 +1,6 @@ using System.Collections.Concurrent; -namespace Impostor.Plugins.Titles; +namespace Empostor.Plugins.Titles; public sealed class TitleStore { diff --git a/src/Impostor.Plugins.Titles/TitlesConfig.cs b/src/Empostor.Plugins.Titles/TitlesConfig.cs similarity index 93% rename from src/Impostor.Plugins.Titles/TitlesConfig.cs rename to src/Empostor.Plugins.Titles/TitlesConfig.cs index 3c5077d..86b1338 100644 --- a/src/Impostor.Plugins.Titles/TitlesConfig.cs +++ b/src/Empostor.Plugins.Titles/TitlesConfig.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System.Text.Json.Serialization; -namespace Impostor.Plugins.Titles; +namespace Empostor.Plugins.Titles; public sealed class TitlesConfig { diff --git a/src/Impostor.Plugins.Titles/TitlesPlugin.cs b/src/Empostor.Plugins.Titles/TitlesPlugin.cs similarity index 78% rename from src/Impostor.Plugins.Titles/TitlesPlugin.cs rename to src/Empostor.Plugins.Titles/TitlesPlugin.cs index e4e9e30..8625c43 100644 --- a/src/Impostor.Plugins.Titles/TitlesPlugin.cs +++ b/src/Empostor.Plugins.Titles/TitlesPlugin.cs @@ -1,10 +1,10 @@ using System.Threading.Tasks; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Titles; +namespace Empostor.Plugins.Titles; -[ImpostorPlugin("cn.Empostor.titles", "Title System", "Empostor", "1.0.0")] +[EmpostorPlugin("cn.Empostor.titles", "Title System", "Empostor", "1.0.0")] public sealed class TitlesPlugin : PluginBase { private readonly ILogger _logger; diff --git a/src/Impostor.Plugins.Titles/TitlesPluginStartup.cs b/src/Empostor.Plugins.Titles/TitlesPluginStartup.cs similarity index 83% rename from src/Impostor.Plugins.Titles/TitlesPluginStartup.cs rename to src/Empostor.Plugins.Titles/TitlesPluginStartup.cs index 57785f6..2e72fb6 100644 --- a/src/Impostor.Plugins.Titles/TitlesPluginStartup.cs +++ b/src/Empostor.Plugins.Titles/TitlesPluginStartup.cs @@ -1,10 +1,10 @@ -using Impostor.Api.Events; -using Impostor.Api.Plugins; -using Impostor.Plugins.Titles.Service; +using Empostor.Api.Events; +using Empostor.Api.Plugins; +using Empostor.Plugins.Titles.Service; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Impostor.Plugins.Titles; +namespace Empostor.Plugins.Titles; public sealed class TitlesPluginStartup : IPluginStartup { diff --git a/src/Empostor.Plugins.Titles/packages.lock.json b/src/Empostor.Plugins.Titles/packages.lock.json new file mode 100644 index 0000000..ac11d80 --- /dev/null +++ b/src/Empostor.Plugins.Titles/packages.lock.json @@ -0,0 +1,137 @@ +{ + "version": 1, + "dependencies": { + "net8.0": { + "BouncyCastle.Cryptography": { + "type": "Transitive", + "resolved": "2.6.1", + "contentHash": "vZsG2YILhthgRqO+ZVgRff4ZFKKTl0v7kqaVBLCtRvpREhfBP33pcWrdA3PRYgWuFL1RxiUFvjMUHTdBZlJcoA==" + }, + "Microsoft.AspNetCore.Http.Abstractions": { + "type": "Transitive", + "resolved": "2.2.0", + "contentHash": "Nxs7Z1q3f1STfLYKJSVXCs1iBl+Ya6E8o4Oy1bCxJ/rNI44E/0f6tbsrVqAWfB7jlnJfyaAtIalBVxPKUPQb4Q==", + "dependencies": { + "Microsoft.AspNetCore.Http.Features": "2.2.0", + "System.Text.Encodings.Web": "4.5.0" + } + }, + "Microsoft.AspNetCore.Http.Features": { + "type": "Transitive", + "resolved": "2.2.0", + "contentHash": "ziFz5zH8f33En4dX81LW84I6XrYXKf9jg6aM39cM+LffN9KJahViKZ61dGMSO2gd3e+qe5yBRwsesvyqlZaSMg==", + "dependencies": { + "Microsoft.Extensions.Primitives": "2.2.0" + } + }, + "Microsoft.Extensions.Configuration.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==", + "dependencies": { + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions": { + "type": "Transitive", + "resolved": "9.0.6", + "contentHash": "0Zn6nR/6g+90MxskZyOOMPQvnPnrrGu6bytPwkV+azDcTtCSuQ1+GJUrg8Klmnrjk1i6zMpw2lXijl+tw7Q3kA==" + }, + "Microsoft.Extensions.Diagnostics.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "JHYCQG7HmugNYUhOl368g+NMxYE/N/AiclCYRNlgCY9eVyiBkOHMwK4x60RYMxv9EL3+rmj1mqHvdCiPpC+D4Q==", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Options": "8.0.0", + "System.Diagnostics.DiagnosticSource": "8.0.0" + } + }, + "Microsoft.Extensions.FileProviders.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "ZbaMlhJlpisjuWbvXr4LdAst/1XxH3vZ6A0BsgTphZ2L4PGuxRLz7Jr/S7mkAAnOn78Vu0fKhEgNF5JO3zfjqQ==", + "dependencies": { + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Hosting.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "AG7HWwVRdCHlaA++1oKDxLsXIBxmDpMPb3VoyOoAghEWnkUvEAdYQUwnV4jJbAaa/nMYNiEh5ByoLauZBEiovg==", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "8.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "8.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0", + "Microsoft.Extensions.Logging.Abstractions": "8.0.0" + } + }, + "Microsoft.Extensions.Logging.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0" + } + }, + "Microsoft.Extensions.ObjectPool": { + "type": "Transitive", + "resolved": "8.0.1", + "contentHash": "X21b8D6z58EG34OMLH955750mFaEaGs5xLGe9Vyi3059Cgb3sk+p2k/JlQXaieEBRrk+SVlFzDei3Q6PdVzJOA==" + }, + "Microsoft.Extensions.Options": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Primitives": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==" + }, + "Serilog": { + "type": "Transitive", + "resolved": "4.3.1-dev-02373", + "contentHash": "f0HNPaleOox5++8zqxAdi9afnUUkoznLOmd0ur/UnLbzl8bIaPyyBGOpbIJmC1kz2vHfkQ0fXh6KXMdlz7bcLQ==" + }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==" + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" + }, + "empostor.api": { + "type": "Project", + "dependencies": { + "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", + "Microsoft.Extensions.Hosting.Abstractions": "[8.0.0, )", + "Microsoft.Extensions.Logging.Abstractions": "[8.0.0, )", + "NextFast.Hazel": "[1.0.2-dev, )", + "NextFast.Hazel.Abstractions": "[1.0.2-dev, )" + } + }, + "NextFast.Hazel": { + "type": "Project", + "dependencies": { + "BouncyCastle.Cryptography": "[2.6.1, )", + "Microsoft.Extensions.DependencyInjection.Abstractions": "[9.0.6, )", + "Microsoft.Extensions.ObjectPool": "[8.0.1, )", + "NextFast.Hazel.Abstractions": "[1.0.2-dev, )", + "Serilog": "[4.3.1-dev-02373, )" + } + }, + "NextFast.Hazel.Abstractions": { + "type": "Project" + } + } + } +} \ No newline at end of file diff --git a/src/Impostor.Plugins.Welcome/Impostor.Plugins.Welcome.csproj b/src/Empostor.Plugins.Welcome/Empostor.Plugins.Welcome.csproj similarity index 61% rename from src/Impostor.Plugins.Welcome/Impostor.Plugins.Welcome.csproj rename to src/Empostor.Plugins.Welcome/Empostor.Plugins.Welcome.csproj index aaae808..bd21363 100644 --- a/src/Impostor.Plugins.Welcome/Impostor.Plugins.Welcome.csproj +++ b/src/Empostor.Plugins.Welcome/Empostor.Plugins.Welcome.csproj @@ -1,10 +1,10 @@ net8.0 - Impostor.Plugins.Welcome + Empostor.Plugins.Welcome enable - + diff --git a/src/Impostor.Plugins.Welcome/Service/WelcomeEventListener.cs b/src/Empostor.Plugins.Welcome/Service/WelcomeEventListener.cs similarity index 93% rename from src/Impostor.Plugins.Welcome/Service/WelcomeEventListener.cs rename to src/Empostor.Plugins.Welcome/Service/WelcomeEventListener.cs index 2cc772b..2ab0a93 100644 --- a/src/Impostor.Plugins.Welcome/Service/WelcomeEventListener.cs +++ b/src/Empostor.Plugins.Welcome/Service/WelcomeEventListener.cs @@ -1,12 +1,12 @@ using System; using System.IO; using System.Threading.Tasks; -using Impostor.Api.Events; -using Impostor.Api.Events.Game.Player; -using Impostor.Api.Innersloth; +using Empostor.Api.Events; +using Empostor.Api.Events.Game.Player; +using Empostor.Api.Innersloth; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Welcome.Service; +namespace Empostor.Plugins.Welcome.Service; public sealed class WelcomeEventListener : IEventListener { diff --git a/src/Impostor.Plugins.Welcome/Service/WelcomeMessageService.cs b/src/Empostor.Plugins.Welcome/Service/WelcomeMessageService.cs similarity index 98% rename from src/Impostor.Plugins.Welcome/Service/WelcomeMessageService.cs rename to src/Empostor.Plugins.Welcome/Service/WelcomeMessageService.cs index 1fb9f4e..3efb674 100644 --- a/src/Impostor.Plugins.Welcome/Service/WelcomeMessageService.cs +++ b/src/Empostor.Plugins.Welcome/Service/WelcomeMessageService.cs @@ -3,7 +3,7 @@ using System.Collections.Generic; using System.IO; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Welcome.Service; +namespace Empostor.Plugins.Welcome.Service; [Obsolete("WelcomeMessageService is deprecated. Use Text/{Language}HelloWord.txt file-based approach instead.")] public sealed class WelcomeMessageService diff --git a/src/Impostor.Plugins.Welcome/WelcomePlugin.cs b/src/Empostor.Plugins.Welcome/WelcomePlugin.cs similarity index 95% rename from src/Impostor.Plugins.Welcome/WelcomePlugin.cs rename to src/Empostor.Plugins.Welcome/WelcomePlugin.cs index 8f4ed75..b47b3a4 100644 --- a/src/Impostor.Plugins.Welcome/WelcomePlugin.cs +++ b/src/Empostor.Plugins.Welcome/WelcomePlugin.cs @@ -1,12 +1,12 @@ using System; using System.IO; using System.Threading.Tasks; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; using Microsoft.Extensions.Logging; -namespace Impostor.Plugins.Welcome; +namespace Empostor.Plugins.Welcome; -[ImpostorPlugin("cn.hayashiume.welcome", "Welcome Messages", "HayashiUme", "1.0.0")] +[EmpostorPlugin("cn.hayashiume.welcome", "Welcome Messages", "HayashiUme", "1.0.0")] public sealed class WelcomePlugin : PluginBase { private const string TextDir = "Message"; diff --git a/src/Impostor.Plugins.Welcome/WelcomePluginStartup.cs b/src/Empostor.Plugins.Welcome/WelcomePluginStartup.cs similarity index 72% rename from src/Impostor.Plugins.Welcome/WelcomePluginStartup.cs rename to src/Empostor.Plugins.Welcome/WelcomePluginStartup.cs index 8312164..8d356b0 100644 --- a/src/Impostor.Plugins.Welcome/WelcomePluginStartup.cs +++ b/src/Empostor.Plugins.Welcome/WelcomePluginStartup.cs @@ -1,10 +1,10 @@ -using Impostor.Api.Events; -using Impostor.Api.Plugins; -using Impostor.Plugins.Welcome.Service; +using Empostor.Api.Events; +using Empostor.Api.Plugins; +using Empostor.Plugins.Welcome.Service; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; -namespace Impostor.Plugins.Welcome; +namespace Empostor.Plugins.Welcome; public sealed class WelcomePluginStartup : IPluginStartup { diff --git a/src/Empostor.Plugins.Welcome/packages.lock.json b/src/Empostor.Plugins.Welcome/packages.lock.json new file mode 100644 index 0000000..ac11d80 --- /dev/null +++ b/src/Empostor.Plugins.Welcome/packages.lock.json @@ -0,0 +1,137 @@ +{ + "version": 1, + "dependencies": { + "net8.0": { + "BouncyCastle.Cryptography": { + "type": "Transitive", + "resolved": "2.6.1", + "contentHash": "vZsG2YILhthgRqO+ZVgRff4ZFKKTl0v7kqaVBLCtRvpREhfBP33pcWrdA3PRYgWuFL1RxiUFvjMUHTdBZlJcoA==" + }, + "Microsoft.AspNetCore.Http.Abstractions": { + "type": "Transitive", + "resolved": "2.2.0", + "contentHash": "Nxs7Z1q3f1STfLYKJSVXCs1iBl+Ya6E8o4Oy1bCxJ/rNI44E/0f6tbsrVqAWfB7jlnJfyaAtIalBVxPKUPQb4Q==", + "dependencies": { + "Microsoft.AspNetCore.Http.Features": "2.2.0", + "System.Text.Encodings.Web": "4.5.0" + } + }, + "Microsoft.AspNetCore.Http.Features": { + "type": "Transitive", + "resolved": "2.2.0", + "contentHash": "ziFz5zH8f33En4dX81LW84I6XrYXKf9jg6aM39cM+LffN9KJahViKZ61dGMSO2gd3e+qe5yBRwsesvyqlZaSMg==", + "dependencies": { + "Microsoft.Extensions.Primitives": "2.2.0" + } + }, + "Microsoft.Extensions.Configuration.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==", + "dependencies": { + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions": { + "type": "Transitive", + "resolved": "9.0.6", + "contentHash": "0Zn6nR/6g+90MxskZyOOMPQvnPnrrGu6bytPwkV+azDcTtCSuQ1+GJUrg8Klmnrjk1i6zMpw2lXijl+tw7Q3kA==" + }, + "Microsoft.Extensions.Diagnostics.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "JHYCQG7HmugNYUhOl368g+NMxYE/N/AiclCYRNlgCY9eVyiBkOHMwK4x60RYMxv9EL3+rmj1mqHvdCiPpC+D4Q==", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Options": "8.0.0", + "System.Diagnostics.DiagnosticSource": "8.0.0" + } + }, + "Microsoft.Extensions.FileProviders.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "ZbaMlhJlpisjuWbvXr4LdAst/1XxH3vZ6A0BsgTphZ2L4PGuxRLz7Jr/S7mkAAnOn78Vu0fKhEgNF5JO3zfjqQ==", + "dependencies": { + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Hosting.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "AG7HWwVRdCHlaA++1oKDxLsXIBxmDpMPb3VoyOoAghEWnkUvEAdYQUwnV4jJbAaa/nMYNiEh5ByoLauZBEiovg==", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "8.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "8.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0", + "Microsoft.Extensions.Logging.Abstractions": "8.0.0" + } + }, + "Microsoft.Extensions.Logging.Abstractions": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0" + } + }, + "Microsoft.Extensions.ObjectPool": { + "type": "Transitive", + "resolved": "8.0.1", + "contentHash": "X21b8D6z58EG34OMLH955750mFaEaGs5xLGe9Vyi3059Cgb3sk+p2k/JlQXaieEBRrk+SVlFzDei3Q6PdVzJOA==" + }, + "Microsoft.Extensions.Options": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", + "Microsoft.Extensions.Primitives": "8.0.0" + } + }, + "Microsoft.Extensions.Primitives": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==" + }, + "Serilog": { + "type": "Transitive", + "resolved": "4.3.1-dev-02373", + "contentHash": "f0HNPaleOox5++8zqxAdi9afnUUkoznLOmd0ur/UnLbzl8bIaPyyBGOpbIJmC1kz2vHfkQ0fXh6KXMdlz7bcLQ==" + }, + "System.Diagnostics.DiagnosticSource": { + "type": "Transitive", + "resolved": "8.0.0", + "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==" + }, + "System.Text.Encodings.Web": { + "type": "Transitive", + "resolved": "4.5.0", + "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" + }, + "empostor.api": { + "type": "Project", + "dependencies": { + "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", + "Microsoft.Extensions.Hosting.Abstractions": "[8.0.0, )", + "Microsoft.Extensions.Logging.Abstractions": "[8.0.0, )", + "NextFast.Hazel": "[1.0.2-dev, )", + "NextFast.Hazel.Abstractions": "[1.0.2-dev, )" + } + }, + "NextFast.Hazel": { + "type": "Project", + "dependencies": { + "BouncyCastle.Cryptography": "[2.6.1, )", + "Microsoft.Extensions.DependencyInjection.Abstractions": "[9.0.6, )", + "Microsoft.Extensions.ObjectPool": "[8.0.1, )", + "NextFast.Hazel.Abstractions": "[1.0.2-dev, )", + "Serilog": "[4.3.1-dev-02373, )" + } + }, + "NextFast.Hazel.Abstractions": { + "type": "Project" + } + } + } +} \ No newline at end of file diff --git a/src/Impostor.Server/Commands/CommandBootstrapper.cs b/src/Empostor.Server/Commands/CommandBootstrapper.cs similarity index 93% rename from src/Impostor.Server/Commands/CommandBootstrapper.cs rename to src/Empostor.Server/Commands/CommandBootstrapper.cs index a3af285..1f6cf15 100644 --- a/src/Impostor.Server/Commands/CommandBootstrapper.cs +++ b/src/Empostor.Server/Commands/CommandBootstrapper.cs @@ -1,12 +1,12 @@ using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Impostor.Api.Commands; -using Impostor.Server.Commands.Commands; +using Empostor.Api.Commands; +using Empostor.Server.Commands.Commands; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Commands; +namespace Empostor.Server.Commands; internal sealed class CommandBootstrapper : IHostedService { diff --git a/src/Impostor.Server/Commands/CommandService.cs b/src/Empostor.Server/Commands/CommandService.cs similarity index 95% rename from src/Impostor.Server/Commands/CommandService.cs rename to src/Empostor.Server/Commands/CommandService.cs index f6e600b..675d44c 100644 --- a/src/Impostor.Server/Commands/CommandService.cs +++ b/src/Empostor.Server/Commands/CommandService.cs @@ -1,13 +1,13 @@ -using Impostor.Api.Languages; +using Empostor.Api.Languages; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; -using Impostor.Api.Commands; +using Empostor.Api.Commands; -namespace Impostor.Server.Commands; +namespace Empostor.Server.Commands; public sealed class CommandService { diff --git a/src/Impostor.Server/Commands/Commands/HelpCommand.cs b/src/Empostor.Server/Commands/Commands/HelpCommand.cs similarity index 96% rename from src/Impostor.Server/Commands/Commands/HelpCommand.cs rename to src/Empostor.Server/Commands/Commands/HelpCommand.cs index 96385ce..431f5b3 100644 --- a/src/Impostor.Server/Commands/Commands/HelpCommand.cs +++ b/src/Empostor.Server/Commands/Commands/HelpCommand.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Commands; +using Empostor.Api.Commands; using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Impostor.Server.Commands.Commands; +namespace Empostor.Server.Commands.Commands; public sealed class HelpCommand : ICommand { diff --git a/src/Impostor.Server/Commands/Commands/NoteCommand.cs b/src/Empostor.Server/Commands/Commands/NoteCommand.cs similarity index 93% rename from src/Impostor.Server/Commands/Commands/NoteCommand.cs rename to src/Empostor.Server/Commands/Commands/NoteCommand.cs index 23a2bff..1949f15 100644 --- a/src/Impostor.Server/Commands/Commands/NoteCommand.cs +++ b/src/Empostor.Server/Commands/Commands/NoteCommand.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Commands; +using Empostor.Api.Commands; using System.Threading.Tasks; -namespace Impostor.Server.Commands.Commands; +namespace Empostor.Server.Commands.Commands; public sealed class NoteCommand : ICommand { diff --git a/src/Impostor.Server/Commands/Commands/SetColorCommand.cs b/src/Empostor.Server/Commands/Commands/SetColorCommand.cs similarity index 89% rename from src/Impostor.Server/Commands/Commands/SetColorCommand.cs rename to src/Empostor.Server/Commands/Commands/SetColorCommand.cs index dd54fa0..8273cdf 100644 --- a/src/Impostor.Server/Commands/Commands/SetColorCommand.cs +++ b/src/Empostor.Server/Commands/Commands/SetColorCommand.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Commands; +using Empostor.Api.Commands; using System.Threading.Tasks; -using Impostor.Api.Innersloth.Customization; +using Empostor.Api.Innersloth.Customization; -namespace Impostor.Server.Commands.Commands; +namespace Empostor.Server.Commands.Commands; public sealed class SetColorCommand : ICommand { diff --git a/src/Impostor.Server/Commands/Commands/StatCommand.cs b/src/Empostor.Server/Commands/Commands/StatCommand.cs similarity index 93% rename from src/Impostor.Server/Commands/Commands/StatCommand.cs rename to src/Empostor.Server/Commands/Commands/StatCommand.cs index 2e0369f..35ed227 100644 --- a/src/Impostor.Server/Commands/Commands/StatCommand.cs +++ b/src/Empostor.Server/Commands/Commands/StatCommand.cs @@ -1,10 +1,10 @@ using System.Threading.Tasks; -using Impostor.Api.Commands; -using Impostor.Api.Config; -using Impostor.Server.Service.Stat; +using Empostor.Api.Commands; +using Empostor.Api.Config; +using Empostor.Server.Service.Stat; using Microsoft.Extensions.Options; -namespace Impostor.Server.Commands.Commands; +namespace Empostor.Server.Commands.Commands; public sealed class StatCommand : ICommand { diff --git a/src/Impostor.Server/Impostor.Server.csproj b/src/Empostor.Server/Empostor.Server.csproj similarity index 85% rename from src/Impostor.Server/Impostor.Server.csproj rename to src/Empostor.Server/Empostor.Server.csproj index 3bcdd72..776052b 100644 --- a/src/Impostor.Server/Impostor.Server.csproj +++ b/src/Empostor.Server/Empostor.Server.csproj @@ -8,15 +8,15 @@ enable false true - Impostor.Server - Impostor.Server - Impostor.Server + Empostor.Server + Empostor.Server + Empostor.Server Copyright © AeonLucid 2020 AnyCPU - - + + diff --git a/src/Impostor.Server/Events/Client/ClientConnectedEvent.cs b/src/Empostor.Server/Events/Client/ClientConnectedEvent.cs similarity index 77% rename from src/Impostor.Server/Events/Client/ClientConnectedEvent.cs rename to src/Empostor.Server/Events/Client/ClientConnectedEvent.cs index 569fccb..c9f1d04 100644 --- a/src/Impostor.Server/Events/Client/ClientConnectedEvent.cs +++ b/src/Empostor.Server/Events/Client/ClientConnectedEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events.Client; -using Impostor.Api.Net; +using Empostor.Api.Events.Client; +using Empostor.Api.Net; -namespace Impostor.Server.Events.Client +namespace Empostor.Server.Events.Client { public class ClientConnectedEvent : IClientConnectedEvent { diff --git a/src/Impostor.Server/Events/Client/ClientConnectionEvent.cs b/src/Empostor.Server/Events/Client/ClientConnectionEvent.cs similarity index 79% rename from src/Impostor.Server/Events/Client/ClientConnectionEvent.cs rename to src/Empostor.Server/Events/Client/ClientConnectionEvent.cs index 4bf9392..d7e0e9c 100644 --- a/src/Impostor.Server/Events/Client/ClientConnectionEvent.cs +++ b/src/Empostor.Server/Events/Client/ClientConnectionEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events.Client; -using Impostor.Api.Net; +using Empostor.Api.Events.Client; +using Empostor.Api.Net; -namespace Impostor.Server.Events.Client +namespace Empostor.Server.Events.Client { public class ClientConnectionEvent : IClientConnectionEvent { diff --git a/src/Impostor.Server/Events/EventHandler.cs b/src/Empostor.Server/Events/EventHandler.cs similarity index 82% rename from src/Impostor.Server/Events/EventHandler.cs rename to src/Empostor.Server/Events/EventHandler.cs index e185c9a..0f38eed 100644 --- a/src/Impostor.Server/Events/EventHandler.cs +++ b/src/Empostor.Server/Events/EventHandler.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events; -using Impostor.Server.Events.Register; +using Empostor.Api.Events; +using Empostor.Server.Events.Register; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { internal readonly struct EventHandler { diff --git a/src/Impostor.Server/Events/EventManager.cs b/src/Empostor.Server/Events/EventManager.cs similarity index 97% rename from src/Impostor.Server/Events/EventManager.cs rename to src/Empostor.Server/Events/EventManager.cs index 2922631..a27e5ca 100644 --- a/src/Impostor.Server/Events/EventManager.cs +++ b/src/Empostor.Server/Events/EventManager.cs @@ -3,13 +3,13 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Impostor.Api.Events; -using Impostor.Api.Events.Managers; -using Impostor.Server.Events.Register; +using Empostor.Api.Events; +using Empostor.Api.Events.Managers; +using Empostor.Server.Events.Register; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { internal class EventManager : IEventManager { diff --git a/src/Impostor.Server/Events/Game/GameAlterEvent.cs b/src/Empostor.Server/Events/Game/GameAlterEvent.cs similarity index 76% rename from src/Impostor.Server/Events/Game/GameAlterEvent.cs rename to src/Empostor.Server/Events/Game/GameAlterEvent.cs index 3fb2368..f620721 100644 --- a/src/Impostor.Server/Events/Game/GameAlterEvent.cs +++ b/src/Empostor.Server/Events/Game/GameAlterEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; +using Empostor.Api.Events; +using Empostor.Api.Games; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameAlterEvent : IGameAlterEvent { diff --git a/src/Impostor.Server/Events/Game/GameCreatedEvent.cs b/src/Empostor.Server/Events/Game/GameCreatedEvent.cs similarity index 70% rename from src/Impostor.Server/Events/Game/GameCreatedEvent.cs rename to src/Empostor.Server/Events/Game/GameCreatedEvent.cs index d369160..aa97a4c 100644 --- a/src/Impostor.Server/Events/Game/GameCreatedEvent.cs +++ b/src/Empostor.Server/Events/Game/GameCreatedEvent.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Events; +using Empostor.Api.Games; +using Empostor.Api.Net; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameCreatedEvent : IGameCreatedEvent { diff --git a/src/Impostor.Server/Events/Game/GameCreationEvent.cs b/src/Empostor.Server/Events/Game/GameCreationEvent.cs similarity index 75% rename from src/Impostor.Server/Events/Game/GameCreationEvent.cs rename to src/Empostor.Server/Events/Game/GameCreationEvent.cs index 29e95d9..02a5c73 100644 --- a/src/Impostor.Server/Events/Game/GameCreationEvent.cs +++ b/src/Empostor.Server/Events/Game/GameCreationEvent.cs @@ -1,10 +1,10 @@ -using Impostor.Api; -using Impostor.Api.Events; -using Impostor.Api.Games; -using Impostor.Api.Games.Managers; -using Impostor.Api.Net; +using Empostor.Api; +using Empostor.Api.Events; +using Empostor.Api.Games; +using Empostor.Api.Games.Managers; +using Empostor.Api.Net; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameCreationEvent : IGameCreationEvent { @@ -28,12 +28,12 @@ namespace Impostor.Server.Events { if (value.Value.IsInvalid) { - throw new ImpostorException("GameCode is invalid."); + throw new EmpostorException("GameCode is invalid."); } if (_gameManager.Find(value.Value) != null) { - throw new ImpostorException($"GameCode [{value.Value.Code}] is already used."); + throw new EmpostorException($"GameCode [{value.Value.Code}] is already used."); } } diff --git a/src/Impostor.Server/Events/Game/GameDestroyedEvent.cs b/src/Empostor.Server/Events/Game/GameDestroyedEvent.cs similarity index 69% rename from src/Impostor.Server/Events/Game/GameDestroyedEvent.cs rename to src/Empostor.Server/Events/Game/GameDestroyedEvent.cs index 5ee1b11..3180bc2 100644 --- a/src/Impostor.Server/Events/Game/GameDestroyedEvent.cs +++ b/src/Empostor.Server/Events/Game/GameDestroyedEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; +using Empostor.Api.Events; +using Empostor.Api.Games; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameDestroyedEvent : IGameDestroyedEvent { diff --git a/src/Impostor.Server/Events/Game/GameEndedEvent.cs b/src/Empostor.Server/Events/Game/GameEndedEvent.cs similarity index 78% rename from src/Impostor.Server/Events/Game/GameEndedEvent.cs rename to src/Empostor.Server/Events/Game/GameEndedEvent.cs index c97d63f..00e4be1 100644 --- a/src/Impostor.Server/Events/Game/GameEndedEvent.cs +++ b/src/Empostor.Server/Events/Game/GameEndedEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; +using Empostor.Api.Events; +using Empostor.Api.Games; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameEndedEvent : IGameEndedEvent { diff --git a/src/Impostor.Server/Events/Game/GameHostChangedEvent.cs b/src/Empostor.Server/Events/Game/GameHostChangedEvent.cs similarity index 79% rename from src/Impostor.Server/Events/Game/GameHostChangedEvent.cs rename to src/Empostor.Server/Events/Game/GameHostChangedEvent.cs index 3aa00f2..996d2bc 100644 --- a/src/Impostor.Server/Events/Game/GameHostChangedEvent.cs +++ b/src/Empostor.Server/Events/Game/GameHostChangedEvent.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Events; +using Empostor.Api.Games; +using Empostor.Api.Net; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameHostChangedEvent : IGameHostChangedEvent { diff --git a/src/Impostor.Server/Events/Game/GameOptionsChangedEvent.cs b/src/Empostor.Server/Events/Game/GameOptionsChangedEvent.cs similarity index 69% rename from src/Impostor.Server/Events/Game/GameOptionsChangedEvent.cs rename to src/Empostor.Server/Events/Game/GameOptionsChangedEvent.cs index 075de31..9650aca 100644 --- a/src/Impostor.Server/Events/Game/GameOptionsChangedEvent.cs +++ b/src/Empostor.Server/Events/Game/GameOptionsChangedEvent.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; -using static Impostor.Api.Events.IGameOptionsChangedEvent; +using Empostor.Api.Events; +using Empostor.Api.Games; +using static Empostor.Api.Events.IGameOptionsChangedEvent; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameOptionsChangedEvent : IGameOptionsChangedEvent { diff --git a/src/Impostor.Server/Events/Game/GamePlayerJoinedEvent.cs b/src/Empostor.Server/Events/Game/GamePlayerJoinedEvent.cs similarity index 73% rename from src/Impostor.Server/Events/Game/GamePlayerJoinedEvent.cs rename to src/Empostor.Server/Events/Game/GamePlayerJoinedEvent.cs index d728c59..ba70062 100644 --- a/src/Impostor.Server/Events/Game/GamePlayerJoinedEvent.cs +++ b/src/Empostor.Server/Events/Game/GamePlayerJoinedEvent.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Events; +using Empostor.Api.Games; +using Empostor.Api.Net; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GamePlayerJoinedEvent : IGamePlayerJoinedEvent { diff --git a/src/Impostor.Server/Events/Game/GamePlayerJoiningEvent.cs b/src/Empostor.Server/Events/Game/GamePlayerJoiningEvent.cs similarity index 76% rename from src/Impostor.Server/Events/Game/GamePlayerJoiningEvent.cs rename to src/Empostor.Server/Events/Game/GamePlayerJoiningEvent.cs index f24f28b..60497f2 100644 --- a/src/Impostor.Server/Events/Game/GamePlayerJoiningEvent.cs +++ b/src/Empostor.Server/Events/Game/GamePlayerJoiningEvent.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Events; +using Empostor.Api.Games; +using Empostor.Api.Net; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GamePlayerJoiningEvent : IGamePlayerJoiningEvent { diff --git a/src/Impostor.Server/Events/Game/GamePlayerLeftEvent.cs b/src/Empostor.Server/Events/Game/GamePlayerLeftEvent.cs similarity index 76% rename from src/Impostor.Server/Events/Game/GamePlayerLeftEvent.cs rename to src/Empostor.Server/Events/Game/GamePlayerLeftEvent.cs index d295103..64f78c4 100644 --- a/src/Impostor.Server/Events/Game/GamePlayerLeftEvent.cs +++ b/src/Empostor.Server/Events/Game/GamePlayerLeftEvent.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Events; +using Empostor.Api.Games; +using Empostor.Api.Net; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GamePlayerLeftEvent : IGamePlayerLeftEvent { diff --git a/src/Impostor.Server/Events/Game/GameStartedEvent.cs b/src/Empostor.Server/Events/Game/GameStartedEvent.cs similarity index 68% rename from src/Impostor.Server/Events/Game/GameStartedEvent.cs rename to src/Empostor.Server/Events/Game/GameStartedEvent.cs index d21f9ec..4b3bf3c 100644 --- a/src/Impostor.Server/Events/Game/GameStartedEvent.cs +++ b/src/Empostor.Server/Events/Game/GameStartedEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; +using Empostor.Api.Events; +using Empostor.Api.Games; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameStartedEvent : IGameStartedEvent { diff --git a/src/Impostor.Server/Events/Game/GameStartingEvent.cs b/src/Empostor.Server/Events/Game/GameStartingEvent.cs similarity index 69% rename from src/Impostor.Server/Events/Game/GameStartingEvent.cs rename to src/Empostor.Server/Events/Game/GameStartingEvent.cs index a0763e8..8c47cc2 100644 --- a/src/Impostor.Server/Events/Game/GameStartingEvent.cs +++ b/src/Empostor.Server/Events/Game/GameStartingEvent.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events; -using Impostor.Api.Games; +using Empostor.Api.Events; +using Empostor.Api.Games; -namespace Impostor.Server.Events +namespace Empostor.Server.Events { public class GameStartingEvent : IGameStartingEvent { diff --git a/src/Impostor.Server/Events/Game/Meeting/MeetingEndedEvent.cs b/src/Empostor.Server/Events/Game/Meeting/MeetingEndedEvent.cs similarity index 77% rename from src/Impostor.Server/Events/Game/Meeting/MeetingEndedEvent.cs rename to src/Empostor.Server/Events/Game/Meeting/MeetingEndedEvent.cs index b64699f..a17517d 100644 --- a/src/Impostor.Server/Events/Game/Meeting/MeetingEndedEvent.cs +++ b/src/Empostor.Server/Events/Game/Meeting/MeetingEndedEvent.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events.Meeting; -using Impostor.Api.Games; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Meeting; +using Empostor.Api.Games; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Meeting +namespace Empostor.Server.Events.Meeting { public class MeetingEndedEvent : IMeetingEndedEvent { diff --git a/src/Impostor.Server/Events/Game/Meeting/MeetingStartedEvent.cs b/src/Empostor.Server/Events/Game/Meeting/MeetingStartedEvent.cs similarity index 69% rename from src/Impostor.Server/Events/Game/Meeting/MeetingStartedEvent.cs rename to src/Empostor.Server/Events/Game/Meeting/MeetingStartedEvent.cs index aa689a3..1e4d042 100644 --- a/src/Impostor.Server/Events/Game/Meeting/MeetingStartedEvent.cs +++ b/src/Empostor.Server/Events/Game/Meeting/MeetingStartedEvent.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events.Meeting; -using Impostor.Api.Games; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Meeting; +using Empostor.Api.Games; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Meeting +namespace Empostor.Server.Events.Meeting { public class MeetingStartedEvent : IMeetingStartedEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerChatEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerChatEvent.cs similarity index 79% rename from src/Impostor.Server/Events/Game/Player/PlayerChatEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerChatEvent.cs index 44ce179..136d0b1 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerChatEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerChatEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerChatEvent : IPlayerChatEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerCheckMurderEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerCheckMurderEvent.cs similarity index 82% rename from src/Impostor.Server/Events/Game/Player/PlayerCheckMurderEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerCheckMurderEvent.cs index e3a7a90..70fc8c0 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerCheckMurderEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerCheckMurderEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerCheckMurderEvent : IPlayerCheckMurderEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerCompletedTaskEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerCompletedTaskEvent.cs similarity index 77% rename from src/Impostor.Server/Events/Game/Player/PlayerCompletedTaskEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerCompletedTaskEvent.cs index 00e2b2c..3166e0c 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerCompletedTaskEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerCompletedTaskEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerCompletedTaskEvent : IPlayerCompletedTaskEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerDestroyedEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerDestroyedEvent.cs similarity index 73% rename from src/Impostor.Server/Events/Game/Player/PlayerDestroyedEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerDestroyedEvent.cs index 69a20c9..1f48fb1 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerDestroyedEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerDestroyedEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerDestroyedEvent : IPlayerDestroyedEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerEnterVentEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerEnterVentEvent.cs similarity index 73% rename from src/Impostor.Server/Events/Game/Player/PlayerEnterVentEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerEnterVentEvent.cs index db74f26..5739915 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerEnterVentEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerEnterVentEvent.cs @@ -1,10 +1,10 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Innersloth.Maps; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Innersloth.Maps; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerEnterVentEvent : IPlayerEnterVentEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerExileEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerExileEvent.cs similarity index 73% rename from src/Impostor.Server/Events/Game/Player/PlayerExileEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerExileEvent.cs index a8660da..533c91c 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerExileEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerExileEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerExileEvent : IPlayerExileEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerExitVentEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerExitVentEvent.cs similarity index 73% rename from src/Impostor.Server/Events/Game/Player/PlayerExitVentEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerExitVentEvent.cs index ea50908..4f4b883 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerExitVentEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerExitVentEvent.cs @@ -1,10 +1,10 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Innersloth.Maps; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Innersloth.Maps; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerExitVentEvent : IPlayerExitVentEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerMovementEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerMovementEvent.cs similarity index 87% rename from src/Impostor.Server/Events/Game/Player/PlayerMovementEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerMovementEvent.cs index 60dbc12..eb0e8dc 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerMovementEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerMovementEvent.cs @@ -1,10 +1,10 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; using Microsoft.Extensions.ObjectPool; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerMovementEvent : IPlayerMovementEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerMurderEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerMurderEvent.cs similarity index 80% rename from src/Impostor.Server/Events/Game/Player/PlayerMurderEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerMurderEvent.cs index ff80f38..003dc4e 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerMurderEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerMurderEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerMurderEvent : IPlayerMurderEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerReadyEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerReadyEvent.cs similarity index 72% rename from src/Impostor.Server/Events/Game/Player/PlayerReadyEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerReadyEvent.cs index 1c8fe44..3c8bc63 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerReadyEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerReadyEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Game.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Game.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Game.Player +namespace Empostor.Server.Events.Game.Player { public class PlayerReadyEvent : IPlayerReadyEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerReportEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerReportEvent.cs similarity index 83% rename from src/Impostor.Server/Events/Game/Player/PlayerReportEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerReportEvent.cs index b7b0d13..cc8d500 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerReportEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerReportEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { internal sealed class PlayerReportEvent : IPlayerReportEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerSetStartCounterEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerSetStartCounterEvent.cs similarity index 78% rename from src/Impostor.Server/Events/Game/Player/PlayerSetStartCounterEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerSetStartCounterEvent.cs index 71c25d7..3f482a1 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerSetStartCounterEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerSetStartCounterEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerSetStartCounterEvent : IPlayerSetStartCounterEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerSpawnedEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerSpawnedEvent.cs similarity index 73% rename from src/Impostor.Server/Events/Game/Player/PlayerSpawnedEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerSpawnedEvent.cs index 4b6fda1..e65242d 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerSpawnedEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerSpawnedEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerSpawnedEvent : IPlayerSpawnedEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerStartMeetingEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerStartMeetingEvent.cs similarity index 78% rename from src/Impostor.Server/Events/Game/Player/PlayerStartMeetingEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerStartMeetingEvent.cs index 70cb0d8..8c5795d 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerStartMeetingEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerStartMeetingEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerStartMeetingEvent : IPlayerStartMeetingEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerVentEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerVentEvent.cs similarity index 72% rename from src/Impostor.Server/Events/Game/Player/PlayerVentEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerVentEvent.cs index c80ab88..9eb8d06 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerVentEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerVentEvent.cs @@ -1,10 +1,10 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Innersloth.Maps; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Innersloth.Maps; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerVentEvent : IPlayerVentEvent { diff --git a/src/Impostor.Server/Events/Game/Player/PlayerVotedEvent.cs b/src/Empostor.Server/Events/Game/Player/PlayerVotedEvent.cs similarity index 80% rename from src/Impostor.Server/Events/Game/Player/PlayerVotedEvent.cs rename to src/Empostor.Server/Events/Game/Player/PlayerVotedEvent.cs index 68a9096..1ff3d80 100644 --- a/src/Impostor.Server/Events/Game/Player/PlayerVotedEvent.cs +++ b/src/Empostor.Server/Events/Game/Player/PlayerVotedEvent.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Events.Player +namespace Empostor.Server.Events.Player { public class PlayerVotedEvent : IPlayerVotedEvent { diff --git a/src/Impostor.Server/Events/Register/IRegisteredEventListener.cs b/src/Empostor.Server/Events/Register/IRegisteredEventListener.cs similarity index 80% rename from src/Impostor.Server/Events/Register/IRegisteredEventListener.cs rename to src/Empostor.Server/Events/Register/IRegisteredEventListener.cs index 3b39bc9..5f5d9bb 100644 --- a/src/Impostor.Server/Events/Register/IRegisteredEventListener.cs +++ b/src/Empostor.Server/Events/Register/IRegisteredEventListener.cs @@ -1,8 +1,8 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Events; +using Empostor.Api.Events; -namespace Impostor.Server.Events.Register +namespace Empostor.Server.Events.Register { internal interface IRegisteredEventListener { diff --git a/src/Impostor.Server/Events/Register/InvokedRegisteredEventListener.cs b/src/Empostor.Server/Events/Register/InvokedRegisteredEventListener.cs similarity index 92% rename from src/Impostor.Server/Events/Register/InvokedRegisteredEventListener.cs rename to src/Empostor.Server/Events/Register/InvokedRegisteredEventListener.cs index adec183..4db332e 100644 --- a/src/Impostor.Server/Events/Register/InvokedRegisteredEventListener.cs +++ b/src/Empostor.Server/Events/Register/InvokedRegisteredEventListener.cs @@ -1,8 +1,8 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Events; +using Empostor.Api.Events; -namespace Impostor.Server.Events.Register +namespace Empostor.Server.Events.Register { internal class InvokedRegisteredEventListener : IRegisteredEventListener { diff --git a/src/Impostor.Server/Events/Register/ManualRegisteredEventListener.cs b/src/Empostor.Server/Events/Register/ManualRegisteredEventListener.cs similarity index 92% rename from src/Impostor.Server/Events/Register/ManualRegisteredEventListener.cs rename to src/Empostor.Server/Events/Register/ManualRegisteredEventListener.cs index 394f47d..0bd5cd4 100644 --- a/src/Impostor.Server/Events/Register/ManualRegisteredEventListener.cs +++ b/src/Empostor.Server/Events/Register/ManualRegisteredEventListener.cs @@ -1,8 +1,8 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Events; +using Empostor.Api.Events; -namespace Impostor.Server.Events.Register +namespace Empostor.Server.Events.Register { internal class ManualRegisteredEventListener : IRegisteredEventListener { diff --git a/src/Impostor.Server/Events/Register/RegisteredEventListener.cs b/src/Empostor.Server/Events/Register/RegisteredEventListener.cs similarity index 99% rename from src/Impostor.Server/Events/Register/RegisteredEventListener.cs rename to src/Empostor.Server/Events/Register/RegisteredEventListener.cs index 76d2a2a..2b9758f 100644 --- a/src/Impostor.Server/Events/Register/RegisteredEventListener.cs +++ b/src/Empostor.Server/Events/Register/RegisteredEventListener.cs @@ -5,10 +5,10 @@ using System.Linq; using System.Linq.Expressions; using System.Reflection; using System.Threading.Tasks; -using Impostor.Api.Events; +using Empostor.Api.Events; using Microsoft.Extensions.DependencyInjection; -namespace Impostor.Server.Events.Register +namespace Empostor.Server.Events.Register { internal class RegisteredEventListener : IRegisteredEventListener { diff --git a/src/Impostor.Server/Events/Register/TemporaryEventRegister.cs b/src/Empostor.Server/Events/Register/TemporaryEventRegister.cs similarity index 97% rename from src/Impostor.Server/Events/Register/TemporaryEventRegister.cs rename to src/Empostor.Server/Events/Register/TemporaryEventRegister.cs index f2bfee2..c0a88a7 100644 --- a/src/Impostor.Server/Events/Register/TemporaryEventRegister.cs +++ b/src/Empostor.Server/Events/Register/TemporaryEventRegister.cs @@ -5,7 +5,7 @@ using System.Diagnostics; using System.Linq; using System.Threading; -namespace Impostor.Server.Events.Register +namespace Empostor.Server.Events.Register { internal class TemporaryEventRegister { diff --git a/src/Impostor.Server/Events/Register/WrappedRegisteredEventListener.cs b/src/Empostor.Server/Events/Register/WrappedRegisteredEventListener.cs similarity index 91% rename from src/Impostor.Server/Events/Register/WrappedRegisteredEventListener.cs rename to src/Empostor.Server/Events/Register/WrappedRegisteredEventListener.cs index d1a66ee..5b12e26 100644 --- a/src/Impostor.Server/Events/Register/WrappedRegisteredEventListener.cs +++ b/src/Empostor.Server/Events/Register/WrappedRegisteredEventListener.cs @@ -1,8 +1,8 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Events; +using Empostor.Api.Events; -namespace Impostor.Server.Events.Register +namespace Empostor.Server.Events.Register { internal class WrappedRegisteredEventListener : IRegisteredEventListener { diff --git a/src/Impostor.Server/Extensions/IGameOptionsExtensions.cs b/src/Empostor.Server/Extensions/IGameOptionsExtensions.cs similarity index 88% rename from src/Impostor.Server/Extensions/IGameOptionsExtensions.cs rename to src/Empostor.Server/Extensions/IGameOptionsExtensions.cs index 6086ab9..e1b967e 100644 --- a/src/Impostor.Server/Extensions/IGameOptionsExtensions.cs +++ b/src/Empostor.Server/Extensions/IGameOptionsExtensions.cs @@ -1,8 +1,8 @@ using System; -using Impostor.Api.Innersloth.GameOptions; +using Empostor.Api.Innersloth.GameOptions; using Next.Hazel; -namespace Impostor.Server.Extensions; +namespace Empostor.Server.Extensions; public static class IGameOptionsExtensions { diff --git a/src/Impostor.Server/Extensions/IHazelConnectionExtensions.cs b/src/Empostor.Server/Extensions/IHazelConnectionExtensions.cs similarity index 92% rename from src/Impostor.Server/Extensions/IHazelConnectionExtensions.cs rename to src/Empostor.Server/Extensions/IHazelConnectionExtensions.cs index bd0b9b0..3ebda8e 100644 --- a/src/Impostor.Server/Extensions/IHazelConnectionExtensions.cs +++ b/src/Empostor.Server/Extensions/IHazelConnectionExtensions.cs @@ -1,9 +1,9 @@ using System.Threading.Tasks; -using Impostor.Api.Net; -using Impostor.Api.Net.Messages.S2C; +using Empostor.Api.Net; +using Empostor.Api.Net.Messages.S2C; using Next.Hazel; -namespace Impostor.Server +namespace Empostor.Server { public static class IHazelConnectionExtensions { diff --git a/src/Impostor.Server/Extensions/ServiceProviderExtensions.cs b/src/Empostor.Server/Extensions/ServiceProviderExtensions.cs similarity index 91% rename from src/Impostor.Server/Extensions/ServiceProviderExtensions.cs rename to src/Empostor.Server/Extensions/ServiceProviderExtensions.cs index eee1480..dff1eb1 100644 --- a/src/Impostor.Server/Extensions/ServiceProviderExtensions.cs +++ b/src/Empostor.Server/Extensions/ServiceProviderExtensions.cs @@ -1,9 +1,9 @@ -using Impostor.Server.Events.Player; +using Empostor.Server.Events.Player; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection.Extensions; using Microsoft.Extensions.ObjectPool; -namespace Impostor.Server +namespace Empostor.Server { public static class ServiceProviderExtensions { diff --git a/src/Impostor.Server/Extensions/TypeExtensions.cs b/src/Empostor.Server/Extensions/TypeExtensions.cs similarity index 98% rename from src/Impostor.Server/Extensions/TypeExtensions.cs rename to src/Empostor.Server/Extensions/TypeExtensions.cs index a49cb5e..8d103ba 100644 --- a/src/Impostor.Server/Extensions/TypeExtensions.cs +++ b/src/Empostor.Server/Extensions/TypeExtensions.cs @@ -3,7 +3,7 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Reflection; -namespace Impostor.Server +namespace Empostor.Server { internal static class TypeExtensions { diff --git a/src/Impostor.Server/GlobalUsings.cs b/src/Empostor.Server/GlobalUsings.cs similarity index 50% rename from src/Impostor.Server/GlobalUsings.cs rename to src/Empostor.Server/GlobalUsings.cs index 40d5cfc..d416c9b 100644 --- a/src/Impostor.Server/GlobalUsings.cs +++ b/src/Empostor.Server/GlobalUsings.cs @@ -1,2 +1,2 @@ global using Next.Hazel.Abstractions; -global using Impostor.Api.Innersloth; +global using Empostor.Api.Innersloth; diff --git a/src/Impostor.Server/Http/AdminController.cs b/src/Empostor.Server/Http/AdminController.cs similarity index 99% rename from src/Impostor.Server/Http/AdminController.cs rename to src/Empostor.Server/Http/AdminController.cs index 02c9783..bbafaf0 100644 --- a/src/Impostor.Server/Http/AdminController.cs +++ b/src/Empostor.Server/Http/AdminController.cs @@ -6,22 +6,22 @@ using System.Net; using System.Runtime.InteropServices; using System.Text.Json; using System.Threading.Tasks; -using Impostor.Api.Config; -using Impostor.Api.Games; -using Impostor.Api.Games.Managers; -using Impostor.Api.Net; -using Impostor.Api.Net.Manager; -using Impostor.Server.Service.Admin.Ban; -using Impostor.Server.Service.Admin.Chat; -using Impostor.Server.Service.Admin.Reactor; -using Impostor.Server.Service.Admin.Report; -using Impostor.Server.Service.Stat; +using Empostor.Api.Config; +using Empostor.Api.Games; +using Empostor.Api.Games.Managers; +using Empostor.Api.Net; +using Empostor.Api.Net.Manager; +using Empostor.Server.Service.Admin.Ban; +using Empostor.Server.Service.Admin.Chat; +using Empostor.Server.Service.Admin.Reactor; +using Empostor.Server.Service.Admin.Report; +using Empostor.Server.Service.Stat; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Impostor.Server.Http +namespace Empostor.Server.Http { [ApiController] public sealed class AdminController : ControllerBase @@ -79,7 +79,7 @@ namespace Impostor.Server.Http } private bool IsAuthenticated() - => Request.Cookies.TryGetValue("impostor_admin", out var v) && v == _config.Password; + => Request.Cookies.TryGetValue("empostor_admin", out var v) && v == _config.Password; [HttpGet("/admin")] public IActionResult Panel() @@ -96,7 +96,7 @@ namespace Impostor.Server.Http "text/html; charset=utf-8"); } - Response.Cookies.Append("impostor_admin", password, new CookieOptions + Response.Cookies.Append("empostor_admin", password, new CookieOptions { HttpOnly = true, SameSite = SameSiteMode.Strict, @@ -106,7 +106,7 @@ namespace Impostor.Server.Http } [HttpPost("/admin/logout")] - public IActionResult Logout() { Response.Cookies.Delete("impostor_admin"); return Redirect("/admin"); } + public IActionResult Logout() { Response.Cookies.Delete("empostor_admin"); return Redirect("/admin"); } [HttpGet("/api/admin/strings")] public IActionResult GetStrings() @@ -1659,7 +1659,7 @@ namespace Impostor.Server.Http

Player Logs

- ${verOpts}` - : `
v${e(versions.length ? versions[versions.length - 1].version : '-')} (Empostor ${e(versions.length ? versions[versions.length - 1].impostor_version : '-')})
` + : `
v${e(versions.length ? versions[versions.length - 1].version : '-')} (Empostor ${e(versions.length ? versions[versions.length - 1].empostor_version : '-')})
` }
diff --git a/src/Impostor.Server/Http/GamesController.cs b/src/Empostor.Server/Http/GamesController.cs similarity index 98% rename from src/Impostor.Server/Http/GamesController.cs rename to src/Empostor.Server/Http/GamesController.cs index de8c17d..86ef0d6 100644 --- a/src/Impostor.Server/Http/GamesController.cs +++ b/src/Empostor.Server/Http/GamesController.cs @@ -5,14 +5,14 @@ using System.Net; using System.Net.Http.Headers; using System.Text.Json; using System.Text.Json.Serialization; -using Impostor.Api.Config; -using Impostor.Api.Games; -using Impostor.Api.Games.Managers; -using Impostor.Server.Extensions; +using Empostor.Api.Config; +using Empostor.Api.Games; +using Empostor.Api.Games.Managers; +using Empostor.Server.Extensions; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; -namespace Impostor.Server.Http; +namespace Empostor.Server.Http; [Route("/api/games")] [ApiController] diff --git a/src/Impostor.Server/Http/HelloController.cs b/src/Empostor.Server/Http/HelloController.cs similarity index 96% rename from src/Impostor.Server/Http/HelloController.cs rename to src/Empostor.Server/Http/HelloController.cs index 96a4b49..bbd32d3 100644 --- a/src/Impostor.Server/Http/HelloController.cs +++ b/src/Empostor.Server/Http/HelloController.cs @@ -2,7 +2,7 @@ using System.IO; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Http; +namespace Empostor.Server.Http; [Route("/")] public sealed class HelloController : ControllerBase @@ -78,7 +78,7 @@ public sealed class HelloController : ControllerBase

Your private Among Us server is online and accepting connections.

Started 2026-05-15 16:16 UTC  ·  Edit this page at Pages/index.html
diff --git a/src/Impostor.Server/Http/ListingManager.cs b/src/Empostor.Server/Http/ListingManager.cs similarity index 95% rename from src/Impostor.Server/Http/ListingManager.cs rename to src/Empostor.Server/Http/ListingManager.cs index 41a2474..fff5e6c 100644 --- a/src/Impostor.Server/Http/ListingManager.cs +++ b/src/Empostor.Server/Http/ListingManager.cs @@ -1,14 +1,14 @@ using System.Collections.Generic; using System.Linq; -using Impostor.Api.Config; -using Impostor.Api.Games; -using Impostor.Api.Games.Managers; -using Impostor.Api.Http; -using Impostor.Api.Net.Manager; +using Empostor.Api.Config; +using Empostor.Api.Games; +using Empostor.Api.Games.Managers; +using Empostor.Api.Http; +using Empostor.Api.Net.Manager; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Options; -namespace Impostor.Server.Http; +namespace Empostor.Server.Http; /// /// Perform game listing filtering. diff --git a/src/Impostor.Server/Http/MarketplaceController.cs b/src/Empostor.Server/Http/MarketplaceController.cs similarity index 97% rename from src/Impostor.Server/Http/MarketplaceController.cs rename to src/Empostor.Server/Http/MarketplaceController.cs index 07909e2..7b6a48b 100644 --- a/src/Impostor.Server/Http/MarketplaceController.cs +++ b/src/Empostor.Server/Http/MarketplaceController.cs @@ -3,12 +3,12 @@ using System.IO; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; -using Impostor.Api.Config; +using Empostor.Api.Config; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Impostor.Server.Http +namespace Empostor.Server.Http { [ApiController] public sealed class MarketplaceController : ControllerBase @@ -33,7 +33,7 @@ namespace Impostor.Server.Http } private bool IsAuthenticated() - => Request.Cookies.TryGetValue("impostor_admin", out var v) && v == _config.Password; + => Request.Cookies.TryGetValue("empostor_admin", out var v) && v == _config.Password; [HttpGet("/api/admin/marketplace/plugins")] public async Task ListPlugins() diff --git a/src/Impostor.Server/Http/TokenController.cs b/src/Empostor.Server/Http/TokenController.cs similarity index 99% rename from src/Impostor.Server/Http/TokenController.cs rename to src/Empostor.Server/Http/TokenController.cs index c13ef1d..6c9e0cd 100644 --- a/src/Impostor.Server/Http/TokenController.cs +++ b/src/Empostor.Server/Http/TokenController.cs @@ -9,11 +9,11 @@ using System.Text; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; -using Impostor.Server.Service.Auth; +using Empostor.Server.Service.Auth; using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Http; +namespace Empostor.Server.Http; [Route("/api/user")] [ApiController] diff --git a/src/Impostor.Server/Http/VerifyController.cs b/src/Empostor.Server/Http/VerifyController.cs similarity index 95% rename from src/Impostor.Server/Http/VerifyController.cs rename to src/Empostor.Server/Http/VerifyController.cs index af7fbb5..0c38741 100644 --- a/src/Impostor.Server/Http/VerifyController.cs +++ b/src/Empostor.Server/Http/VerifyController.cs @@ -1,8 +1,8 @@ using System.Text.Json.Serialization; -using Impostor.Api.Service.Admin.Verify; +using Empostor.Api.Service.Admin.Verify; using Microsoft.AspNetCore.Mvc; -namespace Impostor.Server.Http; +namespace Empostor.Server.Http; [Route("/api/verify")] [ApiController] diff --git a/src/Impostor.Server/Impostor.Server.csproj.DotSettings b/src/Empostor.Server/Impostor.Server.csproj.DotSettings similarity index 100% rename from src/Impostor.Server/Impostor.Server.csproj.DotSettings rename to src/Empostor.Server/Impostor.Server.csproj.DotSettings diff --git a/src/Impostor.Server/Languages/de.json b/src/Empostor.Server/Languages/de.json similarity index 99% rename from src/Impostor.Server/Languages/de.json rename to src/Empostor.Server/Languages/de.json index b4d0a21..723c429 100644 --- a/src/Impostor.Server/Languages/de.json +++ b/src/Empostor.Server/Languages/de.json @@ -15,4 +15,4 @@ "command.title.cleared": "Titel entfernt.", "command.title.set": "Titel gesetzt: {0}", "welcome.join": "Willkommen, {0}! Freundescode: {1} | Raum: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/en.json b/src/Empostor.Server/Languages/en.json similarity index 100% rename from src/Impostor.Server/Languages/en.json rename to src/Empostor.Server/Languages/en.json diff --git a/src/Impostor.Server/Languages/es.json b/src/Empostor.Server/Languages/es.json similarity index 99% rename from src/Impostor.Server/Languages/es.json rename to src/Empostor.Server/Languages/es.json index 032fd15..9207e7c 100644 --- a/src/Impostor.Server/Languages/es.json +++ b/src/Empostor.Server/Languages/es.json @@ -15,4 +15,4 @@ "command.title.cleared": "Título eliminado.", "command.title.set": "Título establecido: {0}", "welcome.join": "Bienvenido, {0}! Código de amigo: {1} | Sala: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/fil.json b/src/Empostor.Server/Languages/fil.json similarity index 99% rename from src/Impostor.Server/Languages/fil.json rename to src/Empostor.Server/Languages/fil.json index b0791dc..d14d171 100644 --- a/src/Impostor.Server/Languages/fil.json +++ b/src/Empostor.Server/Languages/fil.json @@ -15,4 +15,4 @@ "command.title.cleared": "Natanggal ang pamagat.", "command.title.set": "Naitakda ang pamagat: {0}", "welcome.join": "Maligayang pagdating, {0}! Friend code: {1} | Silid: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/fr.json b/src/Empostor.Server/Languages/fr.json similarity index 99% rename from src/Impostor.Server/Languages/fr.json rename to src/Empostor.Server/Languages/fr.json index 98ed475..82fae8a 100644 --- a/src/Impostor.Server/Languages/fr.json +++ b/src/Empostor.Server/Languages/fr.json @@ -15,4 +15,4 @@ "command.title.cleared": "Titre supprimé.", "command.title.set": "Titre défini : {0}", "welcome.join": "Bienvenue, {0} ! Code ami : {1} | Salle : {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/ga.json b/src/Empostor.Server/Languages/ga.json similarity index 99% rename from src/Impostor.Server/Languages/ga.json rename to src/Empostor.Server/Languages/ga.json index 61c1a1e..b32d6ab 100644 --- a/src/Impostor.Server/Languages/ga.json +++ b/src/Empostor.Server/Languages/ga.json @@ -15,4 +15,4 @@ "command.title.cleared": "Teideal bainte.", "command.title.set": "Teideal socraithe: {0}", "welcome.join": "Fáilte, {0}! Cód cara: {1} | Seomra: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/it.json b/src/Empostor.Server/Languages/it.json similarity index 99% rename from src/Impostor.Server/Languages/it.json rename to src/Empostor.Server/Languages/it.json index cab171e..4ab616c 100644 --- a/src/Impostor.Server/Languages/it.json +++ b/src/Empostor.Server/Languages/it.json @@ -15,4 +15,4 @@ "command.title.cleared": "Titolo rimosso.", "command.title.set": "Titolo impostato: {0}", "welcome.join": "Benvenuto, {0}! Codice amico: {1} | Stanza: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/ja.json b/src/Empostor.Server/Languages/ja.json similarity index 99% rename from src/Impostor.Server/Languages/ja.json rename to src/Empostor.Server/Languages/ja.json index 5e2069d..be5b556 100644 --- a/src/Impostor.Server/Languages/ja.json +++ b/src/Empostor.Server/Languages/ja.json @@ -15,4 +15,4 @@ "command.title.cleared": "称号を削除しました。", "command.title.set": "称号を設定しました:{0}", "welcome.join": "ようこそ、{0}!フレンドコード:{1} | ルーム:{2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/ko.json b/src/Empostor.Server/Languages/ko.json similarity index 99% rename from src/Impostor.Server/Languages/ko.json rename to src/Empostor.Server/Languages/ko.json index f2bffc5..e7b6269 100644 --- a/src/Impostor.Server/Languages/ko.json +++ b/src/Empostor.Server/Languages/ko.json @@ -15,4 +15,4 @@ "command.title.cleared": "칭호가 제거되었습니다.", "command.title.set": "칭호 설정됨: {0}", "welcome.join": "환영합니다, {0}! 친구 코드: {1} | 방: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/nl.json b/src/Empostor.Server/Languages/nl.json similarity index 99% rename from src/Impostor.Server/Languages/nl.json rename to src/Empostor.Server/Languages/nl.json index 1b276c9..a07aba9 100644 --- a/src/Impostor.Server/Languages/nl.json +++ b/src/Empostor.Server/Languages/nl.json @@ -15,4 +15,4 @@ "command.title.cleared": "Titel verwijderd.", "command.title.set": "Titel ingesteld: {0}", "welcome.join": "Welkom, {0}! Vriendcode: {1} | Kamer: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/pt.json b/src/Empostor.Server/Languages/pt.json similarity index 99% rename from src/Impostor.Server/Languages/pt.json rename to src/Empostor.Server/Languages/pt.json index fe84b8b..fd5f8bb 100644 --- a/src/Impostor.Server/Languages/pt.json +++ b/src/Empostor.Server/Languages/pt.json @@ -15,4 +15,4 @@ "command.title.cleared": "Título removido.", "command.title.set": "Título definido: {0}", "welcome.join": "Bem-vindo, {0}! Código de amigo: {1} | Sala: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/pt_BR.json b/src/Empostor.Server/Languages/pt_BR.json similarity index 99% rename from src/Impostor.Server/Languages/pt_BR.json rename to src/Empostor.Server/Languages/pt_BR.json index 929f259..ee05954 100644 --- a/src/Impostor.Server/Languages/pt_BR.json +++ b/src/Empostor.Server/Languages/pt_BR.json @@ -15,4 +15,4 @@ "command.title.cleared": "Título removido.", "command.title.set": "Título definido: {0}", "welcome.join": "Bem-vindo, {0}! Código de amigo: {1} | Sala: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/ru.json b/src/Empostor.Server/Languages/ru.json similarity index 99% rename from src/Impostor.Server/Languages/ru.json rename to src/Empostor.Server/Languages/ru.json index bb23389..15ce1c5 100644 --- a/src/Impostor.Server/Languages/ru.json +++ b/src/Empostor.Server/Languages/ru.json @@ -15,4 +15,4 @@ "command.title.cleared": "Титул удалён.", "command.title.set": "Титул установлен: {0}", "welcome.join": "Добро пожаловать, {0}! Код друга: {1} | Комната: {2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/zh_CN.json b/src/Empostor.Server/Languages/zh_CN.json similarity index 99% rename from src/Impostor.Server/Languages/zh_CN.json rename to src/Empostor.Server/Languages/zh_CN.json index bec2c96..cbfe172 100644 --- a/src/Impostor.Server/Languages/zh_CN.json +++ b/src/Empostor.Server/Languages/zh_CN.json @@ -15,4 +15,4 @@ "command.title.cleared": "头衔已移除。", "command.title.set": "头衔已设置:{0}", "welcome.join": "欢迎,{0}!好友码:{1} | 房间:{2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Languages/zh_TW.json b/src/Empostor.Server/Languages/zh_TW.json similarity index 99% rename from src/Impostor.Server/Languages/zh_TW.json rename to src/Empostor.Server/Languages/zh_TW.json index 85cfec3..da23669 100644 --- a/src/Impostor.Server/Languages/zh_TW.json +++ b/src/Empostor.Server/Languages/zh_TW.json @@ -15,4 +15,4 @@ "command.title.cleared": "頭銜已移除。", "command.title.set": "頭銜已設置:{0}", "welcome.join": "歡迎,{0}!好友碼:{1} | 房間:{2}" -} \ No newline at end of file +} diff --git a/src/Impostor.Server/Net/Client.cs b/src/Empostor.Server/Net/Client.cs similarity index 97% rename from src/Impostor.Server/Net/Client.cs rename to src/Empostor.Server/Net/Client.cs index 3e5fdbf..76584c0 100644 --- a/src/Impostor.Server/Net/Client.cs +++ b/src/Empostor.Server/Net/Client.cs @@ -1,23 +1,23 @@ using System; using System.Linq; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Config; -using Impostor.Api.Events.Managers; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Messages; -using Impostor.Api.Net.Messages.C2S; -using Impostor.Api.Net.Messages.S2C; -using Impostor.Server.Events.Player; -using Impostor.Server.Net.Manager; -using Impostor.Server.Service.Admin.Report; +using Empostor.Api; +using Empostor.Api.Config; +using Empostor.Api.Events.Managers; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Messages; +using Empostor.Api.Net.Messages.C2S; +using Empostor.Api.Net.Messages.S2C; +using Empostor.Server.Events.Player; +using Empostor.Server.Net.Manager; +using Empostor.Server.Service.Admin.Report; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Next.Hazel; -namespace Impostor.Server.Net +namespace Empostor.Server.Net { internal class Client : ClientBase { diff --git a/src/Impostor.Server/Net/ClientBase.cs b/src/Empostor.Server/Net/ClientBase.cs similarity index 93% rename from src/Impostor.Server/Net/ClientBase.cs rename to src/Empostor.Server/Net/ClientBase.cs index 6cc35d3..9c9937e 100644 --- a/src/Impostor.Server/Net/ClientBase.cs +++ b/src/Empostor.Server/Net/ClientBase.cs @@ -1,12 +1,12 @@ using System.Collections.Concurrent; using System.Collections.Generic; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Innersloth.Customization; -using Impostor.Api.Net; -using Impostor.Server.Net.State; +using Empostor.Api; +using Empostor.Api.Innersloth.Customization; +using Empostor.Api.Net; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net +namespace Empostor.Server.Net { internal abstract class ClientBase : IClient { diff --git a/src/Impostor.Server/Net/Custom/CustomMessageManager.cs b/src/Empostor.Server/Net/Custom/CustomMessageManager.cs similarity index 90% rename from src/Impostor.Server/Net/Custom/CustomMessageManager.cs rename to src/Empostor.Server/Net/Custom/CustomMessageManager.cs index 42b3c7b..1f0a15a 100644 --- a/src/Impostor.Server/Net/Custom/CustomMessageManager.cs +++ b/src/Empostor.Server/Net/Custom/CustomMessageManager.cs @@ -1,10 +1,10 @@ using System; using System.Collections.Concurrent; using System.Diagnostics.CodeAnalysis; -using Impostor.Api; -using Impostor.Api.Net.Custom; +using Empostor.Api; +using Empostor.Api.Net.Custom; -namespace Impostor.Server.Net.Custom +namespace Empostor.Server.Net.Custom { public class CustomMessageManager : ICustomMessageManager where T : ICustomMessage @@ -20,7 +20,7 @@ namespace Impostor.Server.Net.Custom { if (!_messages.TryAdd(message.Id, message)) { - throw new ImpostorException($"Message with id: {message.Id} was already registered"); + throw new EmpostorException($"Message with id: {message.Id} was already registered"); } return new UnregisterDisposable(this, message); diff --git a/src/Impostor.Server/Net/Factories/ClientFactory.cs b/src/Empostor.Server/Net/Factories/ClientFactory.cs similarity index 92% rename from src/Impostor.Server/Net/Factories/ClientFactory.cs rename to src/Empostor.Server/Net/Factories/ClientFactory.cs index 188eb18..2e4fab0 100644 --- a/src/Impostor.Server/Net/Factories/ClientFactory.cs +++ b/src/Empostor.Server/Net/Factories/ClientFactory.cs @@ -1,8 +1,8 @@ using System; -using Impostor.Api.Net; +using Empostor.Api.Net; using Microsoft.Extensions.DependencyInjection; -namespace Impostor.Server.Net.Factories +namespace Empostor.Server.Net.Factories { internal class ClientFactory : IClientFactory where TClient : ClientBase diff --git a/src/Impostor.Server/Net/Factories/IClientFactory.cs b/src/Empostor.Server/Net/Factories/IClientFactory.cs similarity index 78% rename from src/Impostor.Server/Net/Factories/IClientFactory.cs rename to src/Empostor.Server/Net/Factories/IClientFactory.cs index f5c0639..6e7d05a 100644 --- a/src/Impostor.Server/Net/Factories/IClientFactory.cs +++ b/src/Empostor.Server/Net/Factories/IClientFactory.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Server.Net.Factories +namespace Empostor.Server.Net.Factories { internal interface IClientFactory { diff --git a/src/Impostor.Server/Net/GameCodeFactory.cs b/src/Empostor.Server/Net/GameCodeFactory.cs similarity index 73% rename from src/Impostor.Server/Net/GameCodeFactory.cs rename to src/Empostor.Server/Net/GameCodeFactory.cs index f8b0de4..53759fb 100644 --- a/src/Impostor.Server/Net/GameCodeFactory.cs +++ b/src/Empostor.Server/Net/GameCodeFactory.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Games; +using Empostor.Api.Games; -namespace Impostor.Server.Net +namespace Empostor.Server.Net { public class GameCodeFactory : IGameCodeFactory { diff --git a/src/Impostor.Server/Net/Hazel/HazelConnection.cs b/src/Empostor.Server/Net/Hazel/HazelConnection.cs similarity index 97% rename from src/Impostor.Server/Net/Hazel/HazelConnection.cs rename to src/Empostor.Server/Net/Hazel/HazelConnection.cs index 54ea060..8db517c 100644 --- a/src/Impostor.Server/Net/Hazel/HazelConnection.cs +++ b/src/Empostor.Server/Net/Hazel/HazelConnection.cs @@ -1,10 +1,10 @@ using System.Net; using System.Threading.Tasks; -using Impostor.Api.Net; +using Empostor.Api.Net; using Next.Hazel; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Hazel +namespace Empostor.Server.Net.Hazel { internal class HazelConnection : IHazelConnection { diff --git a/src/Impostor.Server/Net/Inner/GameDataTag.cs b/src/Empostor.Server/Net/Inner/GameDataTag.cs similarity index 92% rename from src/Impostor.Server/Net/Inner/GameDataTag.cs rename to src/Empostor.Server/Net/Inner/GameDataTag.cs index 300ce81..22e7903 100644 --- a/src/Impostor.Server/Net/Inner/GameDataTag.cs +++ b/src/Empostor.Server/Net/Inner/GameDataTag.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner +namespace Empostor.Server.Net.Inner { public static class GameDataTag { diff --git a/src/Impostor.Server/Net/Inner/GameObject.cs b/src/Empostor.Server/Net/Inner/GameObject.cs similarity index 93% rename from src/Impostor.Server/Net/Inner/GameObject.cs rename to src/Empostor.Server/Net/Inner/GameObject.cs index 7fd4f01..2ce71c3 100644 --- a/src/Impostor.Server/Net/Inner/GameObject.cs +++ b/src/Empostor.Server/Net/Inner/GameObject.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Impostor.Server.Net.Inner +namespace Empostor.Server.Net.Inner { internal class GameObject { diff --git a/src/Impostor.Server/Net/Inner/InnerNetObject.Anticheat.cs b/src/Empostor.Server/Net/Inner/InnerNetObject.Anticheat.cs similarity index 97% rename from src/Impostor.Server/Net/Inner/InnerNetObject.Anticheat.cs rename to src/Empostor.Server/Net/Inner/InnerNetObject.Anticheat.cs index 10e995c..5a8932e 100644 --- a/src/Impostor.Server/Net/Inner/InnerNetObject.Anticheat.cs +++ b/src/Empostor.Server/Net/Inner/InnerNetObject.Anticheat.cs @@ -1,9 +1,9 @@ using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Net; -using Impostor.Server.Net.Inner.Objects; +using Empostor.Api; +using Empostor.Api.Net; +using Empostor.Server.Net.Inner.Objects; -namespace Impostor.Server.Net.Inner +namespace Empostor.Server.Net.Inner { internal abstract partial class InnerNetObject { diff --git a/src/Impostor.Server/Net/Inner/InnerNetObject.cs b/src/Empostor.Server/Net/Inner/InnerNetObject.cs similarity index 91% rename from src/Impostor.Server/Net/Inner/InnerNetObject.cs rename to src/Empostor.Server/Net/Inner/InnerNetObject.cs index 1fde006..a4e8fcc 100644 --- a/src/Impostor.Server/Net/Inner/InnerNetObject.cs +++ b/src/Empostor.Server/Net/Inner/InnerNetObject.cs @@ -1,11 +1,11 @@ using System.Threading.Tasks; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Server.Net.State; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner +namespace Empostor.Server.Net.Inner { internal abstract partial class InnerNetObject : GameObject, IInnerNetObject { diff --git a/src/Impostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.Api.cs b/src/Empostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.Api.cs similarity index 81% rename from src/Impostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.Api.cs rename to src/Empostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.Api.cs index 3e90de3..f05476e 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.Api.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.Api.cs @@ -1,10 +1,10 @@ using System.Numerics; using System.Threading.Tasks; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects.Components; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects.Components; -namespace Impostor.Server.Net.Inner.Objects.Components +namespace Empostor.Server.Net.Inner.Objects.Components { internal partial class InnerCustomNetworkTransform : IInnerCustomNetworkTransform { diff --git a/src/Impostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.cs b/src/Empostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.cs similarity index 93% rename from src/Impostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.cs rename to src/Empostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.cs index f7b145d..b26bb2d 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Components/InnerCustomNetworkTransform.cs @@ -1,18 +1,18 @@ using System.Linq; using System.Numerics; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Events.Managers; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Server.Events.Player; -using Impostor.Server.Net.State; +using Empostor.Api; +using Empostor.Api.Events.Managers; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Server.Events.Player; +using Empostor.Server.Net.State; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; -namespace Impostor.Server.Net.Inner.Objects.Components +namespace Empostor.Server.Net.Inner.Objects.Components { internal partial class InnerCustomNetworkTransform : InnerNetObject { @@ -53,7 +53,7 @@ namespace Impostor.Server.Net.Inner.Objects.Components writer.Write(_lastSequenceId); - // Impostor doesn't keep a memory of positions, so just send the last one + // Empostor doesn't keep a memory of positions, so just send the last one writer.WritePacked(1); writer.Write(Position); return new ValueTask(true); diff --git a/src/Empostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.Api.cs b/src/Empostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.Api.cs new file mode 100644 index 0000000..9a32ab1 --- /dev/null +++ b/src/Empostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.Api.cs @@ -0,0 +1,8 @@ +using Empostor.Api.Net.Inner.Objects.Components; + +namespace Empostor.Server.Net.Inner.Objects.Components +{ + internal partial class InnerPlayerPhysics : IInnerPlayerPhysics + { + } +} diff --git a/src/Impostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.cs b/src/Empostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.cs similarity index 94% rename from src/Impostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.cs rename to src/Empostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.cs index 11ec2d2..b4e93db 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.cs @@ -1,16 +1,16 @@ using System; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Events.Managers; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Server.Events.Player; -using Impostor.Server.Net.State; +using Empostor.Api; +using Empostor.Api.Events.Managers; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Server.Events.Player; +using Empostor.Server.Net.State; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Inner.Objects.Components +namespace Empostor.Server.Net.Inner.Objects.Components { internal partial class InnerPlayerPhysics : InnerNetObject { diff --git a/src/Impostor.Server/Net/Inner/Objects/Components/InnerVoteBanSystem.cs b/src/Empostor.Server/Net/Inner/Objects/Components/InnerVoteBanSystem.cs similarity index 90% rename from src/Impostor.Server/Net/Inner/Objects/Components/InnerVoteBanSystem.cs rename to src/Empostor.Server/Net/Inner/Objects/Components/InnerVoteBanSystem.cs index 8b20d73..10dd6bb 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Components/InnerVoteBanSystem.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Components/InnerVoteBanSystem.cs @@ -1,16 +1,16 @@ using System; using System.Collections.Generic; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Server.Net.State; +using Empostor.Api; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Server.Net.State; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Inner.Objects.Components +namespace Empostor.Server.Net.Inner.Objects.Components { internal class InnerVoteBanSystem : InnerNetObject, IInnerVoteBanSystem { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerGameManager.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerGameManager.cs similarity index 92% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/InnerGameManager.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/InnerGameManager.cs index f51b080..51f23ac 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerGameManager.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerGameManager.cs @@ -1,14 +1,14 @@ using System.Collections.Generic; using System.Threading.Tasks; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects.GameManager; -using Impostor.Server.Net.Inner.Objects.GameManager.Logic; -using Impostor.Server.Net.State; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects.GameManager; +using Empostor.Server.Net.Inner.Objects.GameManager.Logic; +using Empostor.Server.Net.State; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Inner.Objects.GameManager; +namespace Empostor.Server.Net.Inner.Objects.GameManager; internal abstract class InnerGameManager : InnerNetObject, IInnerGameManager { diff --git a/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.Api.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.Api.cs new file mode 100644 index 0000000..cead14a --- /dev/null +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.Api.cs @@ -0,0 +1,9 @@ +using Empostor.Api.Net.Inner.Objects.GameManager; +using Empostor.Api.Net.Inner.Objects.GameManager.Logic.HideAndSeek; + +namespace Empostor.Server.Net.Inner.Objects.GameManager; + +internal partial class InnerHideAndSeekManager +{ + ILogicGameFlowHnS IInnerHideAndSeekManager.LogicFlowHnS => LogicFlowHnS; +} diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.cs similarity index 83% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.cs index 09c9a5a..6b3fe63 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.cs @@ -1,11 +1,11 @@ -using Impostor.Api.Events.Managers; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner.Objects.GameManager; -using Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; -using Impostor.Server.Net.State; +using Empostor.Api.Events.Managers; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner.Objects.GameManager; +using Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +using Empostor.Server.Net.State; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Inner.Objects.GameManager; +namespace Empostor.Server.Net.Inner.Objects.GameManager; internal partial class InnerHideAndSeekManager : InnerGameManager, IInnerHideAndSeekManager { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerNormalGameManager.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerNormalGameManager.cs similarity index 67% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/InnerNormalGameManager.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/InnerNormalGameManager.cs index e00bac2..fc70116 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerNormalGameManager.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/InnerNormalGameManager.cs @@ -1,12 +1,12 @@ -using Impostor.Api.Events.Managers; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner.Objects.GameManager; -using Impostor.Server.Net.Inner.Objects.GameManager.Logic; -using Impostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; -using Impostor.Server.Net.State; +using Empostor.Api.Events.Managers; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner.Objects.GameManager; +using Empostor.Server.Net.Inner.Objects.GameManager.Logic; +using Empostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; +using Empostor.Server.Net.State; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Inner.Objects.GameManager; +namespace Empostor.Server.Net.Inner.Objects.GameManager; internal class InnerNormalGameManager : InnerGameManager, IInnerNormalGameManager { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/GameLogicComponent.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/GameLogicComponent.cs similarity index 84% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/GameLogicComponent.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/GameLogicComponent.cs index 8ee662f..ae6462f 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/GameLogicComponent.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/GameLogicComponent.cs @@ -1,8 +1,8 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Net.Inner; +using Empostor.Api.Net.Inner; -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic; internal abstract class GameLogicComponent { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicGameFlowHnS.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicGameFlowHnS.cs similarity index 79% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicGameFlowHnS.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicGameFlowHnS.cs index c26bf52..d47d5ab 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicGameFlowHnS.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicGameFlowHnS.cs @@ -1,7 +1,7 @@ using System.Threading.Tasks; -using Impostor.Api.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +using Empostor.Api.Net.Inner.Objects.GameManager.Logic.HideAndSeek; -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicGameFlowHnS : LogicGameFlow, ILogicGameFlowHnS { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDangerLevel.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDangerLevel.cs similarity index 53% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDangerLevel.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDangerLevel.cs index ba4fc85..e3ba4ed 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDangerLevel.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDangerLevel.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicHnSDangerLevel : GameLogicComponent { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDeathPopup.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDeathPopup.cs similarity index 53% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDeathPopup.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDeathPopup.cs index b624c96..bc87cbe 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDeathPopup.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSDeathPopup.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicHnSDeathPopup : GameLogicComponent { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSMusic.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSMusic.cs similarity index 51% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSMusic.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSMusic.cs index e0f0a33..4e6c9c8 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSMusic.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicHnSMusic.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicHnSMusic : GameLogicComponent { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicMinigameHnS.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicMinigameHnS.cs similarity index 51% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicMinigameHnS.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicMinigameHnS.cs index 1e44fad..be66d9c 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicMinigameHnS.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicMinigameHnS.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicMinigameHnS : LogicMinigame { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicOptionsHnS.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicOptionsHnS.cs similarity index 55% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicOptionsHnS.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicOptionsHnS.cs index 2d588d9..ed96dea 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicOptionsHnS.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicOptionsHnS.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events.Managers; -using Impostor.Server.Net.State; +using Empostor.Api.Events.Managers; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicOptionsHnS : LogicOptions { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicPingsHnS.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicPingsHnS.cs similarity index 51% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicPingsHnS.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicPingsHnS.cs index ff60e30..f0d20a8 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicPingsHnS.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicPingsHnS.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicPingsHnS : GameLogicComponent { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicRoleSelectionHnS.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicRoleSelectionHnS.cs similarity index 54% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicRoleSelectionHnS.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicRoleSelectionHnS.cs index 2acd488..989e7dc 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicRoleSelectionHnS.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicRoleSelectionHnS.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicRoleSelectionHnS : LogicRoleSelection { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicUsablesHnS.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicUsablesHnS.cs similarity index 50% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicUsablesHnS.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicUsablesHnS.cs index 3022cdc..c9aacee 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicUsablesHnS.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/HideAndSeek/LogicUsablesHnS.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.HideAndSeek; internal class LogicUsablesHnS : LogicUsables { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicGameFlow.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicGameFlow.cs similarity index 50% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicGameFlow.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicGameFlow.cs index 2b408e8..b7b3326 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicGameFlow.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicGameFlow.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic; internal abstract class LogicGameFlow : GameLogicComponent { diff --git a/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicMinigame.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicMinigame.cs new file mode 100644 index 0000000..7a7abdd --- /dev/null +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicMinigame.cs @@ -0,0 +1,5 @@ +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic; + +internal class LogicMinigame : GameLogicComponent +{ +} diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicOptions.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicOptions.cs similarity index 80% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicOptions.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicOptions.cs index 2622e52..05abd35 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicOptions.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicOptions.cs @@ -1,10 +1,10 @@ using System.Threading.Tasks; -using Impostor.Api.Events.Managers; -using Impostor.Api.Innersloth.GameOptions; -using Impostor.Server.Events; -using Impostor.Server.Net.State; +using Empostor.Api.Events.Managers; +using Empostor.Api.Innersloth.GameOptions; +using Empostor.Server.Events; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic; internal abstract class LogicOptions : GameLogicComponent { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicRoleSelection.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicRoleSelection.cs similarity index 52% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicRoleSelection.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicRoleSelection.cs index 5674c73..c695d0b 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicRoleSelection.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicRoleSelection.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic; internal abstract class LogicRoleSelection : GameLogicComponent { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicUsables.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicUsables.cs similarity index 50% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicUsables.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicUsables.cs index 1a60f09..5a98c6d 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicUsables.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/LogicUsables.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic; internal abstract class LogicUsables : GameLogicComponent { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicGameFlowNormal.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicGameFlowNormal.cs similarity index 50% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicGameFlowNormal.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicGameFlowNormal.cs index 2be3c7f..7236d16 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicGameFlowNormal.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicGameFlowNormal.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; internal class LogicGameFlowNormal : LogicGameFlow { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicOptionsNormal.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicOptionsNormal.cs similarity index 55% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicOptionsNormal.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicOptionsNormal.cs index 88c0f22..c720d76 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicOptionsNormal.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicOptionsNormal.cs @@ -1,7 +1,7 @@ -using Impostor.Api.Events.Managers; -using Impostor.Server.Net.State; +using Empostor.Api.Events.Managers; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; internal class LogicOptionsNormal : LogicOptions { diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicRoleSelectionNormal.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicRoleSelectionNormal.cs similarity index 53% rename from src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicRoleSelectionNormal.cs rename to src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicRoleSelectionNormal.cs index 855f757..51aafb2 100644 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicRoleSelectionNormal.cs +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicRoleSelectionNormal.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; internal class LogicRoleSelectionNormal : LogicRoleSelection { diff --git a/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicUsablesBasic.cs b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicUsablesBasic.cs new file mode 100644 index 0000000..b2741a6 --- /dev/null +++ b/src/Empostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicUsablesBasic.cs @@ -0,0 +1,5 @@ +namespace Empostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; + +internal class LogicUsablesBasic : LogicUsables +{ +} diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerGameData.cs b/src/Empostor.Server/Net/Inner/Objects/InnerGameData.cs similarity index 95% rename from src/Impostor.Server/Net/Inner/Objects/InnerGameData.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerGameData.cs index b1796f1..d507c55 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerGameData.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerGameData.cs @@ -1,8 +1,8 @@ using System.Collections.Concurrent; using System.Collections.Generic; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerGameData : IInnerGameData { diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerLobbyBehaviour.cs b/src/Empostor.Server/Net/Inner/Objects/InnerLobbyBehaviour.cs similarity index 80% rename from src/Impostor.Server/Net/Inner/Objects/InnerLobbyBehaviour.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerLobbyBehaviour.cs index b64d577..52700fc 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerLobbyBehaviour.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerLobbyBehaviour.cs @@ -1,11 +1,11 @@ using System; using System.Threading.Tasks; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner.Objects; -using Impostor.Server.Net.State; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner.Objects; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal class InnerLobbyBehaviour : InnerNetObject, IInnerLobbyBehaviour { diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.Api.cs b/src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.Api.cs similarity index 79% rename from src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.Api.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.Api.cs index 8b1528d..50739ec 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.Api.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.Api.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerMeetingHud : IInnerMeetingHud { diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.PlayerVoteArea.cs b/src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.PlayerVoteArea.cs similarity index 93% rename from src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.PlayerVoteArea.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.PlayerVoteArea.cs index 2e9f176..5030e84 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.PlayerVoteArea.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.PlayerVoteArea.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Events.Player; -using Impostor.Api.Net.Inner.Objects; -using TVoteType = Impostor.Api.Events.Player.VoteType; +using Empostor.Api.Events.Player; +using Empostor.Api.Net.Inner.Objects; +using TVoteType = Empostor.Api.Events.Player.VoteType; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerMeetingHud { diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.VoterState.cs b/src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.VoterState.cs similarity index 94% rename from src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.VoterState.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.VoterState.cs index 934ea2c..43a85f0 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.VoterState.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.VoterState.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerMeetingHud { diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.cs b/src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.cs similarity index 96% rename from src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.cs index fba672d..f575518 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerMeetingHud.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerMeetingHud.cs @@ -4,20 +4,20 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Events.Managers; -using Impostor.Api.Events.Player; -using Impostor.Api.Innersloth.GameOptions; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Server.Events.Meeting; -using Impostor.Server.Events.Player; -using Impostor.Server.Net.State; +using Empostor.Api; +using Empostor.Api.Events.Managers; +using Empostor.Api.Events.Player; +using Empostor.Api.Innersloth.GameOptions; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Server.Events.Meeting; +using Empostor.Server.Events.Player; +using Empostor.Server.Net.State; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerMeetingHud : InnerNetObject { diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.Api.cs b/src/Empostor.Server/Net/Inner/Objects/InnerPlayerControl.Api.cs similarity index 88% rename from src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.Api.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerPlayerControl.Api.cs index 6b94a9e..3059772 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.Api.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerPlayerControl.Api.cs @@ -1,14 +1,14 @@ using System.Diagnostics.CodeAnalysis; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Innersloth.Customization; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects; -using Impostor.Api.Net.Inner.Objects.Components; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Server.Events.Player; +using Empostor.Api; +using Empostor.Api.Innersloth.Customization; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects.Components; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Server.Events.Player; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerPlayerControl : IInnerPlayerControl { @@ -22,7 +22,7 @@ namespace Impostor.Server.Net.Inner.Objects { if (PlayerInfo == null) { - throw new ImpostorProtocolException("Cannot set name, PlayerInfo is null"); + throw new EmpostorProtocolException("Cannot set name, PlayerInfo is null"); } PlayerInfo.CurrentOutfit.PlayerName = name; @@ -36,7 +36,7 @@ namespace Impostor.Server.Net.Inner.Objects { if (PlayerInfo == null) { - throw new ImpostorProtocolException("Cannot set color, PlayerInfo is null"); + throw new EmpostorProtocolException("Cannot set color, PlayerInfo is null"); } PlayerInfo.CurrentOutfit.Color = color; @@ -50,7 +50,7 @@ namespace Impostor.Server.Net.Inner.Objects { if (PlayerInfo == null) { - throw new ImpostorProtocolException("Cannot set hat, PlayerInfo is null"); + throw new EmpostorProtocolException("Cannot set hat, PlayerInfo is null"); } PlayerInfo.CurrentOutfit.HatId = hatId; @@ -64,7 +64,7 @@ namespace Impostor.Server.Net.Inner.Objects { if (PlayerInfo == null) { - throw new ImpostorProtocolException("Cannot set pet, PlayerInfo is null"); + throw new EmpostorProtocolException("Cannot set pet, PlayerInfo is null"); } PlayerInfo.CurrentOutfit.PetId = petId; @@ -78,7 +78,7 @@ namespace Impostor.Server.Net.Inner.Objects { if (PlayerInfo == null) { - throw new ImpostorProtocolException("Cannot set skin, PlayerInfo is null"); + throw new EmpostorProtocolException("Cannot set skin, PlayerInfo is null"); } PlayerInfo.CurrentOutfit.SkinId = skinId; @@ -92,7 +92,7 @@ namespace Impostor.Server.Net.Inner.Objects { if (PlayerInfo == null) { - throw new ImpostorProtocolException("Cannot set visor, PlayerInfo is null"); + throw new EmpostorProtocolException("Cannot set visor, PlayerInfo is null"); } PlayerInfo.CurrentOutfit.VisorId = visorId; @@ -106,7 +106,7 @@ namespace Impostor.Server.Net.Inner.Objects { if (PlayerInfo == null) { - throw new ImpostorProtocolException("Cannot set nameplate, PlayerInfo is null"); + throw new EmpostorProtocolException("Cannot set nameplate, PlayerInfo is null"); } PlayerInfo.CurrentOutfit.NamePlateId = nameplateId; @@ -174,7 +174,7 @@ namespace Impostor.Server.Net.Inner.Objects { if (!ValidateMurderPlayer(target, result, out var reason)) { - throw new ImpostorProtocolException(reason); + throw new EmpostorProtocolException(reason); } await ForceMurderPlayerAsync(target, result); @@ -203,11 +203,11 @@ namespace Impostor.Server.Net.Inner.Objects { if (target.PlayerInfo == null) { - throw new ImpostorProtocolException("Tried to exile a player, but target didn't have a playerinfo"); + throw new EmpostorProtocolException("Tried to exile a player, but target didn't have a playerinfo"); } else if (target.PlayerInfo.IsDead) { - throw new ImpostorProtocolException("Tried to protect a player that is dead"); + throw new EmpostorProtocolException("Tried to protect a player that is dead"); } await ForceProtectPlayerAsync(target); @@ -226,11 +226,11 @@ namespace Impostor.Server.Net.Inner.Objects { if (PlayerInfo == null) { - throw new ImpostorProtocolException("Tried to exile a player, but target didn't have a playerinfo"); + throw new EmpostorProtocolException("Tried to exile a player, but target didn't have a playerinfo"); } else if (PlayerInfo.IsDead) { - throw new ImpostorProtocolException("Tried to exile a player, but target was not alive."); + throw new EmpostorProtocolException("Tried to exile a player, but target was not alive."); } await ForceExileAsync(); diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.cs b/src/Empostor.Server/Net/Inner/Objects/InnerPlayerControl.cs similarity index 98% rename from src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerPlayerControl.cs index 2e30e25..6aaf1d9 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerPlayerControl.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerPlayerControl.cs @@ -1,26 +1,26 @@ using System; using System.Linq; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Events.Managers; -using Impostor.Api.Innersloth.Customization; -using Impostor.Api.Innersloth.GameOptions; -using Impostor.Api.Innersloth.GameOptions.RoleOptions; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Api.Utils; -using Impostor.Server.Events.Player; -using Impostor.Server.Net.Inner.Objects.Components; -using Impostor.Server.Net.State; +using Empostor.Api; +using Empostor.Api.Events.Managers; +using Empostor.Api.Innersloth.Customization; +using Empostor.Api.Innersloth.GameOptions; +using Empostor.Api.Innersloth.GameOptions.RoleOptions; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Api.Utils; +using Empostor.Server.Events.Player; +using Empostor.Server.Net.Inner.Objects.Components; +using Empostor.Server.Net.State; using Microsoft.Extensions.DependencyInjection; -using Impostor.Server.Commands; +using Empostor.Server.Commands; using Microsoft.Extensions.Logging; -using Impostor.Api.Commands; +using Empostor.Api.Commands; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerPlayerControl : InnerNetObject { diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerPlayerInfo.Api.cs b/src/Empostor.Server/Net/Inner/Objects/InnerPlayerInfo.Api.cs similarity index 70% rename from src/Impostor.Server/Net/Inner/Objects/InnerPlayerInfo.Api.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerPlayerInfo.Api.cs index b8b3cd8..19ad273 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerPlayerInfo.Api.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerPlayerInfo.Api.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerPlayerInfo : InnerNetObject, IInnerPlayerInfo { diff --git a/src/Impostor.Server/Net/Inner/Objects/InnerPlayerInfo.cs b/src/Empostor.Server/Net/Inner/Objects/InnerPlayerInfo.cs similarity index 94% rename from src/Impostor.Server/Net/Inner/Objects/InnerPlayerInfo.cs rename to src/Empostor.Server/Net/Inner/Objects/InnerPlayerInfo.cs index 5829a23..0a4175c 100644 --- a/src/Impostor.Server/Net/Inner/Objects/InnerPlayerInfo.cs +++ b/src/Empostor.Server/Net/Inner/Objects/InnerPlayerInfo.cs @@ -2,19 +2,19 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Impostor.Api.Events.Managers; -using Impostor.Api.Games; -using Impostor.Api.Innersloth.Customization; -using Impostor.Api.Innersloth.GameOptions; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Api.Utils; -using Impostor.Server.Net.State; +using Empostor.Api.Events.Managers; +using Empostor.Api.Games; +using Empostor.Api.Innersloth.Customization; +using Empostor.Api.Innersloth.GameOptions; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Api.Utils; +using Empostor.Server.Net.State; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal partial class InnerPlayerInfo { @@ -155,7 +155,7 @@ namespace Impostor.Server.Net.Inner.Objects IsDead = (flag & 4) != 0; // Ignore the RoleType here and only trust the SetRole RPC, as - // RoleType is not nullable in vanilla, while Impostor checks game + // RoleType is not nullable in vanilla, while Empostor checks game // starts based on assigned roles. _ = (RoleTypes)reader.ReadUInt16(); @@ -176,7 +176,7 @@ namespace Impostor.Server.Net.Inner.Objects Tasks[i].Deserialize(reader); } - // Impostor doesn't expose fields that aren't properly validated + // Empostor doesn't expose fields that aren't properly validated reader.ReadString(); // FriendCode reader.ReadString(); // PUID diff --git a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerAirshipStatus.cs b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerAirshipStatus.cs similarity index 85% rename from src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerAirshipStatus.cs rename to src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerAirshipStatus.cs index 9c9f542..39a8338 100644 --- a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerAirshipStatus.cs +++ b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerAirshipStatus.cs @@ -1,12 +1,12 @@ using System.Collections.Generic; using System.Numerics; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner.Objects.ShipStatus; -using Impostor.Server.Net.Inner.Objects.Systems; -using Impostor.Server.Net.Inner.Objects.Systems.ShipStatus; -using Impostor.Server.Net.State; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner.Objects.ShipStatus; +using Empostor.Server.Net.Inner.Objects.Systems; +using Empostor.Server.Net.Inner.Objects.Systems.ShipStatus; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.ShipStatus { internal class InnerAirshipStatus : InnerShipStatus, IInnerAirshipStatus { diff --git a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerDleksShipStatus.cs b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerDleksShipStatus.cs similarity index 74% rename from src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerDleksShipStatus.cs rename to src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerDleksShipStatus.cs index ab08b3c..3377b40 100644 --- a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerDleksShipStatus.cs +++ b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerDleksShipStatus.cs @@ -1,11 +1,11 @@ using System.Collections.Generic; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner.Objects.ShipStatus; -using Impostor.Server.Net.Inner.Objects.Systems; -using Impostor.Server.Net.Inner.Objects.Systems.ShipStatus; -using Impostor.Server.Net.State; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner.Objects.ShipStatus; +using Empostor.Server.Net.Inner.Objects.Systems; +using Empostor.Server.Net.Inner.Objects.Systems.ShipStatus; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.ShipStatus { internal class InnerDleksShipStatus : InnerShipStatus, IInnerDleksShipStatus { diff --git a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerFungleShipStatus.cs b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerFungleShipStatus.cs similarity index 76% rename from src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerFungleShipStatus.cs rename to src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerFungleShipStatus.cs index a71ff36..708f348 100644 --- a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerFungleShipStatus.cs +++ b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerFungleShipStatus.cs @@ -1,10 +1,10 @@ using System.Collections.Generic; -using Impostor.Api.Net.Custom; -using Impostor.Server.Net.Inner.Objects.Systems; -using Impostor.Server.Net.Inner.Objects.Systems.ShipStatus; -using Impostor.Server.Net.State; +using Empostor.Api.Net.Custom; +using Empostor.Server.Net.Inner.Objects.Systems; +using Empostor.Server.Net.Inner.Objects.Systems.ShipStatus; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.ShipStatus { internal class InnerFungleShipStatus : InnerShipStatus { diff --git a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerMiraShipStatus.cs b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerMiraShipStatus.cs similarity index 70% rename from src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerMiraShipStatus.cs rename to src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerMiraShipStatus.cs index 129a9f5..49bae2d 100644 --- a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerMiraShipStatus.cs +++ b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerMiraShipStatus.cs @@ -1,11 +1,11 @@ using System.Collections.Generic; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner.Objects.ShipStatus; -using Impostor.Server.Net.Inner.Objects.Systems; -using Impostor.Server.Net.Inner.Objects.Systems.ShipStatus; -using Impostor.Server.Net.State; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner.Objects.ShipStatus; +using Empostor.Server.Net.Inner.Objects.Systems; +using Empostor.Server.Net.Inner.Objects.Systems.ShipStatus; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.ShipStatus { internal class InnerMiraShipStatus : InnerShipStatus, IInnerMiraShipStatus { diff --git a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerPolusShipStatus.cs b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerPolusShipStatus.cs similarity index 84% rename from src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerPolusShipStatus.cs rename to src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerPolusShipStatus.cs index 330a6c9..c389838 100644 --- a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerPolusShipStatus.cs +++ b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerPolusShipStatus.cs @@ -1,12 +1,12 @@ using System.Collections.Generic; using System.Numerics; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner.Objects.ShipStatus; -using Impostor.Server.Net.Inner.Objects.Systems; -using Impostor.Server.Net.Inner.Objects.Systems.ShipStatus; -using Impostor.Server.Net.State; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner.Objects.ShipStatus; +using Empostor.Server.Net.Inner.Objects.Systems; +using Empostor.Server.Net.Inner.Objects.Systems.ShipStatus; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.ShipStatus { internal class InnerPolusShipStatus : InnerShipStatus, IInnerPolusShipStatus { diff --git a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerShipStatus.cs b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerShipStatus.cs similarity index 91% rename from src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerShipStatus.cs rename to src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerShipStatus.cs index 6fbe552..0f35680 100644 --- a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerShipStatus.cs +++ b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerShipStatus.cs @@ -3,18 +3,18 @@ using System.Collections.Generic; using System.Linq; using System.Numerics; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Innersloth.Maps; -using Impostor.Api.Net; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects.ShipStatus; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Server.Net.Inner.Objects.Systems; -using Impostor.Server.Net.Inner.Objects.Systems.ShipStatus; -using Impostor.Server.Net.State; +using Empostor.Api; +using Empostor.Api.Innersloth.Maps; +using Empostor.Api.Net; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects.ShipStatus; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Server.Net.Inner.Objects.Systems; +using Empostor.Server.Net.Inner.Objects.Systems.ShipStatus; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.ShipStatus { internal abstract class InnerShipStatus : InnerNetObject, IInnerShipStatus { diff --git a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerSkeldShipStatus.cs b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerSkeldShipStatus.cs similarity index 74% rename from src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerSkeldShipStatus.cs rename to src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerSkeldShipStatus.cs index a9c6bee..cb14010 100644 --- a/src/Impostor.Server/Net/Inner/Objects/ShipStatus/InnerSkeldShipStatus.cs +++ b/src/Empostor.Server/Net/Inner/Objects/ShipStatus/InnerSkeldShipStatus.cs @@ -1,11 +1,11 @@ using System.Collections.Generic; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Inner.Objects.ShipStatus; -using Impostor.Server.Net.Inner.Objects.Systems; -using Impostor.Server.Net.Inner.Objects.Systems.ShipStatus; -using Impostor.Server.Net.State; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Inner.Objects.ShipStatus; +using Empostor.Server.Net.Inner.Objects.Systems; +using Empostor.Server.Net.Inner.Objects.Systems.ShipStatus; +using Empostor.Server.Net.State; -namespace Impostor.Server.Net.Inner.Objects.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.ShipStatus { internal class InnerSkeldShipStatus : InnerShipStatus, IInnerSkeldShipStatus { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/IActivatable.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/IActivatable.cs similarity index 59% rename from src/Impostor.Server/Net/Inner/Objects/Systems/IActivatable.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/IActivatable.cs index 66a164c..2ba0996 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/IActivatable.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/IActivatable.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.Systems +namespace Empostor.Server.Net.Inner.Objects.Systems { public interface IActivatable { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ISystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ISystemType.cs similarity index 76% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ISystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ISystemType.cs index d1d309b..3830b49 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ISystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ISystemType.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Net.Inner.Objects.Systems +namespace Empostor.Server.Net.Inner.Objects.Systems { public interface ISystemType { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/AutoDoorsSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/AutoDoorsSystemType.cs similarity index 94% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/AutoDoorsSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/AutoDoorsSystemType.cs index 953e373..1eba826 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/AutoDoorsSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/AutoDoorsSystemType.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class AutoDoorsSystemType : ISystemType { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/DoorsSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/DoorsSystemType.cs similarity index 94% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/DoorsSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/DoorsSystemType.cs index 0fb0d0d..4f117e4 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/DoorsSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/DoorsSystemType.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class DoorsSystemType : ISystemType { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/ElectricalDoors.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/ElectricalDoors.cs similarity index 91% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/ElectricalDoors.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/ElectricalDoors.cs index e806c19..1c45177 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/ElectricalDoors.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/ElectricalDoors.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class ElectricalDoors : ISystemType { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/HeliSabotageSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/HeliSabotageSystemType.cs similarity index 95% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/HeliSabotageSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/HeliSabotageSystemType.cs index 74da1a6..c5da18f 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/HeliSabotageSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/HeliSabotageSystemType.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class HeliSabotageSystemType : ISystemType, IActivatable { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/HudOverrideSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/HudOverrideSystemType.cs similarity index 87% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/HudOverrideSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/HudOverrideSystemType.cs index 1dfb130..10fb8f8 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/HudOverrideSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/HudOverrideSystemType.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class HudOverrideSystemType : ISystemType, IActivatable { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/LifeSuppSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/LifeSuppSystemType.cs similarity index 94% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/LifeSuppSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/LifeSuppSystemType.cs index 8e69203..4c3884f 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/LifeSuppSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/LifeSuppSystemType.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class LifeSuppSystemType : ISystemType, IActivatable { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MedScanSystem.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MedScanSystem.cs similarity index 91% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MedScanSystem.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MedScanSystem.cs index bd67ed4..c8d894a 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MedScanSystem.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MedScanSystem.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class MedScanSystem : ISystemType { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MovingPlatformBehaviour.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MovingPlatformBehaviour.cs similarity index 89% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MovingPlatformBehaviour.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MovingPlatformBehaviour.cs index debb619..eb2f82c 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MovingPlatformBehaviour.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MovingPlatformBehaviour.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class MovingPlatformBehaviour : ISystemType, IActivatable { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MushroomMixupSabotageSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MushroomMixupSabotageSystemType.cs similarity index 96% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MushroomMixupSabotageSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MushroomMixupSabotageSystemType.cs index 0055608..0ef5512 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/MushroomMixupSabotageSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/MushroomMixupSabotageSystemType.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus; +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus; public class MushroomMixupSabotageSystemType : ISystemType { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/ReactorSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/ReactorSystemType.cs similarity index 94% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/ReactorSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/ReactorSystemType.cs index de6aa21..00ee799 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/ReactorSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/ReactorSystemType.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class ReactorSystemType : ISystemType, IActivatable { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SabotageSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SabotageSystemType.cs similarity index 90% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SabotageSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SabotageSystemType.cs index c40d652..0b8ec71 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SabotageSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SabotageSystemType.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class SabotageSystemType : ISystemType { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SecurityCameraSystemType.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SecurityCameraSystemType.cs similarity index 86% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SecurityCameraSystemType.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SecurityCameraSystemType.cs index 33096a5..9f27e31 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SecurityCameraSystemType.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SecurityCameraSystemType.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class SecurityCameraSystemType : ISystemType { diff --git a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SwitchSystem.cs b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SwitchSystem.cs similarity index 91% rename from src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SwitchSystem.cs rename to src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SwitchSystem.cs index d21c4b1..c9daf99 100644 --- a/src/Impostor.Server/Net/Inner/Objects/Systems/ShipStatus/SwitchSystem.cs +++ b/src/Empostor.Server/Net/Inner/Objects/Systems/ShipStatus/SwitchSystem.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Server.Net.Inner.Objects.Systems.ShipStatus +namespace Empostor.Server.Net.Inner.Objects.Systems.ShipStatus { public class SwitchSystem : ISystemType, IActivatable { diff --git a/src/Impostor.Server/Net/Inner/Objects/TaskInfo.cs b/src/Empostor.Server/Net/Inner/Objects/TaskInfo.cs similarity index 80% rename from src/Impostor.Server/Net/Inner/Objects/TaskInfo.cs rename to src/Empostor.Server/Net/Inner/Objects/TaskInfo.cs index c04c27d..1a9f1dc 100644 --- a/src/Impostor.Server/Net/Inner/Objects/TaskInfo.cs +++ b/src/Empostor.Server/Net/Inner/Objects/TaskInfo.cs @@ -1,13 +1,13 @@ using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Events.Managers; -using Impostor.Api.Innersloth.Maps; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects; -using Impostor.Api.Net.Messages.Rpcs; -using Impostor.Server.Events.Player; +using Empostor.Api; +using Empostor.Api.Events.Managers; +using Empostor.Api.Innersloth.Maps; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Messages.Rpcs; +using Empostor.Server.Events.Player; -namespace Impostor.Server.Net.Inner.Objects +namespace Empostor.Server.Net.Inner.Objects { internal class TaskInfo : ITaskInfo { @@ -44,14 +44,14 @@ namespace Impostor.Server.Net.Inner.Objects { if (_playerInfo.Controller == null) { - throw new ImpostorException("Can't complete a task that doesn't have a player assigned"); + throw new EmpostorException("Can't complete a task that doesn't have a player assigned"); } var player = _playerInfo.Controller; if (Complete) { - throw new ImpostorException("Can't complete a task that is already completed"); + throw new EmpostorException("Can't complete a task that is already completed"); } Complete = true; diff --git a/src/Impostor.Server/Net/Inner/SpawnFlags.cs b/src/Empostor.Server/Net/Inner/SpawnFlags.cs similarity index 78% rename from src/Impostor.Server/Net/Inner/SpawnFlags.cs rename to src/Empostor.Server/Net/Inner/SpawnFlags.cs index 28c2a1a..598b188 100644 --- a/src/Impostor.Server/Net/Inner/SpawnFlags.cs +++ b/src/Empostor.Server/Net/Inner/SpawnFlags.cs @@ -1,6 +1,6 @@ using System; -namespace Impostor.Server.Net.Inner +namespace Empostor.Server.Net.Inner { [Flags] public enum SpawnFlags : byte diff --git a/src/Impostor.Server/Net/Manager/ClientManager.Api.cs b/src/Empostor.Server/Net/Manager/ClientManager.Api.cs similarity index 66% rename from src/Impostor.Server/Net/Manager/ClientManager.Api.cs rename to src/Empostor.Server/Net/Manager/ClientManager.Api.cs index 1ff970d..ab1ac54 100644 --- a/src/Impostor.Server/Net/Manager/ClientManager.Api.cs +++ b/src/Empostor.Server/Net/Manager/ClientManager.Api.cs @@ -1,8 +1,8 @@ using System.Collections.Generic; -using Impostor.Api.Net; -using Impostor.Api.Net.Manager; +using Empostor.Api.Net; +using Empostor.Api.Net.Manager; -namespace Impostor.Server.Net.Manager +namespace Empostor.Server.Net.Manager { internal partial class ClientManager : IClientManager { diff --git a/src/Impostor.Server/Net/Manager/ClientManager.cs b/src/Empostor.Server/Net/Manager/ClientManager.cs similarity index 96% rename from src/Impostor.Server/Net/Manager/ClientManager.cs rename to src/Empostor.Server/Net/Manager/ClientManager.cs index 98933c9..8fb6914 100644 --- a/src/Impostor.Server/Net/Manager/ClientManager.cs +++ b/src/Empostor.Server/Net/Manager/ClientManager.cs @@ -4,18 +4,18 @@ using System.Collections.Generic; using System.Net; using System.Threading; using System.Threading.Tasks; -using Impostor.Api.Config; -using Impostor.Api.Events.Managers; -using Impostor.Api.Net; -using Impostor.Api.Net.Manager; -using Impostor.Server.Events.Client; -using Impostor.Server.Net.Factories; -using Impostor.Server.Service.Auth; +using Empostor.Api.Config; +using Empostor.Api.Events.Managers; +using Empostor.Api.Net; +using Empostor.Api.Net.Manager; +using Empostor.Server.Events.Client; +using Empostor.Server.Net.Factories; +using Empostor.Server.Service.Auth; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Next.Hazel; -namespace Impostor.Server.Net.Manager +namespace Empostor.Server.Net.Manager { internal partial class ClientManager { diff --git a/src/Impostor.Server/Net/Manager/CompatibilityManager.cs b/src/Empostor.Server/Net/Manager/CompatibilityManager.cs similarity index 98% rename from src/Impostor.Server/Net/Manager/CompatibilityManager.cs rename to src/Empostor.Server/Net/Manager/CompatibilityManager.cs index e9e9b89..584bf95 100644 --- a/src/Impostor.Server/Net/Manager/CompatibilityManager.cs +++ b/src/Empostor.Server/Net/Manager/CompatibilityManager.cs @@ -1,11 +1,11 @@ using System; using System.Collections.Generic; using System.Linq; -using Impostor.Api.Games; -using Impostor.Api.Net.Manager; +using Empostor.Api.Games; +using Empostor.Api.Net.Manager; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.Manager; +namespace Empostor.Server.Net.Manager; using CompatibilityGroup = ICompatibilityManager.CompatibilityGroup; using VersionCompareResult = ICompatibilityManager.VersionCompareResult; diff --git a/src/Impostor.Server/Net/Manager/GameManager.cs b/src/Empostor.Server/Net/Manager/GameManager.cs similarity index 92% rename from src/Impostor.Server/Net/Manager/GameManager.cs rename to src/Empostor.Server/Net/Manager/GameManager.cs index 745db78..31d2fcc 100644 --- a/src/Impostor.Server/Net/Manager/GameManager.cs +++ b/src/Empostor.Server/Net/Manager/GameManager.cs @@ -4,21 +4,21 @@ using System.Collections.Generic; using System.Linq; using System.Net; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Config; -using Impostor.Api.Events.Managers; -using Impostor.Api.Games; -using Impostor.Api.Games.Managers; -using Impostor.Api.Innersloth.GameOptions; -using Impostor.Api.Net; -using Impostor.Api.Net.Manager; -using Impostor.Server.Events; -using Impostor.Server.Net.State; +using Empostor.Api; +using Empostor.Api.Config; +using Empostor.Api.Events.Managers; +using Empostor.Api.Games; +using Empostor.Api.Games.Managers; +using Empostor.Api.Innersloth.GameOptions; +using Empostor.Api.Net; +using Empostor.Api.Net.Manager; +using Empostor.Server.Events; +using Empostor.Server.Net.State; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Impostor.Server.Net.Manager +namespace Empostor.Server.Net.Manager { internal class GameManager : IGameManager { @@ -109,7 +109,7 @@ namespace Impostor.Server.Net.Manager if (!success || game == null) { - throw new ImpostorException("Could not create new game"); + throw new EmpostorException("Could not create new game"); } return game; diff --git a/src/Impostor.Server/Net/Matchmaker.cs b/src/Empostor.Server/Net/Matchmaker.cs similarity index 92% rename from src/Impostor.Server/Net/Matchmaker.cs rename to src/Empostor.Server/Net/Matchmaker.cs index a98fd84..f3d5aea 100644 --- a/src/Impostor.Server/Net/Matchmaker.cs +++ b/src/Empostor.Server/Net/Matchmaker.cs @@ -2,17 +2,17 @@ using System; using System.Net; using System.Net.Sockets; using System.Threading.Tasks; -using Impostor.Api.Events.Managers; -using Impostor.Api.Net.Messages.C2S; +using Empostor.Api.Events.Managers; +using Empostor.Api.Net.Messages.C2S; using Next.Hazel; using Next.Hazel.Udp; -using Impostor.Server.Events.Client; -using Impostor.Server.Net.Hazel; -using Impostor.Server.Net.Manager; +using Empostor.Server.Events.Client; +using Empostor.Server.Net.Hazel; +using Empostor.Server.Net.Manager; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; -namespace Impostor.Server.Net +namespace Empostor.Server.Net { internal class Matchmaker { diff --git a/src/Impostor.Server/Net/MatchmakerService.cs b/src/Empostor.Server/Net/MatchmakerService.cs similarity index 91% rename from src/Impostor.Server/Net/MatchmakerService.cs rename to src/Empostor.Server/Net/MatchmakerService.cs index 07ea94c..e4d7f78 100644 --- a/src/Impostor.Server/Net/MatchmakerService.cs +++ b/src/Empostor.Server/Net/MatchmakerService.cs @@ -2,12 +2,12 @@ using System; using System.Net; using System.Threading; using System.Threading.Tasks; -using Impostor.Api.Config; +using Empostor.Api.Config; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Impostor.Server.Net +namespace Empostor.Server.Net { internal class MatchmakerService : IHostedService { @@ -47,12 +47,12 @@ namespace Impostor.Server.Net // NOTE: If this warning annoys you, set your PublicIp to "localhost" _logger.LogError("Your PublicIp is set to the default value of 127.0.0.1."); _logger.LogError("To allow people on other devices to connect to your server, change this value to your Public IP address"); - _logger.LogError("For more info on how to do this see https://github.com/Impostor/Impostor/blob/master/docs/Server-configuration.md"); + _logger.LogError("For more info on how to do this see https://github.com/Empostor/Empostor/blob/master/docs/Server-configuration.md"); } else if (_httpServerConfig.ListenIp == "0.0.0.0" && runningOutsideContainer) { _logger.LogWarning("Since Among Us 16.0.5 it is required to support HTTPS for players to connect, we recommend setting up a reverse proxy:"); - _logger.LogWarning("See https://github.com/Impostor/Impostor/blob/master/docs/Http-server.md for instructions"); + _logger.LogWarning("See https://github.com/Empostor/Empostor/blob/master/docs/Http-server.md for instructions"); } } diff --git a/src/Impostor.Server/Net/Messages/MessageWriterProvider.cs b/src/Empostor.Server/Net/Messages/MessageWriterProvider.cs similarity index 86% rename from src/Impostor.Server/Net/Messages/MessageWriterProvider.cs rename to src/Empostor.Server/Net/Messages/MessageWriterProvider.cs index 34130f7..1b87589 100644 --- a/src/Impostor.Server/Net/Messages/MessageWriterProvider.cs +++ b/src/Empostor.Server/Net/Messages/MessageWriterProvider.cs @@ -1,6 +1,6 @@ using Next.Hazel; -namespace Impostor.Server.Net.Messages +namespace Empostor.Server.Net.Messages { public class MessageWriterProvider : IMessageWriterProvider { diff --git a/src/Impostor.Server/Net/State/ClientPlayer.Api.cs b/src/Empostor.Server/Net/State/ClientPlayer.Api.cs similarity index 70% rename from src/Impostor.Server/Net/State/ClientPlayer.Api.cs rename to src/Empostor.Server/Net/State/ClientPlayer.Api.cs index 2e2467e..be66c1f 100644 --- a/src/Impostor.Server/Net/State/ClientPlayer.Api.cs +++ b/src/Empostor.Server/Net/State/ClientPlayer.Api.cs @@ -1,8 +1,8 @@ -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class ClientPlayer { diff --git a/src/Impostor.Server/Net/State/ClientPlayer.cs b/src/Empostor.Server/Net/State/ClientPlayer.cs similarity index 93% rename from src/Impostor.Server/Net/State/ClientPlayer.cs rename to src/Empostor.Server/Net/State/ClientPlayer.cs index 5072061..4e7383d 100644 --- a/src/Impostor.Server/Net/State/ClientPlayer.cs +++ b/src/Empostor.Server/Net/State/ClientPlayer.cs @@ -1,13 +1,13 @@ using System; using System.Threading; using System.Threading.Tasks; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner; -using Impostor.Api.Unity; -using Impostor.Server.Net.Inner.Objects; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner; +using Empostor.Api.Unity; +using Empostor.Server.Net.Inner.Objects; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class ClientPlayer : IClientPlayer, IAsyncDisposable { diff --git a/src/Impostor.Server/Net/State/Game.Api.cs b/src/Empostor.Server/Net/State/Game.Api.cs similarity index 87% rename from src/Impostor.Server/Net/State/Game.Api.cs rename to src/Empostor.Server/Net/State/Game.Api.cs index eb51f9b..b553e72 100644 --- a/src/Impostor.Server/Net/State/Game.Api.cs +++ b/src/Empostor.Server/Net/State/Game.Api.cs @@ -1,16 +1,16 @@ using System.Net; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Games; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Messages; +using Empostor.Api; +using Empostor.Api.Games; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Messages; using Next.Hazel; -using Impostor.Server.Events; -using Impostor.Server.Net.Inner; +using Empostor.Server.Events; +using Empostor.Server.Net.Inner; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class Game : IGame { @@ -29,18 +29,18 @@ namespace Impostor.Server.Net.State { if (Host?.Character == null) { - throw new ImpostorException("Attempted to change settings when the host was not spawned."); + throw new EmpostorException("Attempted to change settings when the host was not spawned."); } if (GameNet.GameManager == null) { - throw new ImpostorException("Attempted to change options when the game manager was not spawned."); + throw new EmpostorException("Attempted to change options when the game manager was not spawned."); } var gameOptionsTag = GameNet.GameManager.GetGameLogicTag(GameNet.GameManager.LogicOptions); if (gameOptionsTag == -1) { - throw new ImpostorException("Attempted to change options when the LogicOptions was not spawned."); + throw new EmpostorException("Attempted to change options when the LogicOptions was not spawned."); } // Someone will probably forget to do this, so we include it here. diff --git a/src/Impostor.Server/Net/State/Game.Data.cs b/src/Empostor.Server/Net/State/Game.Data.cs similarity index 97% rename from src/Impostor.Server/Net/State/Game.Data.cs rename to src/Empostor.Server/Net/State/Game.Data.cs index e4c38fc..2cc340e 100644 --- a/src/Impostor.Server/Net/State/Game.Data.cs +++ b/src/Empostor.Server/Net/State/Game.Data.cs @@ -2,21 +2,21 @@ using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Net.Inner; -using Impostor.Api.Unity; -using Impostor.Server.Events.Game.Player; -using Impostor.Server.Events.Meeting; -using Impostor.Server.Events.Player; -using Impostor.Server.Net.Inner; -using Impostor.Server.Net.Inner.Objects; -using Impostor.Server.Net.Inner.Objects.Components; -using Impostor.Server.Net.Inner.Objects.GameManager; -using Impostor.Server.Net.Inner.Objects.ShipStatus; +using Empostor.Api; +using Empostor.Api.Net.Inner; +using Empostor.Api.Unity; +using Empostor.Server.Events.Game.Player; +using Empostor.Server.Events.Meeting; +using Empostor.Server.Events.Player; +using Empostor.Server.Net.Inner; +using Empostor.Server.Net.Inner.Objects; +using Empostor.Server.Net.Inner.Objects.Components; +using Empostor.Server.Net.Inner.Objects.GameManager; +using Empostor.Server.Net.Inner.Objects.ShipStatus; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class Game { diff --git a/src/Impostor.Server/Net/State/Game.Incoming.cs b/src/Empostor.Server/Net/State/Game.Incoming.cs similarity index 98% rename from src/Impostor.Server/Net/State/Game.Incoming.cs rename to src/Empostor.Server/Net/State/Game.Incoming.cs index 595f4a1..2e2986f 100644 --- a/src/Impostor.Server/Net/State/Game.Incoming.cs +++ b/src/Empostor.Server/Net/State/Game.Incoming.cs @@ -2,14 +2,14 @@ using System; using System.Linq; using System.Threading; using System.Threading.Tasks; -using Impostor.Api.Games; -using Impostor.Api.Net; +using Empostor.Api.Games; +using Empostor.Api.Net; using Next.Hazel; -using Impostor.Server.Events; +using Empostor.Server.Events; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class Game { diff --git a/src/Impostor.Server/Net/State/Game.Outgoing.cs b/src/Empostor.Server/Net/State/Game.Outgoing.cs similarity index 96% rename from src/Impostor.Server/Net/State/Game.Outgoing.cs rename to src/Empostor.Server/Net/State/Game.Outgoing.cs index 5a60d9b..40a1a74 100644 --- a/src/Impostor.Server/Net/State/Game.Outgoing.cs +++ b/src/Empostor.Server/Net/State/Game.Outgoing.cs @@ -1,13 +1,13 @@ using System.Linq; using System.Threading.Tasks; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Messages; -using Impostor.Api.Net.Messages.S2C; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Messages; +using Empostor.Api.Net.Messages.S2C; using Next.Hazel; -using Impostor.Server.Net.Inner; +using Empostor.Server.Net.Inner; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class Game { diff --git a/src/Impostor.Server/Net/State/Game.State.cs b/src/Empostor.Server/Net/State/Game.State.cs similarity index 95% rename from src/Impostor.Server/Net/State/Game.State.cs rename to src/Empostor.Server/Net/State/Game.State.cs index 3806df7..b09b3bf 100644 --- a/src/Impostor.Server/Net/State/Game.State.cs +++ b/src/Empostor.Server/Net/State/Game.State.cs @@ -1,13 +1,13 @@ using System.Linq; using System.Threading.Tasks; -using Impostor.Api; -using Impostor.Api.Net; +using Empostor.Api; +using Empostor.Api.Net; using Next.Hazel; -using Impostor.Server.Events; -using Impostor.Server.Net.Hazel; +using Empostor.Server.Events; +using Empostor.Server.Net.Hazel; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class Game { @@ -15,7 +15,7 @@ namespace Impostor.Server.Net.State { if (!_players.TryAdd(player.Client.Id, player)) { - throw new ImpostorException("Failed to add player to game."); + throw new EmpostorException("Failed to add player to game."); } if (HostId == -1) diff --git a/src/Impostor.Server/Net/State/Game.cs b/src/Empostor.Server/Net/State/Game.cs similarity index 92% rename from src/Impostor.Server/Net/State/Game.cs rename to src/Empostor.Server/Net/State/Game.cs index 920f351..9c3f008 100644 --- a/src/Impostor.Server/Net/State/Game.cs +++ b/src/Empostor.Server/Net/State/Game.cs @@ -5,21 +5,21 @@ using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Net; using System.Threading.Tasks; -using Impostor.Api.Config; -using Impostor.Api.Events.Managers; -using Impostor.Api.Games; -using Impostor.Api.Innersloth.Customization; -using Impostor.Api.Innersloth.GameOptions; -using Impostor.Api.Net; -using Impostor.Api.Net.Inner.Objects; -using Impostor.Api.Net.Manager; -using Impostor.Api.Net.Messages.S2C; -using Impostor.Server.Events; -using Impostor.Server.Net.Manager; +using Empostor.Api.Config; +using Empostor.Api.Events.Managers; +using Empostor.Api.Games; +using Empostor.Api.Innersloth.Customization; +using Empostor.Api.Innersloth.GameOptions; +using Empostor.Api.Net; +using Empostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Manager; +using Empostor.Api.Net.Messages.S2C; +using Empostor.Server.Events; +using Empostor.Server.Net.Manager; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class Game { diff --git a/src/Impostor.Server/Net/State/GameNet.Api.cs b/src/Empostor.Server/Net/State/GameNet.Api.cs similarity index 66% rename from src/Impostor.Server/Net/State/GameNet.Api.cs rename to src/Empostor.Server/Net/State/GameNet.Api.cs index d57ec1d..8d31f5d 100644 --- a/src/Impostor.Server/Net/State/GameNet.Api.cs +++ b/src/Empostor.Server/Net/State/GameNet.Api.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Net.Inner; -using Impostor.Api.Net.Inner.Objects; -using Impostor.Api.Net.Inner.Objects.GameManager; -using Impostor.Api.Net.Inner.Objects.ShipStatus; +using Empostor.Api.Net.Inner; +using Empostor.Api.Net.Inner.Objects; +using Empostor.Api.Net.Inner.Objects.GameManager; +using Empostor.Api.Net.Inner.Objects.ShipStatus; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { /// internal partial class GameNet : IGameNet diff --git a/src/Impostor.Server/Net/State/GameNet.cs b/src/Empostor.Server/Net/State/GameNet.cs similarity index 62% rename from src/Impostor.Server/Net/State/GameNet.cs rename to src/Empostor.Server/Net/State/GameNet.cs index 25efec6..66d045d 100644 --- a/src/Impostor.Server/Net/State/GameNet.cs +++ b/src/Empostor.Server/Net/State/GameNet.cs @@ -1,9 +1,9 @@ -using Impostor.Server.Net.Inner.Objects; -using Impostor.Server.Net.Inner.Objects.Components; -using Impostor.Server.Net.Inner.Objects.GameManager; -using Impostor.Server.Net.Inner.Objects.ShipStatus; +using Empostor.Server.Net.Inner.Objects; +using Empostor.Server.Net.Inner.Objects.Components; +using Empostor.Server.Net.Inner.Objects.GameManager; +using Empostor.Server.Net.Inner.Objects.ShipStatus; -namespace Impostor.Server.Net.State +namespace Empostor.Server.Net.State { internal partial class GameNet { diff --git a/src/Impostor.Server/Pages/AdminStrings.json b/src/Empostor.Server/Pages/AdminStrings.json similarity index 100% rename from src/Impostor.Server/Pages/AdminStrings.json rename to src/Empostor.Server/Pages/AdminStrings.json diff --git a/src/Impostor.Server/Pages/index.html b/src/Empostor.Server/Pages/index.html similarity index 90% rename from src/Impostor.Server/Pages/index.html rename to src/Empostor.Server/Pages/index.html index 1b12467..f98e4c1 100644 --- a/src/Impostor.Server/Pages/index.html +++ b/src/Empostor.Server/Pages/index.html @@ -12,7 +12,7 @@

Your private Among Us server is online and accepting connections.

Started 2026-05-15 16:16 UTC  ·  Edit this page at Pages/index.html
diff --git a/src/Impostor.Server/Plugins/AssemblyInformation.cs b/src/Empostor.Server/Plugins/AssemblyInformation.cs similarity index 96% rename from src/Impostor.Server/Plugins/AssemblyInformation.cs rename to src/Empostor.Server/Plugins/AssemblyInformation.cs index df1bf84..8cbc20a 100644 --- a/src/Impostor.Server/Plugins/AssemblyInformation.cs +++ b/src/Empostor.Server/Plugins/AssemblyInformation.cs @@ -2,7 +2,7 @@ using System.Reflection; using System.Runtime.Loader; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { public class AssemblyInformation : IAssemblyInformation { diff --git a/src/Impostor.Server/Plugins/DependencyInformation.cs b/src/Empostor.Server/Plugins/DependencyInformation.cs similarity index 56% rename from src/Impostor.Server/Plugins/DependencyInformation.cs rename to src/Empostor.Server/Plugins/DependencyInformation.cs index 23bf935..180cc70 100644 --- a/src/Impostor.Server/Plugins/DependencyInformation.cs +++ b/src/Empostor.Server/Plugins/DependencyInformation.cs @@ -1,12 +1,12 @@ -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { public class DependencyInformation { - private readonly ImpostorDependencyAttribute _attribute; + private readonly EmpostorDependencyAttribute _attribute; - public DependencyInformation(ImpostorDependencyAttribute attribute) + public DependencyInformation(EmpostorDependencyAttribute attribute) { _attribute = attribute; } diff --git a/src/Impostor.Server/Plugins/IAssemblyInformation.cs b/src/Empostor.Server/Plugins/IAssemblyInformation.cs similarity index 87% rename from src/Impostor.Server/Plugins/IAssemblyInformation.cs rename to src/Empostor.Server/Plugins/IAssemblyInformation.cs index f724cf2..54af3b9 100644 --- a/src/Impostor.Server/Plugins/IAssemblyInformation.cs +++ b/src/Empostor.Server/Plugins/IAssemblyInformation.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Runtime.Loader; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { public interface IAssemblyInformation { diff --git a/src/Impostor.Server/Plugins/LoadedAssemblyInformation.cs b/src/Empostor.Server/Plugins/LoadedAssemblyInformation.cs similarity index 94% rename from src/Impostor.Server/Plugins/LoadedAssemblyInformation.cs rename to src/Empostor.Server/Plugins/LoadedAssemblyInformation.cs index 5f7d0bb..7685b6f 100644 --- a/src/Impostor.Server/Plugins/LoadedAssemblyInformation.cs +++ b/src/Empostor.Server/Plugins/LoadedAssemblyInformation.cs @@ -1,7 +1,7 @@ using System.Reflection; using System.Runtime.Loader; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { public class LoadedAssemblyInformation : IAssemblyInformation { diff --git a/src/Impostor.Server/Plugins/PluginConfig.cs b/src/Empostor.Server/Plugins/PluginConfig.cs similarity index 87% rename from src/Impostor.Server/Plugins/PluginConfig.cs rename to src/Empostor.Server/Plugins/PluginConfig.cs index 66afceb..49fc550 100644 --- a/src/Impostor.Server/Plugins/PluginConfig.cs +++ b/src/Empostor.Server/Plugins/PluginConfig.cs @@ -1,6 +1,6 @@ using System.Collections.Generic; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { public class PluginConfig { diff --git a/src/Impostor.Server/Plugins/PluginInformation.cs b/src/Empostor.Server/Plugins/PluginInformation.cs similarity index 86% rename from src/Impostor.Server/Plugins/PluginInformation.cs rename to src/Empostor.Server/Plugins/PluginInformation.cs index 9caaed0..20afe55 100644 --- a/src/Impostor.Server/Plugins/PluginInformation.cs +++ b/src/Empostor.Server/Plugins/PluginInformation.cs @@ -3,24 +3,24 @@ using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { public class PluginInformation { - private readonly ImpostorPluginAttribute _attribute; + private readonly EmpostorPluginAttribute _attribute; public PluginInformation(IPluginStartup? startup, Type pluginType) { - _attribute = pluginType.GetCustomAttribute()!; + _attribute = pluginType.GetCustomAttribute()!; var assembly = pluginType.Assembly; Name = _attribute.Name ?? assembly.GetCustomAttribute()?.Title ?? assembly.GetName().Name!; Author = _attribute.Author ?? assembly.GetCustomAttribute()?.Company ?? string.Empty; Version = _attribute.Version ?? assembly.GetCustomAttribute()?.InformationalVersion ?? assembly.GetName().Version!.ToString(); - Dependencies = pluginType.GetCustomAttributes().Select(t => new DependencyInformation(t)).ToList(); + Dependencies = pluginType.GetCustomAttributes().Select(t => new DependencyInformation(t)).ToList(); Startup = startup; PluginType = pluginType; diff --git a/src/Impostor.Server/Plugins/PluginLoader.cs b/src/Empostor.Server/Plugins/PluginLoader.cs similarity index 97% rename from src/Impostor.Server/Plugins/PluginLoader.cs rename to src/Empostor.Server/Plugins/PluginLoader.cs index 4148c6d..aed827f 100644 --- a/src/Impostor.Server/Plugins/PluginLoader.cs +++ b/src/Empostor.Server/Plugins/PluginLoader.cs @@ -4,13 +4,13 @@ using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Loader; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileSystemGlobbing; using Microsoft.Extensions.Hosting; using Serilog; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { public static class PluginLoader { @@ -34,7 +34,7 @@ namespace Impostor.Server.Plugins var matcher = new Matcher(StringComparison.OrdinalIgnoreCase); matcher.AddInclude("*.dll"); - matcher.AddExclude("Impostor.Api.dll"); + matcher.AddExclude("Empostor.Api.dll"); RegisterAssemblies(pluginPaths, matcher, assemblyInfos, true); RegisterAssemblies(libraryPaths, matcher, assemblyInfos, false); @@ -45,9 +45,9 @@ namespace Impostor.Server.Plugins { Logger.Verbose("Loading assembly {0} v{1}", name.Name, name.Version); - // Some plugins may be referencing another Impostor.Api version and try to load it. + // Some plugins may be referencing another Empostor.Api version and try to load it. // We want to only use the one shipped with the server. - if (name.Name == "Impostor.Api") + if (name.Name == "Empostor.Api") { return typeof(IPlugin).Assembly; } @@ -86,7 +86,7 @@ namespace Impostor.Server.Plugins .Where(t => typeof(IPlugin).IsAssignableFrom(t) && t.IsClass && !t.IsAbstract - && t.GetCustomAttribute() != null) + && t.GetCustomAttribute() != null) .ToList(); if (plugin.Count != 1) diff --git a/src/Impostor.Server/Plugins/PluginLoaderException.cs b/src/Empostor.Server/Plugins/PluginLoaderException.cs similarity index 73% rename from src/Impostor.Server/Plugins/PluginLoaderException.cs rename to src/Empostor.Server/Plugins/PluginLoaderException.cs index 7c47c30..7b8cd41 100644 --- a/src/Impostor.Server/Plugins/PluginLoaderException.cs +++ b/src/Empostor.Server/Plugins/PluginLoaderException.cs @@ -1,9 +1,9 @@ using System; -using Impostor.Api; +using Empostor.Api; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { - public class PluginLoaderException : ImpostorException + public class PluginLoaderException : EmpostorException { public PluginLoaderException() { diff --git a/src/Impostor.Server/Plugins/PluginLoaderService.cs b/src/Empostor.Server/Plugins/PluginLoaderService.cs similarity index 97% rename from src/Impostor.Server/Plugins/PluginLoaderService.cs rename to src/Empostor.Server/Plugins/PluginLoaderService.cs index 56807fc..28cb773 100644 --- a/src/Impostor.Server/Plugins/PluginLoaderService.cs +++ b/src/Empostor.Server/Plugins/PluginLoaderService.cs @@ -2,12 +2,12 @@ using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; -using Impostor.Api.Plugins; +using Empostor.Api.Plugins; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Plugins +namespace Empostor.Server.Plugins { public class PluginLoaderService : IHostedService { diff --git a/src/Impostor.Server/Program.cs b/src/Empostor.Server/Program.cs similarity index 89% rename from src/Impostor.Server/Program.cs rename to src/Empostor.Server/Program.cs index fb92ef6..5c1141b 100644 --- a/src/Impostor.Server/Program.cs +++ b/src/Empostor.Server/Program.cs @@ -4,35 +4,35 @@ using System.Linq; using System.Net; using System.Reflection; using System.Runtime.Loader; -using Impostor.Api.Config; -using Impostor.Api.Events; -using Impostor.Api.Events.Managers; -using Impostor.Api.Games; -using Impostor.Api.Games.Managers; -using Impostor.Api.Languages; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Manager; -using Impostor.Api.Plugins; -using Impostor.Api.Utils; -using Impostor.Server.Commands; -using Impostor.Server.Commands.Commands; -using Impostor.Server.Events; -using Impostor.Server.Http; -using Impostor.Server.Net; -using Impostor.Server.Net.Custom; -using Impostor.Server.Net.Factories; -using Impostor.Server.Net.Manager; -using Impostor.Server.Net.Messages; -using Impostor.Server.Plugins; -using Impostor.Server.Recorder; -using Impostor.Server.Service.Admin.Ban; -using Impostor.Server.Service.Admin.Chat; -using Impostor.Server.Service.Admin.Reactor; -using Impostor.Server.Service.Admin.Report; -using Impostor.Server.Service.Api; -using Impostor.Server.Service.Auth; -using Impostor.Server.Service.Stat; -using Impostor.Server.Utils; +using Empostor.Api.Config; +using Empostor.Api.Events; +using Empostor.Api.Events.Managers; +using Empostor.Api.Games; +using Empostor.Api.Games.Managers; +using Empostor.Api.Languages; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Manager; +using Empostor.Api.Plugins; +using Empostor.Api.Utils; +using Empostor.Server.Commands; +using Empostor.Server.Commands.Commands; +using Empostor.Server.Events; +using Empostor.Server.Http; +using Empostor.Server.Net; +using Empostor.Server.Net.Custom; +using Empostor.Server.Net.Factories; +using Empostor.Server.Net.Manager; +using Empostor.Server.Net.Messages; +using Empostor.Server.Plugins; +using Empostor.Server.Recorder; +using Empostor.Server.Service.Admin.Ban; +using Empostor.Server.Service.Admin.Chat; +using Empostor.Server.Service.Admin.Reactor; +using Empostor.Server.Service.Admin.Report; +using Empostor.Server.Service.Api; +using Empostor.Server.Service.Auth; +using Empostor.Server.Service.Stat; +using Empostor.Server.Utils; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Configuration; @@ -44,7 +44,7 @@ using Serilog; using Serilog.Events; using Serilog.Settings.Configuration; -namespace Impostor.Server +namespace Empostor.Server { internal static class Program { @@ -59,7 +59,7 @@ namespace Impostor.Server } catch (Exception ex) { - Log.Fatal(ex, "Impostor terminated unexpectedly"); + Log.Fatal(ex, "Empostor terminated unexpectedly"); return 1; } finally @@ -73,7 +73,7 @@ namespace Impostor.Server .SetBasePath(Directory.GetCurrentDirectory()) .AddJsonFile("config.json", true) .AddJsonFile("config.Development.json", true) - .AddEnvironmentVariables(prefix: "IMPOSTOR_") + .AddEnvironmentVariables(prefix: "EMPOSTOR_") .AddCommandLine(args) .Build(); @@ -86,7 +86,7 @@ namespace Impostor.Server var hostBuilder = Host.CreateDefaultBuilder(args) .UseContentRoot(Directory.GetCurrentDirectory()) #if DEBUG - .UseEnvironment(Environment.GetEnvironmentVariable("IMPOSTOR_ENV") ?? "Development") + .UseEnvironment(Environment.GetEnvironmentVariable("EMPOSTOR_ENV") ?? "Development") #else .UseEnvironment("Production") #endif diff --git a/src/Impostor.Server/Properties/launchSettings.json b/src/Empostor.Server/Properties/launchSettings.json similarity index 90% rename from src/Impostor.Server/Properties/launchSettings.json rename to src/Empostor.Server/Properties/launchSettings.json index 7044509..43742e7 100644 --- a/src/Impostor.Server/Properties/launchSettings.json +++ b/src/Empostor.Server/Properties/launchSettings.json @@ -1,6 +1,6 @@ { "profiles": { - "Impostor.Server": { + "Empostor.Server": { "commandName": "Project", "launchBrowser": true, "environmentVariables": { diff --git a/src/Impostor.Server/RealDateTimeProvider.cs b/src/Empostor.Server/RealDateTimeProvider.cs similarity index 74% rename from src/Impostor.Server/RealDateTimeProvider.cs rename to src/Empostor.Server/RealDateTimeProvider.cs index c450338..0d16035 100644 --- a/src/Impostor.Server/RealDateTimeProvider.cs +++ b/src/Empostor.Server/RealDateTimeProvider.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Utils; +using Empostor.Api.Utils; -namespace Impostor.Server +namespace Empostor.Server { public class RealDateTimeProvider : IDateTimeProvider { diff --git a/src/Impostor.Server/Recorder/ClientRecorder.cs b/src/Empostor.Server/Recorder/ClientRecorder.cs similarity index 90% rename from src/Impostor.Server/Recorder/ClientRecorder.cs rename to src/Empostor.Server/Recorder/ClientRecorder.cs index 0994ca9..847b3a3 100644 --- a/src/Impostor.Server/Recorder/ClientRecorder.cs +++ b/src/Empostor.Server/Recorder/ClientRecorder.cs @@ -1,16 +1,16 @@ using System.Threading.Tasks; -using Impostor.Api.Config; -using Impostor.Api.Events.Managers; -using Impostor.Api.Net.Custom; -using Impostor.Api.Net.Messages; -using Impostor.Server.Net; -using Impostor.Server.Net.Hazel; -using Impostor.Server.Net.Manager; -using Impostor.Server.Service.Admin.Report; +using Empostor.Api.Config; +using Empostor.Api.Events.Managers; +using Empostor.Api.Net.Custom; +using Empostor.Api.Net.Messages; +using Empostor.Server.Net; +using Empostor.Server.Net.Hazel; +using Empostor.Server.Net.Manager; +using Empostor.Server.Service.Admin.Report; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Impostor.Server.Recorder +namespace Empostor.Server.Recorder { internal class ClientRecorder : Client { diff --git a/src/Impostor.Server/Recorder/PacketRecorder.cs b/src/Empostor.Server/Recorder/PacketRecorder.cs similarity index 98% rename from src/Impostor.Server/Recorder/PacketRecorder.cs rename to src/Empostor.Server/Recorder/PacketRecorder.cs index 2f8bb1a..157bfdb 100644 --- a/src/Impostor.Server/Recorder/PacketRecorder.cs +++ b/src/Empostor.Server/Recorder/PacketRecorder.cs @@ -4,16 +4,16 @@ using System.Net; using System.Threading; using System.Threading.Channels; using System.Threading.Tasks; -using Impostor.Api.Config; -using Impostor.Api.Games; -using Impostor.Server.Net; -using Impostor.Server.Utils; +using Empostor.Api.Config; +using Empostor.Api.Games; +using Empostor.Server.Net; +using Empostor.Server.Utils; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; using Microsoft.Extensions.ObjectPool; using Microsoft.Extensions.Options; -namespace Impostor.Server.Recorder +namespace Empostor.Server.Recorder { /// /// Records all packets received in . diff --git a/src/Impostor.Server/Recorder/PacketSerializationContext.cs b/src/Empostor.Server/Recorder/PacketSerializationContext.cs similarity index 96% rename from src/Impostor.Server/Recorder/PacketSerializationContext.cs rename to src/Empostor.Server/Recorder/PacketSerializationContext.cs index 2290bcb..81f8f9e 100644 --- a/src/Impostor.Server/Recorder/PacketSerializationContext.cs +++ b/src/Empostor.Server/Recorder/PacketSerializationContext.cs @@ -2,7 +2,7 @@ using System.IO; using System.Text; -namespace Impostor.Server.Recorder +namespace Empostor.Server.Recorder { public class PacketSerializationContext { diff --git a/src/Impostor.Server/Recorder/PacketSerializationContextPooledObjectPolicy.cs b/src/Empostor.Server/Recorder/PacketSerializationContextPooledObjectPolicy.cs similarity index 92% rename from src/Impostor.Server/Recorder/PacketSerializationContextPooledObjectPolicy.cs rename to src/Empostor.Server/Recorder/PacketSerializationContextPooledObjectPolicy.cs index e45948e..f7cdbb2 100644 --- a/src/Impostor.Server/Recorder/PacketSerializationContextPooledObjectPolicy.cs +++ b/src/Empostor.Server/Recorder/PacketSerializationContextPooledObjectPolicy.cs @@ -1,6 +1,6 @@ using Microsoft.Extensions.ObjectPool; -namespace Impostor.Server.Recorder +namespace Empostor.Server.Recorder { public class PacketSerializationContextPooledObjectPolicy : IPooledObjectPolicy { diff --git a/src/Impostor.Server/Recorder/RecordedPacketType.cs b/src/Empostor.Server/Recorder/RecordedPacketType.cs similarity index 79% rename from src/Impostor.Server/Recorder/RecordedPacketType.cs rename to src/Empostor.Server/Recorder/RecordedPacketType.cs index 336cd57..bcdad5c 100644 --- a/src/Impostor.Server/Recorder/RecordedPacketType.cs +++ b/src/Empostor.Server/Recorder/RecordedPacketType.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Recorder +namespace Empostor.Server.Recorder { internal enum RecordedPacketType : byte { diff --git a/src/Impostor.Server/Recorder/ServerReplayVersion.cs b/src/Empostor.Server/Recorder/ServerReplayVersion.cs similarity index 90% rename from src/Impostor.Server/Recorder/ServerReplayVersion.cs rename to src/Empostor.Server/Recorder/ServerReplayVersion.cs index ce77e3c..d14888e 100644 --- a/src/Impostor.Server/Recorder/ServerReplayVersion.cs +++ b/src/Empostor.Server/Recorder/ServerReplayVersion.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Recorder +namespace Empostor.Server.Recorder { /// /// Version of the server replay data format. diff --git a/src/Impostor.Server/Service/Admin/Ban/BanEnforcementListener.cs b/src/Empostor.Server/Service/Admin/Ban/BanEnforcementListener.cs similarity index 91% rename from src/Impostor.Server/Service/Admin/Ban/BanEnforcementListener.cs rename to src/Empostor.Server/Service/Admin/Ban/BanEnforcementListener.cs index af8912f..ef90d91 100644 --- a/src/Impostor.Server/Service/Admin/Ban/BanEnforcementListener.cs +++ b/src/Empostor.Server/Service/Admin/Ban/BanEnforcementListener.cs @@ -1,9 +1,9 @@ using System.Threading.Tasks; -using Impostor.Api.Events; -using Impostor.Api.Events.Client; +using Empostor.Api.Events; +using Empostor.Api.Events.Client; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Service.Admin.Ban; +namespace Empostor.Server.Service.Admin.Ban; public sealed class BanEnforcementListener : IEventListener { diff --git a/src/Impostor.Server/Service/Admin/Ban/BanStore.cs b/src/Empostor.Server/Service/Admin/Ban/BanStore.cs similarity index 99% rename from src/Impostor.Server/Service/Admin/Ban/BanStore.cs rename to src/Empostor.Server/Service/Admin/Ban/BanStore.cs index 0ef6fc7..e81598a 100644 --- a/src/Impostor.Server/Service/Admin/Ban/BanStore.cs +++ b/src/Empostor.Server/Service/Admin/Ban/BanStore.cs @@ -9,7 +9,7 @@ using System.Text.Json.Serialization; using System.Threading; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Service.Admin.Ban +namespace Empostor.Server.Service.Admin.Ban { public sealed class BanStore : IDisposable { diff --git a/src/Impostor.Server/Service/Admin/Chat/ChatFilterListener.cs b/src/Empostor.Server/Service/Admin/Chat/ChatFilterListener.cs similarity index 96% rename from src/Impostor.Server/Service/Admin/Chat/ChatFilterListener.cs rename to src/Empostor.Server/Service/Admin/Chat/ChatFilterListener.cs index e2a13a6..9e9d4c7 100644 --- a/src/Impostor.Server/Service/Admin/Chat/ChatFilterListener.cs +++ b/src/Empostor.Server/Service/Admin/Chat/ChatFilterListener.cs @@ -1,11 +1,11 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; -using Impostor.Api.Events; -using Impostor.Api.Events.Player; +using Empostor.Api.Events; +using Empostor.Api.Events.Player; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Service.Admin.Chat; +namespace Empostor.Server.Service.Admin.Chat; internal sealed class ChatFilterListener : IEventListener { diff --git a/src/Impostor.Server/Service/Admin/Chat/ChatFilterStore.cs b/src/Empostor.Server/Service/Admin/Chat/ChatFilterStore.cs similarity index 95% rename from src/Impostor.Server/Service/Admin/Chat/ChatFilterStore.cs rename to src/Empostor.Server/Service/Admin/Chat/ChatFilterStore.cs index a6963bd..4dbbea0 100644 --- a/src/Impostor.Server/Service/Admin/Chat/ChatFilterStore.cs +++ b/src/Empostor.Server/Service/Admin/Chat/ChatFilterStore.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; -using Impostor.Api.Config; +using Empostor.Api.Config; using Microsoft.Extensions.Options; -namespace Impostor.Server.Service.Admin.Chat; +namespace Empostor.Server.Service.Admin.Chat; public sealed class ChatFilterStore { diff --git a/src/Impostor.Server/Service/Admin/Reactor/ReactorHandshakeListener.cs b/src/Empostor.Server/Service/Admin/Reactor/ReactorHandshakeListener.cs similarity index 97% rename from src/Impostor.Server/Service/Admin/Reactor/ReactorHandshakeListener.cs rename to src/Empostor.Server/Service/Admin/Reactor/ReactorHandshakeListener.cs index b8b18dd..ab43767 100644 --- a/src/Impostor.Server/Service/Admin/Reactor/ReactorHandshakeListener.cs +++ b/src/Empostor.Server/Service/Admin/Reactor/ReactorHandshakeListener.cs @@ -1,13 +1,13 @@ using System; using System.Collections.Generic; -using Impostor.Api.Events; -using Impostor.Api.Events.Client; +using Empostor.Api.Events; +using Empostor.Api.Events.Client; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Service.Admin.Reactor +namespace Empostor.Server.Service.Admin.Reactor { - // Based on Reactor.Impostor protocol: - // https://github.com/NuclearPowered/Reactor.Impostor + // Based on Reactor.Empostor protocol: + // https://github.com/NuclearPowered/Reactor.Empostor // // Reactor appends its data after the normal Among Us handshake: // [normal AU handshake] [uint64 header: 7-byte "reactor" magic + 1-byte protocol version] diff --git a/src/Impostor.Server/Service/Admin/Reactor/ReactorModExtensions.cs b/src/Empostor.Server/Service/Admin/Reactor/ReactorModExtensions.cs similarity index 89% rename from src/Impostor.Server/Service/Admin/Reactor/ReactorModExtensions.cs rename to src/Empostor.Server/Service/Admin/Reactor/ReactorModExtensions.cs index 6a90e9c..4e9df1c 100644 --- a/src/Impostor.Server/Service/Admin/Reactor/ReactorModExtensions.cs +++ b/src/Empostor.Server/Service/Admin/Reactor/ReactorModExtensions.cs @@ -1,7 +1,7 @@ using System.Runtime.CompilerServices; -using Impostor.Api.Net; +using Empostor.Api.Net; -namespace Impostor.Server.Service.Admin.Reactor +namespace Empostor.Server.Service.Admin.Reactor { public static class ReactorModExtensions diff --git a/src/Empostor.Server/Service/Admin/Report/ReportStore.cs b/src/Empostor.Server/Service/Admin/Report/ReportStore.cs new file mode 100644 index 0000000..5bb1cbb --- /dev/null +++ b/src/Empostor.Server/Service/Admin/Report/ReportStore.cs @@ -0,0 +1,131 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Extensions.Logging; + +namespace Empostor.Server.Service.Admin.Report +{ + public sealed class ReportStore : IDisposable + { + private static readonly string DataDir = Path.Combine(Directory.GetCurrentDirectory(), "Data"); + private static readonly string ReportsFile = Path.Combine(DataDir, "reports.json"); + + private static readonly JsonSerializerOptions JsonOpts = new() { WriteIndented = true }; + + private readonly ILogger _logger; + private readonly List _reports = new(); + private readonly object _lock = new(); + private readonly SemaphoreSlim _saveLock = new(1, 1); + private const int Max = 500; + + public ReportStore(ILogger logger) + { + _logger = logger; + Load(); + } + + public void Add(ReportEntry entry) + { + lock (_lock) + { + _reports.Insert(0, entry); + if (_reports.Count > Max) + { + _reports.RemoveAt(_reports.Count - 1); + } + } + + SaveAsync(); + } + + public List GetRecent(int count = 100) + { + lock (_lock) + { + return _reports.Take(count).ToList(); + } + } + + private void SaveAsync() + { + _ = Task.Run(async () => + { + if (!await _saveLock.WaitAsync(0)) + { + return; + } + + try + { + Directory.CreateDirectory(DataDir); + List snapshot; + lock (_lock) + { + snapshot = _reports.ToList(); + } + + await File.WriteAllTextAsync(ReportsFile, JsonSerializer.Serialize(snapshot, JsonOpts)); + } + catch (Exception ex) + { + _logger.LogWarning(ex, "[Report] Failed to save reports"); + } + finally + { + _saveLock.Release(); + } + }); + } + + private void Load() + { + if (!File.Exists(ReportsFile)) + { + return; + } + + try + { + var list = JsonSerializer.Deserialize>(File.ReadAllText(ReportsFile)); + if (list != null) + { + lock (_lock) + { + _reports.AddRange(list.Take(Max)); + } + + _logger.LogInformation("[Report] Loaded {Count} report(s)", _reports.Count); + } + } + catch (Exception ex) + { + _logger.LogWarning(ex, "[Report] Failed to load reports file"); + } + } + + public void Dispose() => _saveLock.Dispose(); + } + + public sealed class ReportEntry + { + public DateTime Time { get; init; } = DateTime.UtcNow; + + public string GameCode { get; init; } = string.Empty; + + public string ReporterName { get; init; } = string.Empty; + + public string? ReporterFriendCode { get; init; } + + public string? ReportedName { get; init; } + + public string? ReportedFriendCode { get; init; } + + public ReportReasons Reason { get; init; } + + public ReportOutcome Outcome { get; init; } + } +} diff --git a/src/Impostor.Server/Service/Api/DiscordWebhookListener.cs b/src/Empostor.Server/Service/Api/DiscordWebhookListener.cs similarity index 97% rename from src/Impostor.Server/Service/Api/DiscordWebhookListener.cs rename to src/Empostor.Server/Service/Api/DiscordWebhookListener.cs index 66798d1..0f9c6d6 100644 --- a/src/Impostor.Server/Service/Api/DiscordWebhookListener.cs +++ b/src/Empostor.Server/Service/Api/DiscordWebhookListener.cs @@ -6,13 +6,13 @@ using System.Net.Http; using System.Text; using System.Text.Json; using System.Threading.Tasks; -using Impostor.Api.Config; -using Impostor.Api.Events; -using Impostor.Api.Events.Player; +using Empostor.Api.Config; +using Empostor.Api.Events; +using Empostor.Api.Events.Player; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; -namespace Impostor.Server.Service.Api; +namespace Empostor.Server.Service.Api; internal sealed class DiscordWebhookListener : IEventListener { diff --git a/src/Impostor.Server/Service/Auth/AuthCacheService.cs b/src/Empostor.Server/Service/Auth/AuthCacheService.cs similarity index 98% rename from src/Impostor.Server/Service/Auth/AuthCacheService.cs rename to src/Empostor.Server/Service/Auth/AuthCacheService.cs index 4ac550c..3cfb542 100644 --- a/src/Impostor.Server/Service/Auth/AuthCacheService.cs +++ b/src/Empostor.Server/Service/Auth/AuthCacheService.cs @@ -5,7 +5,7 @@ using System.Net; using System.Threading; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Service.Auth; +namespace Empostor.Server.Service.Auth; public sealed class AuthCacheService : IDisposable { diff --git a/src/Impostor.Server/Service/Stat/PlayerLogListener.cs b/src/Empostor.Server/Service/Stat/PlayerLogListener.cs similarity index 95% rename from src/Impostor.Server/Service/Stat/PlayerLogListener.cs rename to src/Empostor.Server/Service/Stat/PlayerLogListener.cs index c08bf08..0c4a1ab 100644 --- a/src/Impostor.Server/Service/Stat/PlayerLogListener.cs +++ b/src/Empostor.Server/Service/Stat/PlayerLogListener.cs @@ -1,9 +1,9 @@ -using Impostor.Api.Events; -using Impostor.Api.Events.Client; -using Impostor.Api.Events.Meeting; -using Impostor.Api.Events.Player; +using Empostor.Api.Events; +using Empostor.Api.Events.Client; +using Empostor.Api.Events.Meeting; +using Empostor.Api.Events.Player; -namespace Impostor.Server.Service.Stat; +namespace Empostor.Server.Service.Stat; internal sealed class PlayerLogListener : IEventListener { diff --git a/src/Empostor.Server/Service/Stat/PlayerLogStore.cs b/src/Empostor.Server/Service/Stat/PlayerLogStore.cs new file mode 100644 index 0000000..2aa77ff --- /dev/null +++ b/src/Empostor.Server/Service/Stat/PlayerLogStore.cs @@ -0,0 +1,155 @@ +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using Microsoft.Extensions.Logging; + +namespace Empostor.Server.Service.Stat; + +public sealed class PlayerLogEntry +{ + public DateTime Time { get; init; } + + public string Type { get; init; } = string.Empty; + + public int? ClientId { get; init; } + + public string? PlayerName { get; init; } + + public string? FriendCode { get; init; } + + public string? GameCode { get; init; } + + public string? Detail { get; init; } +} + +public sealed class PlayerLogStore : IDisposable +{ + private static readonly string DataDir = Path.Combine(Directory.GetCurrentDirectory(), "Data"); + private static readonly string LogsFile = Path.Combine(DataDir, "player_logs.json"); + + private static readonly JsonSerializerOptions JsonOpts = new() { WriteIndented = true }; + + private const int MaxEntries = 10000; + private readonly ILogger _logger; + private readonly ConcurrentQueue _entries = new(); + private readonly SemaphoreSlim _saveLock = new(1, 1); + private int _count; + + public PlayerLogStore(ILogger logger) + { + _logger = logger; + Load(); + } + + public void Add(string type, int? clientId, string? playerName, string? friendCode, string? gameCode, string? detail) + { + var entry = new PlayerLogEntry + { + Time = DateTime.UtcNow, + Type = type, + ClientId = clientId, + PlayerName = playerName, + FriendCode = friendCode, + GameCode = gameCode, + Detail = detail, + }; + + _entries.Enqueue(entry); + + if (Interlocked.Increment(ref _count) > MaxEntries) + { + _entries.TryDequeue(out _); + Interlocked.Decrement(ref _count); + } + + SaveAsync(); + } + + public List GetAll() => _entries.ToList(); + + public List GetByClient(int clientId) => + _entries.Where(e => e.ClientId == clientId).ToList(); + + public List GetLoggedClientIds() => + _entries.Where(e => e.ClientId.HasValue).Select(e => e.ClientId!.Value).Distinct().ToList(); + + public byte[] ExportJson() + { + var json = JsonSerializer.Serialize(_entries.ToList(), JsonOpts); + return Encoding.UTF8.GetBytes(json); + } + + public byte[] ExportJson(int clientId) + { + var list = _entries.Where(e => e.ClientId == clientId).ToList(); + var json = JsonSerializer.Serialize(list, JsonOpts); + return Encoding.UTF8.GetBytes(json); + } + + private void SaveAsync() + { + _ = Task.Run(async () => + { + if (!await _saveLock.WaitAsync(0)) + { + return; + } + + try + { + Directory.CreateDirectory(DataDir); + var list = _entries.ToList(); + await File.WriteAllTextAsync(LogsFile, JsonSerializer.Serialize(list, JsonOpts)); + } + catch (Exception ex) + { + _logger.LogWarning(ex, "[PlayerLog] Failed to save logs"); + } + finally + { + _saveLock.Release(); + } + }); + } + + private void Load() + { + if (!File.Exists(LogsFile)) + { + return; + } + + try + { + var list = JsonSerializer.Deserialize>(File.ReadAllText(LogsFile)); + if (list != null) + { + foreach (var entry in list) + { + _entries.Enqueue(entry); + Interlocked.Increment(ref _count); + } + + while (_count > MaxEntries) + { + _entries.TryDequeue(out _); + Interlocked.Decrement(ref _count); + } + + _logger.LogInformation("[PlayerLog] Loaded {Count} log(s)", _count); + } + } + catch (Exception ex) + { + _logger.LogWarning(ex, "[PlayerLog] Failed to load logs file"); + } + } + + public void Dispose() => _saveLock.Dispose(); +} diff --git a/src/Impostor.Server/Service/Stat/PlayerStatsListener.cs b/src/Empostor.Server/Service/Stat/PlayerStatsListener.cs similarity index 92% rename from src/Impostor.Server/Service/Stat/PlayerStatsListener.cs rename to src/Empostor.Server/Service/Stat/PlayerStatsListener.cs index 1a4fdff..e93a99c 100644 --- a/src/Impostor.Server/Service/Stat/PlayerStatsListener.cs +++ b/src/Empostor.Server/Service/Stat/PlayerStatsListener.cs @@ -1,12 +1,12 @@ using System.Linq; -using Impostor.Api.Config; -using Impostor.Api.Events; -using Impostor.Api.Events.Player; -using Impostor.Api.Games; -using Impostor.Api.Net.Inner.Objects; +using Empostor.Api.Config; +using Empostor.Api.Events; +using Empostor.Api.Events.Player; +using Empostor.Api.Games; +using Empostor.Api.Net.Inner.Objects; using Microsoft.Extensions.Options; -namespace Impostor.Server.Service.Stat; +namespace Empostor.Server.Service.Stat; internal sealed class PlayerStatsListener : IEventListener { diff --git a/src/Impostor.Server/Service/Stat/PlayerStatsStore.cs b/src/Empostor.Server/Service/Stat/PlayerStatsStore.cs similarity index 94% rename from src/Impostor.Server/Service/Stat/PlayerStatsStore.cs rename to src/Empostor.Server/Service/Stat/PlayerStatsStore.cs index 6c32f15..da10979 100644 --- a/src/Impostor.Server/Service/Stat/PlayerStatsStore.cs +++ b/src/Empostor.Server/Service/Stat/PlayerStatsStore.cs @@ -8,7 +8,7 @@ using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; -namespace Impostor.Server.Service.Stat; +namespace Empostor.Server.Service.Stat; public sealed class PlayerStatsEntry { @@ -39,8 +39,11 @@ public sealed class PlayerStatsEntry public sealed class PlayerStatsStore : IDisposable { + private static readonly string DataDir = + Path.Combine(Directory.GetCurrentDirectory(), "Data"); + private static readonly string StatsFile = - Path.Combine(Directory.GetCurrentDirectory(), "player_stats.json"); + Path.Combine(DataDir, "player_stats.json"); private static readonly JsonSerializerOptions JsonOpts = new() { WriteIndented = true }; @@ -145,6 +148,7 @@ public sealed class PlayerStatsStore : IDisposable try { + Directory.CreateDirectory(DataDir); var list = _stats.Values.ToList(); await File.WriteAllTextAsync(StatsFile, JsonSerializer.Serialize(list, JsonOpts)); } diff --git a/src/Impostor.Server/Utils/DotnetUtils.cs b/src/Empostor.Server/Utils/DotnetUtils.cs similarity index 91% rename from src/Impostor.Server/Utils/DotnetUtils.cs rename to src/Empostor.Server/Utils/DotnetUtils.cs index 3fbbbfb..1e8e7d3 100644 --- a/src/Impostor.Server/Utils/DotnetUtils.cs +++ b/src/Empostor.Server/Utils/DotnetUtils.cs @@ -1,4 +1,4 @@ -namespace Impostor.Server.Utils +namespace Empostor.Server.Utils { public static class DotnetUtils { diff --git a/src/Impostor.Server/Utils/RealDateTimeProvider.cs b/src/Empostor.Server/Utils/RealDateTimeProvider.cs similarity index 72% rename from src/Impostor.Server/Utils/RealDateTimeProvider.cs rename to src/Empostor.Server/Utils/RealDateTimeProvider.cs index 1b7b5f3..91cda3c 100644 --- a/src/Impostor.Server/Utils/RealDateTimeProvider.cs +++ b/src/Empostor.Server/Utils/RealDateTimeProvider.cs @@ -1,7 +1,7 @@ using System; -using Impostor.Api.Utils; +using Empostor.Api.Utils; -namespace Impostor.Server.Utils +namespace Empostor.Server.Utils { public class RealDateTimeProvider : IDateTimeProvider { diff --git a/src/Impostor.Server/Utils/ServerEnvironment.cs b/src/Empostor.Server/Utils/ServerEnvironment.cs similarity index 75% rename from src/Impostor.Server/Utils/ServerEnvironment.cs rename to src/Empostor.Server/Utils/ServerEnvironment.cs index a3eba15..4a5e965 100644 --- a/src/Impostor.Server/Utils/ServerEnvironment.cs +++ b/src/Empostor.Server/Utils/ServerEnvironment.cs @@ -1,6 +1,6 @@ -using Impostor.Api.Utils; +using Empostor.Api.Utils; -namespace Impostor.Server.Utils +namespace Empostor.Server.Utils { public class ServerEnvironment : IServerEnvironment { diff --git a/src/Impostor.Server/config.json b/src/Empostor.Server/config.json similarity index 100% rename from src/Impostor.Server/config.json rename to src/Empostor.Server/config.json diff --git a/src/Impostor.Server/icon.ico b/src/Empostor.Server/icon.ico similarity index 100% rename from src/Impostor.Server/icon.ico rename to src/Empostor.Server/icon.ico diff --git a/src/Impostor.Server/packages.lock.json b/src/Empostor.Server/packages.lock.json similarity index 99% rename from src/Impostor.Server/packages.lock.json rename to src/Empostor.Server/packages.lock.json index d4e3919..6636197 100644 --- a/src/Impostor.Server/packages.lock.json +++ b/src/Empostor.Server/packages.lock.json @@ -452,7 +452,7 @@ "System.Text.Encodings.Web": "8.0.0" } }, - "impostor.api": { + "empostor.api": { "type": "Project", "dependencies": { "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", @@ -462,7 +462,7 @@ "NextFast.Hazel.Abstractions": "[1.0.2-dev, )" } }, - "impostor.api.innersloth.generator": { + "empostor.api.innersloth.generator": { "type": "Project" }, "NextFast.Hazel": { diff --git a/src/Impostor.sln b/src/Empostor.sln similarity index 83% rename from src/Impostor.sln rename to src/Empostor.sln index 63546fa..a797142 100644 --- a/src/Impostor.sln +++ b/src/Empostor.sln @@ -2,15 +2,15 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 18 VisualStudioVersion = 18.5.11709.299 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Server", "Impostor.Server\Impostor.Server.csproj", "{1B0390AF-A4F3-4FE4-B093-708B0135C0B3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Server", "Empostor.Server\Empostor.Server.csproj", "{1B0390AF-A4F3-4FE4-B093-708B0135C0B3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Api", "Impostor.Api\Impostor.Api.csproj", "{E096A7D7-D693-4A13-A526-38CC574D84F8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Api", "Empostor.Api\Empostor.Api.csproj", "{E096A7D7-D693-4A13-A526-38CC574D84F8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Api.Innersloth.Generator", "Impostor.Api.Innersloth.Generator\Impostor.Api.Innersloth.Generator.csproj", "{8B6C3AC5-E2B2-49F8-854D-22DFB4AB3D31}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Api.Innersloth.Generator", "Empostor.Api.Innersloth.Generator\Empostor.Api.Innersloth.Generator.csproj", "{8B6C3AC5-E2B2-49F8-854D-22DFB4AB3D31}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Plugins.Example", "Impostor.Plugins.Example\Impostor.Plugins.Example.csproj", "{70F97BB7-12A1-4C7A-B2A5-B962D14B813E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Plugins.Example", "Empostor.Plugins.Example\Empostor.Plugins.Example.csproj", "{70F97BB7-12A1-4C7A-B2A5-B962D14B813E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Plugins.Welcome", "Impostor.Plugins.Welcome\Impostor.Plugins.Welcome.csproj", "{AA000002-0000-0000-0000-000000000002}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Plugins.Welcome", "Empostor.Plugins.Welcome\Empostor.Plugins.Welcome.csproj", "{AA000002-0000-0000-0000-000000000002}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Plugins", "Plugins", "{E0009DCB-32A6-45C4-A06C-7F62D4091A29}" EndProject @@ -20,15 +20,16 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Next.Hazel", "NextFast.Haze EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Next.Hazel.Abstractions", "NextFast.Hazel-New\Next.Hazel.Abstractions\Next.Hazel.Abstractions.csproj", "{5F7A70A7-1FE9-0B48-FFC1-C0F88BE0547A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Plugins.FixedCode", "Impostor.Plugins.FixedCode\Impostor.Plugins.FixedCode.csproj", "{C583BD2A-1468-99CA-4E3D-CBDA4D2EDB9F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Plugins.FixedCode", "Empostor.Plugins.FixedCode\Empostor.Plugins.FixedCode.csproj", "{C583BD2A-1468-99CA-4E3D-CBDA4D2EDB9F}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Plugins.FriendCodeValidator", "Impostor.Plugins.FriendCodeValidator\Impostor.Plugins.FriendCodeValidator.csproj", "{70CD7AC9-1DE3-CD23-602A-EFD504B91450}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Plugins.FriendCodeValidator", "Empostor.Plugins.FriendCodeValidator\Empostor.Plugins.FriendCodeValidator.csproj", "{70CD7AC9-1DE3-CD23-602A-EFD504B91450}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Plugins.Titles", "Impostor.Plugins.Titles\Impostor.Plugins.Titles.csproj", "{3038597E-E1A1-2958-1CF7-C4203A85F424}" + +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Plugins.Titles", "Empostor.Plugins.Titles\Empostor.Plugins.Titles.csproj", "{3038597E-E1A1-2958-1CF7-C4203A85F424}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Plugins.QqVerify", "Impostor.Plugins.QqVerify\Impostor.Plugins.QqVerify.csproj", "{B8A5D7C3-1F4E-4A2B-9C6D-8E3F5A7B1D2E}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Plugins.QqVerify", "Empostor.Plugins.QqVerify\Empostor.Plugins.QqVerify.csproj", "{B8A5D7C3-1F4E-4A2B-9C6D-8E3F5A7B1D2E}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Plugins.PlayerChannel", "Impostor.Plugins.PlayerChannel\Impostor.Plugins.PlayerChannel.csproj", "{D4B6C8A2-5F3E-4C1D-9B7A-6E2F8A4C1D3F}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Plugins.PlayerChannel", "Empostor.Plugins.PlayerChannel\Empostor.Plugins.PlayerChannel.csproj", "{D4B6C8A2-5F3E-4C1D-9B7A-6E2F8A4C1D3F}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/Impostor.Api/Events/Game/Player/IPlayerReadyEvent.cs b/src/Impostor.Api/Events/Game/Player/IPlayerReadyEvent.cs deleted file mode 100644 index ff43cd4..0000000 --- a/src/Impostor.Api/Events/Game/Player/IPlayerReadyEvent.cs +++ /dev/null @@ -1,8 +0,0 @@ -using Impostor.Api.Events.Player; - -namespace Impostor.Api.Events.Game.Player -{ - public interface IPlayerReadyEvent : IPlayerEvent - { - } -} diff --git a/src/Impostor.Api/Exceptions/ImpostorConfigException.cs b/src/Impostor.Api/Exceptions/ImpostorConfigException.cs deleted file mode 100644 index 5430297..0000000 --- a/src/Impostor.Api/Exceptions/ImpostorConfigException.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - -namespace Impostor.Api -{ - public class ImpostorConfigException : ImpostorException - { - public ImpostorConfigException() - { - } - - public ImpostorConfigException(string? message) : base(message) - { - } - - public ImpostorConfigException(string? message, Exception? innerException) : base(message, innerException) - { - } - } -} diff --git a/src/Impostor.Api/Exceptions/ImpostorException.cs b/src/Impostor.Api/Exceptions/ImpostorException.cs deleted file mode 100644 index 8589c31..0000000 --- a/src/Impostor.Api/Exceptions/ImpostorException.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - -namespace Impostor.Api -{ - public class ImpostorException : Exception - { - public ImpostorException() - { - } - - public ImpostorException(string? message) : base(message) - { - } - - public ImpostorException(string? message, Exception? innerException) : base(message, innerException) - { - } - } -} diff --git a/src/Impostor.Api/Exceptions/ImpostorProtocolException.cs b/src/Impostor.Api/Exceptions/ImpostorProtocolException.cs deleted file mode 100644 index cf7afca..0000000 --- a/src/Impostor.Api/Exceptions/ImpostorProtocolException.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - -namespace Impostor.Api -{ - public class ImpostorProtocolException : ImpostorException - { - public ImpostorProtocolException() - { - } - - public ImpostorProtocolException(string? message) : base(message) - { - } - - public ImpostorProtocolException(string? message, Exception? innerException) : base(message, innerException) - { - } - } -} diff --git a/src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerGameManager.cs b/src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerGameManager.cs deleted file mode 100644 index 447c53e..0000000 --- a/src/Impostor.Api/Net/Inner/Objects/GameManager/IInnerGameManager.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Impostor.Api.Net.Inner.Objects.GameManager; - -public interface IInnerGameManager -{ -} diff --git a/src/Impostor.Api/Properties/AssemblyInfo.cs b/src/Impostor.Api/Properties/AssemblyInfo.cs deleted file mode 100644 index 30143b8..0000000 --- a/src/Impostor.Api/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,3 +0,0 @@ -using System.Runtime.CompilerServices; - -[assembly: InternalsVisibleTo("Impostor.Server")] diff --git a/src/Impostor.Plugins.Titles/packages.lock.json b/src/Impostor.Plugins.Titles/packages.lock.json deleted file mode 100644 index 8e2baba..0000000 --- a/src/Impostor.Plugins.Titles/packages.lock.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net8.0": { - "BouncyCastle.Cryptography": { - "type": "Transitive", - "resolved": "2.6.1", - "contentHash": "vZsG2YILhthgRqO+ZVgRff4ZFKKTl0v7kqaVBLCtRvpREhfBP33pcWrdA3PRYgWuFL1RxiUFvjMUHTdBZlJcoA==" - }, - "Microsoft.AspNetCore.Http.Abstractions": { - "type": "Transitive", - "resolved": "2.2.0", - "contentHash": "Nxs7Z1q3f1STfLYKJSVXCs1iBl+Ya6E8o4Oy1bCxJ/rNI44E/0f6tbsrVqAWfB7jlnJfyaAtIalBVxPKUPQb4Q==", - "dependencies": { - "Microsoft.AspNetCore.Http.Features": "2.2.0", - "System.Text.Encodings.Web": "4.5.0" - } - }, - "Microsoft.AspNetCore.Http.Features": { - "type": "Transitive", - "resolved": "2.2.0", - "contentHash": "ziFz5zH8f33En4dX81LW84I6XrYXKf9jg6aM39cM+LffN9KJahViKZ61dGMSO2gd3e+qe5yBRwsesvyqlZaSMg==", - "dependencies": { - "Microsoft.Extensions.Primitives": "2.2.0" - } - }, - "Microsoft.Extensions.Configuration.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==", - "dependencies": { - "Microsoft.Extensions.Primitives": "8.0.0" - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions": { - "type": "Transitive", - "resolved": "9.0.6", - "contentHash": "0Zn6nR/6g+90MxskZyOOMPQvnPnrrGu6bytPwkV+azDcTtCSuQ1+GJUrg8Klmnrjk1i6zMpw2lXijl+tw7Q3kA==" - }, - "Microsoft.Extensions.Diagnostics.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "JHYCQG7HmugNYUhOl368g+NMxYE/N/AiclCYRNlgCY9eVyiBkOHMwK4x60RYMxv9EL3+rmj1mqHvdCiPpC+D4Q==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", - "Microsoft.Extensions.Options": "8.0.0", - "System.Diagnostics.DiagnosticSource": "8.0.0" - } - }, - "Microsoft.Extensions.FileProviders.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "ZbaMlhJlpisjuWbvXr4LdAst/1XxH3vZ6A0BsgTphZ2L4PGuxRLz7Jr/S7mkAAnOn78Vu0fKhEgNF5JO3zfjqQ==", - "dependencies": { - "Microsoft.Extensions.Primitives": "8.0.0" - } - }, - "Microsoft.Extensions.Hosting.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "AG7HWwVRdCHlaA++1oKDxLsXIBxmDpMPb3VoyOoAghEWnkUvEAdYQUwnV4jJbAaa/nMYNiEh5ByoLauZBEiovg==", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "8.0.0", - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", - "Microsoft.Extensions.Diagnostics.Abstractions": "8.0.0", - "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0", - "Microsoft.Extensions.Logging.Abstractions": "8.0.0" - } - }, - "Microsoft.Extensions.Logging.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0" - } - }, - "Microsoft.Extensions.ObjectPool": { - "type": "Transitive", - "resolved": "8.0.1", - "contentHash": "X21b8D6z58EG34OMLH955750mFaEaGs5xLGe9Vyi3059Cgb3sk+p2k/JlQXaieEBRrk+SVlFzDei3Q6PdVzJOA==" - }, - "Microsoft.Extensions.Options": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", - "Microsoft.Extensions.Primitives": "8.0.0" - } - }, - "Microsoft.Extensions.Primitives": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==" - }, - "Serilog": { - "type": "Transitive", - "resolved": "4.3.1-dev-02373", - "contentHash": "f0HNPaleOox5++8zqxAdi9afnUUkoznLOmd0ur/UnLbzl8bIaPyyBGOpbIJmC1kz2vHfkQ0fXh6KXMdlz7bcLQ==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" - }, - "impostor.api": { - "type": "Project", - "dependencies": { - "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", - "Microsoft.Extensions.Hosting.Abstractions": "[8.0.0, )", - "Microsoft.Extensions.Logging.Abstractions": "[8.0.0, )", - "NextFast.Hazel": "[1.0.2-dev, )", - "NextFast.Hazel.Abstractions": "[1.0.2-dev, )" - } - }, - "NextFast.Hazel": { - "type": "Project", - "dependencies": { - "BouncyCastle.Cryptography": "[2.6.1, )", - "Microsoft.Extensions.DependencyInjection.Abstractions": "[9.0.6, )", - "Microsoft.Extensions.ObjectPool": "[8.0.1, )", - "NextFast.Hazel.Abstractions": "[1.0.2-dev, )", - "Serilog": "[4.3.1-dev-02373, )" - } - }, - "NextFast.Hazel.Abstractions": { - "type": "Project" - } - } - } -} \ No newline at end of file diff --git a/src/Impostor.Plugins.Welcome/packages.lock.json b/src/Impostor.Plugins.Welcome/packages.lock.json deleted file mode 100644 index 8e2baba..0000000 --- a/src/Impostor.Plugins.Welcome/packages.lock.json +++ /dev/null @@ -1,137 +0,0 @@ -{ - "version": 1, - "dependencies": { - "net8.0": { - "BouncyCastle.Cryptography": { - "type": "Transitive", - "resolved": "2.6.1", - "contentHash": "vZsG2YILhthgRqO+ZVgRff4ZFKKTl0v7kqaVBLCtRvpREhfBP33pcWrdA3PRYgWuFL1RxiUFvjMUHTdBZlJcoA==" - }, - "Microsoft.AspNetCore.Http.Abstractions": { - "type": "Transitive", - "resolved": "2.2.0", - "contentHash": "Nxs7Z1q3f1STfLYKJSVXCs1iBl+Ya6E8o4Oy1bCxJ/rNI44E/0f6tbsrVqAWfB7jlnJfyaAtIalBVxPKUPQb4Q==", - "dependencies": { - "Microsoft.AspNetCore.Http.Features": "2.2.0", - "System.Text.Encodings.Web": "4.5.0" - } - }, - "Microsoft.AspNetCore.Http.Features": { - "type": "Transitive", - "resolved": "2.2.0", - "contentHash": "ziFz5zH8f33En4dX81LW84I6XrYXKf9jg6aM39cM+LffN9KJahViKZ61dGMSO2gd3e+qe5yBRwsesvyqlZaSMg==", - "dependencies": { - "Microsoft.Extensions.Primitives": "2.2.0" - } - }, - "Microsoft.Extensions.Configuration.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "3lE/iLSutpgX1CC0NOW70FJoGARRHbyKmG7dc0klnUZ9Dd9hS6N/POPWhKhMLCEuNN5nXEY5agmlFtH562vqhQ==", - "dependencies": { - "Microsoft.Extensions.Primitives": "8.0.0" - } - }, - "Microsoft.Extensions.DependencyInjection.Abstractions": { - "type": "Transitive", - "resolved": "9.0.6", - "contentHash": "0Zn6nR/6g+90MxskZyOOMPQvnPnrrGu6bytPwkV+azDcTtCSuQ1+GJUrg8Klmnrjk1i6zMpw2lXijl+tw7Q3kA==" - }, - "Microsoft.Extensions.Diagnostics.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "JHYCQG7HmugNYUhOl368g+NMxYE/N/AiclCYRNlgCY9eVyiBkOHMwK4x60RYMxv9EL3+rmj1mqHvdCiPpC+D4Q==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", - "Microsoft.Extensions.Options": "8.0.0", - "System.Diagnostics.DiagnosticSource": "8.0.0" - } - }, - "Microsoft.Extensions.FileProviders.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "ZbaMlhJlpisjuWbvXr4LdAst/1XxH3vZ6A0BsgTphZ2L4PGuxRLz7Jr/S7mkAAnOn78Vu0fKhEgNF5JO3zfjqQ==", - "dependencies": { - "Microsoft.Extensions.Primitives": "8.0.0" - } - }, - "Microsoft.Extensions.Hosting.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "AG7HWwVRdCHlaA++1oKDxLsXIBxmDpMPb3VoyOoAghEWnkUvEAdYQUwnV4jJbAaa/nMYNiEh5ByoLauZBEiovg==", - "dependencies": { - "Microsoft.Extensions.Configuration.Abstractions": "8.0.0", - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", - "Microsoft.Extensions.Diagnostics.Abstractions": "8.0.0", - "Microsoft.Extensions.FileProviders.Abstractions": "8.0.0", - "Microsoft.Extensions.Logging.Abstractions": "8.0.0" - } - }, - "Microsoft.Extensions.Logging.Abstractions": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "arDBqTgFCyS0EvRV7O3MZturChstm50OJ0y9bDJvAcmEPJm0FFpFyjU/JLYyStNGGey081DvnQYlncNX5SJJGA==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0" - } - }, - "Microsoft.Extensions.ObjectPool": { - "type": "Transitive", - "resolved": "8.0.1", - "contentHash": "X21b8D6z58EG34OMLH955750mFaEaGs5xLGe9Vyi3059Cgb3sk+p2k/JlQXaieEBRrk+SVlFzDei3Q6PdVzJOA==" - }, - "Microsoft.Extensions.Options": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "JOVOfqpnqlVLUzINQ2fox8evY2SKLYJ3BV8QDe/Jyp21u1T7r45x/R/5QdteURMR5r01GxeJSBBUOCOyaNXA3g==", - "dependencies": { - "Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.0", - "Microsoft.Extensions.Primitives": "8.0.0" - } - }, - "Microsoft.Extensions.Primitives": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "bXJEZrW9ny8vjMF1JV253WeLhpEVzFo1lyaZu1vQ4ZxWUlVvknZ/+ftFgVheLubb4eZPSwwxBeqS1JkCOjxd8g==" - }, - "Serilog": { - "type": "Transitive", - "resolved": "4.3.1-dev-02373", - "contentHash": "f0HNPaleOox5++8zqxAdi9afnUUkoznLOmd0ur/UnLbzl8bIaPyyBGOpbIJmC1kz2vHfkQ0fXh6KXMdlz7bcLQ==" - }, - "System.Diagnostics.DiagnosticSource": { - "type": "Transitive", - "resolved": "8.0.0", - "contentHash": "c9xLpVz6PL9lp/djOWtk5KPDZq3cSYpmXoJQY524EOtuFl5z9ZtsotpsyrDW40U1DRnQSYvcPKEUV0X//u6gkQ==" - }, - "System.Text.Encodings.Web": { - "type": "Transitive", - "resolved": "4.5.0", - "contentHash": "Xg4G4Indi4dqP1iuAiMSwpiWS54ZghzR644OtsRCm/m/lBMG8dUBhLVN7hLm8NNrNTR+iGbshCPTwrvxZPlm4g==" - }, - "impostor.api": { - "type": "Project", - "dependencies": { - "Microsoft.AspNetCore.Http.Abstractions": "[2.2.0, )", - "Microsoft.Extensions.Hosting.Abstractions": "[8.0.0, )", - "Microsoft.Extensions.Logging.Abstractions": "[8.0.0, )", - "NextFast.Hazel": "[1.0.2-dev, )", - "NextFast.Hazel.Abstractions": "[1.0.2-dev, )" - } - }, - "NextFast.Hazel": { - "type": "Project", - "dependencies": { - "BouncyCastle.Cryptography": "[2.6.1, )", - "Microsoft.Extensions.DependencyInjection.Abstractions": "[9.0.6, )", - "Microsoft.Extensions.ObjectPool": "[8.0.1, )", - "NextFast.Hazel.Abstractions": "[1.0.2-dev, )", - "Serilog": "[4.3.1-dev-02373, )" - } - }, - "NextFast.Hazel.Abstractions": { - "type": "Project" - } - } - } -} \ No newline at end of file diff --git a/src/Impostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.Api.cs b/src/Impostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.Api.cs deleted file mode 100644 index 6af54a0..0000000 --- a/src/Impostor.Server/Net/Inner/Objects/Components/InnerPlayerPhysics.Api.cs +++ /dev/null @@ -1,8 +0,0 @@ -using Impostor.Api.Net.Inner.Objects.Components; - -namespace Impostor.Server.Net.Inner.Objects.Components -{ - internal partial class InnerPlayerPhysics : IInnerPlayerPhysics - { - } -} diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.Api.cs b/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.Api.cs deleted file mode 100644 index 308588e..0000000 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/InnerHideAndSeekManager.Api.cs +++ /dev/null @@ -1,9 +0,0 @@ -using Impostor.Api.Net.Inner.Objects.GameManager; -using Impostor.Api.Net.Inner.Objects.GameManager.Logic.HideAndSeek; - -namespace Impostor.Server.Net.Inner.Objects.GameManager; - -internal partial class InnerHideAndSeekManager -{ - ILogicGameFlowHnS IInnerHideAndSeekManager.LogicFlowHnS => LogicFlowHnS; -} diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicMinigame.cs b/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicMinigame.cs deleted file mode 100644 index 7fd1e3b..0000000 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/LogicMinigame.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic; - -internal class LogicMinigame : GameLogicComponent -{ -} diff --git a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicUsablesBasic.cs b/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicUsablesBasic.cs deleted file mode 100644 index 2d159a7..0000000 --- a/src/Impostor.Server/Net/Inner/Objects/GameManager/Logic/Normal/LogicUsablesBasic.cs +++ /dev/null @@ -1,5 +0,0 @@ -namespace Impostor.Server.Net.Inner.Objects.GameManager.Logic.Normal; - -internal class LogicUsablesBasic : LogicUsables -{ -} diff --git a/src/Impostor.Server/Service/Admin/Report/ReportStore.cs b/src/Impostor.Server/Service/Admin/Report/ReportStore.cs deleted file mode 100644 index 02b9b8b..0000000 --- a/src/Impostor.Server/Service/Admin/Report/ReportStore.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Impostor.Server.Service.Admin.Report -{ - public sealed class ReportStore - { - private readonly List _reports = new(); - private readonly object _lock = new(); - private const int Max = 500; - - public void Add(ReportEntry entry) - { - lock (_lock) - { - _reports.Insert(0, entry); - if (_reports.Count > Max) - { - _reports.RemoveAt(_reports.Count - 1); - } - } - } - - public List GetRecent(int count = 100) - { - lock (_lock) - { - return _reports.Take(count).ToList(); - } - } - } - - public sealed class ReportEntry - { - public DateTime Time { get; init; } = DateTime.UtcNow; - - public string GameCode { get; init; } = string.Empty; - - public string ReporterName { get; init; } = string.Empty; - - public string? ReporterFriendCode { get; init; } - - public string? ReportedName { get; init; } - - public string? ReportedFriendCode { get; init; } - - public ReportReasons Reason { get; init; } - - public ReportOutcome Outcome { get; init; } - } -} diff --git a/src/Impostor.Server/Service/Stat/PlayerLogStore.cs b/src/Impostor.Server/Service/Stat/PlayerLogStore.cs deleted file mode 100644 index 027ee95..0000000 --- a/src/Impostor.Server/Service/Stat/PlayerLogStore.cs +++ /dev/null @@ -1,76 +0,0 @@ -using System; -using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Text.Json; -using System.Threading; - -namespace Impostor.Server.Service.Stat; - -public sealed class PlayerLogEntry -{ - public DateTime Time { get; init; } - - public string Type { get; init; } = string.Empty; - - public int? ClientId { get; init; } - - public string? PlayerName { get; init; } - - public string? FriendCode { get; init; } - - public string? GameCode { get; init; } - - public string? Detail { get; init; } -} - -public sealed class PlayerLogStore -{ - private const int MaxEntries = 10000; - private readonly ConcurrentQueue _entries = new(); - private int _count; - - public void Add(string type, int? clientId, string? playerName, string? friendCode, string? gameCode, string? detail) - { - var entry = new PlayerLogEntry - { - Time = DateTime.UtcNow, - Type = type, - ClientId = clientId, - PlayerName = playerName, - FriendCode = friendCode, - GameCode = gameCode, - Detail = detail, - }; - - _entries.Enqueue(entry); - - if (Interlocked.Increment(ref _count) > MaxEntries) - { - _entries.TryDequeue(out _); - Interlocked.Decrement(ref _count); - } - } - - public List GetAll() => _entries.ToList(); - - public List GetByClient(int clientId) => - _entries.Where(e => e.ClientId == clientId).ToList(); - - public List GetLoggedClientIds() => - _entries.Where(e => e.ClientId.HasValue).Select(e => e.ClientId!.Value).Distinct().ToList(); - - public byte[] ExportJson() - { - var json = JsonSerializer.Serialize(_entries.ToList(), new JsonSerializerOptions { WriteIndented = true }); - return Encoding.UTF8.GetBytes(json); - } - - public byte[] ExportJson(int clientId) - { - var list = _entries.Where(e => e.ClientId == clientId).ToList(); - var json = JsonSerializer.Serialize(list, new JsonSerializerOptions { WriteIndented = true }); - return Encoding.UTF8.GetBytes(json); - } -} diff --git a/src/NextFast.Hazel-New/.gitignore b/src/NextFast.Hazel-New/.gitignore index 1170bdb..38c1408 100644 --- a/src/NextFast.Hazel-New/.gitignore +++ b/src/NextFast.Hazel-New/.gitignore @@ -1,7 +1,7 @@ /.vscode /build /.vs -/src/Impostor.Plugins.Debugger/Properties/launchSettings.json +/src/Empostor.Plugins.Debugger/Properties/launchSettings.json /tools .local/ diff --git a/src/NextFast.Hazel-New/Directory.Build.props b/src/NextFast.Hazel-New/Directory.Build.props index de0722f..b8a6980 100644 --- a/src/NextFast.Hazel-New/Directory.Build.props +++ b/src/NextFast.Hazel-New/Directory.Build.props @@ -2,9 +2,9 @@ net8.0 latest - Impostor,Next-Fast + Empostor,Next-Fast MIT - https://github.com/Next-Fast/Impostor.Hazel + https://github.com/Next-Fast/Empostor.Hazel git 1.0.2 dev diff --git a/src/NextFast.Hazel-New/Hazel.sln b/src/NextFast.Hazel-New/Hazel.sln index 6320b0a..8b7f0dc 100644 --- a/src/NextFast.Hazel-New/Hazel.sln +++ b/src/NextFast.Hazel-New/Hazel.sln @@ -7,7 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Next.Hazel", "Next.Hazel\Ne EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Next.Hazel.Abstractions", "Next.Hazel.Abstractions\Next.Hazel.Abstractions.csproj", "{51FD3233-44D5-43BC-A618-A381703EDAD3}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Impostor.Hazel.Tests", "Impostor.Hazel.Tests\Impostor.Hazel.Tests.csproj", "{6CC1050D-4142-454E-BA09-974DF77D2C10}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empostor.Hazel.Tests", "Empostor.Hazel.Tests\Empostor.Hazel.Tests.csproj", "{6CC1050D-4142-454E-BA09-974DF77D2C10}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/src/NextFast.Hazel-New/README.md b/src/NextFast.Hazel-New/README.md index 6907485..bb96164 100644 --- a/src/NextFast.Hazel-New/README.md +++ b/src/NextFast.Hazel-New/README.md @@ -1,3 +1,3 @@ -# Impostor.Hazel +# Empostor.Hazel -Fork of Hazel made for [Impostor](https://github.com/Impostor/Impostor) +Fork of Hazel made for [Empostor](https://github.com/Empostor/Empostor)