Package games.stendhal.common

Examples of games.stendhal.common.NotificationType


    poisoned = false;
  }

  // Called when entity listen to text from talker
  public void onPrivateListen(final String texttype, final String text) {
    NotificationType type;
    try {
      type = NotificationType.valueOf(texttype);
    } catch (final RuntimeException e) {
      LOGGER.error("Unkown texttype: ", e);
      type = NotificationType.PRIVMSG;
View Full Code Here


        for (final RPEvent event : object.events()) {
          if (event.getName().equals("private_text")) {

            // private chat
            String text = event.get("text");
            NotificationType type;
            try {
              type = NotificationType.valueOf(event.get("texttype"));
            } catch (final RuntimeException e) {
              type = NotificationType.PRIVMSG;
            }
View Full Code Here

TOP

Related Classes of games.stendhal.common.NotificationType

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.