Inheritance: Terraria.Achievements.AchievementCondition
        public static ProgressionEventCondition[] CreateMany(params int[] eventIDs)
        {
            ProgressionEventCondition[] progressionEventConditionArray = new ProgressionEventCondition[eventIDs.Length];
            for (int index = 0; index < eventIDs.Length; ++index)
                progressionEventConditionArray[index] = new ProgressionEventCondition(eventIDs[index]);

            return progressionEventConditionArray;
        }
 private ProgressionEventCondition(int eventID)
     : base("PROGRESSION_EVENT_" + (object)eventID)
 {
     this._eventIDs = new int[1] {
         eventID
     };
     ProgressionEventCondition.ListenForPickup(this);
 }
 public static ProgressionEventCondition[] CreateMany(params int[] eventIDs)
 {
     ProgressionEventCondition[] progressionEventCondition = new ProgressionEventCondition[(int)eventIDs.Length];
     for (int i = 0; i < (int)eventIDs.Length; i++)
     {
         progressionEventCondition[i] = new ProgressionEventCondition(eventIDs[i]);
     }
     return progressionEventCondition;
 }
 public static ProgressionEventCondition[] CreateMany(params int[] eventIDs)
 {
     ProgressionEventCondition[] progressionEventConditionArray = new ProgressionEventCondition[eventIDs.Length];
     for (int index = 0; index < eventIDs.Length; ++index)
     {
         progressionEventConditionArray[index] = new ProgressionEventCondition(eventIDs[index]);
     }
     return(progressionEventConditionArray);
 }
 public static ProgressionEventCondition[] CreateMany(params int[] eventIDs)
 {
     ProgressionEventCondition[] array = new ProgressionEventCondition[eventIDs.Length];
     for (int i = 0; i < eventIDs.Length; i++)
     {
         array[i] = new ProgressionEventCondition(eventIDs[i]);
     }
     return(array);
 }
 public static ProgressionEventCondition[] CreateMany(params int[] eventIDs)
 {
     ProgressionEventCondition[] progressionEventCondition = new ProgressionEventCondition[(int)eventIDs.Length];
     for (int i = 0; i < (int)eventIDs.Length; i++)
     {
         progressionEventCondition[i] = new ProgressionEventCondition(eventIDs[i]);
     }
     return(progressionEventCondition);
 }
		public static ProgressionEventCondition[] CreateMany(params int[] eventIDs)
		{
			ProgressionEventCondition[] array = new ProgressionEventCondition[eventIDs.Length];
			for (int i = 0; i < eventIDs.Length; i++)
			{
				array[i] = new ProgressionEventCondition(eventIDs[i]);
			}
			return array;
		}
        private static void ListenForPickup(ProgressionEventCondition condition)
        {
            if (!_isListenerHooked)
            {
                AchievementsHelper.OnProgressionEvent += new AchievementsHelper.ProgressionEventEvent(ProgressionEventListener);
                _isListenerHooked = true;
            }

            for (int index = 0; index < condition._eventIDs.Length; ++index)
            {
                if (!_listeners.ContainsKey(condition._eventIDs[index]))
                    _listeners[condition._eventIDs[index]] = new List<ProgressionEventCondition>();
                _listeners[condition._eventIDs[index]].Add(condition);
            }
        }
 private static void ListenForPickup(ProgressionEventCondition condition)
 {
     if (!ProgressionEventCondition._isListenerHooked)
     {
         AchievementsHelper.OnProgressionEvent += new AchievementsHelper.ProgressionEventEvent(ProgressionEventCondition.ProgressionEventListener);
         ProgressionEventCondition._isListenerHooked = true;
     }
     for (int i = 0; i < (int)condition._eventIDs.Length; i++)
     {
         if (!ProgressionEventCondition._listeners.ContainsKey(condition._eventIDs[i]))
         {
             ProgressionEventCondition._listeners[condition._eventIDs[i]] = new List<ProgressionEventCondition>();
         }
         ProgressionEventCondition._listeners[condition._eventIDs[i]].Add(condition);
     }
 }
 private static void ListenForPickup(ProgressionEventCondition condition)
 {
     if (!ProgressionEventCondition._isListenerHooked)
     {
         AchievementsHelper.OnProgressionEvent      += new AchievementsHelper.ProgressionEventEvent(ProgressionEventCondition.ProgressionEventListener);
         ProgressionEventCondition._isListenerHooked = true;
     }
     for (int index = 0; index < condition._eventIDs.Length; ++index)
     {
         if (!ProgressionEventCondition._listeners.ContainsKey(condition._eventIDs[index]))
         {
             ProgressionEventCondition._listeners[condition._eventIDs[index]] = new List <ProgressionEventCondition>();
         }
         ProgressionEventCondition._listeners[condition._eventIDs[index]].Add(condition);
     }
 }
 private static void ListenForPickup(ProgressionEventCondition condition)
 {
     if (!_isListenerHooked)
     {
         AchievementsHelper.OnProgressionEvent += ProgressionEventListener;
         _isListenerHooked = true;
     }
     for (int i = 0; i < condition._eventIDs.Length; i++)
     {
         if (!_listeners.ContainsKey(condition._eventIDs[i]))
         {
             _listeners[condition._eventIDs[i]] = new List <ProgressionEventCondition>();
         }
         _listeners[condition._eventIDs[i]].Add(condition);
     }
 }
 private ProgressionEventCondition(int[] eventIDs)
     : base("PROGRESSION_EVENT_" + (object)eventIDs[0])
 {
     this._eventIDs = eventIDs;
     ProgressionEventCondition.ListenForPickup(this);
 }
 private ProgressionEventCondition(int[] eventIDs) : base(string.Concat("PROGRESSION_EVENT_", eventIDs[0]))
 {
     this._eventIDs = eventIDs;
     ProgressionEventCondition.ListenForPickup(this);
 }
 private ProgressionEventCondition(int eventID) : base(string.Concat("PROGRESSION_EVENT_", eventID))
 {
     this._eventIDs = new int[] { eventID };
     ProgressionEventCondition.ListenForPickup(this);
 }