Package net.bnubot.util

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


        }

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

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

View Full Code Here

           * 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

          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.