FormKey formKeyWeap = FormKey.Factory("00005B:Classic Fallout Condition.esl");
var weapFormLink = new FormLink<IInstanceNamingRulesGetter>(formKeyWeap);
if (state.LinkCache.TryResolve(weapFormLink, out var foundWeapRecord))
{
Console.WriteLine($"Found the INNR {foundWeapRecord.EditorID}");
}
The type of foundWeapRecord is IMajorRecordGetter, but it should be IInstanceNamingRulesGetter
Probably need to add to the interface to get it to type better
The type of
foundWeapRecord
isIMajorRecordGetter
, but it should beIInstanceNamingRulesGetter
Probably need to add to the interface to get it to type better