コード例 #1
0
ファイル: TextEntry.cs プロジェクト: Tabain84/Comraich
            public TextEntryGump(Mobile callingPlayer, ITextEntry parentScript, string line1, string line2) : base(gumpOffsetX, gumpOffsetY)
            {
                m_ParentScript = parentScript;
                callingPlayer.CloseGump(typeof(TextEntryGump));

                BuildCurrentGumpPage(line1, line2);
            }
コード例 #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);
        }
コード例 #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);
        }
コード例 #4
0
ファイル: TextEntry.cs プロジェクト: Tabain84/Comraich
 public static void SendTextEntryGump(Mobile callingPlayer, ITextEntry parentScript, string line1, string line2)
 {
     callingPlayer.SendGump(new TextEntryGump(callingPlayer, parentScript, line1, line2));
 }
コード例 #5
0
ファイル: TextEntry.cs プロジェクト: Tabain84/Comraich
 public static void SendTextEntryGump(Mobile callingPlayer, ITextEntry parentScript)
 {
     callingPlayer.SendGump(new TextEntryGump(callingPlayer, parentScript, "", ""));
 }