You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SCJMapper-V2/SC/SCActionMapList.cs

29 lines
505 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SCJMapper_V2.SC
{
class SCActionMapList : SortedList<int, string>
{
private int NextID
{
get {
return this.Count;
}
}
public void AddActionMap( string amName )
{
if ( !this.ContainsValue( amName ) )
this.Add( NextID, amName );
}
public string[] ActionMaps { get { return this.Values.ToArray( ); } }
}
}