riversong code showcase

This commit is contained in:
Daniele Marotta
2026-05-21 15:52:18 +02:00
commit 4c9eea1c02
462 changed files with 23406 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
using System;
namespace DanieleMarotta.RiversongCodeShowcase
{
[AttributeUsage(AttributeTargets.Class)]
public class DisableDiscoveryAttribute : Attribute
{
}
}

View File

@@ -0,0 +1,15 @@
using System;
namespace DanieleMarotta.RiversongCodeShowcase
{
[AttributeUsage(AttributeTargets.Class)]
public class GameSystemGroupAttribute : Attribute
{
public GameSystemGroupAttribute(Type systemGroupType)
{
SystemGroupType = systemGroupType;
}
public Type SystemGroupType { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
namespace DanieleMarotta.RiversongCodeShowcase
{
[AttributeUsage(AttributeTargets.Field)]
public class InjectServiceAttribute : Attribute
{
public InjectServiceAttribute(Type serviceType = null)
{
ServiceType = serviceType;
}
public Type ServiceType { get; set; }
}
}

View File

@@ -0,0 +1,15 @@
using System;
namespace DanieleMarotta.RiversongCodeShowcase
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class ServiceAttribute : Attribute
{
public ServiceAttribute(Type serviceType = null)
{
ServiceType = serviceType;
}
public Type ServiceType { get; set; }
}
}

View File

@@ -0,0 +1,57 @@
using System;
namespace DanieleMarotta.RiversongCodeShowcase
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public class SortingAttribute : Attribute
{
protected SortingAttribute(Type systemType)
{
SystemType = systemType;
}
public Type SystemType { get; set; }
}
public class InitializeAfterAttribute : SortingAttribute
{
public InitializeAfterAttribute(Type systemType) : base(systemType)
{
}
}
public class InitializeBeforeAttribute : SortingAttribute
{
public InitializeBeforeAttribute(Type systemType) : base(systemType)
{
}
}
public class UpdateAfterAttribute : SortingAttribute
{
public UpdateAfterAttribute(Type systemType) : base(systemType)
{
}
}
public class UpdateBeforeAttribute : SortingAttribute
{
public UpdateBeforeAttribute(Type systemType) : base(systemType)
{
}
}
public class DisposeAfterAttribute : SortingAttribute
{
public DisposeAfterAttribute(Type systemType) : base(systemType)
{
}
}
public class DisposeBeforeAttribute : SortingAttribute
{
public DisposeBeforeAttribute(Type systemType) : base(systemType)
{
}
}
}