mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 07:13:58 -05:00
move IW3 parser to javascript
This commit is contained in:
@ -71,6 +71,22 @@ namespace SharedLibraryCore.Interfaces
|
||||
GroupMapping.Add((GroupType)key, value);
|
||||
}
|
||||
}
|
||||
|
||||
if (mapKey.GetType() == typeof(GroupType) && mapValue.GetType().ToString() == "System.Int32")
|
||||
{
|
||||
GroupType k = (GroupType)Enum.Parse(typeof(GroupType), mapKey.ToString());
|
||||
int v = int.Parse(mapValue.ToString());
|
||||
|
||||
if (GroupMapping.ContainsKey(k))
|
||||
{
|
||||
GroupMapping[k] = v;
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
GroupMapping.Add(k, v);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public ParserRegex()
|
||||
|
Reference in New Issue
Block a user