115 lines
3.0 KiB
C#
115 lines
3.0 KiB
C#
using System;
|
|
using System.Collections;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020003AB RID: 939
|
|
[Token(Token = "0x20003AB")]
|
|
public class StorefrontItemContainer : MonoBehaviour
|
|
{
|
|
// Token: 0x06001E2E RID: 7726 RVA: 0x0007C234 File Offset: 0x0007A434
|
|
[Token(Token = "0x6001E2E")]
|
|
[Address(RVA = "0x97FEB0", Offset = "0x97ECB0", VA = "0x18097FEB0")]
|
|
public void ClearItemVisuals()
|
|
{
|
|
Transform playerAvatarDisplayTransform = this.PlayerAvatarDisplayTransform;
|
|
this.DGOGEABMONM(playerAvatarDisplayTransform);
|
|
Transform centerTransform = this.CenterTransform;
|
|
this.DGOGEABMONM(centerTransform);
|
|
Transform consumableTransform = this.ConsumableTransform;
|
|
this.DGOGEABMONM(consumableTransform);
|
|
Transform equipmentTransform = this.EquipmentTransform;
|
|
this.DGOGEABMONM(equipmentTransform);
|
|
Transform otherTransform = this.OtherTransform;
|
|
this.DGOGEABMONM(otherTransform);
|
|
this.ConsumableSlotTaken = false;
|
|
this.OtherSlotTaken = false;
|
|
}
|
|
|
|
// Token: 0x06001E2F RID: 7727 RVA: 0x0007C298 File Offset: 0x0007A498
|
|
[Token(Token = "0x6001E2F")]
|
|
[Address(RVA = "0x97FF20", Offset = "0x97ED20", VA = "0x18097FF20")]
|
|
private void DGOGEABMONM(Transform OIFLDNBGJOH)
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
int num2 = 0;
|
|
if (!(OIFLDNBGJOH != num2))
|
|
{
|
|
break;
|
|
}
|
|
IEnumerator enumerator = OIFLDNBGJOH.GetEnumerator();
|
|
GameObject gameObject;
|
|
if (enumerator != 0)
|
|
{
|
|
if (enumerator == 0 || enumerator == 0)
|
|
{
|
|
goto IL_37;
|
|
}
|
|
global::UnityEngine.Object.Destroy(gameObject);
|
|
}
|
|
if (gameObject != 0)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
return;
|
|
IL_37:
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x06001E30 RID: 7728 RVA: 0x0007C2E8 File Offset: 0x0007A4E8
|
|
[Token(Token = "0x6001E30")]
|
|
[Address(RVA = "0x980130", Offset = "0x97EF30", VA = "0x180980130")]
|
|
public StorefrontItemContainer()
|
|
{
|
|
}
|
|
|
|
// Token: 0x040016DE RID: 5854
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x40016DE")]
|
|
public float Scale = 0.75f;
|
|
|
|
// Token: 0x040016DF RID: 5855
|
|
[FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x40016DF")]
|
|
public bool ConsumableSlotTaken;
|
|
|
|
// Token: 0x040016E0 RID: 5856
|
|
[FieldOffset(Offset = "0x1D")]
|
|
[Token(Token = "0x40016E0")]
|
|
public bool EquipmentSlotTaken;
|
|
|
|
// Token: 0x040016E1 RID: 5857
|
|
[FieldOffset(Offset = "0x1E")]
|
|
[Token(Token = "0x40016E1")]
|
|
public bool OtherSlotTaken;
|
|
|
|
// Token: 0x040016E2 RID: 5858
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x40016E2")]
|
|
public Transform PlayerAvatarDisplayTransform;
|
|
|
|
// Token: 0x040016E3 RID: 5859
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x40016E3")]
|
|
public Transform ConsumableTransform;
|
|
|
|
// Token: 0x040016E4 RID: 5860
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x40016E4")]
|
|
public Transform EquipmentTransform;
|
|
|
|
// Token: 0x040016E5 RID: 5861
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x40016E5")]
|
|
public Transform OtherTransform;
|
|
|
|
// Token: 0x040016E6 RID: 5862
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x40016E6")]
|
|
public Transform CenterTransform;
|
|
}
|