Thanks for the reply.
Did some more research and found to do it like this.
Code:
public class objectOffsets
{
public static readonly uint DescriptorFieldsOffset = 0x08;
}
private void button1_Click(object sender, EventArgs e)
{
//MessageBox.Show("Doesn't work, need offset iz Cazstin: " + isCasting.ToString());
MessageBox.Show("This does work! Level: " + Level.ToString());
}
public double Level
{
get { return MeMBM.WooW.ReadUInt((DescriptorFields + (uint)eUnitFields.UNIT_FIELD_LEVEL)); }
}
public uint DescriptorFields
{
get { return MeMBM.WooW.ReadUInt((ObjectManager.Me.BaseAddress + objectOffsets.DescriptorFieldsOffset)); }
}
I really have no idea if this is the best way to do it but it works for me.
Anyone got any input?
/Falc