Jump to content

sataan1337

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by sataan1337

  1. Hi,

     

    im relatively new to this bot and coding c# in general, so please dont mind if the question seems dumb ^^

     

    I'd like to create a utility class for some code i need for multiple FightClasses.

    Looking up how this would be done in c# i found this:

    the util:

    using System;
    
    namespace MyNamespace
    {
        public class WowUtil
        {
    		[...]
        }
    }

    and the FightClass:

    using System;
    [...]
    using MyNamespace;
    
    public class Main : ICustomClass
    {
    
    }

     

    Trying to run this i get the error

    "The type or namespace 'MyNamespace' could not be found. Missing using directive or assembly reference"

     

    is this / something similar possible at all, and if yes what am i doing wrong? ^^

     

    thanks in advance 🙂

     

  2. Hi,

     

    im relatively new here, und at the moment im playing around on a tbc private server, trying to create a profile for alts following me in dungeons.

     

    Is there any way (in tbc) to get the threat percentage i have on the current target in c#? - i wasnt able to find something that seems to work ^^

     

    tanks in advance

×
×
  • Create New...