|
|
@@ -15,7 +15,7 @@ namespace GamecraftModdingAPI.Inventory |
|
|
|
|
|
|
|
public static BlockIDs EquippedPartID { get => (BlockIDs)selectedBlockInt; } |
|
|
|
|
|
|
|
private static MethodInfo PatchedMethod { get; } = AccessTools.Method("Gamecraft.GUI.Hotbar.Blocks.SyncHotbarSlotSelectedToEquipedPartEngine:ActivateSlotForCube", parameters: new Type[] { typeof(uint), typeof(int), typeof(ExclusiveGroupStruct) }); |
|
|
|
private static MethodInfo PatchedMethod { get; } = AccessTools.Method("Gamecraft.GUI.Hotbar.Blocks.SyncHotbarSlotSelectedToEquippedPartEngine:ActivateSlotForCube", parameters: new Type[] { typeof(uint), typeof(int), typeof(ExclusiveGroupStruct) }); |
|
|
|
|
|
|
|
public static void Prefix(uint playerID, int selectedDBPartID, ExclusiveGroupStruct groupID) |
|
|
|
{ |
|
|
|