chore(l0): scaffold C#9 netstandard2.0 core solution

This commit is contained in:
SepComet 2026-04-27 16:50:37 +08:00
parent 6fc7796933
commit c565b6bab6
11 changed files with 61 additions and 0 deletions

27
Nightborn.L0.sln Normal file
View File

@ -0,0 +1,27 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{C3AD2FCF-F06D-48D2-8A84-2D8E73352FAD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Nightborn.Core", "src\Nightborn.Core\Nightborn.Core.csproj", "{A1AFC50B-D6E5-4542-874A-2C911D6D3FE9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A1AFC50B-D6E5-4542-874A-2C911D6D3FE9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A1AFC50B-D6E5-4542-874A-2C911D6D3FE9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A1AFC50B-D6E5-4542-874A-2C911D6D3FE9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A1AFC50B-D6E5-4542-874A-2C911D6D3FE9}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{A1AFC50B-D6E5-4542-874A-2C911D6D3FE9} = {C3AD2FCF-F06D-48D2-8A84-2D8E73352FAD}
EndGlobalSection
EndGlobal

View File

View File

@ -0,0 +1,9 @@
namespace Nightborn.Core
{
/// <summary>
/// Marker type for the L0 pure C# core assembly.
/// </summary>
public static class CoreModule
{
}
}

View File

View File

View File

View File

@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>9.0</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>disable</ImplicitUsings>
</PropertyGroup>
</Project>

View File

View File

View File

View File

@ -0,0 +1,17 @@
# Nightborn.Core (L0)
Pure C# core logic layer for Nightborn.
## Target
- C#: 9.0
- Target framework: `netstandard2.0`
- Unity compatibility: usable from Unity projects that consume .NET Standard 2.0 libraries.
## Current module folders
- Combat
- Enemy
- Player
- Progression
- Persistence
- Meta
- Geometry