Aura.Channel.Network.Sending.Helpers.PartyHelper.AddParty C# (CSharp) Метод

AddParty() публичный статический Метод

Constructs the party info packet, because this is used in a number of packets.
public static AddParty ( this packet, Party party ) : void
packet this
party Aura.Channel.World.Party
Результат void
		public static void AddParty(this Packet packet, Party party)
		{
			packet.PutLong(party.Id);
			packet.PutString(party.Name);
			packet.PutLong(party.Leader.EntityId);

			packet.PutByte(party.IsOpen);
			packet.PutInt((int)party.Finish);
			packet.PutInt((int)party.ExpRule);

			packet.PutLong(0); // Quest id?

			packet.PutInt(party.MaxSize);
			packet.PutInt((int)party.Type);

			packet.PutString(party.DungeonLevel);
			packet.PutString(party.Info);

			packet.PutInt(party.MemberCount);

			packet.AddPartyMembers(party);
		}