Examples of FriendEntry


Examples of net.bnubot.core.friend.FriendEntry

          byte uStatus = is.readByte();
          byte uLocation = is.readByte();
          int uProduct = is.readDWord();
          String uLocationName = is.readNTStringUTF8();

          entries[i] = new FriendEntry(uAccount, uStatus, uLocation, uProduct, uLocationName);
        }

        dispatchFriendsList(entries);
        break;
      }

      case 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.readNTStringUTF8();

        dispatchFriendsUpdate(new FriendEntry(fEntry, fStatus, fLocation, fProduct, fLocationName));
        break;
      }

      case 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.readNTStringUTF8();

        dispatchFriendsAdd(new FriendEntry(fAccount, fStatus, fLocation, fProduct, fLocationName));
        break;
      }

      case SID_FRIENDSREMOVE: {
        /*
 
View Full Code Here

Examples of net.bnubot.core.friend.FriendEntry

            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
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.