public static void OnProductIconClick_Prefix(UIMinerWindow __instance) { if (SimulatedWorld.Initialized) { LocalPlayer.SendPacketToLocalStar(new MinerStoragePickupPacket(__instance.minerId, GameMain.localPlanet?.id ?? -1)); } }
public static void OnProductIconClick_Prefix(UIMinerWindow __instance) { if (Multiplayer.IsActive) { Multiplayer.Session.Network.SendPacketToLocalStar(new MinerStoragePickupPacket(__instance.minerId, GameMain.localPlanet?.id ?? -1)); } }
public static void OnProductIconClick_Prefix(UIMinerWindow __instance) { LocalPlayer.SendPacketToLocalPlanet(new MinerStoragePickupPacket(__instance.minerId)); }
public static void OnProductIconClick_Prefix(UIMinerWindow __instance) { LocalPlayer.SendPacketToLocalStar(new MinerStoragePickupPacket(__instance.minerId, GameMain.localPlanet?.factoryIndex ?? -1)); }