Mercurial > repos > IBDev-IBBoard.WarFoundry.API
annotate api/Objects/StatSlot.cs @ 158:eb9a6d91a6db
Fixes #190: Mutex groups aren't honoured when adding equipment
* Make "get additional equipment" method check mutex groups
Also:
* Line ending cleanup
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 29 Sep 2009 19:50:46 +0000 |
parents | 2f3cafb69799 |
children |
rev | line source |
---|---|
104
2f3cafb69799
Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
1 // This file (StatSlot.cs) is a part of the IBBoard.WarFoundry.API project and is copyright 2007, 2008, 2009 IBBoard. |
15 | 2 // |
104
2f3cafb69799
Re #121: Migrate to AGPL license
IBBoard <dev@ibboard.co.uk>
parents:
82
diff
changeset
|
3 // 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. |
15 | 4 |
82 | 5 using System; |
6 using System.Text.RegularExpressions; | |
7 using System.Xml; | |
8 using IBBoard; | |
9 | |
10 namespace IBBoard.WarFoundry.API.Objects | |
11 { | |
12 /// <summary> | |
13 /// Summary description for StatSlot. | |
14 /// </summary> | |
15 public class StatSlot | |
16 { | |
0 | 17 private string name; |
82 | 18 private SystemStats sysStats; |
19 | |
20 public StatSlot(String statName) | |
0 | 21 { |
82 | 22 name = statName; |
23 } | |
24 | |
25 public string Name | |
26 { | |
27 get { return name; } | |
28 set { value = name; } | |
0 | 29 } |
30 | |
31 public SystemStats SystemStats | |
32 { | |
33 get { return sysStats; } | |
34 set { sysStats = value; } | |
82 | 35 } |
36 } | |
37 } |