byte uStatus = is.readByte();
byte uLocation = is.readByte();
int uProduct = is.readDWord();
String uLocationName = is.readNTString();
entries[i] = new FriendEntry(uAccount, uStatus, uLocation, uProduct, uLocationName);
}
friendsList(entries);
break;
}
case BNCSCommandIDs.SID_FRIENDSUPDATE: {
/* (BYTE) Entry number
* (BYTE) Friend Location
* (BYTE) Friend Status
* (DWORD) ProductID
* (STRING) Location
*/
byte fEntry = is.readByte();
byte fLocation = is.readByte();
byte fStatus = is.readByte();
int fProduct = is.readDWord();
String fLocationName = is.readNTString();
friendsUpdate(new FriendEntry(fEntry, fStatus, fLocation, fProduct, fLocationName));
break;
}
case BNCSCommandIDs.SID_FRIENDSADD: {
/* (STRING) Account
* (BYTE) Friend Type
* (BYTE) Friend Status
* (DWORD) ProductID
* (STRING) Location
*/
String fAccount = is.readNTString();
byte fLocation = is.readByte();
byte fStatus = is.readByte();
int fProduct = is.readDWord();
String fLocationName = is.readNTString();
friendsAdd(new FriendEntry(fAccount, fStatus, fLocation, fProduct, fLocationName));
break;
}
case BNCSCommandIDs.SID_FRIENDSREMOVE: {
/* (BYTE) Entry Number