예제 #1
0
        // Token: 0x060003BF RID: 959 RVA: 0x0001D618 File Offset: 0x0001B818
        private void LoadTextures()
        {
            ITextureManager textureManager = this.context.Renderer.TextureManager;

            textureManager.LoadFromDota("notification_bg", "panorama\\images\\hud\\reborn\\bg_deathsummary_psd.vtex_c", 300, 200, false, 10, null);
            textureManager.LoadFromDota("gold", "panorama\\images\\hud\\reborn\\gold_large_png.vtex_c", 0, 0, false, 0, null);
            textureManager.LoadFromDota("ping", "panorama\\images\\hud\\reborn\\ping_icon_default_psd.vtex_c", 0, 0, false, 0, null);
            textureManager.LoadFromResource("rune_regen", "rune_regen.png");
            textureManager.LoadFromResource("rune_bounty", "rune_bounty.png");
        }
예제 #2
0
        private static void LoadFromDivine(string textureKey, string divineTexture)
        {
            if (!File.Exists(divineTexture))
            {
                textureManager.LoadFromResource(textureKey, "Resources.Empty.png");
                return;
            }

            textureManager.LoadFromFile(textureKey, divineTexture);
        }