Aura.Channel.Network.Sending.Send.GuildUpdateMember C# (CSharp) Method

GuildUpdateMember() public static method

Broadcasts GuildUpdateMember in range of creature.
public static GuildUpdateMember ( Creature creature, Guild guild, GuildMember member ) : void
creature Creature
guild Guild
member GuildMember
return void
		public static void GuildUpdateMember(Creature creature, Guild guild, GuildMember member)
		{
			var packet = new Packet(Op.GuildUpdateMember, creature.EntityId);
			packet.PutInt(guild == null ? 0 : 1);
			if (guild != null)
			{
				packet.PutString(guild.Name);
				packet.PutLong(guild.Id);
				packet.PutInt((int)member.Rank);
				packet.PutByte(0); // messages?
			}

			creature.Region.Broadcast(packet, creature);
		}
Send