-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRustigateExtension.cs
72 lines (59 loc) · 1.86 KB
/
RustigateExtension.cs
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
using System;
using System.Collections.Generic;
using Oxide.Core;
using Oxide.Core.Extensions;
namespace Oxide.Ext.Rustigate
{
/// <summary>
/// The extension class that represents this extension
/// </summary>
public class RustigateExtension : Extension
{
public static RustigateDiscordPost RustigateDiscordPost = new RustigateDiscordPost();
public static RustigateDemoExt RustigateDemoExt;
/// <summary>
/// Gets the name of this extension
/// </summary>
public override string Name => "Rustigate";
/// <summary>
/// Gets the author of this extension
/// </summary>
public override string Author => "https://github.com/spacebares/Rustigate";
/// <summary>
/// Gets the version of this extension
/// </summary>
public override VersionNumber Version => new VersionNumber(0, 0, 3);
/// <summary>
/// Initializes a new instance of the MySqlExtension class
/// </summary>
public RustigateExtension(ExtensionManager manager) : base(manager)
{
}
/// <summary>
/// Loads this extension
/// </summary>
public override void Load()
{
}
/// <summary>
/// Loads plugin watchers used by this extension
/// </summary>
/// <param name="pluginDirectory"></param>
public override void LoadPluginWatchers(string pluginDirectory)
{
}
/// <summary>
/// Called when all other extensions have been loaded
/// </summary>
public override void OnModLoad()
{
RustigateDemoExt = new RustigateDemoExt();
}
/// <summary>
/// Called when server is shutdown
/// </summary>
public override void OnShutdown()
{
}
}
}