void ModifiedItem(OwnedItemInformation data, bool isSave) { if (isSave == true) { ItemManipulationServices.MoveItem(new MoveItemsRequest(new MoveItemsRequest.MoveOrder(data.StackLocationId, data.Amount, Location)), x => { data.StackLocationId = x.UpdatedStackIds[0].StackId; data.IsLocked = false; }); } }
public void LoadItems() { ItemManipulationServices.UserItems(new UserItemsRequest(Location), RecivedItems); }