scripts
This commit is contained in:
@@ -0,0 +1,75 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Networking.BuiltInEvents
|
||||
{
|
||||
// Token: 0x020003D1 RID: 977
|
||||
[Token(Token = "0x20002C7")]
|
||||
[StructLayout(3)]
|
||||
public static class BuiltInEvents
|
||||
{
|
||||
// Token: 0x06001F1A RID: 7962 RVA: 0x00002098 File Offset: 0x00000298
|
||||
[Token(Token = "0x6001A63")]
|
||||
[Address(RVA = "0x1F975F0", Offset = "0x1F95FF0", VA = "0x181F975F0")]
|
||||
private static CircuitEventDefinition GlobalBuiltIn(string name, string guid)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Token: 0x06001F1B RID: 7963 RVA: 0x00002096 File Offset: 0x00000296
|
||||
[Token(Token = "0x6001A64")]
|
||||
[Address(RVA = "0x1F97680", Offset = "0x1F96080", VA = "0x181F97680")]
|
||||
public static void Register(GlobalCircuitContext globalCircuitContext)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000AB4 RID: 2740
|
||||
[Token(Token = "0x400083B")]
|
||||
public static readonly CircuitEventDefinition RoomLoaded;
|
||||
|
||||
// Token: 0x04000AB5 RID: 2741
|
||||
[Token(Token = "0x400083C")]
|
||||
public static readonly CircuitEventDefinition RoomReset;
|
||||
|
||||
// Token: 0x04000AB6 RID: 2742
|
||||
[Token(Token = "0x400083D")]
|
||||
public static readonly CircuitEventDefinition PlayerJoined;
|
||||
|
||||
// Token: 0x04000AB7 RID: 2743
|
||||
[Token(Token = "0x400083E")]
|
||||
public static readonly CircuitEventDefinition LocalPlayerSpawned;
|
||||
|
||||
// Token: 0x04000AB8 RID: 2744
|
||||
[Token(Token = "0x400083F")]
|
||||
public static readonly CircuitEventDefinition Update30HzDefinition;
|
||||
|
||||
// Token: 0x04000AB9 RID: 2745
|
||||
[Token(Token = "0x4000840")]
|
||||
public static readonly CircuitEventDefinition GameStartDefinition;
|
||||
|
||||
// Token: 0x04000ABA RID: 2746
|
||||
[Token(Token = "0x4000841")]
|
||||
public static readonly CircuitEventDefinition GameEndDefinition;
|
||||
|
||||
// Token: 0x04000ABB RID: 2747
|
||||
[Token(Token = "0x4000842")]
|
||||
public static readonly CircuitEventDefinition PlayerLeftDefinition;
|
||||
|
||||
// Token: 0x04000ABC RID: 2748
|
||||
[Token(Token = "0x4000843")]
|
||||
public static readonly CircuitEventDefinition PlayerCollisionEventDefinition;
|
||||
|
||||
// Token: 0x04000ABD RID: 2749
|
||||
[Token(Token = "0x4000844")]
|
||||
public static readonly CircuitEventDefinition AISpawnedDefinition;
|
||||
|
||||
// Token: 0x04000ABE RID: 2750
|
||||
[Token(Token = "0x4000845")]
|
||||
public static readonly CircuitEventDefinition AIDiedDefinition;
|
||||
|
||||
// Token: 0x04000ABF RID: 2751
|
||||
[Token(Token = "0x4000846")]
|
||||
public static readonly CircuitEventDefinition TestEventDefinition;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom.Networking.RPC;
|
||||
using RecRoom.Networking.SynchronizedFields;
|
||||
|
||||
namespace CircuitsV2.Networking
|
||||
{
|
||||
// Token: 0x020003CD RID: 973
|
||||
[Token(Token = "0x20002C3")]
|
||||
[StructLayout(3)]
|
||||
public abstract class CircuitNetworking : ICircuitContextNetworking
|
||||
{
|
||||
// Token: 0x170007B5 RID: 1973
|
||||
// (get) Token: 0x06001F0F RID: 7951 RVA: 0x00002098 File Offset: 0x00000298
|
||||
[Token(Token = "0x17000796")]
|
||||
public IRPCSender RpcSender
|
||||
{
|
||||
[Token(Token = "0x6001A58")]
|
||||
[Address(RVA = "0x3C39A0", Offset = "0x3C23A0", VA = "0x1803C39A0", Slot = "4")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170007B6 RID: 1974
|
||||
// (get) Token: 0x06001F10 RID: 7952 RVA: 0x00002098 File Offset: 0x00000298
|
||||
[Token(Token = "0x17000797")]
|
||||
public IContextSynchronizedFieldFactory SynchronizedFieldFactory
|
||||
{
|
||||
[Token(Token = "0x6001A59")]
|
||||
[Address(RVA = "0x3C1240", Offset = "0x3BFC40", VA = "0x1803C1240", Slot = "7")]
|
||||
[CompilerGenerated]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170007B7 RID: 1975
|
||||
// (get) Token: 0x06001F11 RID: 7953
|
||||
[Token(Token = "0x17000798")]
|
||||
public abstract bool IsMasterClient
|
||||
{
|
||||
[Token(Token = "0x6001A5A")]
|
||||
[Address(Slot = "8")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x170007B8 RID: 1976
|
||||
// (get) Token: 0x06001F12 RID: 7954
|
||||
[Token(Token = "0x17000799")]
|
||||
public abstract bool IsAuthority
|
||||
{
|
||||
[Token(Token = "0x6001A5B")]
|
||||
[Address(Slot = "9")]
|
||||
get;
|
||||
}
|
||||
|
||||
// Token: 0x06001F13 RID: 7955 RVA: 0x00002096 File Offset: 0x00000296
|
||||
[Token(Token = "0x6001A5C")]
|
||||
[Address(RVA = "0x3C39C0", Offset = "0x3C23C0", VA = "0x1803C39C0")]
|
||||
protected CircuitNetworking(IRPCSender rpcSender, IContextSynchronizedFieldFactory synchronizedFieldFactory)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Networking.InventionTracking
|
||||
{
|
||||
// Token: 0x020003D0 RID: 976
|
||||
[Token(Token = "0x20002C6")]
|
||||
[StructLayout(3)]
|
||||
public interface IInventionTracking
|
||||
{
|
||||
// Token: 0x06001F16 RID: 7958
|
||||
[Token(Token = "0x6001A5F")]
|
||||
[Address(Slot = "0")]
|
||||
bool GetTrackedData(string key, out Guid instanceId, out long inventionId, out int versionNumber, out bool wasPartOfInvention);
|
||||
|
||||
// Token: 0x06001F17 RID: 7959
|
||||
[Token(Token = "0x6001A60")]
|
||||
[Address(Slot = "1")]
|
||||
void SetTrackedData(string key, Guid instanceId, long inventionId, int versionNumber, bool wasPartOfInvention);
|
||||
|
||||
// Token: 0x06001F18 RID: 7960
|
||||
[Token(Token = "0x6001A61")]
|
||||
[Address(Slot = "2")]
|
||||
void EnsureTrackingRegistered(string key);
|
||||
|
||||
// Token: 0x06001F19 RID: 7961
|
||||
[Token(Token = "0x6001A62")]
|
||||
[Address(Slot = "3")]
|
||||
void ForgetTrackedKey(string key);
|
||||
}
|
||||
}
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Networking.Notifications
|
||||
{
|
||||
// Token: 0x020003CF RID: 975
|
||||
[Token(Token = "0x20002C5")]
|
||||
[StructLayout(3)]
|
||||
public interface INotificationProvider
|
||||
{
|
||||
// Token: 0x06001F15 RID: 7957
|
||||
[Token(Token = "0x6001A5E")]
|
||||
[Address(Slot = "0")]
|
||||
void PlayNotification(string notification);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace CircuitsV2.Networking.Timing
|
||||
{
|
||||
// Token: 0x020003CE RID: 974
|
||||
[Token(Token = "0x20002C4")]
|
||||
[StructLayout(3)]
|
||||
public interface ITimeProvider
|
||||
{
|
||||
// Token: 0x170007B9 RID: 1977
|
||||
// (get) Token: 0x06001F14 RID: 7956
|
||||
[Token(Token = "0x1700079A")]
|
||||
float CurrentTime
|
||||
{
|
||||
[Token(Token = "0x6001A5D")]
|
||||
[Address(Slot = "0")]
|
||||
get;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user