Пример #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);
     }
 }