Package l2p.gameserver.model.entity

Examples of l2p.gameserver.model.entity.Couple.marry()


    else if(command.startsWith("AcceptWedding"))
    {
      // accept the wedding request
      player.setMaryAccepted(true);
      Couple couple = CoupleManager.getInstance().getCouple(player.getCoupleId());
      couple.marry();
      //messages to the couple
      player.sendMessage(new CustomMessage("l2p.gameserver.model.instances.L2WeddingManagerMessage", player));
      player.setMaried(true);
      player.setMaryRequest(false);
      ptarget.sendMessage(new CustomMessage("l2p.gameserver.model.instances.L2WeddingManagerMessage", ptarget));
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.