This commit is contained in:
niko
2026-04-08 23:40:05 +02:00
parent d6894bcbc7
commit 18dc73f922
7750 changed files with 1795369 additions and 0 deletions
@@ -0,0 +1,20 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000A RID: 10
internal class AddressAttribute : Attribute
{
// Token: 0x04000013 RID: 19
public string RVA;
// Token: 0x04000014 RID: 20
public string Offset;
// Token: 0x04000015 RID: 21
public string VA;
// Token: 0x04000016 RID: 22
public string Slot;
}
}
@@ -0,0 +1,14 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000F RID: 15
internal class AnalysisFailedException : Exception
{
// Token: 0x06000025 RID: 37 RVA: 0x000020A6 File Offset: 0x000002A6
public AnalysisFailedException(string message)
: base(message)
{
}
}
}
@@ -0,0 +1,17 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000C RID: 12
internal class AttributeAttribute : Attribute
{
// Token: 0x04000018 RID: 24
public string Name;
// Token: 0x04000019 RID: 25
public string RVA;
// Token: 0x0400001A RID: 26
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000B RID: 11
internal class FieldOffsetAttribute : Attribute
{
// Token: 0x04000017 RID: 23
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000D RID: 13
internal class MetadataOffsetAttribute : Attribute
{
// Token: 0x0400001B RID: 27
public string Offset;
}
}
@@ -0,0 +1,11 @@
using System;
namespace Cpp2IlInjected
{
// Token: 0x0200000E RID: 14
internal class TokenAttribute : Attribute
{
// Token: 0x0400001C RID: 28
public string Token;
}
}
@@ -0,0 +1,4 @@
using System;
using System.Reflection;
[assembly: AssemblyVersion("0.0.0.0")]
@@ -0,0 +1,78 @@
<?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>{79F1A0F0-4A5C-4735-AE60-B98C0B426272}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>RecRoom.ResourceManagement.Runtime</RootNamespace>
<AssemblyName>RecRoom.ResourceManagement.Runtime</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="Properties\AssemblyInfo.cs" />
<Compile Include="RecRoom\Core\ResourceManagement\PrefabCache.cs" />
<Compile Include="RecRoom\Core\ResourceManagement\ResourcesHelper.cs" />
<Compile Include="RecRoom\Core\ResourceManagement\ResourcesManager.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
<Project>{79f1a0f0-4a5c-4735-ae60-b98c0b426251}</Project>
<Name>mscorlib</Name>
</ProjectReference>
<ProjectReference Include="..\RecRoom.Datastructures.Runtime\RecRoom.Datastructures.Runtime.csproj">
<Project>{79f1a0f0-4a5c-4735-ae60-b98c0b426268}</Project>
<Name>RecRoom.Datastructures.Runtime</Name>
</ProjectReference>
<ProjectReference Include="..\RecRoom.Promises.Runtime\RecRoom.Promises.Runtime.csproj">
<Project>{79f1a0f0-4a5c-4735-ae60-b98c0b426271}</Project>
<Name>RecRoom.Promises.Runtime</Name>
</ProjectReference>
<ProjectReference Include="..\RecRoom.Scheduler.Runtime\RecRoom.Scheduler.Runtime.csproj">
<Project>{79f1a0f0-4a5c-4735-ae60-b98c0b426273}</Project>
<Name>RecRoom.Scheduler.Runtime</Name>
</ProjectReference>
<ProjectReference Include="..\System\System.csproj">
<Project>{79f1a0f0-4a5c-4735-ae60-b98c0b426281}</Project>
<Name>System</Name>
</ProjectReference>
<ProjectReference Include="..\UnityEngine.CoreModule\UnityEngine.CoreModule.csproj">
<Project>{79f1a0f0-4a5c-4735-ae60-b98c0b42629c}</Project>
<Name>UnityEngine.CoreModule</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
@@ -0,0 +1,94 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using RecRoom.Async;
using UnityEngine;
using UnityEngine.SceneManagement;
namespace RecRoom.Core.ResourceManagement
{
// Token: 0x02000002 RID: 2
[Token(Token = "0x2000002")]
[StructLayout(3)]
public class PrefabCache
{
// Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000001")]
[Address(RVA = "0xF7F1A0", Offset = "0xF7DBA0", VA = "0x180F7F1A0")]
public PrefabCache()
{
}
// Token: 0x06000002 RID: 2 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000002")]
[Address(RVA = "0xF7EE90", Offset = "0xF7D890", VA = "0x180F7EE90", Slot = "1")]
protected override void Finalize()
{
}
// Token: 0x06000003 RID: 3 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000003")]
[Address(RVA = "0xF7F130", Offset = "0xF7DB30", VA = "0x180F7F130")]
private void SceneManager_sceneLoaded(Scene scene, LoadSceneMode loadSceneMode)
{
}
// Token: 0x06000004 RID: 4 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000004")]
[Address(RVA = "0xF7EFC0", Offset = "0xF7D9C0", VA = "0x180F7EFC0")]
public GameObject GetOrCachePrefab(string prefabName, bool isPermanent)
{
return null;
}
// Token: 0x06000005 RID: 5 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000005")]
[Address(RVA = "0xF7EFA0", Offset = "0xF7D9A0", VA = "0x180F7EFA0")]
public IPromise<GameObject> GetOrCachePrefabAsync(string prefabName, bool isPermanent)
{
return null;
}
// Token: 0x06000006 RID: 6 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000006")]
[Address(RVA = "0xF7F000", Offset = "0xF7DA00", VA = "0x180F7F000")]
private GameObject GetPrefab(string prefabName)
{
return null;
}
// Token: 0x06000007 RID: 7 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000007")]
[Address(RVA = "0xF7EA50", Offset = "0xF7D450", VA = "0x180F7EA50")]
public void CachePrefab(string prefabName, GameObject prefab)
{
}
// Token: 0x06000008 RID: 8 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x6000008")]
[Address(RVA = "0xF7EB10", Offset = "0xF7D510", VA = "0x180F7EB10")]
public IPromise<GameObject> CachePrefab(string prefabName, bool isPermanent, bool cacheAsync)
{
return null;
}
// Token: 0x06000009 RID: 9 RVA: 0x00002058 File Offset: 0x00000258
[Token(Token = "0x6000009")]
[Address(RVA = "0xF7F0B0", Offset = "0xF7DAB0", VA = "0x180F7F0B0")]
public bool InEitherCache(string prefabName)
{
return default(bool);
}
// Token: 0x04000001 RID: 1
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000001")]
private Dictionary<string, GameObject> temporaryCache;
// Token: 0x04000002 RID: 2
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000002")]
private Dictionary<string, GameObject> permanentCache;
}
}
@@ -0,0 +1,21 @@
using System;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Core.ResourceManagement
{
// Token: 0x02000004 RID: 4
[Token(Token = "0x2000003")]
[StructLayout(3)]
public static class ResourcesHelper
{
// Token: 0x0600000D RID: 13 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x600000A")]
[Address(RVA = "0x1F31040", Offset = "0x1F2FA40", VA = "0x181F31040")]
public static T SafeLoad<T>(string path) where T : global::UnityEngine.Object
{
return null;
}
}
}
@@ -0,0 +1,83 @@
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using RecRoom.Async;
using UnityEngine;
namespace RecRoom.Core.ResourceManagement
{
// Token: 0x02000005 RID: 5
[Token(Token = "0x2000004")]
[StructLayout(3)]
public class ResourcesManager : SingletonMonoBehaviour<ResourcesManager>
{
// Token: 0x0600000E RID: 14 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600000B")]
[Address(RVA = "0xF7F410", Offset = "0xF7DE10", VA = "0x180F7F410")]
private void Start()
{
}
// Token: 0x0600000F RID: 15 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x600000C")]
[Address(RVA = "0x2415E80", Offset = "0x2414880", VA = "0x182415E80")]
public IPromise<T> LoadResourceAsync<T>(string assetName) where T : MonoBehaviour
{
return null;
}
// Token: 0x06000010 RID: 16 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x600000D")]
[Address(RVA = "0xF7F2D0", Offset = "0xF7DCD0", VA = "0x180F7F2D0")]
public IPromise<GameObject> LoadResourceAsync(string assetName)
{
return null;
}
// Token: 0x06000011 RID: 17 RVA: 0x00002052 File Offset: 0x00000252
[Token(Token = "0x600000E")]
[Address(RVA = "0xF7F3B0", Offset = "0xF7DDB0", VA = "0x180F7F3B0")]
private IEnumerator<ISchedule> ProcessQueue(Queue<ResourcesManager.QueuedLoad> queue)
{
return null;
}
// Token: 0x06000012 RID: 18 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600000F")]
[Address(RVA = "0xF7F540", Offset = "0xF7DF40", VA = "0x180F7F540")]
public ResourcesManager()
{
}
// Token: 0x04000005 RID: 5
[Token(Token = "0x4000003")]
private const int PARALLEL_WORKER_THREAD_COUNT = 2;
// Token: 0x04000006 RID: 6
[Token(Token = "0x4000004")]
private static Queue<ResourcesManager.QueuedLoad> loadQueue;
// Token: 0x02000006 RID: 6
[Token(Token = "0x2000006")]
private class QueuedLoad
{
// Token: 0x06000014 RID: 20 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000014")]
[Address(RVA = "0xF7F260", Offset = "0xF7DC60", VA = "0x180F7F260")]
public QueuedLoad(string assetName)
{
}
// Token: 0x04000007 RID: 7
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000007")]
public string assetName;
// Token: 0x04000008 RID: 8
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000008")]
public Promise<GameObject> Promise;
}
}
}