예제 #1
0
 public void LoadBank(GameSession session)
 {
     session.Send(StorageInventory.Update());
     session.Send(StorageInventory.Expand(ExtraSize));
     session.Send(StorageInventory.ExpandAnim());
     session.Send(StorageInventory.UpdateMesos(session.Player.Wallet.Bank.Amount));
     LoadItems(session);
 }
예제 #2
0
        public void Expand(GameSession session)
        {
            long meretPrice      = 330;
            int  expansionAmount = 6;

            if (!session.Player.Wallet.RemoveMerets(meretPrice))
            {
                return;
            }
            ExtraSize += expansionAmount;
            session.Send(StorageInventory.Expand(ExtraSize));
            session.Send(StorageInventory.ExpandAnim());
            UpdateInventorySize();
        }