void AddedItem(ItemData data, bool isSave) { if (isSave == true) { data.isLocked = true; CloudGoods.MoveItemStack(data.stackID, data.stackSize, GetOwnerID(), OwnerType.ToString(), Location, delegate(Guid x) { data.stackID = x; data.isLocked = false; }); } }