scripts
This commit is contained in:
@@ -0,0 +1,173 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RRUI.Data
|
||||
{
|
||||
// Token: 0x02000C27 RID: 3111
|
||||
[Token(Token = "0x2000C27")]
|
||||
[StructLayout(3)]
|
||||
public class ToastListModelController : ModelController<ToastListModel>
|
||||
{
|
||||
// Token: 0x06004B31 RID: 19249 RVA: 0x00119B9C File Offset: 0x00117D9C
|
||||
[Token(Token = "0x6004B31")]
|
||||
[Address(RVA = "0x1B01E40", Offset = "0x1B00840", VA = "0x181B01E40")]
|
||||
public ToastListModelController()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x02000C28 RID: 3112
|
||||
[Token(Token = "0x2000C28")]
|
||||
[Serializable]
|
||||
private class TestToastButtonImpl : ButtonControllerImpl<ToastListModel>
|
||||
{
|
||||
// Token: 0x06004B32 RID: 19250 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6004B32")]
|
||||
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "27")]
|
||||
protected override void DMAHGBLDMFA()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06004B33 RID: 19251 RVA: 0x00119BB0 File Offset: 0x00117DB0
|
||||
[Token(Token = "0x6004B33")]
|
||||
[Address(RVA = "0x1B01B60", Offset = "0x1B00560", VA = "0x181B01B60", Slot = "29")]
|
||||
protected override void IKNMALNFPII()
|
||||
{
|
||||
EEHHJODDGKI eehhjoddgki = new EEHHJODDGKI();
|
||||
eehhjoddgki.<AOAPLJOGIKJ>k__BackingField = "Hello, world";
|
||||
ToastListModel toastListModel;
|
||||
toastListModel.AddToast<EEHHJODDGKI>((BIHOKCDKFPC)((uint)1), eehhjoddgki);
|
||||
}
|
||||
|
||||
// Token: 0x06004B34 RID: 19252 RVA: 0x00119BE0 File Offset: 0x00117DE0
|
||||
[Token(Token = "0x6004B34")]
|
||||
[Address(RVA = "0x1B01C00", Offset = "0x1B00600", VA = "0x181B01C00")]
|
||||
public TestToastButtonImpl()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x02000C29 RID: 3113
|
||||
[Token(Token = "0x2000C29")]
|
||||
[Serializable]
|
||||
private class ToastListSpawnerImpl : ControllerImplementation<ToastListModel>
|
||||
{
|
||||
// Token: 0x06004B35 RID: 19253 RVA: 0x00119BF4 File Offset: 0x00117DF4
|
||||
[Token(Token = "0x6004B35")]
|
||||
[Address(RVA = "0x1B028B0", Offset = "0x1B012B0", VA = "0x181B028B0", Slot = "22")]
|
||||
protected override void OFFLOPLJBBG()
|
||||
{
|
||||
base.OFFLOPLJBBG();
|
||||
PrefabSpawner prefabSpawner = this.prefabSpawner;
|
||||
ActionEvent<GameObject, int> instanceSpawnedEvent = prefabSpawner.InstanceSpawnedEvent;
|
||||
Action<GameObject, int> action = new Action(this.LNCMFFOEEPE);
|
||||
ActionEvent<GameObject, int> actionEvent = instanceSpawnedEvent + action;
|
||||
prefabSpawner.InstanceSpawnedEvent = actionEvent;
|
||||
}
|
||||
|
||||
// Token: 0x06004B36 RID: 19254 RVA: 0x00119C38 File Offset: 0x00117E38
|
||||
[Token(Token = "0x6004B36")]
|
||||
[Address(RVA = "0x1B02800", Offset = "0x1B01200", VA = "0x181B02800", Slot = "25")]
|
||||
protected override void MDDAPCCABNK()
|
||||
{
|
||||
base.MDDAPCCABNK();
|
||||
PrefabSpawner prefabSpawner = this.prefabSpawner;
|
||||
ActionEvent<GameObject, int> instanceSpawnedEvent = prefabSpawner.InstanceSpawnedEvent;
|
||||
Action<GameObject, int> action = new Action(this.LNCMFFOEEPE);
|
||||
ActionEvent<GameObject, int> actionEvent = instanceSpawnedEvent - action;
|
||||
prefabSpawner.InstanceSpawnedEvent = actionEvent;
|
||||
}
|
||||
|
||||
// Token: 0x06004B37 RID: 19255 RVA: 0x00119C7C File Offset: 0x00117E7C
|
||||
[Token(Token = "0x6004B37")]
|
||||
[Address(RVA = "0x1B023A0", Offset = "0x1B00DA0", VA = "0x181B023A0", Slot = "27")]
|
||||
protected override void DMAHGBLDMFA()
|
||||
{
|
||||
int num;
|
||||
do
|
||||
{
|
||||
num = 0;
|
||||
this.prefabSpawner.Clear();
|
||||
if (ToastListModelController.ToastListSpawnerImpl.<>c.<>9__3_0 == 0)
|
||||
{
|
||||
ToastListModelController.ToastListSpawnerImpl.<>c.<>9__3_0 = (ToastListModel.EBCEEFFBAEP e) => null;
|
||||
}
|
||||
IEnumerable<GameObject> enumerable2;
|
||||
IEnumerable<GameObject> enumerable = Enumerable.Except<GameObject>(this.prefabSpawner.MPMPOMFCAGM, enumerable2);
|
||||
PrefabSpawner prefabSpawner = this.prefabSpawner;
|
||||
prefabSpawner.Remove(enumerable);
|
||||
if (enumerable != 0)
|
||||
{
|
||||
if (num >= enumerable)
|
||||
{
|
||||
goto IL_61;
|
||||
}
|
||||
num += num;
|
||||
if (num != enumerable)
|
||||
{
|
||||
num++;
|
||||
goto IL_61;
|
||||
}
|
||||
IL_76:
|
||||
int num2;
|
||||
num2 += num2;
|
||||
goto IL_7D;
|
||||
IL_61:
|
||||
num2 = 0;
|
||||
bool flag;
|
||||
while (!flag)
|
||||
{
|
||||
}
|
||||
string text = this.prefabSpawner.ToString();
|
||||
goto IL_76;
|
||||
}
|
||||
IL_7D:
|
||||
if (enumerable != 0)
|
||||
{
|
||||
}
|
||||
if (num != -1)
|
||||
{
|
||||
}
|
||||
}
|
||||
while (num != 0);
|
||||
}
|
||||
|
||||
// Token: 0x06004B38 RID: 19256 RVA: 0x00119D30 File Offset: 0x00117F30
|
||||
[Token(Token = "0x6004B38")]
|
||||
[Address(RVA = "0x1B02710", Offset = "0x1B01110", VA = "0x181B02710")]
|
||||
private void LNCMFFOEEPE(GameObject GCCLEJOGCCE, int EFBDCIJMFGD)
|
||||
{
|
||||
int num = 0;
|
||||
if (num < EFBDCIJMFGD)
|
||||
{
|
||||
num += num;
|
||||
if (num == EFBDCIJMFGD)
|
||||
{
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
num++;
|
||||
}
|
||||
bool subscribeToDefaultModelEvents = ((MIGKLLCFKNJ)this).OFMCMEJOOJN;
|
||||
}
|
||||
|
||||
// Token: 0x06004B39 RID: 19257 RVA: 0x00119D5C File Offset: 0x00117F5C
|
||||
[Token(Token = "0x6004B39")]
|
||||
[Address(RVA = "0x1B02960", Offset = "0x1B01360", VA = "0x181B02960")]
|
||||
public ToastListSpawnerImpl()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x040037FC RID: 14332
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x40037FC")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
||||
private PrefabSpawner prefabSpawner;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user