public MagicBallIdleTimer(Mobile follower, AMagicCrystalBall ball, TimeSpan delay) : base(delay) { m_Follower = follower; m_Ball = ball; Priority = TimerPriority.OneSecond; }
public ActionGump(AMagicCrystalBall ball, Mobile from) : base(40, 82) { from.CloseGump(typeof(ActionGump)); Dragable = false; Closable = false; Resizable = false; m_Ball = ball; AddPage(0); AddBackground(0, 0, 400, 40, 9200); AddButton(5, 9, 2020, 2019, 1, GumpButtonType.Reply, 0); AddTextEntry(77, 10, 304, 20, 0, 1, "Type message here."); }
public FollowerGump(AMagicCrystalBall ball, int duration) : base(40, 40) { Dragable = false; Closable = false; Resizable = false; m_Ball = ball; AddPage(0); AddBackground(0, 0, 400, 40, 9200); if (m_Ball.State == MagicBallState.Following || m_Ball.State == MagicBallState.Remaining) { AddButton(5, 9, 2020, 2019, 1, GumpButtonType.Reply, 0); } AddLabel(77, 10, 0, string.Format("You have {0} seconds to view your subject.", duration.ToString())); }
public SubjectLinkTarget(AMagicCrystalBall ball) : base(-1, false, TargetFlags.None) { m_Ball = ball; }