Moves the remaining two ServerTraits and 3 out of 4 Modifiers to Mods.Common
This commit is contained in:
@@ -12,7 +12,7 @@ using System.Collections.Generic;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
[Desc("Use together with CanPowerDown/RequiresPower on buildings or Husk for vehicles.")]
|
[Desc("Use together with CanPowerDown/RequiresPower on buildings or Husk for vehicles.")]
|
||||||
public class DisabledOverlayInfo : TraitInfo<DisabledOverlay> { }
|
public class DisabledOverlayInfo : TraitInfo<DisabledOverlay> { }
|
||||||
@@ -13,7 +13,7 @@ using System.Linq;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
[Desc("The actor stays invisible under fog of war.")]
|
[Desc("The actor stays invisible under fog of war.")]
|
||||||
public class HiddenUnderFogInfo : TraitInfo<HiddenUnderFog> { }
|
public class HiddenUnderFogInfo : TraitInfo<HiddenUnderFog> { }
|
||||||
@@ -12,7 +12,7 @@ using System.Collections.Generic;
|
|||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA
|
namespace OpenRA.Mods.Common
|
||||||
{
|
{
|
||||||
[Desc("Display a colored overlay when a timed upgrade is active.")]
|
[Desc("Display a colored overlay when a timed upgrade is active.")]
|
||||||
public class UpgradeOverlayInfo : ITraitInfo
|
public class UpgradeOverlayInfo : ITraitInfo
|
||||||
@@ -76,12 +76,17 @@
|
|||||||
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
<Compile Include="Graphics\VoxelActorPreview.cs" />
|
||||||
<Compile Include="Graphics\VoxelRenderable.cs" />
|
<Compile Include="Graphics\VoxelRenderable.cs" />
|
||||||
<Compile Include="ModChooserLoadScreen.cs" />
|
<Compile Include="ModChooserLoadScreen.cs" />
|
||||||
|
<Compile Include="Modifiers\DisabledOverlay.cs" />
|
||||||
|
<Compile Include="Modifiers\HiddenUnderFog.cs" />
|
||||||
|
<Compile Include="Modifiers\UpgradeOverlay.cs" />
|
||||||
<Compile Include="Orders\DeployOrderTargeter.cs" />
|
<Compile Include="Orders\DeployOrderTargeter.cs" />
|
||||||
<Compile Include="Orders\EnterAlliedActorTargeter.cs" />
|
<Compile Include="Orders\EnterAlliedActorTargeter.cs" />
|
||||||
<Compile Include="Orders\UnitOrderTargeter.cs" />
|
<Compile Include="Orders\UnitOrderTargeter.cs" />
|
||||||
<Compile Include="PaletteFromFile.cs" />
|
<Compile Include="PaletteFromFile.cs" />
|
||||||
<Compile Include="RallyPoint.cs" />
|
<Compile Include="RallyPoint.cs" />
|
||||||
<Compile Include="ServerTraits\ColorValidator.cs" />
|
<Compile Include="ServerTraits\ColorValidator.cs" />
|
||||||
|
<Compile Include="ServerTraits\LobbyCommands.cs" />
|
||||||
|
<Compile Include="ServerTraits\LobbySettingsNotification.cs" />
|
||||||
<Compile Include="ServerTraits\MasterServerPinger.cs" />
|
<Compile Include="ServerTraits\MasterServerPinger.cs" />
|
||||||
<Compile Include="ServerTraits\PlayerPinger.cs" />
|
<Compile Include="ServerTraits\PlayerPinger.cs" />
|
||||||
<Compile Include="Traits\BlocksBullets.cs" />
|
<Compile Include="Traits\BlocksBullets.cs" />
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ using S = OpenRA.Server.Server;
|
|||||||
using OpenRA.Mods.Common.Server;
|
using OpenRA.Mods.Common.Server;
|
||||||
using OpenRA.Mods.Common;
|
using OpenRA.Mods.Common;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Server
|
namespace OpenRA.Mods.Common.Server
|
||||||
{
|
{
|
||||||
public class LobbyCommands : ServerTrait, IInterpretCommand, INotifyServerStart
|
public class LobbyCommands : ServerTrait, IInterpretCommand, INotifyServerStart
|
||||||
{
|
{
|
||||||
@@ -13,7 +13,7 @@ using OpenRA.Mods.Common;
|
|||||||
using OpenRA.Network;
|
using OpenRA.Network;
|
||||||
using OpenRA.Server;
|
using OpenRA.Server;
|
||||||
|
|
||||||
namespace OpenRA.Mods.RA.Server
|
namespace OpenRA.Mods.Common.Server
|
||||||
{
|
{
|
||||||
public class LobbySettingsNotification : ServerTrait, IClientJoined
|
public class LobbySettingsNotification : ServerTrait, IClientJoined
|
||||||
{
|
{
|
||||||
@@ -12,6 +12,7 @@ using System;
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using OpenRA.Effects;
|
using OpenRA.Effects;
|
||||||
using OpenRA.Graphics;
|
using OpenRA.Graphics;
|
||||||
|
using OpenRA.Mods.Common;
|
||||||
using OpenRA.Primitives;
|
using OpenRA.Primitives;
|
||||||
using OpenRA.Traits;
|
using OpenRA.Traits;
|
||||||
|
|
||||||
|
|||||||
@@ -230,7 +230,6 @@
|
|||||||
<Compile Include="Mine.cs" />
|
<Compile Include="Mine.cs" />
|
||||||
<Compile Include="Minelayer.cs" />
|
<Compile Include="Minelayer.cs" />
|
||||||
<Compile Include="Modifiers\FrozenUnderFog.cs" />
|
<Compile Include="Modifiers\FrozenUnderFog.cs" />
|
||||||
<Compile Include="Modifiers\HiddenUnderFog.cs" />
|
|
||||||
<Compile Include="Move\Drag.cs" />
|
<Compile Include="Move\Drag.cs" />
|
||||||
<Compile Include="Move\Mobile.cs" />
|
<Compile Include="Move\Mobile.cs" />
|
||||||
<Compile Include="Move\Move.cs" />
|
<Compile Include="Move\Move.cs" />
|
||||||
@@ -305,7 +304,6 @@
|
|||||||
<Compile Include="SeedsResource.cs" />
|
<Compile Include="SeedsResource.cs" />
|
||||||
<Compile Include="SelfHealing.cs" />
|
<Compile Include="SelfHealing.cs" />
|
||||||
<Compile Include="Sellable.cs" />
|
<Compile Include="Sellable.cs" />
|
||||||
<Compile Include="ServerTraits\LobbyCommands.cs" />
|
|
||||||
<Compile Include="ShroudPalette.cs" />
|
<Compile Include="ShroudPalette.cs" />
|
||||||
<Compile Include="SmokeTrailWhenDamaged.cs" />
|
<Compile Include="SmokeTrailWhenDamaged.cs" />
|
||||||
<Compile Include="SpawnMPUnits.cs" />
|
<Compile Include="SpawnMPUnits.cs" />
|
||||||
@@ -408,7 +406,6 @@
|
|||||||
<Compile Include="Render\WithCrateBody.cs" />
|
<Compile Include="Render\WithCrateBody.cs" />
|
||||||
<Compile Include="Buildings\Demolishable.cs" />
|
<Compile Include="Buildings\Demolishable.cs" />
|
||||||
<Compile Include="Activities\FlyFollow.cs" />
|
<Compile Include="Activities\FlyFollow.cs" />
|
||||||
<Compile Include="Modifiers\DisabledOverlay.cs" />
|
|
||||||
<Compile Include="Widgets\Logic\GameTimerLogic.cs" />
|
<Compile Include="Widgets\Logic\GameTimerLogic.cs" />
|
||||||
<Compile Include="Immobile.cs" />
|
<Compile Include="Immobile.cs" />
|
||||||
<Compile Include="Widgets\Logic\ReplayControlBarLogic.cs" />
|
<Compile Include="Widgets\Logic\ReplayControlBarLogic.cs" />
|
||||||
@@ -480,7 +477,6 @@
|
|||||||
<Compile Include="Player\GlobalUpgradeManager.cs" />
|
<Compile Include="Player\GlobalUpgradeManager.cs" />
|
||||||
<Compile Include="GainsStatUpgrades.cs" />
|
<Compile Include="GainsStatUpgrades.cs" />
|
||||||
<Compile Include="Player\Extensions.cs" />
|
<Compile Include="Player\Extensions.cs" />
|
||||||
<Compile Include="ServerTraits\LobbySettingsNotification.cs" />
|
|
||||||
<Compile Include="Warheads\HealthPercentageDamageWarhead.cs" />
|
<Compile Include="Warheads\HealthPercentageDamageWarhead.cs" />
|
||||||
<Compile Include="Warheads\PerCellDamageWarhead.cs" />
|
<Compile Include="Warheads\PerCellDamageWarhead.cs" />
|
||||||
<Compile Include="Warheads\SpreadDamageWarhead.cs" />
|
<Compile Include="Warheads\SpreadDamageWarhead.cs" />
|
||||||
@@ -490,7 +486,6 @@
|
|||||||
<Compile Include="Scripting\Properties\HelicopterProperties.cs" />
|
<Compile Include="Scripting\Properties\HelicopterProperties.cs" />
|
||||||
<Compile Include="Scripting\Properties\PlaneProperties.cs" />
|
<Compile Include="Scripting\Properties\PlaneProperties.cs" />
|
||||||
<Compile Include="SupportPowers\GrantUpgradePower.cs" />
|
<Compile Include="SupportPowers\GrantUpgradePower.cs" />
|
||||||
<Compile Include="Modifiers\UpgradeOverlay.cs" />
|
|
||||||
<Compile Include="TimedUpgradeBar.cs" />
|
<Compile Include="TimedUpgradeBar.cs" />
|
||||||
<Compile Include="InvulnerabilityUpgrade.cs" />
|
<Compile Include="InvulnerabilityUpgrade.cs" />
|
||||||
<Compile Include="DisableUpgrade.cs" />
|
<Compile Include="DisableUpgrade.cs" />
|
||||||
@@ -502,9 +497,9 @@
|
|||||||
<Compile Include="UpgradeActorsNear.cs" />
|
<Compile Include="UpgradeActorsNear.cs" />
|
||||||
<Compile Include="WithRangeCircle.cs" />
|
<Compile Include="WithRangeCircle.cs" />
|
||||||
<Compile Include="Scripting\Properties\TransformProperties.cs" />
|
<Compile Include="Scripting\Properties\TransformProperties.cs" />
|
||||||
|
<Compile Include="UtilityCommands\ActorStatsExport.cs" />
|
||||||
<Compile Include="UtilityCommands\ExportCharacterSeparatedRules.cs" />
|
<Compile Include="UtilityCommands\ExportCharacterSeparatedRules.cs" />
|
||||||
<Compile Include="UtilityCommands\Extensions.cs" />
|
<Compile Include="UtilityCommands\Extensions.cs" />
|
||||||
<Compile Include="UtilityCommands\ActorStatsExport.cs" />
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
<ProjectReference Include="..\OpenRA.Game\OpenRA.Game.csproj">
|
||||||
|
|||||||
Reference in New Issue
Block a user