forked from jikey0327/RustWeb
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRustWebExtension.cs
More file actions
31 lines (25 loc) · 1 KB
/
Copy pathRustWebExtension.cs
File metadata and controls
31 lines (25 loc) · 1 KB
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 Oxide.Core;
using Oxide.Core.Extensions;
using Oxide.Rust.Plugins;
using Oxide.Rust.Libraries;
using dcodeIO.RustWeb;
namespace Oxide.Rust
{
public class RustWebExtension : Extension
{
public static VersionNumber ExtensionVersion { get { return new VersionNumber((ushort)RustWeb.Version.Major, (ushort)RustWeb.Version.Minor, (ushort)RustWeb.Version.Build); } }
public override string Name { get { return "RustWeb"; } }
public override VersionNumber Version { get { return RustWebExtension.ExtensionVersion; } }
public override string Author { get { return "dcode"; } }
public RustWebExtension(ExtensionManager manager) : base(manager) {
}
public override void Load() {
Manager.RegisterPluginLoader(new RustWebPluginLoader());
Manager.RegisterLibrary("RustWeb", new RustWebLibrary());
}
public override void LoadPluginWatchers(string s) {
}
public override void OnModLoad() {
}
}
}