(0.5.10) Status for Thursday, December 19, 2013

(0.5.10) Status for Thursday, December 19, 2013

Postby lugdunon » Thu Dec 19, 2013 12:18 am

  • Removed the ability to close a dialog by clicking outside the dialog's bounds. Now the 'close' button must be used.
  • Refactored inventory update event handling. Event listeners for inventory update events are registered with the net.lugdunon.states.ActionBarGameState instance.
  • Added net.lugdunon.states.ActionBarGameState.craftingResultUpdated(character,craftedItemId,craftedItemCount,craftedStamina) to the client-side API.
  • Added net.lugdunon.states.ActionBarGameState.inventoryUpdated(character,slotType,slotIndex,previousItem,container,mail) to the client-side API.
  • Added net.lugdunon.states.ActionBarGameState.addInventoryUpdateListener(id,listener) to the client-side API.
  • Added net.lugdunon.states.ActionBarGameState.removeInventoryUpdateListener(id) to the client-side API.
  • Began refactoring how inventory interaction is handled. Interaction with mail attachments is complete.
    • Inventory management is no longer handled via drag and drop + modifiers, it is now a 'click to pick up an item and click to place it' system.
    • The active item will show on the cursor.
    • By initially clicking a stacked item with the right mouse button, the stack will be split and the active half will be placed when the destination slot is clicked.
    • By initially left clicking a stacked item and then right clicking an empty or like-item-occupied slot a single item from the active stack will be assigned to the destination.
  • Added net.lugdunon.ui.inventory.slot.InventorySlot to the client-side codebase.
  • Added net.lugdunon.ui.inventory.slot.InventorySlotInteraction to the client-side codebase.
  • Added net.lugdunon.ui.mail.slot.AttachmentInventorySlot to the client-side codebase.
  • Added net.lugdunon.character.Character.MAIL_ATTACHMENTS_BLOCK.
  • Increased net.lugdunon.state.mail.Mail.MAX_ATTACHMENTS_LENGTH from 5 to 9.
  • Added net.lugdunon.state.mail.Mail.setAttachment(idx,item) to the client-side API.
  • Added net.lugdunon.state.mail.Mail.getAttachment(idx) to the client-side API.
  • Added net.lugdunon.state.mail.MailBox.getMessage(id) to the client-side API.
  • Added net.lugdunon.item.Item.isStackable() to the client-side API.
  • Added net.lugdunon.item.ItemInstance.getStackSize() to the client-side API.
  • Added net.lugdunon.item.ItemInstance.drawIcon(context,mode) to the client-side API.
  • Added right mouse button support to net.lugdunon.input.Input onclick events.
  • Added net.lugdunon.input.Input.CLICK_TYPE_PRIMARY to the client-side API.
  • Added net.lugdunon.input.Input.CLICK_TYPE_SECONDARY to the client-side API.
  • Added net.lugdunon.input.Input.CLICK_TYPE_TERTIARY to the client-side API.
  • Added net.lugdunon.input.Input.clickType(e) to the client-side API.
  • Added net.lugdunon.input.Input.LAYERS.MAX to the client-side API.
  • Added net.lugdunon.input.Input.CLICK_EVENT to the client-side API.
  • Several issues with the move item command have been fixed.
  • Added net.lugdunon.command.CommandProperties.getMessage(String key, Mail defaultValue) to the server-side API.
  • Added net.lugdunon.command.CommandProperties.getMessage(String key) to the server-side API.
  • Added net.lugdunon.command.CommandProperties.setMessage(String key, Mail value) to the server-side API.
User avatar
lugdunon
Site Admin
 
Posts: 407
Joined: Tue Nov 05, 2013 5:53 pm

Return to Updates

Who is online

Users browsing this forum: No registered users and 34 guests

cron