Examples of MessageP2SCreateCharacter


Examples of marauroa.common.net.message.MessageP2SCreateCharacter

        createCharacter(entry.username, character, template, clientid, address, channel,
            protocolVersion, true);

      } else {
        MessageP2SCreateCharacter msg = (MessageP2SCreateCharacter) message;

        RPObject template = msg.getTemplate();
        String character = msg.getCharacter();
        String address = msg.getForwardedFor();

        if ((msg.getCredentials() != null)
            && (msg.getCredentials().equals(Configuration.getConfiguration().get(
                "proxy_credentials")))) {
          createCharacter(msg.getUsername(), character, template, clientid, address,
              channel, protocolVersion, false);
        } else {
          logger.warn("Invalid credentials for proxy method.");
        }
      }
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.