mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 09:39:56 +00:00
remove excess newlines
This commit is contained in:
parent
03f615525b
commit
eb79e32491
@ -29,7 +29,6 @@ namespace QSB.Anglerfish.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(AnglerfishController), nameof(AnglerfishController.OnSectorOccupantRemoved))]
|
||||
public static bool OnSectorOccupantRemoved(AnglerfishController __instance,
|
||||
@ -51,7 +50,6 @@ namespace QSB.Anglerfish.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(AnglerfishController), nameof(AnglerfishController.UpdateState))]
|
||||
public static bool UpdateState(AnglerfishController __instance)
|
||||
@ -167,7 +165,6 @@ namespace QSB.Anglerfish.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(AnglerfishController), nameof(AnglerfishController.UpdateMovement))]
|
||||
public static bool UpdateMovement(AnglerfishController __instance)
|
||||
@ -250,7 +247,6 @@ namespace QSB.Anglerfish.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(AnglerfishController), nameof(AnglerfishController.OnImpact))]
|
||||
public static bool OnImpact(AnglerfishController __instance,
|
||||
@ -275,7 +271,6 @@ namespace QSB.Anglerfish.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(AnglerfishController), nameof(AnglerfishController.OnClosestAudibleNoise))]
|
||||
public static bool OnClosestAudibleNoise(AnglerfishController __instance,
|
||||
@ -330,7 +325,6 @@ namespace QSB.Anglerfish.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(AnglerfishController), nameof(AnglerfishController.OnCaughtObject))]
|
||||
public static bool OnCaughtObject(AnglerfishController __instance,
|
||||
|
@ -41,7 +41,6 @@ namespace QSB.Anglerfish.TransformSync
|
||||
SetReferenceTransform(_qsbAngler.AttachedObject._brambleBody.transform);
|
||||
}
|
||||
|
||||
|
||||
private bool _shouldUpdate;
|
||||
|
||||
public override void DeserializeTransform(QNetworkReader reader, bool initialState)
|
||||
@ -65,7 +64,6 @@ namespace QSB.Anglerfish.TransformSync
|
||||
return base.UpdateTransform();
|
||||
}
|
||||
|
||||
|
||||
protected override void OnRenderObject()
|
||||
{
|
||||
base.OnRenderObject();
|
||||
|
@ -92,7 +92,6 @@ namespace QSB.Menus
|
||||
DisconnectButton = MenuApi.PauseMenu_MakeSimpleButton("DISCONNECT");
|
||||
DisconnectButton.onClick.AddListener(Disconnect);
|
||||
|
||||
|
||||
if (QSBCore.IsInMultiplayer)
|
||||
{
|
||||
ClientButton.SetActive(false);
|
||||
|
@ -18,7 +18,6 @@ namespace QSB.MeteorSync.Patches
|
||||
public static bool FixedUpdate(MeteorLauncher __instance)
|
||||
=> false;
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(MeteorLauncher), nameof(MeteorLauncher.LaunchMeteor))]
|
||||
public static bool LaunchMeteor(MeteorLauncher __instance)
|
||||
@ -69,7 +68,6 @@ namespace QSB.MeteorSync.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(MeteorController), nameof(MeteorController.Impact))]
|
||||
public static bool Impact(MeteorController __instance,
|
||||
@ -106,7 +104,6 @@ namespace QSB.MeteorSync.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(DetachableFragment), nameof(DetachableFragment.Detach))]
|
||||
public static void Detach_Prefix(DetachableFragment __instance, out FragmentIntegrity __state) =>
|
||||
@ -118,7 +115,6 @@ namespace QSB.MeteorSync.Patches
|
||||
public static void Detach_Postfix(DetachableFragment __instance, FragmentIntegrity __state) =>
|
||||
__instance._fragmentIntegrity = __state;
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(DebrisLeash), nameof(DebrisLeash.MoveByDistance))]
|
||||
public static bool MoveByDistance(DebrisLeash __instance,
|
||||
@ -140,7 +136,6 @@ namespace QSB.MeteorSync.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(DebrisLeash), nameof(DebrisLeash.FixedUpdate))]
|
||||
public static bool FixedUpdate(DebrisLeash __instance)
|
||||
|
@ -11,7 +11,6 @@ namespace QSB.MeteorSync.Patches
|
||||
{
|
||||
public override QSBPatchTypes Type => QSBPatchTypes.OnServerClientConnect;
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(MeteorLauncher), nameof(MeteorLauncher.FixedUpdate))]
|
||||
public static bool FixedUpdate(MeteorLauncher __instance)
|
||||
@ -75,7 +74,6 @@ namespace QSB.MeteorSync.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(MeteorLauncher), nameof(MeteorLauncher.LaunchMeteor))]
|
||||
public static bool LaunchMeteor(MeteorLauncher __instance)
|
||||
@ -133,7 +131,6 @@ namespace QSB.MeteorSync.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(MeteorController), nameof(MeteorController.Impact))]
|
||||
public static void Impact(MeteorController __instance,
|
||||
@ -146,7 +143,6 @@ namespace QSB.MeteorSync.Patches
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(FragmentIntegrity), nameof(FragmentIntegrity.AddDamage))]
|
||||
public static void AddDamage(FragmentIntegrity __instance,
|
||||
@ -156,7 +152,6 @@ namespace QSB.MeteorSync.Patches
|
||||
QSBEventManager.FireEvent(EventNames.QSBFragmentDamage, qsbFragment, damage);
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(DetachableFragment), nameof(DetachableFragment.Detach))]
|
||||
public static void Detach_Prefix(DetachableFragment __instance, out FragmentIntegrity __state) =>
|
||||
@ -168,7 +163,6 @@ namespace QSB.MeteorSync.Patches
|
||||
public static void Detach_Postfix(DetachableFragment __instance, FragmentIntegrity __state) =>
|
||||
__instance._fragmentIntegrity = __state;
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(DebrisLeash), nameof(DebrisLeash.MoveByDistance))]
|
||||
public static bool MoveByDistance(DebrisLeash __instance,
|
||||
@ -190,7 +184,6 @@ namespace QSB.MeteorSync.Patches
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
[HarmonyPrefix]
|
||||
[HarmonyPatch(typeof(DebrisLeash), nameof(DebrisLeash.FixedUpdate))]
|
||||
public static bool FixedUpdate(DebrisLeash __instance)
|
||||
|
@ -22,7 +22,6 @@ namespace QSB.MeteorSync.WorldObjects
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public DetachableFragment DetachableFragment;
|
||||
public bool IsDetached => DetachableFragment != null && DetachableFragment._isDetached;
|
||||
public bool IsThruWhiteHole => IsDetached && DetachableFragment._sector != null &&
|
||||
|
@ -11,7 +11,6 @@ namespace QSB.MeteorSync.WorldObjects
|
||||
AttachedObject = attachedObject;
|
||||
}
|
||||
|
||||
|
||||
public static bool IsSpecialImpact(GameObject go) =>
|
||||
go == Locator.GetPlayerCollider().gameObject || go == Locator.GetProbe()._anchor._collider.gameObject;
|
||||
|
||||
|
@ -10,7 +10,6 @@ namespace QSB.MeteorSync.WorldObjects
|
||||
AttachedObject = attachedObject;
|
||||
}
|
||||
|
||||
|
||||
public int MeteorId;
|
||||
public float LaunchSpeed;
|
||||
|
||||
|
@ -93,7 +93,6 @@ namespace QSB.Syncs.Unsectored.Rigidbodies
|
||||
_relativeAngularVelocity = ReferenceTransform.GetAttachedOWRigidbody().EncodeAngVel(((OWRigidbody)AttachedObject).GetAngularVelocity());
|
||||
}
|
||||
|
||||
|
||||
protected override bool UpdateTransform()
|
||||
{
|
||||
if (HasAuthority)
|
||||
|
@ -16,7 +16,6 @@ namespace QSB.Tools.TranslatorTool
|
||||
private QSBTranslatorScanBeam[] _scanBeams;
|
||||
private bool _isTranslating;
|
||||
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_targetBeam = transform.GetComponentInChildren<TranslatorTargetBeam>();
|
||||
|
@ -18,7 +18,6 @@ namespace QSB.Tools.TranslatorTool
|
||||
var REMOTE_TranslatorGroup = REMOTE_NomaiTranslatorProp.transform.Find("TranslatorGroup");
|
||||
var REMOTE_Props_HEA_Translator = REMOTE_TranslatorGroup.Find("Props_HEA_Translator");
|
||||
|
||||
|
||||
Object.Destroy(REMOTE_TranslatorGroup.Find("Canvas").gameObject);
|
||||
Object.Destroy(REMOTE_Props_HEA_Translator.Find("Props_HEA_Translator_Pivot_RotatingPart")
|
||||
.Find("Props_HEA_Translator_RotatingPart")
|
||||
|
Loading…
x
Reference in New Issue
Block a user