Пример #1
0
 private void RightClickQuestgiver(IWowObject obj)
 {
     if (obj.GetType() == typeof(IWowGameobject))
     {
         Bot.Wow.InteractWithObject(obj.BaseAddress);
     }
     else if (obj.GetType() == typeof(IWowUnit))
     {
         Bot.Wow.InteractWithUnit(obj.BaseAddress);
     }
 }
Пример #2
0
 public void SetTarget(IWowObject unit)
 {
     _reader.WriteUInt64((uint)Offsets.WowGame.TargetLastTargetGuid, unit.Guid);
     SendKey(MappedKeys.TargetLastTarget);
     SetPlayerFacing(unit.Location);
 }