示例#1
0
 public static void PartyPledgeLoyaltyRequest(PartyPledgeLoyaltyRequestMessage message, WorldClient client)
 {
     if (client.Character.PartyMember != null)
     {
         client.Character.PartyMember.SetLoyalty(message.loyal);
     }
 }
示例#2
0
        public static void HandlePartyPledgeLoyaltyRequestMessage(WorldClient client, PartyPledgeLoyaltyRequestMessage message)
        {
            if (!client.Character.IsInParty(message.partyId))
            {
                return;
            }

            client.Character.SetLoyalToParty(client.Character.GetParty(message.partyId).Type, message.loyal);
        }
示例#3
0
 public static void PartyPledgeLoyaltyRequest(PartyPledgeLoyaltyRequestMessage message, WorldClient client)
 {
     if (client.Character.PartyMember != null)
     {
         client.Character.PartyMember.SetLoyalty(message.loyal);
     }
 }