Ejemplo n.º 1
0
		public void SendTo( NetState state )
		{
			state.AddGump( this );
			state.Send( Compile( state ) );
		}
Ejemplo n.º 2
0
		public void SendTo(NetState state)
		{
			Address = state.Mobile;

			if (!_SharedGump)
			{
				state.AddGump(this);
				state.Send(Compile(state));
			}
			else
			{
				foreach (Mobile m in _Users)
				{
					m.NetState.AddGump(this);
					m.NetState.Send(Compile(state));
				}

				foreach (Mobile m in _Viewers)
				{
					m.NetState.AddGump(this);
					m.NetState.Send(Compile(state, true));
				}
			}
		}