public override void CreateFilterList(bool showIDs)
{
ArrayList names = new ArrayList();
ArrayList ids = new ArrayList();
if(name != null)
{
for(int i=0; i<name[0].Count(); i++)
{
if(this.weapon[i].equipPart[this.filter.filterID[0]])
{
if(showIDs)
{
names.Add(i.ToString() + ": " + name[0].text[i]);
}
else
{
names.Add(name[0].text[i]);
}
ids.Add(i);
}
}
}
this.filter.nameList = names.ToArray(typeof(string)) as string[];
this.filter.realID = ids.ToArray(typeof(int)) as int[];
}