Mercurial > repos > IBBoard.ArmyBuilder.API
comparison ABFile.cs @ 2:d5ba733cd289
Re #77 - Identify fields in .ab files
* Rename "UnknownNumber" to "UniqueID" based on data in "update XML" files
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 20 Apr 2009 19:28:01 +0000 |
parents | 1c19230d568d |
children | 1a54f6afafe7 |
comparison
equal
deleted
inserted
replaced
1:1c19230d568d | 2:d5ba733cd289 |
---|---|
23 private string folderName = ""; | 23 private string folderName = ""; |
24 private string releaseMajor = ""; | 24 private string releaseMajor = ""; |
25 private string releaseMinor = ""; | 25 private string releaseMinor = ""; |
26 private string requiredMajorVersion = ""; | 26 private string requiredMajorVersion = ""; |
27 private string requiredMinorVersion = ""; | 27 private string requiredMinorVersion = ""; |
28 private string unknownNumber = ""; | 28 private string uniqueID = ""; |
29 private string exporter = ""; | 29 private string exporter = ""; |
30 private string comment = ""; | 30 private string comment = ""; |
31 private List<FileTableEntry> files; | 31 private List<FileTableEntry> files; |
32 | 32 |
33 public ABFile(String filePath) : this(new FileInfo(filePath)) | 33 public ABFile(String filePath) : this(new FileInfo(filePath)) |
76 } | 76 } |
77 } | 77 } |
78 | 78 |
79 public string Header | 79 public string Header |
80 { | 80 { |
81 //This may actually be three values - a standard header ("LWDExport"), a count of the number of header parts (? seemingly always 0A) | |
82 // and an app name ("Army Builder" or "Card Value") | |
81 get | 83 get |
82 { | 84 { |
83 return header; | 85 return header; |
84 } | 86 } |
85 set | 87 set |
168 { | 170 { |
169 requiredMinorVersion = value; | 171 requiredMinorVersion = value; |
170 } | 172 } |
171 } | 173 } |
172 | 174 |
173 public string UnknownNumber | 175 public string UniqueID |
174 { | 176 { |
175 get | 177 get |
176 { | 178 { |
177 return unknownNumber; | 179 return uniqueID; |
178 } | 180 } |
179 set | 181 set |
180 { | 182 { |
181 unknownNumber = value; | 183 uniqueID = value; |
182 } | 184 } |
183 } | 185 } |
184 | 186 |
185 public string Exporter | 187 public string Exporter |
186 { | 188 { |