63 lines
1.6 KiB
C#
63 lines
1.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
|
|
namespace RecRoom.Activities
|
|
{
|
|
// Token: 0x0200268C RID: 9868
|
|
[Token(Token = "0x200268C")]
|
|
[StructLayout(3)]
|
|
public class HoloTargetLevel : MonoBehaviourPun
|
|
{
|
|
// Token: 0x0601120A RID: 70154 RVA: 0x0040B368 File Offset: 0x00409568
|
|
[Token(Token = "0x601120A")]
|
|
[Address(RVA = "0x11066D0", Offset = "0x11050D0", VA = "0x1811066D0")]
|
|
public void Initialize()
|
|
{
|
|
HoloTarget[] componentsInChildren = base.GetComponentsInChildren<HoloTarget>();
|
|
this.Targets = componentsInChildren;
|
|
int num = 0;
|
|
int length = componentsInChildren.Length;
|
|
if (num < length)
|
|
{
|
|
componentsInChildren[num].Initialize();
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601120B RID: 70155 RVA: 0x0040B3A8 File Offset: 0x004095A8
|
|
[Token(Token = "0x601120B")]
|
|
[Address(RVA = "0x1106760", Offset = "0x1105160", VA = "0x181106760")]
|
|
public void StartLevel()
|
|
{
|
|
if (PhotonNetwork.IsMasterClient)
|
|
{
|
|
HoloTarget[] targets = this.Targets;
|
|
int num = 0;
|
|
int length = targets.Length;
|
|
if (num < length)
|
|
{
|
|
DJHELPHHAEN holoTargetStateMachine = targets[num].HoloTargetStateMachine;
|
|
int num2 = 0;
|
|
holoTargetStateMachine.PIEOGAPMGIH((ushort)num2);
|
|
num++;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601120C RID: 70156 RVA: 0x0040B3F8 File Offset: 0x004095F8
|
|
[Token(Token = "0x601120C")]
|
|
[Address(RVA = "0x6A4030", Offset = "0x6A2A30", VA = "0x1806A4030")]
|
|
public HoloTargetLevel()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400B647 RID: 46663
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400B647")]
|
|
[NonSerialized]
|
|
public HoloTarget[] Targets;
|
|
}
|
|
}
|