Mercurial > repos > snowblizz-super-API-ideas
diff api/Objects/UnitMemberType.cs @ 254:cdda78975be1
Fixes #268: Restructure stats for re-use
* Present new stats through Unit
* Add property to get array of type IDs
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 02 May 2010 15:45:31 +0000 |
parents | a54da5a8b5bb |
children |
line wrap: on
line diff
--- a/api/Objects/UnitMemberType.cs Mon Apr 26 19:49:51 2010 +0000 +++ b/api/Objects/UnitMemberType.cs Sun May 02 15:45:31 2010 +0000 @@ -19,6 +19,14 @@ { stats = typeStats; } + + public string StatsID + { + get + { + return stats.StatsID; + } + } /// <value> /// The set of <see cref="Stat"/>s for the unit member type in a format that is valid for the game system.