2015-03-21 05:25:21 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
using ScriptTool;
|
|
|
|
|
|
|
|
|
|
namespace ScriptToolGui
|
|
|
|
|
{
|
|
|
|
|
class MatchedGroup
|
|
|
|
|
{
|
|
|
|
|
public IDictionary<Game, MainStringRef> Refs { get; private set; }
|
|
|
|
|
|
|
|
|
|
public MatchedGroup()
|
|
|
|
|
{
|
|
|
|
|
Refs = new Dictionary<Game, MainStringRef>();
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-26 20:02:49 +00:00
|
|
|
|
public MatchedGroup(MainStringRef ebRef, MainStringRef m12Ref)
|
2015-03-21 05:25:21 +00:00
|
|
|
|
: this()
|
|
|
|
|
{
|
|
|
|
|
Refs.Add(Game.Eb, ebRef);
|
|
|
|
|
Refs.Add(Game.M12, m12Ref);
|
2015-03-26 20:02:49 +00:00
|
|
|
|
Refs.Add(Game.M12English, m12Ref);
|
2015-03-21 05:25:21 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public override string ToString()
|
|
|
|
|
{
|
2015-03-25 15:55:09 +00:00
|
|
|
|
return String.Format("[{0:X3}] EB: {1} / [{2:X3}] M12: {3}",
|
|
|
|
|
Refs[Game.Eb].Index, Refs[Game.Eb].Label,
|
|
|
|
|
Refs[Game.M12].Index, Refs[Game.M12].Label);
|
2015-03-21 05:25:21 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|