List<Object> party = new List<Object>();
var p = new WoWPlayer(0);
var obj = ObjectManager.Me;
if (obj.IsValid && obj.Type == WoWObjectType.Player)
{
p = new WoWPlayer(obj.GetBaseAddress);
party.Add(p);
}
return party;
If i try with List<WoWUnit> or List<WoWplayer> always the same result : wManager.Wow.ObjectManager.WoWPlayer
Please send me your code/fightclass if you want best reply.
I have written this for help an member to create an heal fightclass (not tested, it is sample code):
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using robotManager.Helpful;
using wManager.Wow.Class;
using wManager.Wow.Enums;
using wManager.Wow.Helpers;
using wManager.Wow.ObjectManager;
public class Main : ICustomClass
{
private HolyPaladin _holyPaladin