Compare commits
1
Commits
UI2
...
ConfigCodeWriter
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c0f4fc6ab7 |
No files matched your search
@@ -2,9 +2,10 @@ using Code.App.StateMachine;
|
|||||||
using Code.Configs;
|
using Code.Configs;
|
||||||
using Code.Input;
|
using Code.Input;
|
||||||
using Code.Scenes;
|
using Code.Scenes;
|
||||||
using Code.StaticData;
|
using Configs;
|
||||||
using Reflex.Core;
|
using Reflex.Core;
|
||||||
using Reflex.Injectors;
|
using Reflex.Injectors;
|
||||||
|
using StaticData;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.InputSystem;
|
using UnityEngine.InputSystem;
|
||||||
|
|
||||||
@@ -29,7 +30,7 @@ namespace Code.App
|
|||||||
{
|
{
|
||||||
GameObject infrastructureUnit = Instantiate(staticDataService.AppConfig.infrastructureUnitPrefab);
|
GameObject infrastructureUnit = Instantiate(staticDataService.AppConfig.infrastructureUnitPrefab);
|
||||||
DontDestroyOnLoad(infrastructureUnit);
|
DontDestroyOnLoad(infrastructureUnit);
|
||||||
|
AppConfig a;
|
||||||
containerBuilder.AddSingleton(infrastructureUnit);
|
containerBuilder.AddSingleton(infrastructureUnit);
|
||||||
containerBuilder.AddSingleton(infrastructureUnit.GetComponent<ICoroutineRunner>(),
|
containerBuilder.AddSingleton(infrastructureUnit.GetComponent<ICoroutineRunner>(),
|
||||||
typeof(ICoroutineRunner));
|
typeof(ICoroutineRunner));
|
||||||
|
|||||||
@@ -0,0 +1,11 @@
|
|||||||
|
using Generators;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace Code.Configs
|
||||||
|
{
|
||||||
|
[SingleConfig]
|
||||||
|
public class App
|
||||||
|
{
|
||||||
|
[ToConfig] public GameObject infrastructureUnitPrefab;
|
||||||
|
}
|
||||||
|
}
|
||||||
File renamed without changes.
@@ -1,10 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace Code.Configs
|
|
||||||
{
|
|
||||||
[CreateAssetMenu(menuName = "Config/AppConfig", fileName = "AppConfig")]
|
|
||||||
public class AppConfig : ScriptableObject
|
|
||||||
{
|
|
||||||
public GameObject infrastructureUnitPrefab;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
using Generators;
|
||||||
|
using UnityEngine.InputSystem;
|
||||||
|
|
||||||
|
namespace Code.Configs
|
||||||
|
{
|
||||||
|
[SingleConfig]
|
||||||
|
public class Input
|
||||||
|
{
|
||||||
|
[ToConfig] public InputActionAsset inputActionAsset;
|
||||||
|
}
|
||||||
|
}
|
||||||
File renamed without changes.
@@ -1,11 +0,0 @@
|
|||||||
using UnityEngine;
|
|
||||||
using UnityEngine.InputSystem;
|
|
||||||
|
|
||||||
namespace Code.Configs
|
|
||||||
{
|
|
||||||
[CreateAssetMenu(fileName = "InputConfig", menuName = "Config/InputConfig")]
|
|
||||||
public class InputConfig : ScriptableObject
|
|
||||||
{
|
|
||||||
public InputActionAsset inputActionAsset;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: a8d4b5b0fbd947b093f98937d7b80f8e
|
|
||||||
timeCreated: 1760423477
|
|
||||||
@@ -1,12 +1,11 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Code.Configs;
|
using Code.Configs;
|
||||||
|
|
||||||
namespace Code.StaticData
|
namespace StaticData
|
||||||
{
|
{
|
||||||
public interface IStaticDataService
|
public partial interface IStaticDataService
|
||||||
{
|
{
|
||||||
void Load();
|
void Load();
|
||||||
InputConfig InputConfig { get; }
|
// InputConfig InputConfig { get; }
|
||||||
AppConfig AppConfig { get; }
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,17 +2,18 @@ using Code.Configs;
|
|||||||
using Code.Constants;
|
using Code.Constants;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace Code.StaticData
|
namespace StaticData
|
||||||
{
|
{
|
||||||
public class StaticDataService : IStaticDataService
|
public partial class StaticDataService : IStaticDataService
|
||||||
{
|
{
|
||||||
public AppConfig AppConfig { get; private set; }
|
// public AppConfig AppConfig { get; private set; }
|
||||||
public InputConfig InputConfig { get; private set; }
|
// public InputConfig InputConfig { get; private set; }
|
||||||
|
|
||||||
public void Load()
|
public void Load()
|
||||||
{
|
{
|
||||||
InputConfig = Resources.Load<InputConfig>(string.Format(StringPaths.ConfigSingle, "App", "InputConfig"));
|
// InputConfig = Resources.Load<InputConfig>(string.Format(StringPaths.ConfigSingle, "App", "InputConfig"));
|
||||||
AppConfig = Resources.Load<AppConfig>(string.Format(StringPaths.ConfigSingle, "App", "AppConfig"));
|
// AppConfig = Resources.Load<AppConfig>(string.Format(StringPaths.ConfigSingle, "App", "AppConfig"));
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 92086eb0798f4ba0ab0c0a31d97c11f8
|
||||||
|
timeCreated: 1760964642
|
||||||
Binary file not shown.
@@ -0,0 +1,52 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4ed19f8ecd1da4abeb97d4be53b8915b
|
||||||
|
labels:
|
||||||
|
- RoslynAnalyzer
|
||||||
|
PluginImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 3
|
||||||
|
iconMap: {}
|
||||||
|
executionOrder: {}
|
||||||
|
defineConstraints: []
|
||||||
|
isPreloaded: 0
|
||||||
|
isOverridable: 0
|
||||||
|
isExplicitlyReferenced: 1
|
||||||
|
validateReferences: 0
|
||||||
|
platformData:
|
||||||
|
Any:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
Exclude Editor: 1
|
||||||
|
Exclude Linux64: 1
|
||||||
|
Exclude OSXUniversal: 1
|
||||||
|
Exclude Win: 1
|
||||||
|
Exclude Win64: 1
|
||||||
|
Editor:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
CPU: AnyCPU
|
||||||
|
DefaultValueInitialized: true
|
||||||
|
OS: AnyOS
|
||||||
|
Linux64:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
CPU: None
|
||||||
|
OSXUniversal:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
CPU: None
|
||||||
|
Win:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
CPU: None
|
||||||
|
Win64:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
CPU: None
|
||||||
|
WindowsStoreApps:
|
||||||
|
enabled: 0
|
||||||
|
settings:
|
||||||
|
CPU: AnyCPU
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1f868f0def2d055488f673e6c72e2da4
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+6
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$/../../../../.." vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Generated
+105
@@ -0,0 +1,105 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="AutoGeneratedRunConfigurationManager">
|
||||||
|
<projectFile profileName="DebugRoslynSourceGenerator">CodeGenerators/CodeGenerators/CodeGenerators.csproj</projectFile>
|
||||||
|
</component>
|
||||||
|
<component name="AutoImportSettings">
|
||||||
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
|
</component>
|
||||||
|
<component name="ChangeListManager">
|
||||||
|
<list default="true" id="3248ee45-8a29-4268-80d4-87163bd5ff88" name="Changes" comment="">
|
||||||
|
<change afterPath="$PROJECT_DIR$/../../_Project.meta" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/../SourceGenerators~/CodeGenerators/.idea/.idea.CodeGenerators/.idea/.gitignore" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/../SourceGenerators~/CodeGenerators/.idea/.idea.CodeGenerators/.idea/indexLayout.xml" afterDir="false" />
|
||||||
|
<change afterPath="$PROJECT_DIR$/../SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/ConfigGenerator.cs" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/../../Code/Gameplay.meta" beforeDir="false" />
|
||||||
|
</list>
|
||||||
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||||
|
</component>
|
||||||
|
<component name="Git.Settings">
|
||||||
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../../../../.." />
|
||||||
|
</component>
|
||||||
|
<component name="ProblemsViewState">
|
||||||
|
<option name="selectedTabId" value="Toolset" />
|
||||||
|
</component>
|
||||||
|
<component name="ProjectColorInfo"><![CDATA[{
|
||||||
|
"associatedIndex": 6
|
||||||
|
}]]></component>
|
||||||
|
<component name="ProjectId" id="34KauyviZ56hhCr7tcEygR167mc" />
|
||||||
|
<component name="ProjectViewState">
|
||||||
|
<option name="hideEmptyMiddlePackages" value="true" />
|
||||||
|
<option name="showLibraryContents" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="PropertiesComponent"><![CDATA[{
|
||||||
|
"keyToString": {
|
||||||
|
"ModuleVcsDetector.initialDetectionPerformed": "true",
|
||||||
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
||||||
|
"RunOnceActivity.git.unshallow": "true",
|
||||||
|
"git-widget-placeholder": "ConfigCodeWriter",
|
||||||
|
"last_opened_file_path": "/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators",
|
||||||
|
"node.js.detected.package.eslint": "true",
|
||||||
|
"node.js.detected.package.tslint": "true",
|
||||||
|
"node.js.selected.package.eslint": "(autodetect)",
|
||||||
|
"node.js.selected.package.tslint": "(autodetect)",
|
||||||
|
"nodejs_package_manager_path": "npm",
|
||||||
|
"vue.rearranger.settings.migration": "true"
|
||||||
|
}
|
||||||
|
}]]></component>
|
||||||
|
<component name="RunManager">
|
||||||
|
<configuration name="CodeGenerators: DebugRoslynSourceGenerator" type="LaunchSettings" factoryName=".NET Launch Settings Profile">
|
||||||
|
<option name="LAUNCH_PROFILE_PROJECT_FILE_PATH" value="$PROJECT_DIR$/CodeGenerators/CodeGenerators/CodeGenerators.csproj" />
|
||||||
|
<option name="LAUNCH_PROFILE_TFM" value=".NETStandard,Version=v2.0" />
|
||||||
|
<option name="LAUNCH_PROFILE_NAME" value="DebugRoslynSourceGenerator" />
|
||||||
|
<option name="USE_EXTERNAL_CONSOLE" value="0" />
|
||||||
|
<option name="USE_MONO" value="0" />
|
||||||
|
<option name="RUNTIME_ARGUMENTS" value="" />
|
||||||
|
<option name="GENERATE_APPLICATIONHOST_CONFIG" value="1" />
|
||||||
|
<option name="SHOW_IIS_EXPRESS_OUTPUT" value="0" />
|
||||||
|
<option name="SEND_DEBUG_REQUEST" value="1" />
|
||||||
|
<option name="ADDITIONAL_IIS_EXPRESS_ARGUMENTS" value="" />
|
||||||
|
<option name="AUTO_ATTACH_CHILDREN" value="0" />
|
||||||
|
<method v="2">
|
||||||
|
<option name="Build" />
|
||||||
|
</method>
|
||||||
|
</configuration>
|
||||||
|
</component>
|
||||||
|
<component name="TaskManager">
|
||||||
|
<task active="true" id="Default" summary="Default task">
|
||||||
|
<changelist id="3248ee45-8a29-4268-80d4-87163bd5ff88" name="Changes" comment="" />
|
||||||
|
<created>1760964944152</created>
|
||||||
|
<option name="number" value="Default" />
|
||||||
|
<option name="presentableId" value="Default" />
|
||||||
|
<updated>1760964944152</updated>
|
||||||
|
<workItem from="1760964945251" duration="774000" />
|
||||||
|
</task>
|
||||||
|
<servers />
|
||||||
|
</component>
|
||||||
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
<option name="version" value="3" />
|
||||||
|
</component>
|
||||||
|
<component name="UnityProjectConfiguration" hasMinimizedUI="false" />
|
||||||
|
<component name="VcsManagerConfiguration">
|
||||||
|
<option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="true" />
|
||||||
|
</component>
|
||||||
|
<component name="XDebuggerManager">
|
||||||
|
<breakpoint-manager>
|
||||||
|
<breakpoints>
|
||||||
|
<breakpoint enabled="true" type="DotNet_Exception_Breakpoints">
|
||||||
|
<properties exception="System.OperationCanceledException" breakIfHandledByOtherCode="false" displayValue="System.OperationCanceledException" />
|
||||||
|
<option name="timeStamp" value="1" />
|
||||||
|
</breakpoint>
|
||||||
|
<breakpoint enabled="true" type="DotNet_Exception_Breakpoints">
|
||||||
|
<properties exception="System.Threading.Tasks.TaskCanceledException" breakIfHandledByOtherCode="false" displayValue="System.Threading.Tasks.TaskCanceledException" />
|
||||||
|
<option name="timeStamp" value="2" />
|
||||||
|
</breakpoint>
|
||||||
|
<breakpoint enabled="true" type="DotNet_Exception_Breakpoints">
|
||||||
|
<properties exception="System.Threading.ThreadAbortException" breakIfHandledByOtherCode="false" displayValue="System.Threading.ThreadAbortException" />
|
||||||
|
<option name="timeStamp" value="3" />
|
||||||
|
</breakpoint>
|
||||||
|
</breakpoints>
|
||||||
|
</breakpoint-manager>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1f868f0def2d055488f673e6c72e2da4
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Rider ignored files
|
||||||
|
/modules.xml
|
||||||
|
/.idea.CodeGenerators.iml
|
||||||
|
/contentModel.xml
|
||||||
|
/projectSettingsUpdater.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="UserContentModel">
|
||||||
|
<attachedFolders />
|
||||||
|
<explicitIncludes />
|
||||||
|
<explicitExcludes />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
+6
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$/../../../../../.." vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 734be7954ca5a7a9cab22ef4e61eef29
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a002d8e3561f9667f890a8821e86a1d4
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 83c90ca1cd4ab13218311ab54352265c
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 8d1c473ace2ded67e9cdc2d160de8895
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+216
@@ -0,0 +1,216 @@
|
|||||||
|
using Microsoft.CodeAnalysis;
|
||||||
|
using Microsoft.CodeAnalysis.Text;
|
||||||
|
using System.Text;
|
||||||
|
using System.CodeDom.Compiler;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.Immutable;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using Microsoft.CodeAnalysis.CSharp.Syntax;
|
||||||
|
|
||||||
|
namespace ExampleGenerator
|
||||||
|
{
|
||||||
|
[Generator]
|
||||||
|
public class ConfigGenerator : IIncrementalGenerator
|
||||||
|
{
|
||||||
|
|
||||||
|
private const string Namespace = "Generators";
|
||||||
|
private const string SingleAttributeName = "SingleConfig";
|
||||||
|
private const string MultipleAttributeName = "MultipleConfig";
|
||||||
|
private const string AttributeFieldName = "ToConfig";
|
||||||
|
|
||||||
|
private const string AttributesSourceCode = $@"// <auto-generated/> Go Fuck Yourself. All rights reserved.
|
||||||
|
namespace {Namespace}
|
||||||
|
{{[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)]
|
||||||
|
public class SingleConfig : System.Attribute
|
||||||
|
{{
|
||||||
|
}}
|
||||||
|
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Struct)]
|
||||||
|
public class MultipleConfig : System.Attribute
|
||||||
|
{{
|
||||||
|
}}
|
||||||
|
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property)]
|
||||||
|
public class ToConfig : System.Attribute
|
||||||
|
{{
|
||||||
|
}}}}";
|
||||||
|
|
||||||
|
public void Initialize(IncrementalGeneratorInitializationContext context)
|
||||||
|
{
|
||||||
|
context.RegisterPostInitializationOutput(ctx => ctx.AddSource(
|
||||||
|
"ConfigAttribute.g.cs",
|
||||||
|
SourceText.From(AttributesSourceCode, Encoding.UTF8)));
|
||||||
|
|
||||||
|
// Filter classes annotated with the [Report] attribute. Only filtered Syntax Nodes can trigger code generation.
|
||||||
|
var provider = context.SyntaxProvider
|
||||||
|
.CreateSyntaxProvider(
|
||||||
|
(s, _) => s is ClassDeclarationSyntax,
|
||||||
|
(ctx, _) => GetClassDeclarationForSourceGen(ctx))
|
||||||
|
.Where(t => t.reportAttributeFound)
|
||||||
|
.Select((t, _) => t.Item1);
|
||||||
|
|
||||||
|
// var assemblyName = context.CompilationProvider.Select(static (compilation, _) => compilation.AssemblyName);
|
||||||
|
// context.RegisterSourceOutput(assemblyName, (spc, currentAssemblyName) =>
|
||||||
|
// {
|
||||||
|
// if (currentAssemblyName == "Assembly-CSharp")
|
||||||
|
// {
|
||||||
|
// spc.AddSource("ConfigGenerator.g.cs", GenerateSource());
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
List<string> loadMethods = null;
|
||||||
|
context.RegisterSourceOutput(context.CompilationProvider.Combine(provider.Collect()),
|
||||||
|
((ctx, t) => GenerateCode(ctx, t.Left, t.Right, out loadMethods)));
|
||||||
|
|
||||||
|
if(loadMethods == null) return;
|
||||||
|
|
||||||
|
var staticDataService = $@"// <auto-generated/> Go Load Yourself. All rights reserved.
|
||||||
|
|
||||||
|
using Configs;
|
||||||
|
|
||||||
|
namespace StaticData
|
||||||
|
{{
|
||||||
|
public partial class StaticDataService : IStaticDataService
|
||||||
|
{{
|
||||||
|
public void Load(){{
|
||||||
|
{string.Join("\n",loadMethods)}
|
||||||
|
}}
|
||||||
|
}}
|
||||||
|
}}";
|
||||||
|
context.RegisterPostInitializationOutput(ctx => ctx.AddSource(
|
||||||
|
"StaticDataService.g.cs",
|
||||||
|
SourceText.From(staticDataService, Encoding.UTF8)));
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Checks whether the Node is annotated with the [Report] attribute and maps syntax context to the specific node type (ClassDeclarationSyntax).
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="context">Syntax context, based on CreateSyntaxProvider predicate</param>
|
||||||
|
/// <returns>The specific cast and whether the attribute was found.</returns>
|
||||||
|
private static (ClassDeclarationSyntax, bool reportAttributeFound) GetClassDeclarationForSourceGen(
|
||||||
|
GeneratorSyntaxContext context)
|
||||||
|
{
|
||||||
|
var classDeclarationSyntax = (ClassDeclarationSyntax)context.Node;
|
||||||
|
|
||||||
|
// Go through all attributes of the class.
|
||||||
|
foreach (AttributeListSyntax attributeListSyntax in classDeclarationSyntax.AttributeLists)
|
||||||
|
foreach (AttributeSyntax attributeSyntax in attributeListSyntax.Attributes)
|
||||||
|
{
|
||||||
|
if (context.SemanticModel.GetSymbolInfo(attributeSyntax).Symbol is not IMethodSymbol attributeSymbol)
|
||||||
|
continue; // if we can't get the symbol, ignore it
|
||||||
|
|
||||||
|
string attributeName = attributeSymbol.ContainingType.ToDisplayString();
|
||||||
|
|
||||||
|
// Check the full name of the attribute.
|
||||||
|
if (attributeName is $"{Namespace}.{SingleAttributeName}" or $"{Namespace}.{MultipleAttributeName}")
|
||||||
|
return (classDeclarationSyntax, true);
|
||||||
|
}
|
||||||
|
|
||||||
|
return (classDeclarationSyntax, false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Generate code action.
|
||||||
|
/// It will be executed on specific nodes (ClassDeclarationSyntax annotated with the [Report] attribute) changed by the user.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="context">Source generation context used to add source files.</param>
|
||||||
|
/// <param name="compilation">Compilation used to provide access to the Semantic Model.</param>
|
||||||
|
/// <param name="classDeclarations">Nodes annotated with the [Report] attribute that trigger the generate action.</param>
|
||||||
|
private void GenerateCode(SourceProductionContext context, Compilation compilation,
|
||||||
|
ImmutableArray<ClassDeclarationSyntax> classDeclarations, out List<string> loadMethods)
|
||||||
|
{
|
||||||
|
loadMethods = new List<string>();
|
||||||
|
// Go through all filtered class declarations.
|
||||||
|
foreach (var classDeclarationSyntax in classDeclarations)
|
||||||
|
{
|
||||||
|
// We need to get semantic model of the class to retrieve metadata.
|
||||||
|
var semanticModel = compilation.GetSemanticModel(classDeclarationSyntax.SyntaxTree);
|
||||||
|
|
||||||
|
// Symbols allow us to get the compile-time information.
|
||||||
|
if (semanticModel.GetDeclaredSymbol(classDeclarationSyntax) is not INamedTypeSymbol classSymbol)
|
||||||
|
continue;
|
||||||
|
|
||||||
|
var namespaceName = classSymbol.ContainingNamespace.ToDisplayString();
|
||||||
|
|
||||||
|
// 'Identifier' means the token of the node. Get class name from the syntax node.
|
||||||
|
var className = classDeclarationSyntax.Identifier.Text;
|
||||||
|
|
||||||
|
// Go through all class members with a particular type (property) to generate method lines.
|
||||||
|
// var methodBody = classSymbol.GetMembers()
|
||||||
|
// .OfType<IFieldSymbol>()
|
||||||
|
// .Where(p => p.GetAttributes().Any(a => a.AttributeClass?.ToString() == AttributeFieldName))
|
||||||
|
// .Select(p =>
|
||||||
|
// $@"public {p.Type} {p.Name} = {p.ConstantValue ?? 0};"); // e.g. yield return $"Id:{this.Id}";
|
||||||
|
var methodBody = classSymbol
|
||||||
|
.GetMembers()
|
||||||
|
.OfType<IFieldSymbol>()
|
||||||
|
.Where(field => field.GetAttributes()
|
||||||
|
.Any(attr => attr.AttributeClass?.ToDisplayString() == $"{Namespace}.{AttributeFieldName}"))
|
||||||
|
.Select(field =>
|
||||||
|
{
|
||||||
|
string typeName = field.Type.ToDisplayString(SymbolDisplayFormat.CSharpErrorMessageFormat);
|
||||||
|
// Безопасная подстановка значения по умолчанию
|
||||||
|
string defaultValue = field.Type.IsReferenceType
|
||||||
|
? "null"
|
||||||
|
: "default";
|
||||||
|
return $"public {typeName} {field.Name} = {defaultValue};";
|
||||||
|
});
|
||||||
|
// Build up the source code
|
||||||
|
var code = $@"// <auto-generated/> Go Fuck Yourself. All rights reserved.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using UnityEngine;
|
||||||
|
using Code.Constants;
|
||||||
|
|
||||||
|
namespace Configs{{
|
||||||
|
[CreateAssetMenu(fileName = ""{className}Config"", menuName = ""Config/{className}"")]
|
||||||
|
public partial class {className}Config : ScriptableObject
|
||||||
|
{{
|
||||||
|
{string.Join("\n", methodBody)}
|
||||||
|
}}
|
||||||
|
}}";
|
||||||
|
bool isMultiple = classSymbol.GetAttributes().FirstOrDefault(attr =>
|
||||||
|
attr.AttributeClass?.ToDisplayString() == $"{Namespace}.{SingleAttributeName}") != null;
|
||||||
|
|
||||||
|
string staticDataService;
|
||||||
|
if (isMultiple)
|
||||||
|
staticDataService = $@"
|
||||||
|
|
||||||
|
// <auto-generated/> Go Load Yourself. All rights reserved.
|
||||||
|
|
||||||
|
namespace StaticData
|
||||||
|
{{
|
||||||
|
public partial interface IStaticDataService
|
||||||
|
{{
|
||||||
|
Configs.{className}Config {className}Config {{get;}}
|
||||||
|
}}
|
||||||
|
|
||||||
|
public partial class StaticDataService : IStaticDataService
|
||||||
|
{{
|
||||||
|
public Configs.{className}Config {className}Config {{get; private set;}}
|
||||||
|
|
||||||
|
private void Load{className}()
|
||||||
|
{{
|
||||||
|
{className}Config = Resources.Load<Configs.{className}Config>(string.Format(StringPaths.ConfigSingle, ""{className}"",""{className}Config""));
|
||||||
|
}}
|
||||||
|
}}
|
||||||
|
|
||||||
|
}}";
|
||||||
|
else
|
||||||
|
staticDataService = $@"// <auto-generated/> Go Load Yourself. All rights reserved.
|
||||||
|
|
||||||
|
using Code.Constants;
|
||||||
|
using Configs;
|
||||||
|
|
||||||
|
namespace StaticData
|
||||||
|
{{
|
||||||
|
public partial class StaticDataService
|
||||||
|
{{
|
||||||
|
|
||||||
|
}}
|
||||||
|
}}";
|
||||||
|
loadMethods.Add($"Load{className}Config();");
|
||||||
|
// Add the source code to the compilation.
|
||||||
|
context.AddSource($"{className}.g.cs", SourceText.From(code + staticDataService, Encoding.UTF8));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+2
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: eed97fc5e2d6e3cdb929d87a13bb379b
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9a51c7cfe4373818caaa0996997710a2
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+9
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://json.schemastore.org/launchsettings.json",
|
||||||
|
"profiles": {
|
||||||
|
"DebugRoslynSourceGenerator": {
|
||||||
|
"commandName": "DebugRoslynComponent",
|
||||||
|
"targetProject": "../CodeGenerators.Sample/CodeGenerators.Sample.csproj"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d2efcc639b2ef4ca698f6604c72faf16
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: cf04d5bdf022e9526a202f67902cd62a
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 81c26039d2aec5742913b51aa32daed6
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3755e2fc933c38f6ab8bc271723cc6c2
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+311
@@ -0,0 +1,311 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETStandard,Version=v2.0/",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETStandard,Version=v2.0": {},
|
||||||
|
".NETStandard,Version=v2.0/": {
|
||||||
|
"CodeGenerators/1.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.CodeAnalysis.Analyzers": "3.3.4",
|
||||||
|
"Microsoft.CodeAnalysis.CSharp": "4.3.0",
|
||||||
|
"Microsoft.CodeAnalysis.CSharp.Workspaces": "4.3.0",
|
||||||
|
"NETStandard.Library": "2.0.3"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"CodeGenerators.dll": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Humanizer.Core/2.14.1": {},
|
||||||
|
"Microsoft.Bcl.AsyncInterfaces/6.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Threading.Tasks.Extensions": "4.5.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.Analyzers/3.3.4": {},
|
||||||
|
"Microsoft.CodeAnalysis.Common/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.CodeAnalysis.Analyzers": "3.3.4",
|
||||||
|
"System.Collections.Immutable": "6.0.0",
|
||||||
|
"System.Memory": "4.5.4",
|
||||||
|
"System.Reflection.Metadata": "5.0.0",
|
||||||
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
||||||
|
"System.Text.Encoding.CodePages": "6.0.0",
|
||||||
|
"System.Threading.Tasks.Extensions": "4.5.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.CSharp/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.CodeAnalysis.Common": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.CSharp.Workspaces/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Humanizer.Core": "2.14.1",
|
||||||
|
"Microsoft.CodeAnalysis.CSharp": "4.3.0",
|
||||||
|
"Microsoft.CodeAnalysis.Common": "4.3.0",
|
||||||
|
"Microsoft.CodeAnalysis.Workspaces.Common": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.Workspaces.Common/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Humanizer.Core": "2.14.1",
|
||||||
|
"Microsoft.Bcl.AsyncInterfaces": "6.0.0",
|
||||||
|
"Microsoft.CodeAnalysis.Common": "4.3.0",
|
||||||
|
"System.Composition": "6.0.0",
|
||||||
|
"System.IO.Pipelines": "6.0.3"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.NETCore.Platforms/1.1.0": {},
|
||||||
|
"NETStandard.Library/2.0.3": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Buffers/4.5.1": {},
|
||||||
|
"System.Collections.Immutable/6.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Memory": "4.5.4",
|
||||||
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Composition/6.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Composition.AttributedModel": "6.0.0",
|
||||||
|
"System.Composition.Convention": "6.0.0",
|
||||||
|
"System.Composition.Hosting": "6.0.0",
|
||||||
|
"System.Composition.Runtime": "6.0.0",
|
||||||
|
"System.Composition.TypedParts": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Composition.AttributedModel/6.0.0": {},
|
||||||
|
"System.Composition.Convention/6.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Composition.AttributedModel": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Composition.Hosting/6.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Composition.Runtime": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Composition.Runtime/6.0.0": {},
|
||||||
|
"System.Composition.TypedParts/6.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Composition.AttributedModel": "6.0.0",
|
||||||
|
"System.Composition.Hosting": "6.0.0",
|
||||||
|
"System.Composition.Runtime": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.IO.Pipelines/6.0.3": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Buffers": "4.5.1",
|
||||||
|
"System.Memory": "4.5.4",
|
||||||
|
"System.Threading.Tasks.Extensions": "4.5.4"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Memory/4.5.4": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Buffers": "4.5.1",
|
||||||
|
"System.Numerics.Vectors": "4.4.0",
|
||||||
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Numerics.Vectors/4.4.0": {},
|
||||||
|
"System.Reflection.Metadata/5.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Collections.Immutable": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
|
||||||
|
"System.Text.Encoding.CodePages/6.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Memory": "4.5.4",
|
||||||
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks.Extensions/4.5.4": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"CodeGenerators/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
},
|
||||||
|
"Humanizer.Core/2.14.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-lQKvtaTDOXnoVJ20ibTuSIOf2i0uO0MPbDhd1jm238I+U/2ZnRENj0cktKZhtchBMtCUSRQ5v4xBCUbKNmyVMw==",
|
||||||
|
"path": "humanizer.core/2.14.1",
|
||||||
|
"hashPath": "humanizer.core.2.14.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.Bcl.AsyncInterfaces/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-UcSjPsst+DfAdJGVDsu346FX0ci0ah+lw3WRtn18NUwEqRt70HaOQ7lI72vy3+1LxtqI3T5GWwV39rQSrCzAeg==",
|
||||||
|
"path": "microsoft.bcl.asyncinterfaces/6.0.0",
|
||||||
|
"hashPath": "microsoft.bcl.asyncinterfaces.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.Analyzers/3.3.4": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-AxkxcPR+rheX0SmvpLVIGLhOUXAKG56a64kV9VQZ4y9gR9ZmPXnqZvHJnmwLSwzrEP6junUF11vuc+aqo5r68g==",
|
||||||
|
"path": "microsoft.codeanalysis.analyzers/3.3.4",
|
||||||
|
"hashPath": "microsoft.codeanalysis.analyzers.3.3.4.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.Common/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Hhaw6DKZHiR+vgOdIqvndfUntJhmDR7MjylUJ55EvWtDyJFLDf2eij8r9tcwXP35FLD+bVNNCO0+KIYuvJjNnA==",
|
||||||
|
"path": "microsoft.codeanalysis.common/4.3.0",
|
||||||
|
"hashPath": "microsoft.codeanalysis.common.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.CSharp/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-0PU4a2h7L6N9SlF/oNHwj2A/+n0LK/7n6PEGvXyIZq8hc7r/TztB+47mhVLvapT6bWSV7nMT78cNxbQuC6tk6g==",
|
||||||
|
"path": "microsoft.codeanalysis.csharp/4.3.0",
|
||||||
|
"hashPath": "microsoft.codeanalysis.csharp.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.CSharp.Workspaces/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-CH2kezeYUD9/+nGs7QZ6xpOqD6OH6000YkAyU8LbhqLp7W65Xb+HerBzDX9yfprmRwArlF887QhZd8nW6enHIg==",
|
||||||
|
"path": "microsoft.codeanalysis.csharp.workspaces/4.3.0",
|
||||||
|
"hashPath": "microsoft.codeanalysis.csharp.workspaces.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.Workspaces.Common/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-oFF7lU3dQIeEbAVF6Qq/YEA4jvys3oQKkDezP8NcQTFgD8uRUiIA4NimRxANaWxK2n2PT4DAQspIOtrAE2hSdA==",
|
||||||
|
"path": "microsoft.codeanalysis.workspaces.common/4.3.0",
|
||||||
|
"hashPath": "microsoft.codeanalysis.workspaces.common.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
||||||
|
"path": "microsoft.netcore.platforms/1.1.0",
|
||||||
|
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"NETStandard.Library/2.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
|
||||||
|
"path": "netstandard.library/2.0.3",
|
||||||
|
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Buffers/4.5.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
|
||||||
|
"path": "system.buffers/4.5.1",
|
||||||
|
"hashPath": "system.buffers.4.5.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Collections.Immutable/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-l4zZJ1WU2hqpQQHXz1rvC3etVZN+2DLmQMO79FhOTZHMn8tDRr+WU287sbomD0BETlmKDn0ygUgVy9k5xkkJdA==",
|
||||||
|
"path": "system.collections.immutable/6.0.0",
|
||||||
|
"hashPath": "system.collections.immutable.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Composition/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-d7wMuKQtfsxUa7S13tITC8n1cQzewuhD5iDjZtK2prwFfKVzdYtgrTHgjaV03Zq7feGQ5gkP85tJJntXwInsJA==",
|
||||||
|
"path": "system.composition/6.0.0",
|
||||||
|
"hashPath": "system.composition.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Composition.AttributedModel/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-WK1nSDLByK/4VoC7fkNiFuTVEiperuCN/Hyn+VN30R+W2ijO1d0Z2Qm0ScEl9xkSn1G2MyapJi8xpf4R8WRa/w==",
|
||||||
|
"path": "system.composition.attributedmodel/6.0.0",
|
||||||
|
"hashPath": "system.composition.attributedmodel.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Composition.Convention/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-XYi4lPRdu5bM4JVJ3/UIHAiG6V6lWWUlkhB9ab4IOq0FrRsp0F4wTyV4Dj+Ds+efoXJ3qbLqlvaUozDO7OLeXA==",
|
||||||
|
"path": "system.composition.convention/6.0.0",
|
||||||
|
"hashPath": "system.composition.convention.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Composition.Hosting/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-w/wXjj7kvxuHPLdzZ0PAUt++qJl03t7lENmb2Oev0n3zbxyNULbWBlnd5J5WUMMv15kg5o+/TCZFb6lSwfaUUQ==",
|
||||||
|
"path": "system.composition.hosting/6.0.0",
|
||||||
|
"hashPath": "system.composition.hosting.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Composition.Runtime/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-qkRH/YBaMPTnzxrS5RDk1juvqed4A6HOD/CwRcDGyPpYps1J27waBddiiq1y93jk2ZZ9wuA/kynM+NO0kb3PKg==",
|
||||||
|
"path": "system.composition.runtime/6.0.0",
|
||||||
|
"hashPath": "system.composition.runtime.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Composition.TypedParts/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-iUR1eHrL8Cwd82neQCJ00MpwNIBs4NZgXzrPqx8NJf/k4+mwBO0XCRmHYJT4OLSwDDqh5nBLJWkz5cROnrGhRA==",
|
||||||
|
"path": "system.composition.typedparts/6.0.0",
|
||||||
|
"hashPath": "system.composition.typedparts.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.IO.Pipelines/6.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==",
|
||||||
|
"path": "system.io.pipelines/6.0.3",
|
||||||
|
"hashPath": "system.io.pipelines.6.0.3.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Memory/4.5.4": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-1MbJTHS1lZ4bS4FmsJjnuGJOu88ZzTT2rLvrhW7Ygic+pC0NWA+3hgAen0HRdsocuQXCkUTdFn9yHJJhsijDXw==",
|
||||||
|
"path": "system.memory/4.5.4",
|
||||||
|
"hashPath": "system.memory.4.5.4.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Numerics.Vectors/4.4.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==",
|
||||||
|
"path": "system.numerics.vectors/4.4.0",
|
||||||
|
"hashPath": "system.numerics.vectors.4.4.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Reflection.Metadata/5.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-5NecZgXktdGg34rh1OenY1rFNDCI8xSjFr+Z4OU4cU06AQHUdRnIIEeWENu3Wl4YowbzkymAIMvi3WyK9U53pQ==",
|
||||||
|
"path": "system.reflection.metadata/5.0.0",
|
||||||
|
"hashPath": "system.reflection.metadata.5.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
|
||||||
|
"path": "system.runtime.compilerservices.unsafe/6.0.0",
|
||||||
|
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Encoding.CodePages/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-ZFCILZuOvtKPauZ/j/swhvw68ZRi9ATCfvGbk1QfydmcXBkIWecWKn/250UH7rahZ5OoDBaiAudJtPvLwzw85A==",
|
||||||
|
"path": "system.text.encoding.codepages/6.0.0",
|
||||||
|
"hashPath": "system.text.encoding.codepages.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks.Extensions/4.5.4": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==",
|
||||||
|
"path": "system.threading.tasks.extensions/4.5.4",
|
||||||
|
"hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 41e84519c0d0fb0e9829622911e0918d
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Binary file not shown.
+2
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 82f180de8e8b7c5f38ec3d35eeb2aa34
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: c195b895e1813f67191452db73fcba99
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+86
@@ -0,0 +1,86 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/CodeGenerators.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/CodeGenerators.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/CodeGenerators.csproj",
|
||||||
|
"projectName": "CodeGenerators",
|
||||||
|
"projectPath": "/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/CodeGenerators.csproj",
|
||||||
|
"packagesPath": "/home/blackknight/.nuget/packages/",
|
||||||
|
"outputPath": "/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"/home/blackknight/.nuget/NuGet/NuGet.Config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"netstandard2.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"netstandard2.0": {
|
||||||
|
"targetAlias": "netstandard2.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
},
|
||||||
|
"SdkAnalysisLevel": "9.0.300"
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"netstandard2.0": {
|
||||||
|
"targetAlias": "netstandard2.0",
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.CodeAnalysis.Analyzers": {
|
||||||
|
"include": "Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive",
|
||||||
|
"suppressParent": "All",
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[3.3.4, )"
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.CSharp": {
|
||||||
|
"include": "Compile, Build, Native, ContentFiles, Analyzers, BuildTransitive",
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[4.3.0, )"
|
||||||
|
},
|
||||||
|
"Microsoft.CodeAnalysis.CSharp.Workspaces": {
|
||||||
|
"include": "Compile, Build, Native, ContentFiles, Analyzers, BuildTransitive",
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[4.3.0, )"
|
||||||
|
},
|
||||||
|
"NETStandard.Library": {
|
||||||
|
"suppressParent": "All",
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[2.0.3, )",
|
||||||
|
"autoReferenced": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/9.0.304/RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7a62bea9c0ee63472900883e3e9bd942
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+21
@@ -0,0 +1,21 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/blackknight/.nuget/packages/</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/blackknight/.nuget/packages/</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.14.0</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="/home/blackknight/.nuget/packages/" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.codeanalysis.analyzers/3.3.4/buildTransitive/Microsoft.CodeAnalysis.Analyzers.props" Condition="Exists('$(NuGetPackageRoot)microsoft.codeanalysis.analyzers/3.3.4/buildTransitive/Microsoft.CodeAnalysis.Analyzers.props')" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">/home/blackknight/.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4</PkgMicrosoft_CodeAnalysis_Analyzers>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9cd7087ebb9a50429b3b8278ed053be4
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Import Project="$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets')" />
|
||||||
|
<Import Project="$(NuGetPackageRoot)microsoft.codeanalysis.analyzers/3.3.4/buildTransitive/Microsoft.CodeAnalysis.Analyzers.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.codeanalysis.analyzers/3.3.4/buildTransitive/Microsoft.CodeAnalysis.Analyzers.targets')" />
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 4f2093aa97e2873a492f9016b4b68e5b
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0a1f4a7dbc60dc5b4bbda7b93294e3d6
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+8
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5dc97ed9cfa21c04baaff2d0c7dd7c29
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+4
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("CodeGenerators")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+b5e28c7abb7ae03c2dcb844750172dcb42851d02")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("CodeGenerators")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("CodeGenerators")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
+2
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5caf7633f90a8ba7187f0380687e0b4a
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
0ce5298b80f9bb2b97050aeacb9cdce8f2125916d89f5ed5abd5b6030c874819
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7009d08a1c16e071e921f089e4a50abb
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+16
@@ -0,0 +1,16 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = netstandard2.0
|
||||||
|
build_property.TargetPlatformMinVersion = 7.0
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules = true
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = CodeGenerators
|
||||||
|
build_property.ProjectDir = /home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
|
build_property.CsWinRTUseWindowsUIXamlProjections = false
|
||||||
|
build_property.EffectiveAnalysisLevelStyle =
|
||||||
|
build_property.EnableCodeStyleSeverity =
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5926a1a7ec50eea5bb7612974c7fcd94
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Binary file not shown.
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 59869ef70ce0d8b1d8072fbf75739324
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Binary file not shown.
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 54250a67f59a8250fa1c03d61d0c836e
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
ee199927bc5e9944f1078d4120d14ffa1f120acfe726e1b7c9d8ae2465f386af
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9249e729865bc52d5bb2a893d9a54991
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/bin/Debug/netstandard2.0/CodeGenerators.deps.json
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/bin/Debug/netstandard2.0/CodeGenerators.dll
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/bin/Debug/netstandard2.0/CodeGenerators.pdb
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.csproj.AssemblyReference.cache
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.AssemblyInfoInputs.cache
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.AssemblyInfo.cs
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.csproj.CoreCompileInputs.cache
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.sourcelink.json
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.dll
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.pdb
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/bin/Debug/netstandard2.0/CodeGenerators.deps.json
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/bin/Debug/netstandard2.0/CodeGenerators.dll
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/bin/Debug/netstandard2.0/CodeGenerators.pdb
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.csproj.AssemblyReference.cache
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.AssemblyInfoInputs.cache
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.AssemblyInfo.cs
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.csproj.CoreCompileInputs.cache
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.sourcelink.json
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.dll
|
||||||
|
/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/Debug/netstandard2.0/CodeGenerators.pdb
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: a5a5d2f72275de8498e06502ca8fdab9
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
BIN
Binary file not shown.
+2
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 90e974e84ac913cadade38c394a1f18c
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
{"documents":{"/home/blackknight/Projects/CourierOld/*":"https://raw.githubusercontent.com/ThomasCharester/CourierOld/b5e28c7abb7ae03c2dcb844750172dcb42851d02/*"}}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 25f16af218029e96583bd1831743ef2a
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+1834
File diff suppressed because it is too large.
Load diff
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 3f3fdbdbde1207d9d9824284490ca2b1
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+33
@@ -0,0 +1,33 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "0ElB0w5zvqg=",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/CodeGenerators.csproj",
|
||||||
|
"expectedPackageFiles": [
|
||||||
|
"/home/blackknight/.nuget/packages/humanizer.core/2.14.1/humanizer.core.2.14.1.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/microsoft.bcl.asyncinterfaces/6.0.0/microsoft.bcl.asyncinterfaces.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/microsoft.codeanalysis.analyzers/3.3.4/microsoft.codeanalysis.analyzers.3.3.4.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/microsoft.codeanalysis.common/4.3.0/microsoft.codeanalysis.common.4.3.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/microsoft.codeanalysis.csharp/4.3.0/microsoft.codeanalysis.csharp.4.3.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/microsoft.codeanalysis.csharp.workspaces/4.3.0/microsoft.codeanalysis.csharp.workspaces.4.3.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/microsoft.codeanalysis.workspaces.common/4.3.0/microsoft.codeanalysis.workspaces.common.4.3.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/netstandard.library/2.0.3/netstandard.library.2.0.3.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.buffers/4.5.1/system.buffers.4.5.1.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.collections.immutable/6.0.0/system.collections.immutable.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.composition/6.0.0/system.composition.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.composition.attributedmodel/6.0.0/system.composition.attributedmodel.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.composition.convention/6.0.0/system.composition.convention.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.composition.hosting/6.0.0/system.composition.hosting.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.composition.runtime/6.0.0/system.composition.runtime.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.composition.typedparts/6.0.0/system.composition.typedparts.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.io.pipelines/6.0.3/system.io.pipelines.6.0.3.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.memory/4.5.4/system.memory.4.5.4.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.numerics.vectors/4.4.0/system.numerics.vectors.4.4.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.reflection.metadata/5.0.0/system.reflection.metadata.5.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.text.encoding.codepages/6.0.0/system.text.encoding.codepages.6.0.0.nupkg.sha512",
|
||||||
|
"/home/blackknight/.nuget/packages/system.threading.tasks.extensions/4.5.4/system.threading.tasks.extensions.4.5.4.nupkg.sha512"
|
||||||
|
],
|
||||||
|
"logs": []
|
||||||
|
}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 96a8a5946e5b9355c99163c3ea055517
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
"restore":{"projectUniqueName":"/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/CodeGenerators.csproj","projectName":"CodeGenerators","projectPath":"/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/CodeGenerators.csproj","outputPath":"/home/blackknight/Projects/CourierOld/Game/CourierOld/Assets/_Project/SourceGenerators~/CodeGenerators/CodeGenerators/CodeGenerators/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["netstandard2.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"netstandard2.0":{"targetAlias":"netstandard2.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"},"SdkAnalysisLevel":"9.0.300"}"frameworks":{"netstandard2.0":{"targetAlias":"netstandard2.0","dependencies":{"Microsoft.CodeAnalysis.Analyzers":{"include":"Runtime, Build, Native, ContentFiles, Analyzers, BuildTransitive","suppressParent":"All","target":"Package","version":"[3.3.4, )"},"Microsoft.CodeAnalysis.CSharp":{"include":"Compile, Build, Native, ContentFiles, Analyzers, BuildTransitive","target":"Package","version":"[4.3.0, )"},"Microsoft.CodeAnalysis.CSharp.Workspaces":{"include":"Compile, Build, Native, ContentFiles, Analyzers, BuildTransitive","target":"Package","version":"[4.3.0, )"},"NETStandard.Library":{"suppressParent":"All","target":"Package","version":"[2.0.3, )","autoReferenced":true}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"runtimeIdentifierGraphPath":"/usr/share/dotnet/sdk/9.0.304/RuntimeIdentifierGraph.json"}}
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: f2591cce4db9fc478a49bb8f1fb70b32
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
17609657317810493
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 54af833cdc8c12bc59d1d1fe4fc92df4
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
+1
@@ -0,0 +1 @@
|
|||||||
|
17609657317810493
|
||||||
+7
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 99dac3b43936e9e80a23c69850a22825
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Reference in new issue
Block a user