Пример #1
0
 public Outfit(Creature creature, ushort looktype, byte head, byte body, byte legs, byte feet, byte addons)
 {
     this.creature = creature;
     this.lookType = looktype;
     this.head = head;
     this.body = body;
     this.legs = legs;
     this.feet = feet;
     this.addons = addons;
 }
Пример #2
0
        public List<Creature> GetCreatures(Predicate<Creature> match)
        {
            List<Creature> creatures = new List<Creature>();
            for (uint i = Addresses.BattleList.Start; i < Addresses.BattleList.End; i += Addresses.BattleList.StepCreatures)
            {
                Creature creature = new Creature(client, i);
                if (match(creature))
                    creatures.Add(creature);
            }
            return creatures;

        }
Пример #3
0
 public void Update(Creature c)
 {
     name = c.Name;
     location = c.Location;
     hpBar = c.HPBar;
 }
Пример #4
0
 public MapMarker(Creature c, bool drawHP)
 {
     drawHPBar = drawHP;
     creature = c;
     Update();
 }
Пример #5
0
 public MapMarker(Creature c) : this(c, true) { }