223 lines
5.6 KiB
C#
223 lines
5.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000C4C RID: 3148
|
|
public class ColorVault : MonoBehaviour
|
|
{
|
|
// Token: 0x06018C0B RID: 101387 RVA: 0x006D80A0 File Offset: 0x006D62A0
|
|
public ColorVault.ColorToGuid MDKLGCGILIL(string OMHCIECBFMO)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(OMHCIECBFMO))
|
|
{
|
|
return this.DMGMCFMDPFF[OMHCIECBFMO];
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06018C0C RID: 101388 RVA: 0x006D80C4 File Offset: 0x006D62C4
|
|
public ColorVault.ColorToGuid PAJDLACLFLA(string OMHCIECBFMO)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(OMHCIECBFMO))
|
|
{
|
|
return this.DMGMCFMDPFF[OMHCIECBFMO];
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06018C0D RID: 101389 RVA: 0x006D80E8 File Offset: 0x006D62E8
|
|
public ColorVault.ColorToGuid ENOLBFCHJOM(string OMHCIECBFMO)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(OMHCIECBFMO))
|
|
{
|
|
return this.DMGMCFMDPFF[OMHCIECBFMO];
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06018C0E RID: 101390 RVA: 0x006D810C File Offset: 0x006D630C
|
|
private void INGMCGGJGMA()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + "Couldn't call DestroyAll() as only the master client is allowed to call this." + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C0F RID: 101391 RVA: 0x006D81A4 File Offset: 0x006D63A4
|
|
public ColorVault.ColorToGuid Find(string OMHCIECBFMO)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(OMHCIECBFMO))
|
|
{
|
|
return this.DMGMCFMDPFF[OMHCIECBFMO];
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06018C10 RID: 101392 RVA: 0x006D81C8 File Offset: 0x006D63C8
|
|
private void PAKPLLPDIOG()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + "time" + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C12 RID: 101394 RVA: 0x006D8280 File Offset: 0x006D6480
|
|
private void DLCHNOFPONJ()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + "Failed to InstantiateSceneObject prefab: " + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C13 RID: 101395 RVA: 0x006D8318 File Offset: 0x006D6518
|
|
private void POMCHIPOPEA()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + "{0} ({1})" + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C14 RID: 101396 RVA: 0x006D83B0 File Offset: 0x006D65B0
|
|
private void MICFHMAIGIB()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + "{0}v1/avoidJuniors" + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C15 RID: 101397 RVA: 0x006D8448 File Offset: 0x006D6648
|
|
private void JFFLHAMMGAH()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + "PS4PlatformManager: CheckPlus failed: " + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C16 RID: 101398 RVA: 0x006D84E0 File Offset: 0x006D66E0
|
|
private void OLEBPMMFNIF()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + "Updating..." + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C17 RID: 101399 RVA: 0x006D8578 File Offset: 0x006D6778
|
|
public ColorVault.ColorToGuid FCMEFHCAAML(string OMHCIECBFMO)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(OMHCIECBFMO))
|
|
{
|
|
return this.DMGMCFMDPFF[OMHCIECBFMO];
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x06018C18 RID: 101400 RVA: 0x006D859C File Offset: 0x006D679C
|
|
private void AHLMADACOLB()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + "speed" + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C19 RID: 101401 RVA: 0x006D8634 File Offset: 0x006D6834
|
|
private void Awake()
|
|
{
|
|
foreach (ColorVault.ColorToGuid colorToGuid in this.Colors)
|
|
{
|
|
if (this.DMGMCFMDPFF.ContainsKey(colorToGuid.guidString))
|
|
{
|
|
Debug.LogError(this + " vault has duplicate guid for colors : " + colorToGuid.guidString);
|
|
}
|
|
else
|
|
{
|
|
this.DMGMCFMDPFF.Add(colorToGuid.guidString, colorToGuid);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x04004347 RID: 17223
|
|
[Tooltip("Used only for decorative purposes.")]
|
|
public string Label = "My Vault";
|
|
|
|
// Token: 0x04004348 RID: 17224
|
|
public List<ColorVault.ColorToGuid> Colors;
|
|
|
|
// Token: 0x04004349 RID: 17225
|
|
private Dictionary<string, ColorVault.ColorToGuid> DMGMCFMDPFF = new Dictionary<string, ColorVault.ColorToGuid>();
|
|
|
|
// Token: 0x02000C4D RID: 3149
|
|
[Serializable]
|
|
public class ColorToGuid
|
|
{
|
|
// Token: 0x0400434A RID: 17226
|
|
public string guidString;
|
|
|
|
// Token: 0x0400434B RID: 17227
|
|
public Color color;
|
|
}
|
|
}
|