Exemplo n.º 1
0
        internal ChannelState UpdateRelayOut(RegionState rs, string channel)
        {
            RemoveRegion(rs);
            ChannelState cs = new ChannelState(this);

            cs.RelayChannelOut = Convert.ToInt32(channel);
            cs = Integrate(rs, cs);
            cs.AddRegion(rs);
            return(cs);
        }
Exemplo n.º 2
0
        internal ChannelState UpdateClientReporting(RegionState rs, string cr)
        {
            RemoveRegion(rs);
            ChannelState cs = new ChannelState(this);

            cs.ClientReporting = Convert.ToBoolean(cr);
            cs = Integrate(rs, cs);
            cs.AddRegion(rs);
            return(cs);
        }
Exemplo n.º 3
0
        internal ChannelState UpdateNickname(RegionState rs, string nickname)
        {
            RemoveRegion(rs);
            ChannelState cs = new ChannelState(this);

            cs.BaseNickname = nickname;
            cs = Integrate(rs, cs);
            cs.AddRegion(rs);
            return(cs);
        }
Exemplo n.º 4
0
        internal ChannelState UpdateChannel(RegionState rs, string channel)
        {
            RemoveRegion(rs);
            ChannelState cs = new ChannelState(this);

            cs.IrcChannel = channel;
            cs            = Integrate(rs, cs);
            cs.AddRegion(rs);
            return(cs);
        }
Exemplo n.º 5
0
        internal ChannelState UpdatePort(RegionState rs, string port)
        {
            RemoveRegion(rs);
            ChannelState cs = new ChannelState(this);

            cs.Port = Convert.ToUInt32(port);
            cs      = Integrate(rs, cs);
            cs.AddRegion(rs);
            return(cs);
        }
Exemplo n.º 6
0
        // These routines allow differentiating changes to
        // the underlying channel state. If necessary, a
        // new channel state will be created.

        internal ChannelState UpdateServer(RegionState rs, string server)
        {
            RemoveRegion(rs);
            ChannelState cs = new ChannelState(this);

            cs.Server = server;
            cs        = Integrate(rs, cs);
            cs.AddRegion(rs);
            return(cs);
        }
Exemplo n.º 7
0
 internal ChannelState UpdateRelayOut(RegionState rs, string channel)
 {
     RemoveRegion(rs);
     ChannelState cs = new ChannelState(this);
     cs.RelayChannelOut = Convert.ToInt32(channel);
     cs = Integrate(rs, cs);
     cs.AddRegion(rs);
     return cs;
 }
Exemplo n.º 8
0
 internal ChannelState UpdateClientReporting(RegionState rs, string cr)
 {
     RemoveRegion(rs);
     ChannelState cs = new ChannelState(this);
     cs.ClientReporting = Convert.ToBoolean(cr);
     cs = Integrate(rs, cs);
     cs.AddRegion(rs);
     return cs;
 }
Exemplo n.º 9
0
 internal ChannelState UpdateNickname(RegionState rs, string nickname)
 {
     RemoveRegion(rs);
     ChannelState cs = new ChannelState(this);
     cs.BaseNickname = nickname;
     cs = Integrate(rs, cs);
     cs.AddRegion(rs);
     return cs;
 }
Exemplo n.º 10
0
 internal ChannelState UpdateChannel(RegionState rs, string channel)
 {
     RemoveRegion(rs);
     ChannelState cs = new ChannelState(this);
     cs.IrcChannel = channel;
     cs = Integrate(rs, cs);
     cs.AddRegion(rs);
     return cs;
 }
Exemplo n.º 11
0
 internal ChannelState UpdatePort(RegionState rs, string port)
 {
     RemoveRegion(rs);
     ChannelState cs = new ChannelState(this);
     cs.Port = Convert.ToUInt32(port);
     cs = Integrate(rs, cs);
     cs.AddRegion(rs);
     return cs;
 }
Exemplo n.º 12
0
        // These routines allow differentiating changes to 
        // the underlying channel state. If necessary, a
        // new channel state will be created.

        internal ChannelState UpdateServer(RegionState rs, string server)
        {
            RemoveRegion(rs);
            ChannelState cs = new ChannelState(this);
            cs.Server = server;
            cs = Integrate(rs, cs);
            cs.AddRegion(rs);
            return cs;
        }