-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathPlugin.cs
More file actions
31 lines (29 loc) · 816 Bytes
/
Plugin.cs
File metadata and controls
31 lines (29 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Toolbox.Core;
using MapStudio.UI;
using GLFrameworkEngine;
using CtrLibrary.Bcres;
using CtrLibrary.Bch;
namespace CtrLibrary
{
/// <summary>
/// Represents a plugin used to activate this library and load the editor contents.
/// </summary>
public class Plugin : IPlugin
{
/// <summary>
/// The name of the plugin.
/// </summary>
public string Name => "3DS Editor";
public Plugin()
{
//Add File -> New Bcres option
UIManager.Subscribe(UIManager.UI_TYPE.NEW_FILE, "Bcres File", typeof(BCRES));
UIManager.Subscribe(UIManager.UI_TYPE.NEW_FILE, "BCH File", typeof(BCH));
}
}
}