Hi, I am new at isx stuff but I have programing experience in C# hence I decided to play around using that programming language.
I am having trouble with items in my cargo hold, for example when I try:
List<Item> cargo = new List<Item>();
cargo = Ext.Me().Ship().GetCargo();
The count of items is correct but when I try to get information about my items:
MessageBox.Show(cargo[0].Name);
The field is empty, I guess it wouldn't be as much of a problem but I seem to be unable to use cargo[0].MoveToHangar() either.
I am not sure if I am just doing something wrong since I don't think there is a bug hence I am posting in Q&A forum. Any pointers or help would be appreciated. There are no errors and I get correct information about myself, I can undock and do other stuff.
RE-EDIT: My solution did not work
I am having trouble with items in my cargo hold, for example when I try:
List<Item> cargo = new List<Item>();
cargo = Ext.Me().Ship().GetCargo();
The count of items is correct but when I try to get information about my items:
MessageBox.Show(cargo[0].Name);
The field is empty, I guess it wouldn't be as much of a problem but I seem to be unable to use cargo[0].MoveToHangar() either.
I am not sure if I am just doing something wrong since I don't think there is a bug hence I am posting in Q&A forum. Any pointers or help would be appreciated. There are no errors and I get correct information about myself, I can undock and do other stuff.
RE-EDIT: My solution did not work
Last edited: