Esempio n. 1
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));
                }
            }
        }
Esempio n. 2
0
 public void SendTo(NetState state)
 {
     state.AddGump(this);
     state.Send(Compile(state));
 }
Esempio n. 3
0
 public void SendTo(NetState state)
 {
     state.AddGump(this);
     state.SendDisplayGump(this, out m_Switches, out m_TextEntries);
 }