mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 04:13:40 +01:00
Add DataShare.
This commit is contained in:
parent
8565cbc5ea
commit
58192240ff
7 changed files with 209 additions and 1 deletions
20
Dalamud/Plugin/Ipc/Internal/DataCache.cs
Normal file
20
Dalamud/Plugin/Ipc/Internal/DataCache.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Dalamud.Plugin.Ipc.Internal;
|
||||
|
||||
internal class DataCache
|
||||
{
|
||||
internal readonly string CreatorAssemblyName;
|
||||
internal readonly List<string> UserAssemblyNames;
|
||||
internal readonly Type Type;
|
||||
internal readonly object? Data;
|
||||
|
||||
internal DataCache(string creatorAssemblyName, object? data, Type type)
|
||||
{
|
||||
this.CreatorAssemblyName = creatorAssemblyName;
|
||||
this.UserAssemblyNames = new List<string>{ creatorAssemblyName };
|
||||
this.Data = data;
|
||||
this.Type = type;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue