Package net.sf.l2j.gameserver.model

Examples of net.sf.l2j.gameserver.model.L2Clan.store()


    L2Clan clan = new L2Clan(IdFactory.getInstance().getNextId(), clanName);
    L2ClanMember leader = new L2ClanMember(clan, player.getName(), player.getLevel(), player.getClassId().getId(), player.getObjectId(), player.getPledgeType(), player.getPowerGrade(), player.getTitle());
    clan.setLeader(leader);
    leader.setPlayerInstance(player);
    clan.store();
    player.setClan(clan);
    player.setPledgeClass(leader.calculatePledgeClass(player));
    player.setClanPrivileges(L2Clan.CP_ALL);

    if (Config.DEBUG)
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.