static void Prefix(ThingWithComps __instance) { RimProfiler.EntityMeasurer.EntityTickStart(EntityIdGetter.GetId(__instance, "tick")); }
static void Postfix(ThingWithComps __instance) { RimProfiler.EntityMeasurer.EntityTickEnd(EntityIdGetter.GetId(__instance, "tickLong")); }