Server.Guilds.Guild.GuildChat C# (CSharp) Méthode

GuildChat() public méthode

public GuildChat ( Server.Mobile from, int hue, string text ) : void
from Server.Mobile
hue int
text string
Résultat void
		public void GuildChat( Mobile from, int hue, string text )
		{
			Packet p = null;
			for( int i = 0; i < m_Members.Count; i++ )
			{
				Mobile m = m_Members[i];

				NetState state = m.NetState;

				if( state != null )
				{
					if( p == null )
						p = Packet.Acquire( new UnicodeMessage( from.Serial, from.Body, MessageType.Guild, hue, 3, from.Language, from.Name, text ) );

					state.Send( p );
				}
			}

			Packet.Release( p );
		}

Same methods

Guild::GuildChat ( Server.Mobile from, string text ) : void