Package l2p.gameserver.serverpackets

Examples of l2p.gameserver.serverpackets.Say2


    announceToAll(text, _type);
  }

  public static void shout(L2Character activeChar, String text, int type)
  {
    Say2 cs = new Say2(activeChar.getObjectId(), type, activeChar.getName(), text);
    int mapregion = MapRegion.getInstance().getMapRegion(activeChar.getX(), activeChar.getY());
    if(Config.SHOUT_CHAT_MODE == 1)
    {
      for(L2Player player : L2World.getAroundPlayers(activeChar))
      {
View Full Code Here


    activeChar.sendPacket(cs);
  }

  public void announceToAll(String text, int type)
  {
    Say2 cs = new Say2(0, type, "", text);
    for(L2Player player : L2ObjectsStorage.getAllPlayersForIterate())
    {
      player.sendPacket(cs);
    }
  }
View Full Code Here

      for(String s : replacements)
      {
        cm.addString(s);
      }
    }
    player.sendPacket(new Say2(0, _type, "", cm.toString()));
  }
View Full Code Here

      for(String s : replacements)
      {
        cm.addString(s);
      }
    }
    player.sendPacket(new Say2(0, type, "", cm.toString()));
  }
View Full Code Here

TOP

Related Classes of l2p.gameserver.serverpackets.Say2

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.