Skip to content

Commit

Permalink
added to cheatsheat
Browse files Browse the repository at this point in the history
  • Loading branch information
some1one committed Oct 17, 2024
1 parent c9b1b87 commit b042889
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/Big-Cheat-Sheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -312,4 +312,14 @@ foreach (var recTypes in MajorRecordTypeEnumerator.GetMajorRecordTypesFor(GameCa
Console.WriteLine($"Setter: {recTypes.SetterType}");
Console.WriteLine($"Class: {recTypes.ClassType}");
}
```

## Find all Major Record Types for Top Level Groups
```cs
foreach (var recTypes in MajorRecordTypeEnumerator.GetTopLevelMajorRecordTypesFor(GameCategory.Skyrim))
{
Console.WriteLine($"Getter: {recTypes.GetterType}");
Console.WriteLine($"Setter: {recTypes.SetterType}");
Console.WriteLine($"Class: {recTypes.ClassType}");
}
```

0 comments on commit b042889

Please sign in to comment.