protected bool RunCubeBlockReflectionTests() { bool result = true; if (!CubeBlockEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("CubeBlockEntity reflection validation failed!"); } if (!TerminalBlockEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("TerminalBlockEntity reflection validation failed!"); } if (!FunctionalBlockEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("FunctionalBlockEntity reflection validation failed!"); } if (!ProductionBlockEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("ProductionBlockEntity reflection validation failed!"); } if (!LightEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("LightEntity reflection validation failed!"); } if (!BatteryBlockEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("BatteryBlockEntity reflection validation failed!"); } if (!BatteryBlockNetworkManager.ReflectionUnitTest()) { result = false; BaseLog.Warn("BatteryBlockNetworkManager reflection validation failed!"); } if (!DoorEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("DoorEntity reflection validation failed!"); } if (!GravityBaseEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("GravityBaseEntity reflection validation failed!"); } if (!GravityGeneratorEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("GravityGeneratorEntity reflection validation failed!"); } if (!GravitySphereEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("GravitySphereEntity reflection validation failed!"); } if (!BeaconEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("BeaconEntity reflection validation failed!"); } if (!AntennaEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("AntennaEntity reflection validation failed!"); } if (!ThrustEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("ThrustEntity reflection validation failed!"); } if (!ThrustNetworkManager.ReflectionUnitTest()) { result = false; BaseLog.Warn("ThrustNetworkManager reflection validation failed!"); } if (!GyroEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("GyroEntity reflection validation failed!"); } if (!GyroNetworkManager.ReflectionUnitTest()) { result = false; BaseLog.Warn("GyroNetworkManager reflection validation failed!"); } if (!CockpitEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("CockpitEntity reflection validation failed!"); } if (!TurretBaseEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("TurretBaseEntity reflection validation failed!"); } if (!TurretNetworkManager.ReflectionUnitTest()) { result = false; BaseLog.Warn("TurretNetworkManager reflection validation failed!"); } if (!LandingGearEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("LandingGearEntity reflection validation failed!"); } if (!LandingGearNetworkManager.ReflectionUnitTest()) { result = false; BaseLog.Warn("LandingGearNetworkManager reflection validation failed!"); } if (!ReactorEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("ReactorEntity reflection validation failed!"); } if (!SolarPanelEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("SolarPanelEntity reflection validation failed!"); } if (!SmallGatlingGunEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("SmallGatlingGunEntity reflection validation failed!"); } if (!MergeBlockEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("MergeBlockEntity reflection validation failed!"); } if (!PistonEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("PistonEntity reflection validation failed!"); } if (!PistonNetworkManager.ReflectionUnitTest()) { result = false; BaseLog.Warn("PistonNetworkManager reflection validation failed!"); } if (!RotorEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("RotorEntity reflection validation failed!"); } if (!VirtualMassEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("VirtualMassEntity reflection validation failed!"); } if (!CameraBlockEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("CameraBlockEntity reflection validation failed!"); } if (!OreDetectorEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("OreDetectorEntity reflection validation failed!"); } if (!ButtonPanelEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("ButtonPanelEntity reflection validation failed!"); } if (!ShipControllerEntity.ReflectionUnitTest()) { result = false; BaseLog.Warn("ShipControllerEntity reflection validation failed!"); } if (!ShipControllerNetworkManager.ReflectionUnitTest()) { result = false; BaseLog.Warn("ShipControllerNetworkManager reflection validation failed!"); } if (result) { BaseLog.Info("All block types passed reflection unit tests!"); } return(result); }