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); }
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(); }