Package marauroa.common.net.message

Examples of marauroa.common.net.message.MessageS2CCreateCharacterACK


      switch (msg.getType()) {
        /* Account was created */
        case S2C_CREATECHARACTER_ACK:
          logger.debug("Create character ACK");

          MessageS2CCreateCharacterACK msgack = (MessageS2CCreateCharacterACK) msg;

          result = new CharacterResult(Result.OK_CREATED, msgack.getCharacter(), msgack
                  .getTemplate());
          received++;
          break;

        /* Server send the character list */
 
View Full Code Here


      /*
       * If the character is created notify player and send him a
       * Character list message.
       */
      logger.debug("Character (" + character + ") created for account " + username);
      MessageS2CCreateCharacterACK msgCreateCharacterACK = new MessageS2CCreateCharacterACK(
          channel, val.getCharacter(), val.getTemplate());
      msgCreateCharacterACK.setClientID(clientid);
      msgCreateCharacterACK.setProtocolVersion(protocolVersion);
      netMan.sendMessage(msgCreateCharacterACK);

      /*
       * Build player character list and send it to client
       */
 
View Full Code Here

TOP

Related Classes of marauroa.common.net.message.MessageS2CCreateCharacterACK

Copyright © 2018 www.massapicom. 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.