mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Rename ClickWindow to WindowAction
This commit is contained in:
parent
1e5b9fc94b
commit
d6022d1ee9
7 changed files with 38 additions and 18 deletions
|
|
@ -144,10 +144,10 @@ 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, 2 for middle click</param>
|
||||
/// <param name="buttom">Action to perform</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);
|
||||
bool SendWindowAction(int windowId, int slotId, WindowActionType action, Item item);
|
||||
|
||||
/// <summary>
|
||||
/// Send a close window packet to the server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue