示例#1
0
 public void AddSubClass(SubClass subclass)
 {
     SubClassCollection.TryAdd(subclass.ID, subclass);
 }
示例#2
0
        public void SendSubClasses()
        {
            if (Level < 120)
                return;

            if (SubClassesSend)
                return;
            SubClassesSend = true;
            SubClass wrangler = new SubClass();
            wrangler.ID = Enums.SubClasses.Wrangler;
            wrangler.Phase = 9;
            wrangler.Level = 120;

            using (var subclass = new Packets.SubClassPacket(new SubClass[] { wrangler }))
            {
                subclass.Action = Enums.SubClassActions.ShowGUI;
                Send(subclass);
                subclass.Action = Enums.SubClassActions.Learn;
                Send(subclass);
                subclass.Action = Enums.SubClassActions.MartialPromoted;
                Send(subclass);
            }
        }
示例#3
0
 public void AddSubClass(SubClass subclass)
 {
     SubClassCollection.TryAdd(subclass.ID, subclass);
 }