private static string ParseVeterancyAssetReference(IniParser parser) { var tokenPosition = parser.CurrentPosition; var identifier = parser.ParseIdentifier(); if (identifier != "HEROIC") { throw new IniParseException($"Unexpected identifier: {identifier}", tokenPosition); } return(parser.ParseAssetReference()); }
private void ParseVeterancyGroupProperty(IniParser parser, Action <DamageFXGroup> callback) { var tokenPosition = parser.CurrentPosition; var identifier = parser.ParseIdentifier(); if (identifier != "HEROIC") { throw new IniParseException($"Unexpected identifier: {identifier}", tokenPosition); } ParseGroupProperty(parser, callback); }