public static void PartyPledgeLoyaltyRequest(PartyPledgeLoyaltyRequestMessage message, WorldClient client) { if (client.Character.PartyMember != null) { client.Character.PartyMember.SetLoyalty(message.loyal); } }
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); }