public TextEntryGump(Mobile callingPlayer, ITextEntry parentScript, string line1, string line2) : base(gumpOffsetX, gumpOffsetY) { m_ParentScript = parentScript; callingPlayer.CloseGump(typeof(TextEntryGump)); BuildCurrentGumpPage(line1, line2); }
public override IStageSelectionEntry Get() { this.Position = this.Section.GetValue <IVectorEntry>(this.FieldKey + ".pos"); this.Active = this.Section.GetValue <ITextEntry>(this.FieldKey + ".active"); this.Active2 = this.Section.GetValue <ITextEntry>(this.FieldKey + ".active2"); this.Done = this.Section.GetValue <ITextEntry>(this.FieldKey + ".done"); return(this); }
public override IScreenElementEntry Get() { this.Time = this.Section.GetValue <ITimeEntry>(this.FieldKey + ".time"); this.Image = this.Section.GetValue <IImageEntry>(this.FieldKey); this.Sound = this.Section.GetValue <IVectorEntry>(this.FieldKey + ".snd"); this.SoundTime = this.Section.GetValue <ITimeEntry>(this.FieldKey + ".sndtime"); this.Text = this.Section.GetValue <ITextEntry>(this.FieldKey); return(this); }
public static void SendTextEntryGump(Mobile callingPlayer, ITextEntry parentScript, string line1, string line2) { callingPlayer.SendGump(new TextEntryGump(callingPlayer, parentScript, line1, line2)); }
public static void SendTextEntryGump(Mobile callingPlayer, ITextEntry parentScript) { callingPlayer.SendGump(new TextEntryGump(callingPlayer, parentScript, "", "")); }