Skip to content

Removed reflection to the game itself

Pre-release
Pre-release
Compare
Choose a tag to compare
@Emik03 Emik03 released this 06 Apr 10:26
· 1021 commits to main since this release
  • Added ModInfo class, which is meant for deserializing modInfo.json files.
  • Added Helper.FirstValue() and Helper.LastValue() which returns the first non-null value from an anonymous function.
  • Added Helper.GetUpperBound() and Helper.IsNullOrEmpty() for IEnumerable<T> type.
  • Added null checks to Helper.Backwards<T>(), Helper.Call<T>(), and Helper.Replace<T>()
  • Added empty/null check for ModBundleName with instructions on how to set it up.
  • Changed exception from Version to be clearer and give instructions.
  • Changed ToOrdinal() to be compatible with negative numbers.
  • Changed caching system in PathManager to accept objects instead of strings.
  • Renamed Helper.ThrowIfNullOrEmpty() to Helper.AssertNotNullOrEmpty()
  • Replaced PathManager.GetModInfoVersion() and PathManager.GetModInfoPath() with PathManager.GetModInfo()