コード例 #1
0
        public static iOSAchievementDescription[] ConvertAchievementDescriptionsList(IList _descriptionsJSONList)
        {
            if (_descriptionsJSONList == null)
            {
                return(null);
            }

            int _count = _descriptionsJSONList.Count;

            iOSAchievementDescription[] _descriptionsList = new iOSAchievementDescription[_count];

            for (int _iter = 0; _iter < _count; _iter++)
            {
                _descriptionsList[_iter] = new iOSAchievementDescription((IDictionary)_descriptionsJSONList[_iter]);
            }

            return(_descriptionsList);
        }
コード例 #2
0
        internal static iOSAchievementDescription[] ConvertAchievementDescriptionList(IAchievementDescription[] _achievementDescriptionList)
        {
            if (_achievementDescriptionList == null)
            {
                return(null);
            }

            int _count = _achievementDescriptionList.Length;

            iOSAchievementDescription[] _iOSAchievementDescriptionList = new iOSAchievementDescription[_count];

            for (int _iter = 0; _iter < _count; _iter++)
            {
                _iOSAchievementDescriptionList[_iter] = new iOSAchievementDescription(_achievementDescriptionList[_iter]);
            }

            return(_iOSAchievementDescriptionList);
        }
コード例 #3
0
		internal static iOSAchievementDescription[] ConvertAchievementDescriptionList (IAchievementDescription[] _achievementDescriptionList)
		{
			if (_achievementDescriptionList == null)
				return null;

			int  							_count 							= _achievementDescriptionList.Length;
			iOSAchievementDescription[]		_iOSAchievementDescriptionList	= new iOSAchievementDescription[_count];
			
			for (int _iter = 0; _iter < _count; _iter++)
				_iOSAchievementDescriptionList[_iter] 						= new iOSAchievementDescription(_achievementDescriptionList[_iter]);

			return _iOSAchievementDescriptionList;
		}
コード例 #4
0
		public static iOSAchievementDescription[] ConvertAchievementDescriptionsList (IList _descriptionsJSONList)
		{
			if (_descriptionsJSONList == null)
				return null;
			
			int 				_count				= _descriptionsJSONList.Count;
			iOSAchievementDescription[]	_descriptionsList	= new iOSAchievementDescription[_count];
			
			for (int _iter = 0; _iter < _count; _iter++)
				_descriptionsList[_iter]			= new iOSAchievementDescription((IDictionary)_descriptionsJSONList[_iter]);
			
			return _descriptionsList;
		}