What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Getting all active auras on me/target as a string

  • Thread starter Thread starter weischbier
  • Start date Start date
W

weischbier

Guest
How do I return all active auras on me/target as a string.
I need this for debug purposes.

What I basically do is this:
Code:
Logger.WriteDebug(Color.Pink, @"
My auras: {0}",
                                                                           StyxWoW.Me.ActiveAuras.ToString());

and it gets me this:
Code:
[15:25:46:151] [Necrophilia-DEBUG] 
My auras: System.Collections.Generic.Dictionary`2[System.String,Styx.Logic.Combat.WoWAura]

any ideas? =)
 
This should do it
PHP:
private void PrintAuras()
{
    var auras = StyxWoW.Me.Auras;
    Logging.WriteDebug(Color.Pink, "My auras:");
    foreach (var aura in auras)
    {
        Logging.WriteDebug(Color.Pink, aura.Key);
    }
}
 
This should do it
PHP:
private void PrintAuras()
{
    var auras = StyxWoW.Me.Auras;
    Logging.WriteDebug(Color.Pink, "My auras:");
    foreach (var aura in auras)
    {
        Logging.WriteDebug(Color.Pink, aura.Key);
    }
}

Of course...sometimes i feel so...DUH!

greetz

Weischbier
 
Back
Top