Mercurial > repos > IBDev-IBBoard.WarFoundry.API
changeset 499:2fc99446f9c9 default tip
Add initial structure for categories of equipment
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 16 Oct 2016 20:26:44 +0100 |
parents | 51123a620455 |
children | |
files | API/Objects/EquipmentCategory.cs API/Objects/GameSystem.cs IBBoard.WarFoundry.API-Droid.csproj IBBoard.WarFoundry.API.csproj |
diffstat | 4 files changed, 24 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/API/Objects/EquipmentCategory.cs Sun Oct 16 20:26:44 2016 +0100 @@ -0,0 +1,16 @@ +// This file (EquipmentCategory.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2013 IBBoard +// +// The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. +using System; + +namespace IBBoard.WarFoundry.API.Objects +{ + public class EquipmentCategory : WarFoundryObject + { + public EquipmentCategory(string id, string name) : base(id, name) + { + //Do nothing special + } + } +} +
--- a/API/Objects/GameSystem.cs Sun Apr 28 19:34:15 2013 +0100 +++ b/API/Objects/GameSystem.cs Sun Oct 16 20:26:44 2016 +0100 @@ -356,5 +356,11 @@ return preferred; } + + public EquipmentCategory[] EquipmentCategories + { + get; + set; + } } }
--- a/IBBoard.WarFoundry.API-Droid.csproj Sun Apr 28 19:34:15 2013 +0100 +++ b/IBBoard.WarFoundry.API-Droid.csproj Sun Oct 16 20:26:44 2016 +0100 @@ -147,6 +147,7 @@ <Compile Include="API\Factories\Requirement\UnitRequiresNParentModelsForMUnitsRequirementFactory.cs" /> <Compile Include="API\Objects\Requirement\UnitRequiresNParentModelsForMUnitsRequirement.cs" /> <Compile Include="API\Objects\Requirement\Context\NullAddingContext.cs" /> + <Compile Include="API\Objects\EquipmentCategory.cs" /> </ItemGroup> <ItemGroup> <None Include="app.config" />
--- a/IBBoard.WarFoundry.API.csproj Sun Apr 28 19:34:15 2013 +0100 +++ b/IBBoard.WarFoundry.API.csproj Sun Oct 16 20:26:44 2016 +0100 @@ -165,6 +165,7 @@ <Compile Include="API\Objects\Requirement\Context\NullAddingContext.cs" /> <Compile Include="API\Objects\Requirement\UnitRequiresNParentModelsForMUnitsRequirement.cs" /> <Compile Include="API\Factories\Requirement\UnitRequiresNParentModelsForMUnitsRequirementFactory.cs" /> + <Compile Include="API\Objects\EquipmentCategory.cs" /> </ItemGroup> <ItemGroup> <Reference Include="System.Xml" />