Ejemplo n.º 1
0
            public TextEntryGump(Mobile callingPlayer, ITextEntry parentScript, string line1, string line2) : base(gumpOffsetX, gumpOffsetY)
            {
                m_ParentScript = parentScript;
                callingPlayer.CloseGump(typeof(TextEntryGump));

                BuildCurrentGumpPage(line1, line2);
            }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
 public static void SendTextEntryGump(Mobile callingPlayer, ITextEntry parentScript, string line1, string line2)
 {
     callingPlayer.SendGump(new TextEntryGump(callingPlayer, parentScript, line1, line2));
 }
Ejemplo n.º 5
0
 public static void SendTextEntryGump(Mobile callingPlayer, ITextEntry parentScript)
 {
     callingPlayer.SendGump(new TextEntryGump(callingPlayer, parentScript, "", ""));
 }