Change game and cluster update methods not to depend on game object identification flags that are set based on full or partial class name matching.
Game objects contain little information to tell us what kind they are, guessing based on class name will always be required but should be minimized to improve compatibility with mods.
Code
var statusComponents = objects.Where(x => x.IsDinoStatusComponent).ToDictionary(x => x.ObjectId, x => x);
Should be
var statusComponents = objects.Where(x => x.IsStatusComponent).ToDictionary(x => x.ObjectId, x => x);
// or...
var objectMap = objects.ToDictionary(x => x.ObjectId, x => x);
Change game and cluster update methods not to depend on game object identification flags that are set based on full or partial class name matching.
Game objects contain little information to tell us what kind they are, guessing based on class name will always be required but should be minimized to improve compatibility with mods.
Code
Should be
etc.