Added C# -> Trenchbrom entity definition with reflection system

This commit is contained in:
Antoine Pilote
2024-08-30 21:44:08 -04:00
parent d46f74aa24
commit 85b41e9ea0
18 changed files with 439 additions and 107 deletions

View File

@@ -5,6 +5,7 @@ using System.Collections;
using System.Collections.Generic;
using System.Drawing;
using System.Numerics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Nuake.Net
@@ -35,6 +36,19 @@ namespace Nuake.Net
{
}
[AttributeUsage(AttributeTargets.Class)]
public sealed class BrushScript : Attribute
{
public string Description = "";
public bool IsTrigger = false;
public BrushScript(string description = "", bool isTrigger = false)
{
Description = description;
IsTrigger = isTrigger;
}
}
public class Debug
{
internal static unsafe delegate*</* start */ float, float, float,