Esempio n. 1
0
        public void LoadMod(ModObject mod)
        {
            HasContentError            = false;
            AssetNameLabel.Text        = "(none selected)";
            AssetDescriptionLabel.Text = "";

            ContentTreeView.Nodes.Clear();
            IterateContent(ContentTreeView.Nodes, mod, mod.GetContentDir(), ".upk", true);
            IterateContent(ContentTreeView.Nodes, mod, mod.GetMapsDir(), ".umap", true);
            IterateContent(ContentTreeView.Nodes, mod, mod.GetLocsDir(), ".int", true);
            ContentTreeView.ExpandAll();
        }