a
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000005 RID: 5
|
||||
internal class AddressAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000003 RID: 3
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000004 RID: 4
|
||||
public string Offset;
|
||||
|
||||
// Token: 0x04000005 RID: 5
|
||||
public string VA;
|
||||
|
||||
// Token: 0x04000006 RID: 6
|
||||
public string Slot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x0200000A RID: 10
|
||||
internal class AnalysisFailedException : Exception
|
||||
{
|
||||
// Token: 0x06000010 RID: 16 RVA: 0x00002074 File Offset: 0x00000274
|
||||
public AnalysisFailedException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000007 RID: 7
|
||||
internal class AttributeAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000008 RID: 8
|
||||
public string Name;
|
||||
|
||||
// Token: 0x04000009 RID: 9
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x0400000A RID: 10
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000006 RID: 6
|
||||
internal class FieldOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000007 RID: 7
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000008 RID: 8
|
||||
internal class MetadataOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000B RID: 11
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000009 RID: 9
|
||||
internal class TokenAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000C RID: 12
|
||||
public string Token;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace StansAssets.Plugins
|
||||
{
|
||||
// Token: 0x02000003 RID: 3
|
||||
[Token(Token = "0x2000003")]
|
||||
public abstract class PackageScriptableSettings : ScriptableObject
|
||||
{
|
||||
// Token: 0x17000001 RID: 1
|
||||
// (get) Token: 0x06000001 RID: 1
|
||||
[Token(Token = "0x17000001")]
|
||||
public abstract string PackageName
|
||||
{
|
||||
[Token(Token = "0x6000001")]
|
||||
[Address(Slot = "4")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17000002 RID: 2
|
||||
// (get) Token: 0x06000002 RID: 2 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000002")]
|
||||
public virtual string SettingsFolderPath
|
||||
{
|
||||
[Token(Token = "0x6000002")]
|
||||
[Address(RVA = "0x38CC960", Offset = "0x38CB760", VA = "0x1838CC960", Slot = "5")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000003 RID: 3
|
||||
// (get) Token: 0x06000003 RID: 3 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000003")]
|
||||
public virtual string SettingsFilePath
|
||||
{
|
||||
[Token(Token = "0x6000003")]
|
||||
[Address(RVA = "0x38CC8E0", Offset = "0x38CB6E0", VA = "0x1838CC8E0", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000004 RID: 4
|
||||
// (get) Token: 0x06000004 RID: 4 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000004")]
|
||||
public virtual string SettingsFileName
|
||||
{
|
||||
[Token(Token = "0x6000004")]
|
||||
[Address(RVA = "0x445B60", Offset = "0x444960", VA = "0x180445B60", Slot = "7")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000005 RID: 5
|
||||
// (get) Token: 0x06000005 RID: 5 RVA: 0x00002054 File Offset: 0x00000254
|
||||
[Token(Token = "0x17000005")]
|
||||
protected virtual bool IsEditorOnly
|
||||
{
|
||||
[Token(Token = "0x6000005")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930", Slot = "8")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000006 RID: 6 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x6000006")]
|
||||
[Address(RVA = "0x6EC220", Offset = "0x6EB020", VA = "0x1806EC220")]
|
||||
protected PackageScriptableSettings()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace StansAssets.Plugins
|
||||
{
|
||||
// Token: 0x02000004 RID: 4
|
||||
[Token(Token = "0x2000004")]
|
||||
public abstract class PackageScriptableSettingsSingleton<T> : PackageScriptableSettings where T : PackageScriptableSettings
|
||||
{
|
||||
// Token: 0x17000006 RID: 6
|
||||
// (get) Token: 0x06000007 RID: 7 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000006")]
|
||||
public static T Instance
|
||||
{
|
||||
[Token(Token = "0x6000007")]
|
||||
[Address(RVA = "0x2FAC920", Offset = "0x2FAB720", VA = "0x182FAC920")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000008 RID: 8 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x6000008")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
public static void Save()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000009 RID: 9 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x6000009")]
|
||||
[Address(RVA = "0x402080", Offset = "0x400E80", VA = "0x180402080")]
|
||||
private static void SaveToAssetDatabase(T asset)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600000A RID: 10 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x600000A")]
|
||||
[Address(RVA = "0x119B780", Offset = "0x119A580", VA = "0x18119B780")]
|
||||
protected PackageScriptableSettingsSingleton()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000002 RID: 2
|
||||
[Token(Token = "0x4000002")]
|
||||
private static T s_Instance;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace StansAssets.Plugins
|
||||
{
|
||||
// Token: 0x02000002 RID: 2
|
||||
[Token(Token = "0x2000002")]
|
||||
public static class PackagesConfig
|
||||
{
|
||||
// Token: 0x04000001 RID: 1
|
||||
[Token(Token = "0x4000001")]
|
||||
public const string SettingsPath = "Assets/Plugins/StansAssets/Settings";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.0.0.0")]
|
||||
@@ -0,0 +1,62 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{2D4E062A-048A-43C7-9D34-B845ECC95AD2}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>StansAssets.Plugins</RootNamespace>
|
||||
<AssemblyName>StansAssets.Plugins</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<NoStdLib>true</NoStdLib>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<NoStdLib>true</NoStdLib>
|
||||
</PropertyGroup>
|
||||
<ItemGroup />
|
||||
<ItemGroup>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Cpp2IlInjected\AddressAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\AnalysisFailedException.cs" />
|
||||
<Compile Include="Cpp2IlInjected\AttributeAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\FieldOffsetAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\MetadataOffsetAttribute.cs" />
|
||||
<Compile Include="Cpp2IlInjected\TokenAttribute.cs" />
|
||||
<Compile Include="PackagesConfig.cs" />
|
||||
<Compile Include="PackageScriptableSettings.cs" />
|
||||
<Compile Include="PackageScriptableSettingsSingleton.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
|
||||
<Project>{2d4e062a-048a-43c7-9d34-b845ecc95a9d}</Project>
|
||||
<Name>mscorlib</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\UnityEngine.CoreModule\UnityEngine.CoreModule.csproj">
|
||||
<Project>{2d4e062a-048a-43c7-9d34-b845ecc95af4}</Project>
|
||||
<Name>UnityEngine.CoreModule</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
</Project>
|
||||
Reference in New Issue
Block a user