예제 #1
0
            private void Time(object o)
            {
                if (!(o is TimeSpan))
                {
                    return;
                }

                c_Not.Recur = (TimeSpan)o;

                c_Gump.NewGump();
            }
예제 #2
0
            private void BanTime(object o)
            {
                if (!(o is TimeSpan))
                {
                    return;
                }

                Data.GetData(c_Target).Ban((TimeSpan)o);
                Owner.SendMessage(Data.GetData(Owner).SystemC, General.Local(77) + " " + c_Target.RawName);

                c_Gump.NewGump();
            }
예제 #3
0
            private void Status(object o)
            {
                if (!(o is OnlineStatus))
                {
                    return;
                }

                Data.GetData(Owner).Status = (OnlineStatus)o;

                if ((OnlineStatus)o == OnlineStatus.Away || (OnlineStatus)o == OnlineStatus.Busy)
                {
                    new AwayGump(Owner, c_Gump);
                }
                else
                {
                    c_Gump.NewGump();
                }
            }
예제 #4
0
 protected override void OnClose()
 {
     c_Gump.NewGump();
 }
예제 #5
0
            private void Submit()
            {
                Data.GetData(Owner).AwayMsg = GetTextField("Away");

                c_Gump.NewGump();
            }
예제 #6
0
            public override void OnResponse(int hue)
            {
                Data.GetData(c_Gump.Owner).MsgC = hue;

                c_Gump.NewGump();
            }