Examples of readNTString()


Examples of net.bnubot.util.BNetInputStream.readNTString()

         * (BYTE) New rank
         * (STRING) Clan member who changed your rank
         */
        byte oldRank = is.readByte();
        byte newRank = is.readByte();
        String user = is.readNTString();
        dispatchRecieveInfo("Rank changed from " + ClanRankIDs.ClanRank[oldRank] + " to " + ClanRankIDs.ClanRank[newRank] + " by " + user);
        dispatchClanMemberRankChange(oldRank, newRank, user);
        break;
      }

View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

           * 0x01 : Registered
           * 0x02 : Silent
           * 0x04 : Admin
           */

          String channel = is.readNTString();
          int flags = is.readDWord();
          String motd = is.readNTString();

          dispatchJoinedChannel(channel, flags);
          dispatchRecieveInfo(motd);
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

           * 0x04 : Admin
           */

          String channel = is.readNTString();
          int flags = is.readDWord();
          String motd = is.readNTString();

          dispatchJoinedChannel(channel, flags);
          dispatchRecieveInfo(motd);
          break;
        }
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

           * 0x04 : Admin
           * 0x08 : NetOp
           */
          int numUsers = is.readByte();
          for(int i = 0; i < numUsers; i++) {
            String username = is.readNTString();
            int flags = is.readDWord();

            dispatchChannelUser(findCreateBNUser(username, flags));
          }
          break;
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

        case PKT_USERUPDATE: {
          /* (CString)  Username
           * (UInt32)  Flags
           */
          String username = is.readNTString();
          int flags = is.readDWord();

          dispatchChannelUser(findCreateBNUser(username, flags));
          break;
        }
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

        case PKT_CHANNELJOIN: {
          /* (CString)  Username
           * (UInt32)  Flags
           */
          String username = is.readNTString();
          int flags = is.readDWord();

          dispatchChannelJoin(findCreateBNUser(username, flags));
          break;
        }
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

        }

        case PKT_CHANNELLEAVE: {
          /* (CString)  Username
           */
          String username = is.readNTString();

          dispatchChannelLeave(findCreateBNUser(username, null));
          break;
        }

View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

           * 0x03 : Whisper From
           * 0x04 : Emote
           * 0x05 : Self Emote
           */
          int chatType = is.readByte();
          String username = is.readNTString();
          ByteArray text = new ByteArray(is.readNTBytes());

          // Get a BNetUser object for the user
          BNetUser user = null;
          if(myUser.equals(username))
View Full Code Here

Examples of net.bnubot.util.BNetInputStream.readNTString()

          break;
        }

        case PKT_UNKNOWN_0x22: {
          int unknown = is.readDWord();
          String text = is.readNTString();
          switch(unknown) {
          case 0x00:
            dispatchRecieveInfo(text);
            break;
          case 0x01:
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.