//-------------------------------------- // INITIALIZE //-------------------------------------- public GPAchievement(string aId, string aName, string aDescr, string aCurentSteps, string aTotalSteps, string aState, string aType) { _id = aId; _name = aName; _description = aDescr; _currentSteps = System.Convert.ToInt32 (aCurentSteps); _totalSteps = System.Convert.ToInt32 (aTotalSteps); _type = PlayServiceUtil.GetAchievementTypeById (System.Convert.ToInt32 (aType)); _state = PlayServiceUtil.GetAchievementStateById (System.Convert.ToInt32 (aState)); }
public GPAchievement(string aId, string aName, string aDescr, string aCurentSteps, string aTotalSteps, string aState, string aType) { _id = aId; _name = aName; _description = aDescr; _currentSteps = System.Convert.ToInt32(aCurentSteps); _totalSteps = System.Convert.ToInt32(aTotalSteps); _type = PlayServiceUtil.GetAchievementTypeById(System.Convert.ToInt32(aType)); _state = PlayServiceUtil.GetAchievementStateById(System.Convert.ToInt32(aState)); }