Files
simapi-net/Attributes/SynapseRpcAttribute.cs
T

19 lines
313 B
C#
Raw Normal View History

2023-10-20 12:33:18 +08:00
using System;
namespace SimApi.Attributes;
[AttributeUsage(AttributeTargets.Method)]
public class SynapseRpcAttribute : Attribute
{
2024-07-26 08:11:21 +08:00
public string? Name { get; }
2023-10-20 12:33:18 +08:00
public SynapseRpcAttribute()
{
Name = null;
}
public SynapseRpcAttribute(string name)
{
Name = name;
}
}