Ejemplo n.º 1
0
 public void AddSubClass(SubClass subclass)
 {
     SubClassCollection.TryAdd(subclass.ID, subclass);
 }
Ejemplo n.º 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);
            }
        }
Ejemplo n.º 3
0
 public void AddSubClass(SubClass subclass)
 {
     SubClassCollection.TryAdd(subclass.ID, subclass);
 }