85 lines
2.3 KiB
C#
85 lines
2.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Core.Pools;
|
|
|
|
namespace RecRoom.Consumable
|
|
{
|
|
// Token: 0x02002421 RID: 9249
|
|
[Token(Token = "0x2002421")]
|
|
public class CustomKOConsumableEffect : ConsumableEffect
|
|
{
|
|
// Token: 0x0600EB33 RID: 60211 RVA: 0x00360F98 File Offset: 0x0035F198
|
|
[Token(Token = "0x600EB33")]
|
|
[Address(RVA = "0x1D8F660", Offset = "0x1D8E660", VA = "0x181D8F660", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.<CEKFDODGELA>k__BackingField.Add((uint)5);
|
|
}
|
|
|
|
// Token: 0x0600EB34 RID: 60212 RVA: 0x00360FC0 File Offset: 0x0035F1C0
|
|
[Token(Token = "0x600EB34")]
|
|
[Address(RVA = "0x1D8F760", Offset = "0x1D8E760", VA = "0x181D8F760")]
|
|
public CustomKOEffect GetInstanceOfActiveEffect(bool LOGKHBDLICB = true)
|
|
{
|
|
string[] array = this.LDIDFEJLBPK.IAHDANBDAAM();
|
|
int num = 0;
|
|
if (array.Length == num)
|
|
{
|
|
}
|
|
ConsumableManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string text = array[0];
|
|
ConsumableItem orLoadConsumablePrefab = instance.GetOrLoadConsumablePrefab(text);
|
|
int num2 = 0;
|
|
if (orLoadConsumablePrefab != num2)
|
|
{
|
|
if (orLoadConsumablePrefab == 0)
|
|
{
|
|
}
|
|
int num3 = 0;
|
|
if (orLoadConsumablePrefab != num3)
|
|
{
|
|
if (LOGKHBDLICB)
|
|
{
|
|
OOCCCGPICOG[] array2 = this.ACDOAOMJGBF.ToArray();
|
|
int length = array2.Length;
|
|
if (num < length)
|
|
{
|
|
OOCCCGPICOG oocccgpicog = array2[num];
|
|
base.OCFKJPHFMCH(oocccgpicog, 1);
|
|
num++;
|
|
}
|
|
}
|
|
GlobalPool instance2 = GlobalPool.ONCPNMDGGKG;
|
|
CustomKOEffect customKOEffect;
|
|
return customKOEffect;
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600EB35 RID: 60213 RVA: 0x0036106C File Offset: 0x0035F26C
|
|
[Token(Token = "0x600EB35")]
|
|
[Address(RVA = "0x1D8F6C0", Offset = "0x1D8E6C0", VA = "0x181D8F6C0")]
|
|
private void GJPJPHBFGNC()
|
|
{
|
|
OOCCCGPICOG[] array = this.ACDOAOMJGBF.ToArray();
|
|
int num = 0;
|
|
int length = array.Length;
|
|
if (num < length)
|
|
{
|
|
OOCCCGPICOG oocccgpicog = array[num];
|
|
base.OCFKJPHFMCH(oocccgpicog, 1);
|
|
num++;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600EB36 RID: 60214 RVA: 0x003610AC File Offset: 0x0035F2AC
|
|
[Token(Token = "0x600EB36")]
|
|
[Address(RVA = "0x1D8F9E0", Offset = "0x1D8E9E0", VA = "0x181D8F9E0")]
|
|
public CustomKOConsumableEffect()
|
|
{
|
|
}
|
|
}
|
|
}
|