コード例 #1
0
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection("TMCustomSkills", "Custom Skills");
     foreach (string s in MiscSkillNames)
     {
         miscsearch.Add(s);
     }
     foreach (string s in CombatSkillNames)
     {
         combsearch.Add(s);
     }
     foreach (string s in ActionSkillNames)
     {
         actisearch.Add(s);
     }
     foreach (string s in LoreSkillNames)
     {
         loresearch.Add(s);
     }
     foreach (SkillInfo si in SkillInfo.Table)
     {
         if (!miscsearch.Contains(si.Name) && !combsearch.Contains(si.Name) && !actisearch.Contains(si.Name) && !loresearch.Contains(si.Name))
         {
             custsearch.Add(si.Name);
         }
     }
     SkinHelper.LoadSkin("Skill Skin", typeof(TMSS.SkillSkin), true);
 }
コード例 #2
0
 public static void MasterTest_OnCommand(CommandEventArgs e)
 {
     if (QueryPageHelper.PluginExists("TMMaster"))
     {
         TMSkillSession s    = SessionGenerate(e);
         TMQueryPage    page = new TMQueryPage("TMSS Session Master Gump", s);
         //e.Mobile.SendGump( page );
     }
 }
コード例 #3
0
ファイル: MenuPages.cs プロジェクト: Orion321/unknown-shard
        public override void OnClick()
        {
            if (m_Stone.Deleted || !m_From.CheckAlive())
            {
                return;
            }

            QueryPageHelper.getPass(m_From);
        }
コード例 #4
0
 public static void SessionTest_OnCommand(CommandEventArgs e)
 {
     if (QueryPageHelper.PluginExists("TMMaster"))
     {
         BaseTMSkillItem item = new BaseTMSkillItem(1001);
         item.Profile = (SuperSkillProfile)SkillProfileHelper.getProfile(SkillSettings.CCProfileName);
         item.Skin    = CCSkinName;
         TMSkillSession Session = new TMSkillSession(e.Mobile, item);
     }
 }
コード例 #5
0
 public static void SkinSelect_OnCommand(CommandEventArgs e)
 {
     if (QueryPageHelper.PluginExists("TMSkinPage"))
     {
         SkillSettings.DoTell("Inside existing section.");
         Dictionary <string, object> args = new Dictionary <string, object>();
         args.Add("Skin", SkinHelper.getSkin(SkillSettings.CCSkinName));
         args.Add("Mobile", e.Mobile);
         TMQueryPage page = new TMQueryPage("TMSS Skin Selector", args);
         //e.Mobile.SendGump( page );
         SkillSettings.DoTell("Gump sent.");
     }
     else
     {
         SkillSettings.DoTell("Plugin does not exist.");
     }
 }
コード例 #6
0
 public static void SkillTest_OnCommand(CommandEventArgs e)
 {
     //ListTestGump g = new ListTestGump();
     if (QueryPageHelper.PluginExists("TMSkill"))
     {
         Dictionary <string, object> t = new Dictionary <string, object>();
         t.Add("Skin", SkinHelper.getSkin(SkillSettings.ControlSkinName));
         t.Add("Mobile", e.Mobile);
         SuperSkillProfile p  = (SuperSkillProfile)SkillProfileHelper.getProfile("Default Profile");
         SkillProfile      sp = p.getProfile(0);
         t.Add("Profile", sp);
         TMQueryPage pg = new TMQueryPage("TMSS Skill Gump", t);
         //e.Mobile.SendGump(pg);
     }
     else
     {
         DoTell("Error when creating Skill Gump. Plugin does not exist.");
         return;
     }
 }
コード例 #7
0
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection("TMSkinPage", "TMSS Skin Selector");
 }
コード例 #8
0
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection("TMMaster", "TMSS Session Master Gump");
 }
コード例 #9
0
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection("TMSkill", "TMSS Skill Gump");
 }
コード例 #10
0
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection(name, "Reports");
 }
コード例 #11
0
ファイル: MenuPages.cs プロジェクト: Orion321/unknown-shard
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection("ShardOptions", "Shard Message Options");
 }
コード例 #12
0
ファイル: MenuPages.cs プロジェクト: Orion321/unknown-shard
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection("GumpSettings", "Gump Settings");
 }
コード例 #13
0
ファイル: MenuPages.cs プロジェクト: Orion321/unknown-shard
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection("Credits", "Credits");
 }
コード例 #14
0
ファイル: MenuPages.cs プロジェクト: Orion321/unknown-shard
 public static void Initialize()
 {
     internalvalue = QueryPageHelper.RegisterSection("MainTMSSMenu", "Main Menu");
 }