The first commit fixes the function signatures for AddContact and EditContact, so that they work (DeleteContact was already correct). I wasn't sure if the original ones still made sense, so I kept them, but they could be replaced instead.
The second commit fixes an issue with the return of GetContacts, without this change I was getting an error once I had a contact on my character. Once I changed the return to DBResultToCRowset, it started working, and I could see my contacts list.
With these changes, I'm able to see my contact list, add a contact, logout & log back in and see the contact persist, edit a contact, and delete a contact.
The first commit fixes the function signatures for AddContact and EditContact, so that they work (DeleteContact was already correct). I wasn't sure if the original ones still made sense, so I kept them, but they could be replaced instead.
The second commit fixes an issue with the return of GetContacts, without this change I was getting an error once I had a contact on my character. Once I changed the return to DBResultToCRowset, it started working, and I could see my contacts list.
With these changes, I'm able to see my contact list, add a contact, logout & log back in and see the contact persist, edit a contact, and delete a contact.