|
|
|
@ -2282,25 +2282,6 @@ public class CharacterItemManager {
@@ -2282,25 +2282,6 @@ public class CharacterItemManager {
|
|
|
|
|
Dispatch dispatch = Dispatch.borrow(pc, StackResourcesMsg); |
|
|
|
|
DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY); |
|
|
|
|
|
|
|
|
|
if(this.bankOpened){ |
|
|
|
|
this.setBankOpen(true); |
|
|
|
|
PlayerCharacter playerCharacter = (PlayerCharacter)this.getOwner(); |
|
|
|
|
AckBankWindowOpenedMsg ackBankWindowOpenedMsg = new AckBankWindowOpenedMsg(playerCharacter, 0L, 0L); |
|
|
|
|
|
|
|
|
|
Dispatch dispatchBank = Dispatch.borrow(playerCharacter, ackBankWindowOpenedMsg); |
|
|
|
|
DispatchMessage.dispatchMsgDispatch(dispatchBank, Enum.DispatchChannel.SECONDARY); |
|
|
|
|
|
|
|
|
|
ReqBankInventoryMsg reqBankInventoryMsg = new ReqBankInventoryMsg(playerCharacter, 0L); |
|
|
|
|
dispatchBank = Dispatch.borrow(playerCharacter, reqBankInventoryMsg); |
|
|
|
|
DispatchMessage.dispatchMsgDispatch(dispatchBank, Enum.DispatchChannel.SECONDARY); |
|
|
|
|
|
|
|
|
|
ShowBankInventoryMsg showBankInventoryMsg = new ShowBankInventoryMsg(playerCharacter, 0L); |
|
|
|
|
dispatchBank = Dispatch.borrow(playerCharacter, showBankInventoryMsg); |
|
|
|
|
DispatchMessage.dispatchMsgDispatch(dispatchBank, Enum.DispatchChannel.SECONDARY); |
|
|
|
|
} |
|
|
|
|
if(this.vaultOpened){ |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void forceToInventory(int slot, Item item, PlayerCharacter pc, boolean initialized) { |
|
|
|
|