Implement middle click

This commit is contained in:
ReinforceZwei 2020-05-23 09:20:48 +08:00 committed by ORelio
parent 02d393fe4d
commit 1e5b9fc94b
3 changed files with 17 additions and 5 deletions

View file

@ -144,7 +144,7 @@ namespace MinecraftClient.Protocol
/// </summary>
/// <param name="windowId">Id of the window being clicked</param>
/// <param name="slotId">Id of the clicked slot</param>
/// <param name="buttom">0 for left click, 1 for right click</param>
/// <param name="buttom">0 for left click, 1 for right click, 2 for middle click</param>
/// <param name="item">Item in the clicked slot</param>
/// <returns>True if packet was successfully sent</returns>
bool SendClickWindow(int windowId, int slotId, byte buttom, Item item);