Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Alliance.store()


    L2Alliance alliance = null;
    if(getAllyByName(allyName) == null)
    {
      L2Clan leader = player.getClan();
      alliance = new L2Alliance(IdFactory.getInstance().getNextId(), allyName, leader);
      alliance.store();
      _alliances.put(alliance.getAllyId(), alliance);
      player.getClan().setAllyId(alliance.getAllyId());
      for(L2Player temp : player.getClan().getOnlineMembers(0))
      {
        temp.broadcastUserInfo(true);
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.