public static void SendPartyInvitationMessage(WorldClient client, Game.Parties.Party party, Character from) { client.Send(new PartyInvitationMessage(party.Id, (sbyte)party.Type, party.Name, (sbyte)party.MembersLimit, from.Id, from.Name, client.Character.Id // what is that ? )); }
public static void SendPartyJoinMessage(IPacketReceiver client, Game.Parties.Party party) { client.Send(new PartyJoinMessage(party.Id, (sbyte)party.Type, party.Leader.Id, (sbyte)party.MembersLimit, party.Members.Select(party.GetPartyMemberInformations).ToArray(), party.Guests.Select(party.GetPartyGuestInformations).ToArray(), party.RestrictFightToParty, party.Name)); }
public static void SendPartyDeletedMessage(IPacketReceiver client, Game.Parties.Party party) { client.Send(new PartyDeletedMessage(party.Id)); }
public static void SendPartyMemberRemoveMessage(IPacketReceiver client, Game.Parties.Party party, Character leaver) { client.Send(new PartyMemberRemoveMessage(party.Id, leaver.Id)); }
public static void SendPartyNewGuestMessage(IPacketReceiver client, Game.Parties.Party party, Character guest) { client.Send(new PartyNewGuestMessage(party.Id, guest.GetPartyGuestInformations(party))); }
public static void SendPartyNewMemberMessage(IPacketReceiver client, Game.Parties.Party party, Character member) { client.Send(new PartyNewMemberMessage(party.Id, party.GetPartyMemberInformations(member))); }
public static void SendPartyUpdateMessage(IPacketReceiver client, Game.Parties.Party party, Character member) { client.Send(new PartyUpdateMessage((uint)party.Id, member.GetPartyMemberInformations())); }
public static void SendPartyNameSetErrorMessage(IPacketReceiver client, Game.Parties.Party party, PartyNameErrorEnum reason) { client.Send(new PartyNameSetErrorMessage(party.Id, (sbyte)reason)); }
public static void SendPartyLeaderUpdateMessage(IPacketReceiver client, Game.Parties.Party party, Character leader) { client.Send(new PartyLeaderUpdateMessage(party.Id, leader.Id)); }
public static void SendPartyKickedByMessage(IPacketReceiver client, Game.Parties.Party party, Character kicker) { client.Send(new PartyKickedByMessage(party.Id, kicker.Id)); }
public static void SendPartyFollowStatusUpdateMessage(WorldClient client, Game.Parties.Party party, bool success, int followedId) { client.Send(new PartyFollowStatusUpdateMessage(party.Id, success, followedId != 0, followedId)); }
public static void SendPartyCannotJoinErrorMessage(IPacketReceiver client, Game.Parties.Party party, PartyJoinErrorEnum reason) { client.Send(new PartyCannotJoinErrorMessage((uint)party.Id, (sbyte)reason)); }
public static void SendPartyInvitationMessage(WorldClient client, Game.Parties.Party party, Character from) { client.Send(new PartyInvitationMessage((uint)party.Id, (sbyte)party.Type, "partyzizi", 8, (uint)from.Id, from.Name, (uint)client.Character.Id)); }
public static void SendPartyJoinMessage(IPacketReceiver client, Game.Parties.Party party) { client.Send(new PartyJoinMessage((uint)party.Id, (sbyte)party.Type, (uint)party.Leader.Id, 8, from entry in party.Members select entry.GetPartyMemberInformations(), party.Guests.Select((Character entry) => entry.GetPartyGuestInformations(party)), party.Restricted, "partyzizi")); }
public static void SendPartyRestrictedMessage(IPacketReceiver client, Game.Parties.Party party) { client.Send(new PartyRestrictedMessage(party.Id, party.RestrictFightToParty)); }
public static void SendPartyNameUpdateMessage(IPacketReceiver client, Game.Parties.Party party) { client.Send(new PartyNameUpdateMessage(party.Id, party.Name)); }
public static void SendPartyMemberInFightMessage(IPacketReceiver client, Game.Parties.Party party, Character member, PartyFightReasonEnum reason, IFight fight) { client.Send(new PartyMemberInFightMessage(party.Id, (sbyte)reason, member.Id, member.Account.Id, member.Name, fight.Id, new MapCoordinatesExtended((short)fight.Map.Position.X, (short)fight.Map.Position.Y, fight.Map.Id, (short)fight.Map.SubArea.Id), (short)(fight.GetPlacementTimeLeft().TotalMilliseconds / 100))); }
public static void SendPartyLoyaltyStatusMessage(IPacketReceiver client, Game.Parties.Party party, bool loyal) { client.Send(new PartyLoyaltyStatusMessage(party.Id, loyal)); }
public static void SendPartyRestrictedMessage(IPacketReceiver client, Game.Parties.Party party, bool restricted) { client.Send(new PartyRestrictedMessage((uint)party.Id, restricted)); }