Add version info to the DLL
This commit is contained in:
parent
f3d9147c22
commit
b0e8a4d459
3 changed files with 39 additions and 1 deletions
18
ForgeCoreAPI/ASM/ASMInfo.cs
Normal file
18
ForgeCoreAPI/ASM/ASMInfo.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System.Reflection;
|
||||
|
||||
|
||||
[assembly:AssemblyCompany("Piccari Creations")]
|
||||
[assembly:AssemblyProduct("ForgeCoreAPI")]
|
||||
[assembly:AssemblyCopyright("Copyright (c) 2024 Piccari Creations")]
|
||||
[assembly:AssemblyVersion("2.0.0.0")]
|
||||
[assembly:AssemblyFileVersion("2.0.0.0")]
|
||||
[assembly:AssemblyDescription("API Library for ForgeCore")]
|
||||
|
||||
|
||||
namespace ForgeCoreAPI.ASM
|
||||
{
|
||||
public class ASMInfo
|
||||
{
|
||||
// Static readonly assembly attributes
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
namespace ForgeCoreAPI;
|
21
ForgeCoreAPI/ICommand.cs
Normal file
21
ForgeCoreAPI/ICommand.cs
Normal file
|
@ -0,0 +1,21 @@
|
|||
using ForgeCoreAPI.ACS;
|
||||
using LibAC.Arguments;
|
||||
|
||||
namespace ForgeCoreAPI;
|
||||
|
||||
public class ICommand
|
||||
{
|
||||
public AccessToken AccessToken { get; set; }
|
||||
public string Command { get; set; }
|
||||
public Arguments Arguments { get; set; }
|
||||
}
|
||||
|
||||
public class CommandAttribute : Attribute
|
||||
{
|
||||
public ICommand Command { get; }
|
||||
|
||||
public CommandAttribute(ICommand command)
|
||||
{
|
||||
Command = command;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue