scripts
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000004 RID: 4
|
||||
internal class AddressAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000007 RID: 7
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x04000008 RID: 8
|
||||
public string Offset;
|
||||
|
||||
// Token: 0x04000009 RID: 9
|
||||
public string VA;
|
||||
|
||||
// Token: 0x0400000A RID: 10
|
||||
public string Slot;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000009 RID: 9
|
||||
internal class AnalysisFailedException : Exception
|
||||
{
|
||||
// Token: 0x0600000F RID: 15 RVA: 0x0000205D File Offset: 0x0000025D
|
||||
public AnalysisFailedException(string message)
|
||||
: base(message)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000006 RID: 6
|
||||
internal class AttributeAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000C RID: 12
|
||||
public string Name;
|
||||
|
||||
// Token: 0x0400000D RID: 13
|
||||
public string RVA;
|
||||
|
||||
// Token: 0x0400000E RID: 14
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000005 RID: 5
|
||||
internal class FieldOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000B RID: 11
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000007 RID: 7
|
||||
internal class MetadataOffsetAttribute : Attribute
|
||||
{
|
||||
// Token: 0x0400000F RID: 15
|
||||
public string Offset;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
using System;
|
||||
|
||||
namespace Cpp2IlInjected
|
||||
{
|
||||
// Token: 0x02000008 RID: 8
|
||||
internal class TokenAttribute : Attribute
|
||||
{
|
||||
// Token: 0x04000010 RID: 16
|
||||
public string Token;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion("0.0.0.0")]
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?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-B98C0B42626D}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>RecRoom.Networking.NetworkedObjects.Runtime</RootNamespace>
|
||||
<AssemblyName>RecRoom.Networking.NetworkedObjects.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\Networking\INetworkedObjectBacking.cs" />
|
||||
<Compile Include="RecRoom\Networking\InstantiateRequestEx.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\mscorlib\mscorlib.csproj">
|
||||
<Project>{79f1a0f0-4a5c-4735-ae60-b98c0b426251}</Project>
|
||||
<Name>mscorlib</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>
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Networking
|
||||
{
|
||||
// Token: 0x02000002 RID: 2
|
||||
[Token(Token = "0x2000002")]
|
||||
[StructLayout(3)]
|
||||
public interface INetworkedObjectBacking
|
||||
{
|
||||
// Token: 0x17000001 RID: 1
|
||||
// (get) Token: 0x06000001 RID: 1
|
||||
[Token(Token = "0x17000001")]
|
||||
int RoundTripTime
|
||||
{
|
||||
[Token(Token = "0x6000001")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17000002 RID: 2
|
||||
// (get) Token: 0x06000002 RID: 2
|
||||
[Token(Token = "0x17000002")]
|
||||
int RoundTripTimeVariance
|
||||
{
|
||||
[Token(Token = "0x6000002")]
|
||||
[Address(Slot = "1")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x17000003 RID: 3
|
||||
// (get) Token: 0x06000003 RID: 3
|
||||
[Token(Token = "0x17000003")]
|
||||
int PendingSentReliableCommands
|
||||
{
|
||||
[Token(Token = "0x6000003")]
|
||||
[Address(Slot = "2")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06000004 RID: 4
|
||||
[Token(Token = "0x6000004")]
|
||||
[Address(Slot = "3")]
|
||||
GameObject[] BulkInstantiateSceneObjectsEx(IList<InstantiateRequestEx> requests);
|
||||
|
||||
// Token: 0x06000005 RID: 5
|
||||
[Token(Token = "0x6000005")]
|
||||
[Address(Slot = "4")]
|
||||
void BulkDestroy(IList<GameObject> gameObjects);
|
||||
|
||||
// Token: 0x06000006 RID: 6
|
||||
[Token(Token = "0x6000006")]
|
||||
[Address(Slot = "5")]
|
||||
void ForceSendOutgoingCommands();
|
||||
|
||||
// Token: 0x06000007 RID: 7
|
||||
[Token(Token = "0x6000007")]
|
||||
[Address(Slot = "6")]
|
||||
void SetNetworkQueuePaused(object token, bool paused);
|
||||
}
|
||||
}
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Networking
|
||||
{
|
||||
// Token: 0x02000003 RID: 3
|
||||
[Token(Token = "0x2000003")]
|
||||
[StructLayout(3)]
|
||||
public class InstantiateRequestEx
|
||||
{
|
||||
// Token: 0x06000008 RID: 8 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000008")]
|
||||
[Address(RVA = "0xF93050", Offset = "0xF91A50", VA = "0x180F93050")]
|
||||
public object[] ParamsAsDataArray()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06000009 RID: 9 RVA: 0x00002053 File Offset: 0x00000253
|
||||
[Token(Token = "0x6000009")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public InstantiateRequestEx()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000001 RID: 1
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000001")]
|
||||
public string PrefabName;
|
||||
|
||||
// Token: 0x04000002 RID: 2
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000002")]
|
||||
public Vector3 Position;
|
||||
|
||||
// Token: 0x04000003 RID: 3
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
||||
[Token(Token = "0x4000003")]
|
||||
public Quaternion Rotation;
|
||||
|
||||
// Token: 0x04000004 RID: 4
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
|
||||
[Token(Token = "0x4000004")]
|
||||
public float Scale;
|
||||
|
||||
// Token: 0x04000005 RID: 5
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x38")]
|
||||
[Token(Token = "0x4000005")]
|
||||
public int InstantiatorPhotonViewId;
|
||||
|
||||
// Token: 0x04000006 RID: 6
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x4000006")]
|
||||
public Dictionary<string, object> InstantiationParameters;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user