public void requestInventory() { Console.WriteLine("inventory requested: " + inventoryRequested); if (!inventoryRequested) { inventoryRequested = true; TheTCPWrapper.Send(CommandCreator.SEND_MY_INVENTORY()); } }