forked from Caraxi/RemindMe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
GeneralReminder.cs
46 lines (34 loc) · 1.4 KB
/
GeneralReminder.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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Dalamud.Plugin;
using Newtonsoft.Json;
using RemindMe.Config;
using RemindMe.JsonConverters;
using RemindMe.Reminder;
namespace RemindMe {
[JsonConverter(typeof(GeneralReminderConverter))]
public class GeneralReminder {
[JsonIgnore] public virtual string Name { get; } = "General Reminder";
[JsonIgnore] public virtual string Description { get; } = "You shouldn't see this...";
public virtual string GetText(DalamudPluginInterface pluginInterface, RemindMe plugin, MonitorDisplay display) {
return "General Reminder";
}
public virtual bool ShouldShow(DalamudPluginInterface pluginInterface, RemindMe plugin, MonitorDisplay display) {
return false;
}
public virtual uint GetIconID(DalamudPluginInterface pluginInterface, RemindMe plugin, MonitorDisplay display) {
return 0;
}
public override bool Equals(object obj) {
return obj != null && obj.GetType() == this.GetType();
}
public virtual bool HasClickHandle(DalamudPluginInterface pluginInterface, RemindMe plugin, MonitorDisplay display) {
return false;
}
public virtual void ClickHandler(RemindMe plugin, object param) {
}
}
}