Parser erlaubt jetzt mehrere UnnamedValues
This commit is contained in:
@@ -288,7 +288,7 @@ namespace WorldOfPeacecraft
|
||||
private string Name;
|
||||
private LinkedList<Block> Blocks = new LinkedList<Block> ();
|
||||
private Dictionary<String, String> Values = new Dictionary<String, String> ();
|
||||
private string UnnamedValue;
|
||||
private LinkedList<String> UnnamedValues;
|
||||
|
||||
public Block (String[] message, int start, int end)
|
||||
{
|
||||
@@ -319,7 +319,7 @@ namespace WorldOfPeacecraft
|
||||
pos++;
|
||||
}
|
||||
else {
|
||||
UnnamedValue = message[pos];
|
||||
UnnamedValues.AddLast(message[pos]);
|
||||
pos++;
|
||||
}
|
||||
}
|
||||
@@ -330,9 +330,9 @@ namespace WorldOfPeacecraft
|
||||
return Name;
|
||||
}
|
||||
|
||||
public string GetUnnamedValue()
|
||||
public LinkedList<string> GetUnnamedValues()
|
||||
{
|
||||
return UnnamedValue;
|
||||
return UnnamedValues;
|
||||
}
|
||||
|
||||
public LinkedList<Block> GetBlocks ()
|
||||
|
||||
Reference in New Issue
Block a user