changeset 213:c6713a1b4c0d

* Line ending changes no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sat, 21 Nov 2009 20:06:36 +0000
parents dce340f9cedc
children 1b718b67f7f6
files api/Objects/AbstractUnitEquipmentItemSelection.cs api/Objects/Unit.cs
diffstat 2 files changed, 26 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/api/Objects/AbstractUnitEquipmentItemSelection.cs	Sat Nov 21 16:40:54 2009 +0000
+++ b/api/Objects/AbstractUnitEquipmentItemSelection.cs	Sat Nov 21 20:06:36 2009 +0000
@@ -87,8 +87,8 @@
 		public abstract int NumberTaken
 		{
 			 get;
-		}
-
+		}
+
 		[Obsolete("Implementation is down to the UI")]
 		public abstract string GetEquipmentAmountString();
 	}
--- a/api/Objects/Unit.cs	Sat Nov 21 16:40:54 2009 +0000
+++ b/api/Objects/Unit.cs	Sat Nov 21 20:06:36 2009 +0000
@@ -248,32 +248,32 @@
 				}
 			}
 
-			return list.ToArray();
-		}
-
-		internal AbstractUnitEquipmentItemSelection GetEquipmentSelection(UnitEquipmentItem item)
-		{
-			return DictionaryUtils.GetValue(equipment, item);
+			return list.ToArray();
+		}
+
+		internal AbstractUnitEquipmentItemSelection GetEquipmentSelection(UnitEquipmentItem item)
+		{
+			return DictionaryUtils.GetValue(equipment, item);
 		}
 
 		[Obsolete("Use UnitEquipmentUtil method instead")]
 		public double GetEquipmentAmount(UnitEquipmentItem item)
-		{
+		{
 			return UnitEquipmentUtil.GetEquipmentAmount(this, item);
-		}
-
+		}
+
 		[Obsolete("Use UnitEquipmentUtil method instead")]
 		public double GetEquipmentAmount(string equipID)
 		{
 			return GetEquipmentAmount(UnitType.GetEquipmentItem(equipID));
-		}
-
+		}
+
 		[Obsolete("Use UnitEquipmentUtil method instead")]
 		public bool GetEquipmentAmountIsRatio(UnitEquipmentItem item)
-		{
+		{
 			return UnitEquipmentUtil.GetEquipmentAmountIsRatio(this, item);
-		}
-
+		}
+
 		[Obsolete("Use UnitEquipmentUtil method instead")]
 		public bool GetEquipmentAmountIsRatio(string itemID)
 		{
@@ -284,11 +284,11 @@
 		public string GetEquipmentAmountString(string equipID)
 		{
 			return "";
-		}
-
+		}
+
 		[Obsolete("Implementation is down to the UI")]
 		public string GetEquipmentAmountString(UnitEquipmentItem item)
-		{
+		{
 			return "";
 		}
 		
@@ -489,8 +489,8 @@
 
 		public int GetEquipmentAmountInSlot (string slotName)
 		{
-			int amount = 0;
-
+			int amount = 0;
+
 			List<AbstractUnitEquipmentItemSelection> selections = GetEquipmentSlotSelections(slotName);
 			
 			if (selections != null)
@@ -499,11 +499,11 @@
 			}			
 			
 			return amount;
-		}
-
-		internal List<AbstractUnitEquipmentItemSelection> GetEquipmentSlotSelections(string slotName)
-		{
-			return DictionaryUtils.GetValue(equipmentSlots, slotName);
+		}
+
+		internal List<AbstractUnitEquipmentItemSelection> GetEquipmentSlotSelections(string slotName)
+		{
+			return DictionaryUtils.GetValue(equipmentSlots, slotName);
 		}
 
 		/// <summary>