scripts
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Context;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using CircuitsV2.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x0200009E RID: 158
|
||||
[Token(Token = "0x2000079")]
|
||||
[StructLayout(3)]
|
||||
public sealed class BooleanSerializer : ITypeSerializer
|
||||
{
|
||||
// Token: 0x06000411 RID: 1041 RVA: 0x00003ADC File Offset: 0x00001CDC
|
||||
[Token(Token = "0x6000352")]
|
||||
[Address(RVA = "0x218A080", Offset = "0x2188A80", VA = "0x18218A080")]
|
||||
public Result<None> Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies _)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
|
||||
// Token: 0x06000412 RID: 1042 RVA: 0x00003AF4 File Offset: 0x00001CF4
|
||||
[Token(Token = "0x6000353")]
|
||||
[Address(RVA = "0x218A0F0", Offset = "0x2188AF0", VA = "0x18218A0F0", Slot = "5")]
|
||||
public Result<CircuitSignal> Deserialize(ExecParams e, Stream stream, CircuitType type, INodeDependencies _)
|
||||
{
|
||||
return default(Result<CircuitSignal>);
|
||||
}
|
||||
|
||||
// Token: 0x06000413 RID: 1043 RVA: 0x00002096 File Offset: 0x00000296
|
||||
[Token(Token = "0x6000354")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public BooleanSerializer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000414 RID: 1044 RVA: 0x00003B0C File Offset: 0x00001D0C
|
||||
[Token(Token = "0x6000355")]
|
||||
[Address(RVA = "0x218A080", Offset = "0x2188A80", VA = "0x18218A080", Slot = "4")]
|
||||
Result<None> ITypeSerializer.Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Context;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using CircuitsV2.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x0200009F RID: 159
|
||||
[Token(Token = "0x200007A")]
|
||||
[StructLayout(3)]
|
||||
public sealed class FloatSerializer : ITypeSerializer
|
||||
{
|
||||
// Token: 0x06000415 RID: 1045 RVA: 0x00003B24 File Offset: 0x00001D24
|
||||
[Token(Token = "0x6000356")]
|
||||
[Address(RVA = "0x218BB60", Offset = "0x218A560", VA = "0x18218BB60")]
|
||||
public Result<None> Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies _)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
|
||||
// Token: 0x06000416 RID: 1046 RVA: 0x00003B3C File Offset: 0x00001D3C
|
||||
[Token(Token = "0x6000357")]
|
||||
[Address(RVA = "0x218BBD0", Offset = "0x218A5D0", VA = "0x18218BBD0", Slot = "5")]
|
||||
public Result<CircuitSignal> Deserialize(ExecParams e, Stream stream, CircuitType type, INodeDependencies _)
|
||||
{
|
||||
return default(Result<CircuitSignal>);
|
||||
}
|
||||
|
||||
// Token: 0x06000417 RID: 1047 RVA: 0x00002096 File Offset: 0x00000296
|
||||
[Token(Token = "0x6000358")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public FloatSerializer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000418 RID: 1048 RVA: 0x00003B54 File Offset: 0x00001D54
|
||||
[Token(Token = "0x6000359")]
|
||||
[Address(RVA = "0x218BB60", Offset = "0x218A560", VA = "0x18218BB60", Slot = "4")]
|
||||
Result<None> ITypeSerializer.Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Context;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using CircuitsV2.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x0200009D RID: 157
|
||||
[Token(Token = "0x2000078")]
|
||||
[StructLayout(3)]
|
||||
public interface ITypeSerializer
|
||||
{
|
||||
// Token: 0x0600040F RID: 1039
|
||||
[Token(Token = "0x6000350")]
|
||||
[Address(Slot = "0")]
|
||||
Result<None> Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps);
|
||||
|
||||
// Token: 0x06000410 RID: 1040
|
||||
[Token(Token = "0x6000351")]
|
||||
[Address(Slot = "1")]
|
||||
Result<CircuitSignal> Deserialize(ExecParams e, Stream stream, CircuitType type, INodeDependencies nodeDeps);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Context;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using CircuitsV2.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x020000A2 RID: 162
|
||||
[Token(Token = "0x200007D")]
|
||||
[StructLayout(3)]
|
||||
public sealed class IntIdBackedObjectSerializer : ITypeSerializer
|
||||
{
|
||||
// Token: 0x06000421 RID: 1057 RVA: 0x00003BFC File Offset: 0x00001DFC
|
||||
[Token(Token = "0x6000362")]
|
||||
[Address(RVA = "0x218D150", Offset = "0x218BB50", VA = "0x18218D150")]
|
||||
public Result<None> Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
|
||||
// Token: 0x06000422 RID: 1058 RVA: 0x00003C14 File Offset: 0x00001E14
|
||||
[Token(Token = "0x6000363")]
|
||||
[Address(RVA = "0x218D010", Offset = "0x218BA10", VA = "0x18218D010", Slot = "5")]
|
||||
public Result<CircuitSignal> Deserialize(ExecParams e, Stream stream, CircuitType type, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<CircuitSignal>);
|
||||
}
|
||||
|
||||
// Token: 0x06000423 RID: 1059 RVA: 0x00002096 File Offset: 0x00000296
|
||||
[Token(Token = "0x6000364")]
|
||||
[Address(RVA = "0x3C39C0", Offset = "0x3C23C0", VA = "0x1803C39C0")]
|
||||
public IntIdBackedObjectSerializer(Func<INodeDependencies, InteropDelegate> getSerialize, Func<INodeDependencies, InteropDelegate> getDeserialize)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000424 RID: 1060 RVA: 0x00003C2C File Offset: 0x00001E2C
|
||||
[Token(Token = "0x6000365")]
|
||||
[Address(RVA = "0x218CEF0", Offset = "0x218B8F0", VA = "0x18218CEF0", Slot = "4")]
|
||||
Result<None> ITypeSerializer.Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
|
||||
// Token: 0x040001AA RID: 426
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000124")]
|
||||
private readonly Func<INodeDependencies, InteropDelegate> getSerialize;
|
||||
|
||||
// Token: 0x040001AB RID: 427
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000125")]
|
||||
private readonly Func<INodeDependencies, InteropDelegate> getDeserialize;
|
||||
|
||||
// Token: 0x040001AC RID: 428
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000126")]
|
||||
private InOut inOut;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Context;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using CircuitsV2.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x020000A0 RID: 160
|
||||
[Token(Token = "0x200007B")]
|
||||
[StructLayout(3)]
|
||||
public sealed class IntSerializer : ITypeSerializer
|
||||
{
|
||||
// Token: 0x06000419 RID: 1049 RVA: 0x00003B6C File Offset: 0x00001D6C
|
||||
[Token(Token = "0x600035A")]
|
||||
[Address(RVA = "0x218D270", Offset = "0x218BC70", VA = "0x18218D270")]
|
||||
public Result<None> Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies _)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
|
||||
// Token: 0x0600041A RID: 1050 RVA: 0x00003B84 File Offset: 0x00001D84
|
||||
[Token(Token = "0x600035B")]
|
||||
[Address(RVA = "0x218D2E0", Offset = "0x218BCE0", VA = "0x18218D2E0", Slot = "5")]
|
||||
public Result<CircuitSignal> Deserialize(ExecParams e, Stream stream, CircuitType type, INodeDependencies _)
|
||||
{
|
||||
return default(Result<CircuitSignal>);
|
||||
}
|
||||
|
||||
// Token: 0x0600041B RID: 1051 RVA: 0x00002096 File Offset: 0x00000296
|
||||
[Token(Token = "0x600035C")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public IntSerializer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600041C RID: 1052 RVA: 0x00003B9C File Offset: 0x00001D9C
|
||||
[Token(Token = "0x600035D")]
|
||||
[Address(RVA = "0x218D270", Offset = "0x218BC70", VA = "0x18218D270", Slot = "4")]
|
||||
Result<None> ITypeSerializer.Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Context;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using CircuitsV2.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x020000A3 RID: 163
|
||||
[Token(Token = "0x200007E")]
|
||||
[StructLayout(3)]
|
||||
public sealed class ListSerializer : ITypeSerializer
|
||||
{
|
||||
// Token: 0x06000425 RID: 1061 RVA: 0x00003C44 File Offset: 0x00001E44
|
||||
[Token(Token = "0x6000366")]
|
||||
[Address(RVA = "0x218D740", Offset = "0x218C140", VA = "0x18218D740")]
|
||||
public Result<None> Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal signal, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
|
||||
// Token: 0x06000426 RID: 1062 RVA: 0x00003C5C File Offset: 0x00001E5C
|
||||
[Token(Token = "0x6000367")]
|
||||
[Address(RVA = "0x218D570", Offset = "0x218BF70", VA = "0x18218D570", Slot = "5")]
|
||||
public Result<CircuitSignal> Deserialize(ExecParams e, Stream stream, CircuitType type, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<CircuitSignal>);
|
||||
}
|
||||
|
||||
// Token: 0x06000427 RID: 1063 RVA: 0x00002096 File Offset: 0x00000296
|
||||
[Token(Token = "0x6000368")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public ListSerializer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000428 RID: 1064 RVA: 0x00003C74 File Offset: 0x00001E74
|
||||
[Token(Token = "0x6000369")]
|
||||
[Address(RVA = "0x218D380", Offset = "0x218BD80", VA = "0x18218D380", Slot = "4")]
|
||||
Result<None> ITypeSerializer.Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Context;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using CircuitsV2.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x020000A6 RID: 166
|
||||
[Token(Token = "0x200007F")]
|
||||
[StructLayout(3)]
|
||||
public static class SignalSynchronization
|
||||
{
|
||||
// Token: 0x0600042D RID: 1069 RVA: 0x00003CBC File Offset: 0x00001EBC
|
||||
[Token(Token = "0x600036A")]
|
||||
[Address(RVA = "0x21900D0", Offset = "0x218EAD0", VA = "0x1821900D0")]
|
||||
public static Result<ITypeSerializer> GetSerializer(CircuitType type)
|
||||
{
|
||||
return default(Result<ITypeSerializer>);
|
||||
}
|
||||
|
||||
// Token: 0x0600042E RID: 1070 RVA: 0x00003CD4 File Offset: 0x00001ED4
|
||||
[Token(Token = "0x600036B")]
|
||||
[Address(RVA = "0x21901F0", Offset = "0x218EBF0", VA = "0x1821901F0")]
|
||||
public static Result<None> Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
|
||||
// Token: 0x0600042F RID: 1071 RVA: 0x00003CEC File Offset: 0x00001EEC
|
||||
[Token(Token = "0x600036C")]
|
||||
[Address(RVA = "0x218FF80", Offset = "0x218E980", VA = "0x18218FF80")]
|
||||
public static Result<CircuitSignal> Deserialize(ExecParams e, Stream stream, CircuitType type, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<CircuitSignal>);
|
||||
}
|
||||
|
||||
// Token: 0x040001B0 RID: 432
|
||||
[Token(Token = "0x4000127")]
|
||||
private static readonly Dictionary<CircuitType, ITypeSerializer> serializers;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x0200009C RID: 156
|
||||
[Token(Token = "0x2000077")]
|
||||
[StructLayout(3, Size = 4)]
|
||||
public enum SignalSynchronizationErr
|
||||
{
|
||||
// Token: 0x040001A9 RID: 425
|
||||
[Token(Token = "0x4000123")]
|
||||
SerializerNotFound
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using CircuitsV2.Context;
|
||||
using CircuitsV2.Graph;
|
||||
using CircuitsV2.Types;
|
||||
using CircuitsV2.Utilities;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Synchronization
|
||||
{
|
||||
// Token: 0x020000A1 RID: 161
|
||||
[Token(Token = "0x200007C")]
|
||||
[StructLayout(3)]
|
||||
public sealed class StringSerializer : ITypeSerializer
|
||||
{
|
||||
// Token: 0x0600041D RID: 1053 RVA: 0x00003BB4 File Offset: 0x00001DB4
|
||||
[Token(Token = "0x600035E")]
|
||||
[Address(RVA = "0x2191570", Offset = "0x218FF70", VA = "0x182191570")]
|
||||
public Result<None> Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies _)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
|
||||
// Token: 0x0600041E RID: 1054 RVA: 0x00003BCC File Offset: 0x00001DCC
|
||||
[Token(Token = "0x600035F")]
|
||||
[Address(RVA = "0x21915E0", Offset = "0x218FFE0", VA = "0x1821915E0", Slot = "5")]
|
||||
public Result<CircuitSignal> Deserialize(ExecParams e, Stream stream, CircuitType type, INodeDependencies _)
|
||||
{
|
||||
return default(Result<CircuitSignal>);
|
||||
}
|
||||
|
||||
// Token: 0x0600041F RID: 1055 RVA: 0x00002096 File Offset: 0x00000296
|
||||
[Token(Token = "0x6000360")]
|
||||
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
||||
public StringSerializer()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06000420 RID: 1056 RVA: 0x00003BE4 File Offset: 0x00001DE4
|
||||
[Token(Token = "0x6000361")]
|
||||
[Address(RVA = "0x2191570", Offset = "0x218FF70", VA = "0x182191570", Slot = "4")]
|
||||
Result<None> ITypeSerializer.Serialize(ExecParams e, Stream stream, CircuitType type, in CircuitSignal value, INodeDependencies nodeDeps)
|
||||
{
|
||||
return default(Result<None>);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user