// Token: 0x06000336 RID: 822 RVA: 0x0001BE68 File Offset: 0x0001A068 public virtual void DrawOnMinimap(IRenderer renderer, IMinimap minimap) { Rectangle9 rec = minimap.WorldToMinimap(this.Position, 25f * O9K.Core.Helpers.Hud.Info.ScreenRatio); if (rec.IsZero) { return; } renderer.DrawTexture("outline_red", rec * 1.08f, 0f, 1f); renderer.DrawTexture(this.MinimapHeroTexture, rec, 0f, 1f); }
// Token: 0x0600037D RID: 893 RVA: 0x0001C414 File Offset: 0x0001A614 public override void DrawOnMinimap(IRenderer renderer, IMinimap minimap) { Rectangle9 rec = minimap.WorldToMinimap(base.Position, 25f * O9K.Core.Helpers.Hud.Info.ScreenRatio); if (rec.IsZero) { return; } renderer.DrawTexture("outline_red", rec * 1.08f, 0f, 1f); renderer.DrawTexture(base.AbilityTexture, rec, 0f, 1f); }
public override void DrawOnMinimap(IMinimap minimap) { var position = minimap.WorldToMinimap(this.Position, 25 * Hud.Info.ScreenRatio); if (position.IsZero) { return; } RendererManager.DrawTexture("o9k.outline_red", position * 1.08f); RendererManager.DrawTexture(this.AbilityTexture, position, TextureType.RoundAbility); }
public virtual void DrawOnMinimap(IMinimap minimap) { var position = minimap.WorldToMinimap(this.Position, 25 * Hud.Info.ScreenRatio); if (position.IsZero) { return; } RendererManager.DrawTexture("o9k.outline_red", position * 1.08f); RendererManager.DrawTexture(this.MinimapHeroTexture, position, UnitTextureType.MiniUnit); }
public override void Draw(IRenderer renderer, RectangleF position, IMinimap minimap) { var notificationSize = GetNotificationSize(position); var textureSize = GetTextureSize(notificationSize); var opacity = this.GetOpacity(); renderer.DrawTexture("o9k.notification_bg", notificationSize, 0, opacity); renderer.DrawTexture(this.bounty ? "o9k.rune_bounty" : "o9k.rune_regen", textureSize, 0, opacity); foreach (var vector3 in this.positions) { renderer.DrawTexture("o9k.ping", minimap.WorldToMinimap(vector3, 25 * Hud.Info.ScreenRatio * this.GetPingSize())); } }
public override void Draw(RectangleF position, IMinimap minimap) { var notificationSize = GetNotificationSize(position); var textureSize = GetTextureSize(notificationSize); var opacity = this.GetOpacity(); RendererManager.DrawTexture("o9k.notification_bg", notificationSize, opacity); RendererManager.DrawTexture("o9k.outpost", textureSize, opacity); foreach (var vector3 in this.positions) { RendererManager.DrawTexture("o9k.ping", minimap.WorldToMinimap(vector3, 25 * Hud.Info.ScreenRatio * this.GetPingSize())); } }
public void DrawOnMinimap(IRenderer renderer, IMinimap minimap) { const float MaxRadius = 22f; const float MinRadius = 15f; var remainingDuration = this.RemainingDuration; var position = minimap.WorldToMinimap(this.teleportPosition, 25 * Hud.Info.ScreenRatio); var radius = (((remainingDuration / this.duration) * (MaxRadius - MinRadius)) + MinRadius) * Hud.Info.ScreenRatio; var range = new Vector2((float)Math.Cos(-remainingDuration), (float)Math.Sin(-remainingDuration)) * radius; renderer.DrawCircle(position.Center, radius, this.color, 3); renderer.DrawLine(position.Center, position.Center + range, this.color, 2); renderer.DrawTexture(this.minimapTexture, position); }
// Token: 0x060002E2 RID: 738 RVA: 0x0001AB50 File Offset: 0x00018D50 public override void DrawOnMinimap(IRenderer renderer, IMinimap minimap) { if (Game.RawGameTime > this.ShowHeroUntil || this.Owner.IsVisible) { return; } Rectangle9 rec = minimap.WorldToMinimap(base.Position, 25f * O9K.Core.Helpers.Hud.Info.ScreenRatio); if (rec.IsZero) { return; } renderer.DrawTexture("outline_red", rec * 1.08f, 0f, 1f); renderer.DrawTexture(base.MinimapHeroTexture, rec, 0f, 1f); }
public override void DrawOnMinimap(IMinimap minimap) { if (this.Unit?.IsVisible == true) { return; } var position = minimap.WorldToMinimap(this.Position, 15 * Hud.Info.ScreenRatio); if (position.IsZero) { return; } RendererManager.DrawTexture("o9k.minimap_" + this.AbilityTexture, position); }
// Token: 0x060002C3 RID: 707 RVA: 0x0001A52C File Offset: 0x0001872C public override void DrawOnMinimap(O9K.Core.Managers.Renderer.IRenderer renderer, IMinimap minimap) { Unit unit = this.Unit; if (unit != null && unit.IsVisible) { return; } Rectangle9 rec = minimap.WorldToMinimap(base.Position, 15f * O9K.Core.Helpers.Hud.Info.ScreenRatio); if (rec.IsZero) { return; } renderer.DrawTexture("minimap_" + base.AbilityTexture, rec, 0f, 1f); }
public override void DrawOnMinimap(IMinimap minimap) { if (GameManager.RawGameTime > this.ShowHeroUntil || this.Owner.IsVisible) { return; } var position = minimap.WorldToMinimap(this.Position, 25 * Hud.Info.ScreenRatio); if (position.IsZero) { return; } RendererManager.DrawTexture("o9k.outline_red", position * 1.08f); RendererManager.DrawTexture(this.AbilityTexture, position, TextureType.RoundAbility); }
public override void DrawOnMinimap(IRenderer renderer, IMinimap minimap) { if (Game.RawGameTime > this.ShowHeroUntil || this.BaseEntity.IsVisible) { return; } var position = minimap.WorldToMinimap(this.Position, 25 * Hud.Info.ScreenRatio); if (position.IsZero) { return; } renderer.DrawTexture("o9k.outline_red", position * 1.08f); renderer.DrawTexture(this.MinimapHeroTexture, position); }
public void DrawOnMinimap(IRenderer renderer, IMinimap minimap) { var particlePosition = this.particle.Position; if (particlePosition.IsZero) { return; } var position = minimap.WorldToMinimap(particlePosition, 25 * Hud.Info.ScreenRatio); if (position.IsZero) { return; } renderer.DrawTexture("o9k.outline_red", position * 1.08f); renderer.DrawTexture(this.minimapHeroTexture, position); }
public override void Draw(RectangleF position, IMinimap minimap) { RendererManager.DrawTexture("o9k.ping", minimap.WorldToMinimap(this.pingPosition, 25 * Hud.Info.ScreenRatio * this.GetPingSize())); }