forked from Elfocrash/L2dotNET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIPlugin.cs
More file actions
31 lines (27 loc) · 895 Bytes
/
Copy pathIPlugin.cs
File metadata and controls
31 lines (27 loc) · 895 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 L2dotNET.Models.Items;
using L2dotNET.Models.Player;
namespace L2dotNET.Plugins
{
public interface IPlugin
{
/// <summary>
/// This method will be called on plugin initialization.
/// </summary>
void OnEnable(PluginContext context);
/// <summary>
/// This method will be called when the plugin will be disabled.
/// </summary>
void OnDisable();
/// <summary>
/// This method will be called when the player logs in.
/// </summary>
/// <param name="player"></param>
void OnLogin(L2Player player);
/// <summary>
/// This method will be called when a player equips an item.
/// </summary>
/// <param name="player"></param>
/// <param name="item"></param>
void OnItemEquip(L2Player player, L2Item item);
}
}