75 lines
2.5 KiB
C#
75 lines
2.5 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using CircuitsV2.Variables.TypeDefinitions;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace CircuitsV2
|
|
{
|
|
// Token: 0x0200004F RID: 79
|
|
[Token(Token = "0x2000038")]
|
|
[StructLayout(3)]
|
|
public class CircuitCompoundTypeInstance<TDef, TInst> : CircuitTypeInstanceBase<TInst> where TDef : CompoundVariableTemplate<TDef>, new() where TInst : CircuitCompoundTypeInstance<TDef, TInst>
|
|
{
|
|
// Token: 0x1700007E RID: 126
|
|
// (get) Token: 0x06000270 RID: 624 RVA: 0x00002098 File Offset: 0x00000298
|
|
[Token(Token = "0x1700007B")]
|
|
protected new TDef TypeDefinition
|
|
{
|
|
[Token(Token = "0x60001E8")]
|
|
[Address(RVA = "0x241E5E0", Offset = "0x241CFE0", VA = "0x18241E5E0")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06000271 RID: 625 RVA: 0x00002096 File Offset: 0x00000296
|
|
[Token(Token = "0x60001E9")]
|
|
[Address(RVA = "0x241E530", Offset = "0x241CF30", VA = "0x18241E530")]
|
|
public CircuitCompoundTypeInstance(TDef variableTemplate, ICircuitValueRetriever<TInst> valueRetriever, [Optional] Dictionary<string, ICircuitTypeInstance> variableInstances)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000272 RID: 626 RVA: 0x00002098 File Offset: 0x00000298
|
|
[Token(Token = "0x60001EA")]
|
|
[Address(RVA = "0x1E2A320", Offset = "0x1E28D20", VA = "0x181E2A320")]
|
|
public TVar GetVariable<TVar>(string variableName) where TVar : ICircuitTypeInstance
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0400011B RID: 283
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x40000C3")]
|
|
protected readonly Dictionary<string, ICircuitTypeInstance> VariableInstances;
|
|
|
|
// Token: 0x02000050 RID: 80
|
|
[Token(Token = "0x20002DE")]
|
|
protected class ThisValueRetriever : ICircuitValueRetriever<TInst>
|
|
{
|
|
// Token: 0x06000273 RID: 627 RVA: 0x00002098 File Offset: 0x00000298
|
|
[Token(Token = "0x6001AE9")]
|
|
[Address(RVA = "0x2423FB0", Offset = "0x24229B0", VA = "0x182423FB0", Slot = "4")]
|
|
public TInst GetValue(ICircuitTypeInstance<TInst> circuitTypeInstance)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06000274 RID: 628 RVA: 0x00002096 File Offset: 0x00000296
|
|
[Token(Token = "0x6001AEA")]
|
|
[Address(RVA = "0x2424010", Offset = "0x2422A10", VA = "0x182424010", Slot = "5")]
|
|
public void SetValue(ICircuitTypeInstance<TInst> circuitTypeInstance, TInst newValue)
|
|
{
|
|
}
|
|
|
|
// Token: 0x06000275 RID: 629 RVA: 0x00002096 File Offset: 0x00000296
|
|
[Token(Token = "0x6001AEB")]
|
|
[Address(RVA = "0x1B1AA80", Offset = "0x1B19480", VA = "0x181B1AA80")]
|
|
public ThisValueRetriever()
|
|
{
|
|
}
|
|
}
|
|
}
|
|
}
|