mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Code refactoring (related to #1024)
This commit is contained in:
parent
d120001d70
commit
23870711a0
11 changed files with 69 additions and 100 deletions
|
|
@ -150,11 +150,14 @@ namespace MinecraftClient.Protocol
|
|||
bool SendWindowAction(int windowId, int slotId, WindowActionType action, Item item);
|
||||
|
||||
/// <summary>
|
||||
/// Send a click window slot packet to the server
|
||||
/// Request Creative Mode item creation into regular/survival Player Inventory
|
||||
/// </summary>
|
||||
/// <param name="slot">Id of inventory slot</param>
|
||||
/// <param name="item">Id of item </param>
|
||||
bool SendCreativeInventoryAction(int slot, Item item);
|
||||
/// <remarks>(obviously) requires to be in creative mode</remarks>
|
||||
/// <param name="slot">Destination inventory slot</param>
|
||||
/// <param name="itemType">Item type</param>
|
||||
/// <param name="count">Item count</param>
|
||||
/// <returns>TRUE if item given successfully</returns>
|
||||
bool SendCreativeInventoryAction(int slot, ItemType itemType, int count);
|
||||
|
||||
/// <summary>
|
||||
/// Send a close window packet to the server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue