Examples of readNTString()


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

         * (STRING) Inviter
         */
        int cookie = is.readDWord();
        int clanTag = is.readDWord();
        String clanName = is.readNTString();
        String inviter = is.readNTString();

        ClanInvitationCookie c = new ClanInvitationCookie(this, cookie, clanTag, clanName, inviter);
        dispatchClanInvitation(c);
        break;
      }
View Full Code Here

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

        is.readDWord();
        byte numMembers = is.readByte();
        ClanMember[] members = new ClanMember[numMembers];

        for(int i = 0; i < numMembers; i++) {
          String uName = is.readNTString();
          byte uRank = is.readByte();
          byte uOnline = is.readByte();
          String uLocation = is.readNTStringUTF8();

          members[i] = new ClanMember(uName, uRank, uOnline, uLocation);
View Full Code Here

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

      case SID_CLANMEMBERREMOVED: {
        /*
         * (STRING) Username
         */
        String username = is.readNTString();
        dispatchClanMemberRemoved(username);
        break;
      }

      case SID_CLANMEMBERSTATUSCHANGE: {
View Full Code Here

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

         * (STRING) Username
         * (BYTE) Rank
         * (BYTE) Status
         * (STRING) Location
         */
        String username = is.readNTString();
        byte rank = is.readByte();
        byte status = is.readByte();
        String location = is.readNTStringUTF8();

        dispatchClanMemberStatusChange(new ClanMember(username, rank, status, location));
View Full Code Here

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

      is.skip(2)//int unknown = is.readWord();
      int fileSize = is.readDWord();
      is.skip(4)//int bannersID = is.readDWord();
      is.skip(4)//int bannersFileExt = is.readDWord();
      Date fileTime = TimeFormatter.fileTime(is.readQWord());
      fileName = is.readNTString();

      //The rest is the data
      new File(path).mkdir();
      f = new File(path + fileName);
      FileOutputStream fw = new FileOutputStream(f);
View Full Code Here

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

            List<MCPCharacter> chars = new ArrayList<MCPCharacter>(numChars);

            for(int i = 0; i < numChars; i++) {
              final long time = (1000L * is.readDWord()) - System.currentTimeMillis();
              final String name = is.readNTString();

              ByteArrayOutputStream baos = new ByteArrayOutputStream();
              byte[] data = new byte[33];
              is.read(data);
              if(is.readByte() != 0)
View Full Code Here

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

          int dbflag = 0, ztff = 0;
          if(serverRevision >= 4) {
            dbflag = is.readDWord();
            ztff = is.readDWord();
          }
          String name = is.readNTString();

          BotNetUser user = new BotNetUser(this, number, name);
          user.dbflag = dbflag;
          user.ztff = ztff;
View Full Code Here

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

          BotNetUser user = new BotNetUser(this, number, name);
          user.dbflag = dbflag;
          user.ztff = ztff;

          user.channel = is.readNTString();
          user.server = is.readDWord();
          if(serverRevision >= 2)
            user.account = is.readNTString();
          if(serverRevision >= 3)
            user.database = is.readNTString();
View Full Code Here

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

          user.ztff = ztff;

          user.channel = is.readNTString();
          user.server = is.readDWord();
          if(serverRevision >= 2)
            user.account = is.readNTString();
          if(serverRevision >= 3)
            user.database = is.readNTString();

          if(myUser == null)
            myUser = user;
View Full Code Here

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

          user.channel = is.readNTString();
          user.server = is.readDWord();
          if(serverRevision >= 2)
            user.account = is.readNTString();
          if(serverRevision >= 3)
            user.database = is.readNTString();

          if(myUser == null)
            myUser = user;

          if(userInit)
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.