Example #1
0
 public void UseBuyback() => PlayerOrder.PrepareUnitOrders(EntityPointer, (int)Order.Buyback, 0, 0, 0, 0, 0,
                                                           OrderIssuer.DotaOrderIssuerHeroOnly, null, false, true);
Example #2
0
 public void UseGlyph() => PlayerOrder.PrepareUnitOrders(EntityPointer, (int)Order.GlyphOfFortification, 0, 0,
                                                         0, 0, 0, OrderIssuer.DotaOrderIssuerHeroOnly, null, false, true);
Example #3
0
 public void MoveToTarget(Entity targetEntity) => PlayerOrder.PrepareUnitOrders(EntityPointer,
                                                                                (int)Order.MoveTarget, targetEntity.Index(), 0, 0, 0, 0, OrderIssuer.DotaOrderIssuerSelectedUnits, null,
                                                                                false, true);
Example #4
0
 public void Stop() => PlayerOrder.PrepareUnitOrders(EntityPointer, (int)Order.Stop, 0, 0, 0, 0, 0,
                                                     OrderIssuer.DotaOrderIssuerSelectedUnits, null, false, true);
Example #5
0
 public void MoveToPosition(int x, int y, int z) => PlayerOrder.PrepareUnitOrders(EntityPointer,
                                                                                  (int)Order.AttackTarget, 0, x, y, z, 0, OrderIssuer.DotaOrderIssuerSelectedUnits, null, false, true);
Example #6
0
 public void HoldPosition() => PlayerOrder.PrepareUnitOrders(EntityPointer, (int)Order.Hold, 0, 0, 0, 0, 0,
                                                             OrderIssuer.DotaOrderIssuerSelectedUnits, null, false, true);
Example #7
0
 public void AttackPossition(float x, float y, float z) => PlayerOrder.PrepareUnitOrders(EntityPointer,
                                                                                         (int)Order.AttackLocation, 0, x, y, z, 0, OrderIssuer.DotaOrderIssuerSelectedUnits, null, false, true);
Example #8
0
 public void AbilityTarget(Entity targetEntity, Ability usedAbility) => PlayerOrder.PrepareUnitOrders(
     EntityPointer, (int)Order.AbilityTarget, targetEntity.Index(), 0, 0, 0, usedAbility.Index(),
     OrderIssuer.DotaOrderIssuerPassedUnitOnly, AssignedHero(), false, true);
Example #9
0
 public void AbilityLocation(float x, float y, float z, Ability usedAbility) => PlayerOrder.PrepareUnitOrders(
     EntityPointer, (int)Order.AbilityTarget, 0, x, y, z, usedAbility.Index(),
     OrderIssuer.DotaOrderIssuerPassedUnitOnly, AssignedHero(), false, true);