Examples of saveApprenticeAndSponsor()


Examples of com.l2jfrozen.gameserver.model.L2ClanMember.saveApprenticeAndSponsor()

      {
        // offline
        sponsorMember.initApprenticeAndSponsor(0, 0);
      }

      apprenticeMember.saveApprenticeAndSponsor(0, 0);
      sponsorMember.saveApprenticeAndSponsor(0, 0);

      sm = new SystemMessage(SystemMessageId.S2_CLAN_MEMBER_S1_S_APPRENTICE_HAS_BEEN_REMOVED);
    }
    else
View Full Code Here

Examples of com.l2jfrozen.gameserver.model.L2ClanMember.saveApprenticeAndSponsor()

        // offline
        sponsorMember.initApprenticeAndSponsor(apprenticeMember.getObjectId(), 0);
      }

      // saving to database even if online, since both must match
      apprenticeMember.saveApprenticeAndSponsor(0, sponsorMember.getObjectId());
      sponsorMember.saveApprenticeAndSponsor(apprenticeMember.getObjectId(), 0);

      sm = new SystemMessage(SystemMessageId.S2_HAS_BEEN_DESIGNATED_AS_APPRENTICE_OF_CLAN_MEMBER_S1);
    }
    sm.addString(sponsorMember.getName());
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2ClanMember.saveApprenticeAndSponsor()

          if (sponsor != null) sponsor.setApprentice(0);
          else // offline
            sponsorMember.initApprenticeAndSponsor(0, 0);

          apprenticeMember.saveApprenticeAndSponsor(0, 0);
          sponsorMember.saveApprenticeAndSponsor(0, 0);

          sm = new SystemMessage(SystemMessageId.S2_CLAN_MEMBER_S1_S_APPRENTICE_HAS_BEEN_REMOVED);
        }
        else
View Full Code Here

Examples of net.sf.l2j.gameserver.model.L2ClanMember.saveApprenticeAndSponsor()

            sponsor.setApprentice(apprenticeMember.getObjectId());
          else // offline
            sponsorMember.initApprenticeAndSponsor(apprenticeMember.getObjectId(), 0);

          // saving to database even if online, since both must match
          apprenticeMember.saveApprenticeAndSponsor(0, sponsorMember.getObjectId());
          sponsorMember.saveApprenticeAndSponsor(apprenticeMember.getObjectId(), 0);

          sm = new SystemMessage(SystemMessageId.S2_HAS_BEEN_DESIGNATED_AS_APPRENTICE_OF_CLAN_MEMBER_S1);
        }
        sm.addString(sponsorMember.getName());
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.