private void Time(object o) { if (!(o is TimeSpan)) { return; } c_Not.Recur = (TimeSpan)o; c_Gump.NewGump(); }
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(); }
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(); } }
protected override void OnClose() { c_Gump.NewGump(); }
private void Submit() { Data.GetData(Owner).AwayMsg = GetTextField("Away"); c_Gump.NewGump(); }
public override void OnResponse(int hue) { Data.GetData(c_Gump.Owner).MsgC = hue; c_Gump.NewGump(); }