internal static object GetIdentifier(RecordIdentifierContext context) { if (CellUtils.IsInterior(context.record)) { return(CellUtils.GetName(context.record)); } else { return(CellUtils.GetGridKey(context.record)); } }
internal static object GetIdentifier(RecordIdentifierContext context) { return(context.record.GetSubRecord <StringSubRecord>("NAME").Data); }
internal static object GetIdentifier(RecordIdentifierContext context) { return(context.record.GetSubRecord <IntSubRecord>("INDX").Data); }
internal static object GetIdentifier(RecordIdentifierContext context) { return(context.record.GetSubRecord <ScriptHeader>("SCHD").ScriptName); }
internal static object GetIdentifier(RecordIdentifierContext context) { return(Record.TES3HeaderIdentifier); }
internal static object GetIdentifier(RecordIdentifierContext context) { var data = context.record.GetSubRecord <GridSubRecord>("INTV"); return(new LandscapeGridKey(data.GridX, data.GridY)); }
internal static object GetIdentifier(RecordIdentifierContext context) { var data = context.record.GetSubRecord <PathGridDataSubRecord>("DATA"); return(new PathGridKey(context.record.GetSubRecord <StringSubRecord>("NAME").Data, new GridKey(data.GridX, data.GridY))); }