This commit is contained in:
niko
2026-04-12 16:51:38 +02:00
parent 1b6f6d81d0
commit c12fbe3fc6
17828 changed files with 2994770 additions and 0 deletions
@@ -0,0 +1,105 @@
using System;
using Cpp2IlInjected;
using Pathfinding.RVO;
using UnityEngine;
namespace RecRoom.Core.Creation.Holotars
{
// Token: 0x020033CE RID: 13262
[Token(Token = "0x20033CE")]
[LHNHBCHKKBA]
public class HolotarDataOverride : MonoBehaviour
{
// Token: 0x06016BA6 RID: 93094 RVA: 0x005477C0 File Offset: 0x005459C0
[Token(Token = "0x6016BA6")]
[Address(RVA = "0x192C080", Offset = "0x192B080", VA = "0x18192C080")]
private void Awake()
{
this.holotar.LoadFromResources = true;
this.tool.DisablePickup(this);
this.tool.KinematicOnReset = true;
this.tool.KinematicOnSleep = true;
}
// Token: 0x06016BA7 RID: 93095 RVA: 0x00547804 File Offset: 0x00545A04
[Token(Token = "0x6016BA7")]
[Address(RVA = "0x192C380", Offset = "0x192B380", VA = "0x18192C380")]
private void Start()
{
if (KKPBCOOONNK.BNNCCCFFALC)
{
KLLMCPFPIIE<bool> hdlpbfpeclg = this.holotar.HDLPBFPECLG;
this.MasterPickRandomAsset();
}
}
// Token: 0x06016BA8 RID: 93096 RVA: 0x00547834 File Offset: 0x00545A34
[Token(Token = "0x6016BA8")]
[Address(RVA = "0x192C0E0", Offset = "0x192B0E0", VA = "0x18192C0E0")]
public void MasterPickRandomAsset()
{
int length = this.resourceAssets.Length;
if (length == 0)
{
object[] array = new object[1];
GameObject gameObject = this.holotar.gameObject;
if (gameObject != 0)
{
}
array[0] = gameObject;
throw new NullReferenceException();
}
int num = global::UnityEngine.Random.Range(0, length);
TextAsset textAsset = this.resourceAssets[num];
int num2 = 0;
if (!(textAsset != num2))
{
object[] array2 = new object[1];
GameObject gameObject2 = this.holotar.gameObject;
if (gameObject2 != 0)
{
}
array2[0] = gameObject2;
Debug.LogErrorFormat("Unable to load data for Holotar {0} from resources: Asset is null", array2);
return;
}
TextAsset[] array3 = this.resourceAssets;
Holotar holotar = this.holotar;
string name = array3[num].name;
Vector2 calculatedTargetPoint = ((IAgent)holotar).CalculatedTargetPoint;
}
// Token: 0x06016BA9 RID: 93097 RVA: 0x005478F8 File Offset: 0x00545AF8
[Token(Token = "0x6016BA9")]
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
public HolotarDataOverride()
{
}
// Token: 0x0400ECE7 RID: 60647
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400ECE7")]
[SerializeField]
private TextAsset[] resourceAssets;
// Token: 0x0400ECE8 RID: 60648
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400ECE8")]
[SerializeField]
private bool billboardPlayback;
// Token: 0x0400ECE9 RID: 60649
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400ECE9")]
[SerializeField]
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
private Holotar holotar;
// Token: 0x0400ECEA RID: 60650
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400ECEA")]
[SerializeField]
[NKNLDEIPALE(FHBJCBPFODN.Self, false, false, false)]
private Tool tool;
}
}