Moved RejectsOrders and ValidateOrder from Game to Mods.Common
This commit is contained in:
@@ -174,13 +174,11 @@
|
|||||||
<Compile Include="Traits\DrawLineToTarget.cs" />
|
<Compile Include="Traits\DrawLineToTarget.cs" />
|
||||||
<Compile Include="Traits\EditorTilesetFilter.cs" />
|
<Compile Include="Traits\EditorTilesetFilter.cs" />
|
||||||
<Compile Include="Traits\LintAttributes.cs" />
|
<Compile Include="Traits\LintAttributes.cs" />
|
||||||
<Compile Include="Traits\RejectsOrders.cs" />
|
|
||||||
<Compile Include="Traits\Player\DeveloperMode.cs" />
|
<Compile Include="Traits\Player\DeveloperMode.cs" />
|
||||||
<Compile Include="Traits\Player\PlayerResources.cs" />
|
<Compile Include="Traits\Player\PlayerResources.cs" />
|
||||||
<Compile Include="Traits\Selectable.cs" />
|
<Compile Include="Traits\Selectable.cs" />
|
||||||
<Compile Include="Traits\Target.cs" />
|
<Compile Include="Traits\Target.cs" />
|
||||||
<Compile Include="Traits\TraitsInterfaces.cs" />
|
<Compile Include="Traits\TraitsInterfaces.cs" />
|
||||||
<Compile Include="Traits\ValidateOrder.cs" />
|
|
||||||
<Compile Include="Traits\World\Faction.cs" />
|
<Compile Include="Traits\World\Faction.cs" />
|
||||||
<Compile Include="Traits\World\ResourceType.cs" />
|
<Compile Include="Traits\World\ResourceType.cs" />
|
||||||
<Compile Include="Traits\World\ScreenShaker.cs" />
|
<Compile Include="Traits\World\ScreenShaker.cs" />
|
||||||
|
|||||||
@@ -456,6 +456,7 @@
|
|||||||
<Compile Include="Traits\Render\WithVoxelBarrel.cs" />
|
<Compile Include="Traits\Render\WithVoxelBarrel.cs" />
|
||||||
<Compile Include="Traits\Render\WithVoxelBody.cs" />
|
<Compile Include="Traits\Render\WithVoxelBody.cs" />
|
||||||
<Compile Include="Traits\Render\WithVoxelTurret.cs" />
|
<Compile Include="Traits\Render\WithVoxelTurret.cs" />
|
||||||
|
<Compile Include="Traits\RejectsOrders.cs" />
|
||||||
<Compile Include="Traits\Repairable.cs" />
|
<Compile Include="Traits\Repairable.cs" />
|
||||||
<Compile Include="Traits\RepairableNear.cs" />
|
<Compile Include="Traits\RepairableNear.cs" />
|
||||||
<Compile Include="Traits\RepairsBridges.cs" />
|
<Compile Include="Traits\RepairsBridges.cs" />
|
||||||
@@ -507,6 +508,7 @@
|
|||||||
<Compile Include="Traits\World\PaletteFromCurrentTileset.cs" />
|
<Compile Include="Traits\World\PaletteFromCurrentTileset.cs" />
|
||||||
<Compile Include="Traits\World\PaletteFromFile.cs" />
|
<Compile Include="Traits\World\PaletteFromFile.cs" />
|
||||||
<Compile Include="Traits\World\PaletteFromRGBA.cs" />
|
<Compile Include="Traits\World\PaletteFromRGBA.cs" />
|
||||||
|
<Compile Include="Traits\World\ValidateOrder.cs" />
|
||||||
<Compile Include="Traits\World\VoxelNormalsPalette.cs" />
|
<Compile Include="Traits\World\VoxelNormalsPalette.cs" />
|
||||||
<Compile Include="Pathfinder\CellInfoLayerPool.cs" />
|
<Compile Include="Pathfinder\CellInfoLayerPool.cs" />
|
||||||
<Compile Include="Pathfinder\Constants.cs" />
|
<Compile Include="Pathfinder\Constants.cs" />
|
||||||
|
|||||||
@@ -10,8 +10,9 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Can be used to make a unit partly uncontrollable by the player.")]
|
[Desc("Can be used to make a unit partly uncontrollable by the player.")]
|
||||||
public class RejectsOrdersInfo : ITraitInfo
|
public class RejectsOrdersInfo : ITraitInfo
|
||||||
@@ -10,8 +10,9 @@
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
using OpenRA.Network;
|
using OpenRA.Network;
|
||||||
|
using OpenRA.Traits;
|
||||||
|
|
||||||
namespace OpenRA.Traits
|
namespace OpenRA.Mods.Common.Traits
|
||||||
{
|
{
|
||||||
[Desc("Used to detect exploits. Attach this to the world actor.")]
|
[Desc("Used to detect exploits. Attach this to the world actor.")]
|
||||||
public class ValidateOrderInfo : TraitInfo<ValidateOrder> { }
|
public class ValidateOrderInfo : TraitInfo<ValidateOrder> { }
|
||||||
Reference in New Issue
Block a user