cargo items and .NET

polo004

Active Member
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
 
Last edited:

GliderPro

Active Member
I think you and I are the only people using the wrapper. I had a similar problem with bookmarks. I think it has to do with the casting operators in the wrapper. I have wrapper source access now and I will be looking at it more this week. If you have a sample application for me to test with catch me on IRC.
 

polo004

Active Member
I am pretty busy so I don't really want to spend the time writing my own wrapper if one already exists. If I could get my hands on the source of the current one I wouldn't mind fixing any bugs and posting an update for everyone.

Anyway I am interested what you find out.
 
Top Bottom