Discord.Net/experiment/Discord.Net.Rpc/Entities/RpcEntity.cs
2024-06-13 17:47:39 +12:00

17 lines
352 B
C#

using System;
namespace Discord.Rpc
{
public abstract class RpcEntity<T> : IEntity<T>
where T : IEquatable<T>
{
internal DiscordRpcClient Discord { get; }
public T Id { get; }
internal RpcEntity(DiscordRpcClient discord, T id)
{
Discord = discord;
Id = id;
}
}
}