private static SlimProfilerEntry SingleMethodEntryProvider_GridConveyorRequest(IMyConveyorEndpointBlock __anyBlock, string __key) { if (__anyBlock is IMyEntity entity) { return(ProfilerData.EntityEntry(entity)?.GetSlim(__key)); } return(null); }
private SlimProfilerEntry GetterImplEntity() { return(!_owner.IsAllocated ? null : ProfilerData.EntityEntry(_owner.Target as IMyEntity)); }
private static SlimProfilerEntry SingleMethodEntryProvider_SlimBlock_Damage(MySlimBlock __instance, MyStringHash damageType, string __key) { return(ProfilerData.EntityEntry(__instance?.CubeGrid)?.GetFat("Damage")?.GetSlim(damageType.String)); }
// ReSharper disable UnusedMember.Local private static SlimProfilerEntry SingleMethodEntryProvider_Entity(IMyEntity __instance, string __key) { return(ProfilerData.EntityEntry(__instance)?.GetSlim(__key)); }