Ejemplo n.º 1
0
        public Items_Template[] GetEquipedItems(long GUID)
        {
            Character_Item[] Items = CharacterDB.SelectObjects <Character_Item>("GUID=" + GUID + " AND Equiped=1").ToArray();
            Items_Template[] Ret   = new Items_Template[Items.Length];

            for (int i = 0; i < Items.Length; i++)
            {
                Ret[i] = GetItemTemplate(Items[i].ItemID);
            }

            return(Ret);
        }
Ejemplo n.º 2
0
        public Items_Template[] GetEquipedItems(long GUID)
        {
            Character_Item[] Items = CharacterDB.SelectObjects<Character_Item>("GUID=" + GUID + " AND Equiped=1").ToArray();
            Items_Template[] Ret = new Items_Template[Items.Length];

            for (int i = 0; i < Items.Length; i++)
                Ret[i] = GetItemTemplate(Items[i].ItemID);

            return Ret;
        }