File tree Expand file tree Collapse file tree 37 files changed +59
-156
lines changed Expand file tree Collapse file tree 37 files changed +59
-156
lines changed Original file line number Diff line number Diff line change 11using Elements . Core ;
22using FrooxEngine ;
33using HarmonyLib ;
4- using MonkeyLoader . Resonite ;
54using System ;
65using System . Collections . Generic ;
76using System . Diagnostics ;
@@ -11,12 +10,10 @@ namespace CommunityBugFixCollection
1110{
1211 [ HarmonyPatch ]
1312 [ HarmonyPatchCategory ( nameof ( AnyProtocolHyperlinks ) ) ]
14- internal sealed class AnyProtocolHyperlinks : ResoniteMonkey < AnyProtocolHyperlinks >
13+ internal sealed class AnyProtocolHyperlinks : ResoniteBugFixMonkey < AnyProtocolHyperlinks >
1514 {
1615 public override IEnumerable < string > Authors => Contributors . Banane9 ;
1716
18- public override bool CanBeDisabled => true ;
19-
2017 [ HarmonyPrefix ]
2118 [ HarmonyPatch ( typeof ( HyperlinkOpenDialog ) , nameof ( HyperlinkOpenDialog . Open ) ) ]
2219 private static bool HyperlinkOpenDialogOpenPrefix ( HyperlinkOpenDialog __instance )
@@ -54,7 +51,7 @@ private static bool HyperlinkOpenPostfix(bool __result, Hyperlink __instance)
5451
5552 __instance . _lastOpened = url ;
5653
57- Userspace . UserspaceWorld . RunSynchronously ( delegate
54+ Userspace . UserspaceWorld . RunSynchronously ( ( ) =>
5855 {
5956 Slot slot = Userspace . UserspaceWorld . AddSlot ( "Hyperlink" ) ;
6057 slot . PositionInFrontOfUser ( float3 . Backward ) ;
Original file line number Diff line number Diff line change 11using Elements . Core ;
22using FrooxEngine ;
33using HarmonyLib ;
4- using MonkeyLoader . Resonite ;
54using System ;
65using System . Collections . Generic ;
76using System . Text ;
@@ -10,12 +9,10 @@ namespace CommunityBugFixCollection
109{
1110 [ HarmonyPatchCategory ( nameof ( BetterGridWorldPreset ) ) ]
1211 [ HarmonyPatch ( typeof ( WorldPresets ) , nameof ( WorldPresets . Grid ) ) ]
13- internal sealed class BetterGridWorldPreset : ResoniteMonkey < BetterGridWorldPreset >
12+ internal sealed class BetterGridWorldPreset : ResoniteBugFixMonkey < BetterGridWorldPreset >
1413 {
1514 public override IEnumerable < string > Authors => Contributors . Banane9 ;
1615
17- public override bool CanBeDisabled => true ;
18-
1916 private static bool Prefix ( World w )
2017 {
2118 if ( ! Enabled )
Original file line number Diff line number Diff line change 44using HarmonyLib ;
55using MonkeyLoader ;
66using MonkeyLoader . Meta ;
7- using MonkeyLoader . Resonite ;
87using NuGet . Versioning ;
98using System ;
109using System . Collections . Generic ;
@@ -14,12 +13,10 @@ namespace CommunityBugFixCollection
1413{
1514 [ HarmonyPatchCategory ( nameof ( BreakDragAndDropCopiedComponentDrives ) ) ]
1615 [ HarmonyPatch ( typeof ( SlotComponentReceiver ) , nameof ( SlotComponentReceiver . TryReceive ) ) ]
17- internal sealed class BreakDragAndDropCopiedComponentDrives : ResoniteMonkey < BreakDragAndDropCopiedComponentDrives >
16+ internal sealed class BreakDragAndDropCopiedComponentDrives : ResoniteBugFixMonkey < BreakDragAndDropCopiedComponentDrives >
1817 {
1918 public override IEnumerable < string > Authors => Contributors . Banane9 ;
2019
21- public override bool CanBeDisabled => true ;
22-
2320 protected override bool OnEngineReady ( )
2421 {
2522 var integrationMod = Mod . Loader . Get < Mod > ( ) . ById ( "MonkeyLoader.GamePacks.Resonite" ) ;
Original file line number Diff line number Diff line change 11using FrooxEngine ;
22using HarmonyLib ;
3- using MonkeyLoader . Resonite ;
43using System ;
54using System . Collections . Generic ;
65using System . Text ;
@@ -12,12 +11,10 @@ namespace CommunityBugFixCollection
1211{
1312 [ HarmonyPatchCategory ( nameof ( CenteredNotifications ) ) ]
1413 [ HarmonyPatch ( typeof ( NotificationPanel ) , nameof ( NotificationPanel . OnCommonUpdate ) ) ]
15- internal class CenteredNotifications : ResoniteMonkey < CenteredNotifications >
14+ internal class CenteredNotifications : ResoniteBugFixMonkey < CenteredNotifications >
1615 {
1716 public override IEnumerable < string > Authors => Contributors . Art0007i ;
1817
19- public override bool CanBeDisabled => true ;
20-
2118 public static IEnumerable < CodeInstruction > Transpiler ( IEnumerable < CodeInstruction > codes )
2219 {
2320 foreach ( var code in codes )
Original file line number Diff line number Diff line change 11using FrooxEngine ;
22using HarmonyLib ;
3- using MonkeyLoader . Resonite ;
43using System ;
54using System . Collections . Generic ;
65using System . Reflection . Emit ;
@@ -10,12 +9,10 @@ namespace CommunityBugFixCollection
109{
1110 [ HarmonyPatch ( typeof ( Slot ) , nameof ( Slot . Duplicate ) ) ]
1211 [ HarmonyPatchCategory ( nameof ( CheckSelfForDuplicateSlot ) ) ]
13- internal sealed class CheckSelfForDuplicateSlot : ResoniteMonkey < CheckSelfForDuplicateSlot >
12+ internal sealed class CheckSelfForDuplicateSlot : ResoniteBugFixMonkey < CheckSelfForDuplicateSlot >
1413 {
1514 public override IEnumerable < string > Authors => Contributors . Banane9 ;
1615
17- public override bool CanBeDisabled => true ;
18-
1916 private static IEnumerable < CodeInstruction > Transpiler ( IEnumerable < CodeInstruction > instructions )
2017 {
2118 var isChildOfMethod = AccessTools . DeclaredMethod ( typeof ( Slot ) , nameof ( Slot . IsChildOf ) ) ;
Original file line number Diff line number Diff line change 33using FrooxEngine . ProtoFlux ;
44using FrooxEngine . ProtoFlux . Runtimes . Execution . Nodes ;
55using HarmonyLib ;
6- using MonkeyLoader . Resonite ;
76using System ;
87using System . Collections . Generic ;
98using System . Text ;
@@ -12,12 +11,10 @@ namespace CommunityBugFixCollection
1211{
1312 [ HarmonyPatchCategory ( nameof ( ColorDisplayValueProxy ) ) ]
1413 [ HarmonyPatch ( typeof ( ValueDisplay < color > ) , nameof ( ValueDisplay < color > . BuildContentUI ) ) ]
15- internal sealed class ColorDisplayValueProxy : ResoniteMonkey < ColorDisplayValueProxy >
14+ internal sealed class ColorDisplayValueProxy : ResoniteBugFixMonkey < ColorDisplayValueProxy >
1615 {
1716 public override IEnumerable < string > Authors => Contributors . Banane9 ;
1817
19- public override bool CanBeDisabled => true ;
20-
2118 private static void Postfix ( ValueDisplay < color > __instance , ProtoFluxNodeVisual visual )
2219 {
2320 if ( ! Enabled )
Original file line number Diff line number Diff line change 11using Elements . Core ;
22using HarmonyLib ;
3- using MonkeyLoader . Resonite ;
43using System ;
54using System . Collections . Generic ;
65using System . Text ;
@@ -9,12 +8,10 @@ namespace CommunityBugFixCollection
98{
109 [ HarmonyPatchCategory ( nameof ( ColorXNodeNamesSpacing ) ) ]
1110 [ HarmonyPatch ( typeof ( StringHelper ) , nameof ( StringHelper . BeautifyName ) ) ]
12- internal sealed class ColorXNodeNamesSpacing : ResoniteMonkey < ColorXNodeNamesSpacing >
11+ internal sealed class ColorXNodeNamesSpacing : ResoniteBugFixMonkey < ColorXNodeNamesSpacing >
1312 {
1413 public override IEnumerable < string > Authors => Contributors . Banane9 ;
1514
16- public override bool CanBeDisabled => true ;
17-
1815 private static string Postfix ( string __result )
1916 {
2017 if ( ! Enabled )
Original file line number Diff line number Diff line change 11using Elements . Core ;
22using FrooxEngine ;
33using HarmonyLib ;
4- using MonkeyLoader . Resonite ;
54using System ;
65using System . Collections . Generic ;
76using System . Text ;
@@ -10,12 +9,10 @@ namespace CommunityBugFixCollection
109{
1110 [ HarmonyPatchCategory ( nameof ( ConsistentContextMenuAngularSize ) ) ]
1211 [ HarmonyPatch ( typeof ( ContextMenu ) , nameof ( ContextMenu . OnCommonUpdate ) ) ]
13- internal sealed class ConsistentContextMenuAngularSize : ResoniteMonkey < ConsistentContextMenuAngularSize >
12+ internal sealed class ConsistentContextMenuAngularSize : ResoniteBugFixMonkey < ConsistentContextMenuAngularSize >
1413 {
1514 public override IEnumerable < string > Authors => Contributors . Banane9 ;
1615
17- public override bool CanBeDisabled => true ;
18-
1916 private static void Postfix ( ContextMenu __instance )
2017 {
2118 if ( ! Enabled || ! __instance . IsVisible || ! __instance . IsUnderLocalUser )
Original file line number Diff line number Diff line change 11using HarmonyLib ;
2- using MonkeyLoader . Resonite ;
32using ProtoFlux . Core ;
43using ProtoFlux . Runtimes . Execution ;
54using ProtoFlux . Runtimes . Execution . Nodes . Casts ;
1110
1211namespace CommunityBugFixCollection
1312{
14- internal sealed class CorrectByteCasting : ResoniteMonkey < CorrectByteCasting >
13+ internal sealed class CorrectByteCasting : ResoniteBugFixMonkey < CorrectByteCasting >
1514 {
1615 public override IEnumerable < string > Authors => Contributors . Banane9 ;
1716
18- public override bool CanBeDisabled => true ;
19-
2017 protected override bool OnEngineReady ( )
2118 {
2219 var targets = AccessTools . GetTypesFromAssembly ( typeof ( Cast_byte_To_int ) . Assembly )
Original file line number Diff line number Diff line change 11using Elements . Core ;
22using FrooxEngine ;
33using HarmonyLib ;
4- using MonkeyLoader . Resonite ;
54using System ;
65using System . Collections . Generic ;
76using System . Text ;
@@ -10,12 +9,10 @@ namespace CommunityBugFixCollection
109{
1110 [ HarmonyPatchCategory ( nameof ( CorrectMaterialGizmoScaling ) ) ]
1211 [ HarmonyPatch ( typeof ( MaterialGizmo ) , nameof ( MaterialGizmo . PositionInFrontOfUser ) ) ]
13- internal sealed class CorrectMaterialGizmoScaling : ResoniteMonkey < CorrectMaterialGizmoScaling >
12+ internal sealed class CorrectMaterialGizmoScaling : ResoniteBugFixMonkey < CorrectMaterialGizmoScaling >
1413 {
1514 public override IEnumerable < string > Authors => Contributors . Banane9 ;
1615
17- public override bool CanBeDisabled => true ;
18-
1916 // Apply default scale for inspector UI before it gets user-scaled again by PositionInFrontOfUser
2017 private static void Prefix ( MaterialGizmo __instance )
2118 {
You can’t perform that action at this time.
0 commit comments