private void ListShipsCargoTest() { _state = TestState.Idle; var cargo = _directEve.GetShipsCargo(); if (!cargo.IsReady) { Log("Your ship's cargo is not ready!"); return; } for (var i = 0; i < cargo.Items.Count; i++) { var item = cargo.Items[i]; LogItem("cargo[" + i + "].{0}: {1}", item); } }