Examples of SayAction


Examples of lineage2.gameserver.model.entity.events.actions.SayAction

        ChatType chat = ChatType.valueOf(actionElement.attributeValue("chat"));
        int range = Integer.parseInt(actionElement.attributeValue("range"));
        String how = actionElement.attributeValue("how");
        String text = actionElement.attributeValue("text");
        SysString sysString = SysString.valueOf2(how);
        SayAction sayAction = null;
        if (sysString != null)
        {
          sayAction = new SayAction(range, chat, sysString, SystemMsg.valueOf(text));
        }
        else
        {
          sayAction = new SayAction(range, chat, how, NpcString.valueOf(text));
        }
        actions.add(sayAction);
      }
      else if (actionElement.getName().equalsIgnoreCase("teleport_players"))
      {
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.