mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
feat: add PluginLoadReason to plugin interface
This commit is contained in:
parent
fe76d1e31a
commit
a9b388f9de
5 changed files with 43 additions and 8 deletions
|
|
@ -182,8 +182,8 @@ namespace Dalamud.Interface
|
|||
|
||||
// Subscriptions
|
||||
case 5:
|
||||
var i1 = new DalamudPluginInterface(this.dalamud, "DalamudTestSub", null);
|
||||
var i2 = new DalamudPluginInterface(this.dalamud, "DalamudTestPub", null);
|
||||
var i1 = new DalamudPluginInterface(this.dalamud, "DalamudTestSub", null, PluginLoadReason.Boot);
|
||||
var i2 = new DalamudPluginInterface(this.dalamud, "DalamudTestPub", null, PluginLoadReason.Boot);
|
||||
|
||||
if (ImGui.Button("Add test sub")) i1.Subscribe("DalamudTestPub", o => {
|
||||
dynamic msg = o;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue