2037 lines
66 KiB
C#
2037 lines
66 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using RecNet;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
// Token: 0x02000C4E RID: 3150
|
|
public class EquipmentSpawner : MonoBehaviour
|
|
{
|
|
// Token: 0x06018C1B RID: 101403 RVA: 0x006D86D4 File Offset: 0x006D68D4
|
|
private IEnumerator FLOFEHMGJAN()
|
|
{
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C1C RID: 101404 RVA: 0x006D86F0 File Offset: 0x006D68F0
|
|
private void DHGGGLJBICA()
|
|
{
|
|
Gizmos.color = Color.green;
|
|
Gizmos.DrawWireSphere(this.changingAreaCenter.position, this.changingAreaRadius);
|
|
}
|
|
|
|
// Token: 0x06018C1D RID: 101405 RVA: 0x006D8714 File Offset: 0x006D6914
|
|
public void BLICKCAALLC(Button ILOFENDAFLM)
|
|
{
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
if (this.OMKJKMNFFED(spawnedEquipmentDrawer, ILOFENDAFLM))
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
this.MKENLGBODGB(this.TutorialDrawer, ILOFENDAFLM);
|
|
}
|
|
|
|
// Token: 0x06018C1E RID: 101406 RVA: 0x006D878C File Offset: 0x006D698C
|
|
public void PlayOpenDrawerAudio()
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
}
|
|
|
|
// Token: 0x06018C1F RID: 101407 RVA: 0x006D87A8 File Offset: 0x006D69A8
|
|
public void JPDAACFIING()
|
|
{
|
|
this.TutorialDrawer.SelectButton.gameObject.SetActive(true);
|
|
foreach (OutfitSelection outfitSelection in NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.OCOOGGKBEJL)
|
|
{
|
|
if (OutfitSelection.OAEIGBHBBCH(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
Outfit outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LGLBIBCLLEG(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Checklist);
|
|
if (outfit != null && outfit.BKDFLNGCINH != null)
|
|
{
|
|
if (outfit.KKHABAOKFAK().ACAJJPKPKBH != null)
|
|
{
|
|
outfit.MHJGPDGPAMN().ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
outfit.KKHABAOKFAK().NIINOABKAPJ = false;
|
|
this.TutorialDrawer.OOIKNCPENMA(outfit.MHJGPDGPAMN());
|
|
}
|
|
}
|
|
}
|
|
this.TutorialDrawer.DLEGJCLGEJC();
|
|
}
|
|
|
|
// Token: 0x06018C20 RID: 101408 RVA: 0x006D88C0 File Offset: 0x006D6AC0
|
|
private void PDDLPPHNCDF(OutfitSelection KJIMHKNFGDB)
|
|
{
|
|
Outfit outfit = Outfit.LocalFind(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.Minitar);
|
|
if (outfit == null)
|
|
{
|
|
Outfit outfit2 = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LocalSpawnOutfitTool(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (outfit2 != null && outfit2.KKHABAOKFAK() != null)
|
|
{
|
|
this.NGAHEHDEOKC(outfit2.KKHABAOKFAK());
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C21 RID: 101409 RVA: 0x006D8918 File Offset: 0x006D6B18
|
|
private void PMPFCAMPAKP(MPPNEBFNBKJ LAFAHPMBKCL)
|
|
{
|
|
Tool tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalFind(LAFAHPMBKCL, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (tool == null)
|
|
{
|
|
tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalSpawnEquipment(LAFAHPMBKCL, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (tool != null)
|
|
{
|
|
this.DAEIPFMMMGE(tool);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C22 RID: 101410 RVA: 0x006D8960 File Offset: 0x006D6B60
|
|
public void KBOODOCBLOL(Button ILOFENDAFLM)
|
|
{
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
if (this.IGDIEDJIPGJ(spawnedEquipmentDrawer, ILOFENDAFLM))
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
this.JBAMAEOAPGD(this.TutorialDrawer, ILOFENDAFLM);
|
|
}
|
|
|
|
// Token: 0x06018C23 RID: 101411 RVA: 0x006D89D8 File Offset: 0x006D6BD8
|
|
public void MECHPBBAOGM()
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
}
|
|
|
|
// Token: 0x06018C24 RID: 101412 RVA: 0x006D89F4 File Offset: 0x006D6BF4
|
|
private IEnumerator MKNFHHJKGJE()
|
|
{
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
spawnedEquipmentDrawer = enumerator.Current;
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C25 RID: 101413 RVA: 0x006D8A10 File Offset: 0x006D6C10
|
|
private void MBJAEHLCMGD()
|
|
{
|
|
Canvas componentInChildren = base.GetComponentInChildren<Canvas>(false);
|
|
if (componentInChildren != null && ViveControllerInput.Instance != null)
|
|
{
|
|
componentInChildren.worldCamera = ViveControllerInput.Instance.ControllerCamera;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C26 RID: 101414 RVA: 0x006D8A54 File Offset: 0x006D6C54
|
|
private void OGFHCKJALBE()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI -= this.ADOBNJGCJCE;
|
|
}
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.GGCLHMMONJE -= this.FAAHPOKONIK;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C27 RID: 101415 RVA: 0x006D8AB0 File Offset: 0x006D6CB0
|
|
private void Awake()
|
|
{
|
|
Canvas componentInChildren = base.GetComponentInChildren<Canvas>(true);
|
|
if (componentInChildren != null && ViveControllerInput.Instance != null)
|
|
{
|
|
componentInChildren.worldCamera = ViveControllerInput.Instance.ControllerCamera;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C28 RID: 101416 RVA: 0x006D8AF4 File Offset: 0x006D6CF4
|
|
private void MBGIBNLGCAE(OutfitSelection KJIMHKNFGDB)
|
|
{
|
|
Outfit outfit = Outfit.JCLKJDOBAPE(KJIMHKNFGDB, (PlayerSpawnedEquipment.EJADIIIMOPI)7);
|
|
if (outfit == null)
|
|
{
|
|
Outfit outfit2 = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LGLBIBCLLEG(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.Checklist);
|
|
if (outfit2 != null && outfit2.BKDFLNGCINH != null)
|
|
{
|
|
this.GJJNIDEGGPG(outfit2.MHJGPDGPAMN());
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C29 RID: 101417 RVA: 0x006D8B4C File Offset: 0x006D6D4C
|
|
private void ADOBNJGCJCE(OutfitSelection KJIMHKNFGDB)
|
|
{
|
|
Outfit outfit = Outfit.LocalFind(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (outfit == null)
|
|
{
|
|
Outfit outfit2 = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LocalSpawnOutfitTool(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (outfit2 != null && outfit2.BKDFLNGCINH != null)
|
|
{
|
|
this.DAEIPFMMMGE(outfit2.BKDFLNGCINH);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C2A RID: 101418 RVA: 0x006D8BA4 File Offset: 0x006D6DA4
|
|
private IEnumerator INMCJEABBMK()
|
|
{
|
|
while (!NetworkedSingletonMonoBehaviour<OutfitManager>.BOCFJBNNEFP || !NetworkedSingletonMonoBehaviour<EquipmentManager>.BOCFJBNNEFP || !Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.CKLLKCIKBKI = true;
|
|
if (this.supportsOutfits)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI += this.ADOBNJGCJCE;
|
|
int num = 0;
|
|
foreach (OutfitSelection outfitSelection in NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.HHJDFDBJAIG)
|
|
{
|
|
if (OutfitSelection.NOGAGKDDFDB(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
Outfit outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LocalSpawnOutfitTool(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (outfit != null && outfit.BKDFLNGCINH != null)
|
|
{
|
|
this.DAEIPFMMMGE(outfit.BKDFLNGCINH);
|
|
}
|
|
if (++num % 5 == 0)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (this.supportsEquipments)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.GGCLHMMONJE += this.PMPFCAMPAKP;
|
|
foreach (MPPNEBFNBKJ mppnebfnbkj in NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.KPEFCLLEFOK)
|
|
{
|
|
Tool tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalSpawnEquipment(mppnebfnbkj, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (tool != null)
|
|
{
|
|
this.DAEIPFMMMGE(tool);
|
|
}
|
|
yield return null;
|
|
}
|
|
}
|
|
this.CKLLKCIKBKI = false;
|
|
base.StartCoroutine(this.DGLEIFDPGAJ());
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C2B RID: 101419 RVA: 0x006D8BC0 File Offset: 0x006D6DC0
|
|
private IEnumerator ABDBECMIGJI()
|
|
{
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
spawnedEquipmentDrawer = enumerator.Current;
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C2C RID: 101420 RVA: 0x006D8BDC File Offset: 0x006D6DDC
|
|
public void MJNONCBMFKP(Button ILOFENDAFLM)
|
|
{
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
if (this.IGDIEDJIPGJ(spawnedEquipmentDrawer, ILOFENDAFLM))
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
this.MKENLGBODGB(this.TutorialDrawer, ILOFENDAFLM);
|
|
}
|
|
|
|
// Token: 0x06018C2D RID: 101421 RVA: 0x006D8C54 File Offset: 0x006D6E54
|
|
public bool GNPNHBNHNEH(Player JEFGMHBLLKI)
|
|
{
|
|
float num = this.changingAreaRadius * this.changingAreaRadius;
|
|
return (JEFGMHBLLKI.BGOGBEPJGPJ.transform.position - this.changingAreaCenter.position).sqrMagnitude > num;
|
|
}
|
|
|
|
// Token: 0x06018C2E RID: 101422 RVA: 0x006D8CA0 File Offset: 0x006D6EA0
|
|
private void OnDrawGizmos()
|
|
{
|
|
Gizmos.color = Color.green;
|
|
Gizmos.DrawWireSphere(this.changingAreaCenter.position, this.changingAreaRadius);
|
|
}
|
|
|
|
// Token: 0x06018C2F RID: 101423 RVA: 0x006D8CC4 File Offset: 0x006D6EC4
|
|
public void MPAPEMPMBHF()
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
}
|
|
|
|
// Token: 0x06018C30 RID: 101424 RVA: 0x006D8CE0 File Offset: 0x006D6EE0
|
|
private void JPILDHMKPBD()
|
|
{
|
|
Gizmos.color = Color.green;
|
|
Gizmos.DrawWireSphere(this.changingAreaCenter.position, this.changingAreaRadius);
|
|
}
|
|
|
|
// Token: 0x06018C31 RID: 101425 RVA: 0x006D8D04 File Offset: 0x006D6F04
|
|
private void FAAHPOKONIK(MPPNEBFNBKJ LAFAHPMBKCL)
|
|
{
|
|
Tool tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalFind(LAFAHPMBKCL, PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox);
|
|
if (tool == null)
|
|
{
|
|
tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalSpawnEquipment(LAFAHPMBKCL, PlayerSpawnedEquipment.EJADIIIMOPI.None);
|
|
if (tool != null)
|
|
{
|
|
this.NGAHEHDEOKC(tool);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C32 RID: 101426 RVA: 0x006D8D4C File Offset: 0x006D6F4C
|
|
private bool FHOFEKLGEMH(SpawnedEquipmentDrawer FMAADOIOOIM, Button ILOFENDAFLM)
|
|
{
|
|
if (FMAADOIOOIM != null && FMAADOIOOIM.SelectButton == ILOFENDAFLM && this.IsPlayerInChangingArea(Player.LocalPlayer))
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
FMAADOIOOIM.GDECPDICLIF = !FMAADOIOOIM.GDECPDICLIF;
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06018C33 RID: 101427 RVA: 0x006D8DB0 File Offset: 0x006D6FB0
|
|
public bool FCAHFKBDBFL(Player JEFGMHBLLKI)
|
|
{
|
|
float num = this.changingAreaRadius * this.changingAreaRadius;
|
|
return (JEFGMHBLLKI.HFDJIFFPEFM().transform.position - this.changingAreaCenter.position).sqrMagnitude <= num;
|
|
}
|
|
|
|
// Token: 0x06018C34 RID: 101428 RVA: 0x006D8DFC File Offset: 0x006D6FFC
|
|
public bool DGCMPBACMKK(Player JEFGMHBLLKI)
|
|
{
|
|
float num = this.changingAreaRadius * this.changingAreaRadius;
|
|
return (JEFGMHBLLKI.AJHHFNCFKNF().transform.position - this.changingAreaCenter.position).sqrMagnitude > num;
|
|
}
|
|
|
|
// Token: 0x06018C35 RID: 101429 RVA: 0x006D8E48 File Offset: 0x006D7048
|
|
private void IHAHMMGILNA(OutfitSelection KJIMHKNFGDB)
|
|
{
|
|
Outfit outfit = Outfit.LocalFind(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox);
|
|
if (outfit == null)
|
|
{
|
|
Outfit outfit2 = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LGLBIBCLLEG(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox);
|
|
if (outfit2 != null && outfit2.BKDFLNGCINH != null)
|
|
{
|
|
this.OFAPMHNMLGP(outfit2.MHJGPDGPAMN());
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C36 RID: 101430 RVA: 0x006D8EA0 File Offset: 0x006D70A0
|
|
private void PPCCKMMADGK()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI -= this.IHAHMMGILNA;
|
|
}
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.OGBIGIJJMFE(new Action<MPPNEBFNBKJ>(this.HCGKLLEIHGL));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C37 RID: 101431 RVA: 0x006D8EFC File Offset: 0x006D70FC
|
|
public void MEEKAPECLBL()
|
|
{
|
|
this.TutorialDrawer.SelectButton.gameObject.SetActive(true);
|
|
foreach (OutfitSelection outfitSelection in NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.OCOOGGKBEJL)
|
|
{
|
|
if (OutfitSelection.NOGAGKDDFDB(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
Outfit outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LGLBIBCLLEG(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Minitar);
|
|
if (outfit != null && outfit.KKHABAOKFAK() != null)
|
|
{
|
|
if (outfit.KKHABAOKFAK().ACAJJPKPKBH != null)
|
|
{
|
|
outfit.MHJGPDGPAMN().ACAJJPKPKBH.SuppressAnimation = false;
|
|
}
|
|
outfit.BKDFLNGCINH.NIINOABKAPJ = true;
|
|
this.TutorialDrawer.NELFMMKBNIA(outfit.MHJGPDGPAMN());
|
|
}
|
|
}
|
|
}
|
|
this.TutorialDrawer.ALPKOGINLOK();
|
|
}
|
|
|
|
// Token: 0x06018C38 RID: 101432 RVA: 0x006D9014 File Offset: 0x006D7214
|
|
private bool IGDIEDJIPGJ(SpawnedEquipmentDrawer FMAADOIOOIM, Button ILOFENDAFLM)
|
|
{
|
|
if (FMAADOIOOIM != null && FMAADOIOOIM.SelectButton == ILOFENDAFLM && this.NPCBMHMNOFA(Player.LocalPlayer))
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
FMAADOIOOIM.GDJDPHOPJNH(FMAADOIOOIM.GDECPDICLIF);
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06018C39 RID: 101433 RVA: 0x006D9078 File Offset: 0x006D7278
|
|
private IEnumerator FJFAMKHJGLP()
|
|
{
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
spawnedEquipmentDrawer = enumerator.Current;
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C3A RID: 101434 RVA: 0x006D9094 File Offset: 0x006D7294
|
|
private IEnumerator DGLEIFDPGAJ()
|
|
{
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
spawnedEquipmentDrawer = enumerator.Current;
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C3B RID: 101435 RVA: 0x006D90B0 File Offset: 0x006D72B0
|
|
private void PPALIOCEOEI(Tool ENBMEDIFBLM)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI ejadiiimopi = ((!(ENBMEDIFBLM.GEONLHPMMPG != null)) ? PlayerSpawnedEquipment.EJADIIIMOPI.Minitar : ENBMEDIFBLM.GEONLHPMMPG.FMHDHLOEDPE);
|
|
if (ejadiiimopi == (PlayerSpawnedEquipment.EJADIIIMOPI)7)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = this.BHHCPONHGKN(ENBMEDIFBLM);
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
if (ENBMEDIFBLM.ACAJJPKPKBH != null)
|
|
{
|
|
ENBMEDIFBLM.ACAJJPKPKBH.SuppressAnimation = false;
|
|
}
|
|
ENBMEDIFBLM.NIINOABKAPJ = false;
|
|
spawnedEquipmentDrawer.OOIKNCPENMA(ENBMEDIFBLM);
|
|
if (!this.CKLLKCIKBKI)
|
|
{
|
|
spawnedEquipmentDrawer.CAPLJEONPHN();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("IgnoreBuffer" + ENBMEDIFBLM + "Event Hit");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C3C RID: 101436 RVA: 0x006D9154 File Offset: 0x006D7354
|
|
private void DAEIPFMMMGE(Tool ENBMEDIFBLM)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI ejadiiimopi = ((!(ENBMEDIFBLM.GEONLHPMMPG != null)) ? PlayerSpawnedEquipment.EJADIIIMOPI.None : ENBMEDIFBLM.GEONLHPMMPG.FMHDHLOEDPE);
|
|
if (ejadiiimopi == PlayerSpawnedEquipment.EJADIIIMOPI.Drawer)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = this.BKACDHDLLID(ENBMEDIFBLM);
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
if (ENBMEDIFBLM.ACAJJPKPKBH != null)
|
|
{
|
|
ENBMEDIFBLM.ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
ENBMEDIFBLM.NIINOABKAPJ = false;
|
|
spawnedEquipmentDrawer.AddTool(ENBMEDIFBLM);
|
|
if (!this.CKLLKCIKBKI)
|
|
{
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("Missing Drawer for Tool : " + ENBMEDIFBLM + ".\nMake sure you have the correct drawer types or names.");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C3D RID: 101437 RVA: 0x006D91F8 File Offset: 0x006D73F8
|
|
private bool JBAMAEOAPGD(SpawnedEquipmentDrawer FMAADOIOOIM, Button ILOFENDAFLM)
|
|
{
|
|
if (FMAADOIOOIM != null && FMAADOIOOIM.SelectButton == ILOFENDAFLM && this.NPCBMHMNOFA(Player.LocalPlayer))
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
FMAADOIOOIM.EPGKNEGLPIA(!FMAADOIOOIM.GDECPDICLIF);
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06018C3E RID: 101438 RVA: 0x006D925C File Offset: 0x006D745C
|
|
public void OAPIHNKCHCG(Button ILOFENDAFLM)
|
|
{
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
if (this.GKMHCDLMCBL(spawnedEquipmentDrawer, ILOFENDAFLM))
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
this.MKENLGBODGB(this.TutorialDrawer, ILOFENDAFLM);
|
|
}
|
|
|
|
// Token: 0x06018C3F RID: 101439 RVA: 0x006D92D4 File Offset: 0x006D74D4
|
|
private IEnumerator Start()
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
base.StartCoroutine(this.NCCDJFOJDFD());
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
spawnedEquipmentDrawer.SelectButton.interactable = true;
|
|
spawnedEquipmentDrawer.CDIHDEEHDHC = this.pagingSound;
|
|
spawnedEquipmentDrawer.FJPCLANNPOK = this;
|
|
if (this.equipmentFavoriteUI != null)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer2 = spawnedEquipmentDrawer;
|
|
spawnedEquipmentDrawer2.DrawerSelected = (Action<bool>)Delegate.Combine(spawnedEquipmentDrawer2.DrawerSelected, new Action<bool>(this.EFGAJGNKHDI));
|
|
}
|
|
}
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C40 RID: 101440 RVA: 0x006D92F0 File Offset: 0x006D74F0
|
|
private SpawnedEquipmentDrawer FLKNLHOAPJB(Tool AOHFJNNAMHF)
|
|
{
|
|
EquipmentSpawner.OBKMEEEFEBO obkmeeefebo = new EquipmentSpawner.OBKMEEEFEBO();
|
|
obkmeeefebo.NKLKIDFEIJB = string.Empty;
|
|
OutfitManager.AFPKFANHPHO afpkfanhpho = OutfitManager.AFPKFANHPHO.None;
|
|
bool flag = true;
|
|
Outfit component = AOHFJNNAMHF.GetComponent<Outfit>();
|
|
if (component != null)
|
|
{
|
|
flag = true;
|
|
obkmeeefebo.NKLKIDFEIJB = component.EEHABAFLIBF.outfitItem.PreferredDrawerName;
|
|
afpkfanhpho = component.LCNBEJIGBBB().outfitItem.Type;
|
|
}
|
|
else
|
|
{
|
|
ToolSkinMapper component2 = AOHFJNNAMHF.GetComponent<ToolSkinMapper>();
|
|
if (component2 != null)
|
|
{
|
|
obkmeeefebo.NKLKIDFEIJB = component2.PrefabName;
|
|
}
|
|
}
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = null;
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer2 in this.Drawers)
|
|
{
|
|
if (flag)
|
|
{
|
|
if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.Name == obkmeeefebo.NKLKIDFEIJB)
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
if (spawnedEquipmentDrawer == null && spawnedEquipmentDrawer2.OutfitTypes.Contains(afpkfanhpho))
|
|
{
|
|
spawnedEquipmentDrawer = spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
else if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.SupportedEquipments.Any(new Func<ToolSkinMapper, bool>(obkmeeefebo.DEJCJJIKHJL)))
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
if (spawnedEquipmentDrawer == null)
|
|
{
|
|
spawnedEquipmentDrawer = this.Drawers[1];
|
|
}
|
|
return spawnedEquipmentDrawer;
|
|
}
|
|
|
|
// Token: 0x06018C41 RID: 101441 RVA: 0x006D9478 File Offset: 0x006D7678
|
|
public void LHIPPGMBLFG(Button ILOFENDAFLM)
|
|
{
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
if (this.IGDIEDJIPGJ(spawnedEquipmentDrawer, ILOFENDAFLM))
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
this.KAELGAKCDNC(this.TutorialDrawer, ILOFENDAFLM);
|
|
}
|
|
|
|
// Token: 0x06018C42 RID: 101442 RVA: 0x006D94F0 File Offset: 0x006D76F0
|
|
private IEnumerator MBIMMOBPCBM()
|
|
{
|
|
while (!NetworkedSingletonMonoBehaviour<OutfitManager>.BOCFJBNNEFP || !NetworkedSingletonMonoBehaviour<EquipmentManager>.BOCFJBNNEFP || !Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.CKLLKCIKBKI = true;
|
|
if (this.supportsOutfits)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI += this.ADOBNJGCJCE;
|
|
num = 0;
|
|
enumerator = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.HHJDFDBJAIG.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
outfitSelection = enumerator.Current;
|
|
if (OutfitSelection.NOGAGKDDFDB(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LocalSpawnOutfitTool(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (outfit != null && outfit.BKDFLNGCINH != null)
|
|
{
|
|
this.DAEIPFMMMGE(outfit.BKDFLNGCINH);
|
|
}
|
|
if (++num % 5 == 0)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
}
|
|
if (this.supportsEquipments)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.GGCLHMMONJE += this.PMPFCAMPAKP;
|
|
enumerator2 = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.KPEFCLLEFOK.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator2.MoveNext())
|
|
{
|
|
mppnebfnbkj = enumerator2.Current;
|
|
tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalSpawnEquipment(mppnebfnbkj, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (tool != null)
|
|
{
|
|
this.DAEIPFMMMGE(tool);
|
|
}
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator2).Dispose();
|
|
}
|
|
}
|
|
this.CKLLKCIKBKI = false;
|
|
base.StartCoroutine(this.DGLEIFDPGAJ());
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C43 RID: 101443 RVA: 0x006D950C File Offset: 0x006D770C
|
|
private void OEPDKEAKGNB(Tool ENBMEDIFBLM)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI ejadiiimopi = ((!(ENBMEDIFBLM.GEONLHPMMPG != null)) ? PlayerSpawnedEquipment.EJADIIIMOPI.None : ENBMEDIFBLM.GEONLHPMMPG.FMHDHLOEDPE);
|
|
if (ejadiiimopi == (PlayerSpawnedEquipment.EJADIIIMOPI)8)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = this.BKACDHDLLID(ENBMEDIFBLM);
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
if (ENBMEDIFBLM.ACAJJPKPKBH != null)
|
|
{
|
|
ENBMEDIFBLM.ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
ENBMEDIFBLM.NIINOABKAPJ = true;
|
|
spawnedEquipmentDrawer.OOIKNCPENMA(ENBMEDIFBLM);
|
|
if (!this.CKLLKCIKBKI)
|
|
{
|
|
spawnedEquipmentDrawer.CAPLJEONPHN();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("The host has silenced everybody" + ENBMEDIFBLM + "Round {0} Starting!");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C44 RID: 101444 RVA: 0x006D95B0 File Offset: 0x006D77B0
|
|
private void NCJJJMCPDEH()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI -= this.IHAHMMGILNA;
|
|
}
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.GGCLHMMONJE -= this.FAAHPOKONIK;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C46 RID: 101446 RVA: 0x006D9630 File Offset: 0x006D7830
|
|
private SpawnedEquipmentDrawer HNNCLGLJFEB(Tool AOHFJNNAMHF)
|
|
{
|
|
EquipmentSpawner.OBKMEEEFEBO obkmeeefebo = new EquipmentSpawner.OBKMEEEFEBO();
|
|
obkmeeefebo.NKLKIDFEIJB = string.Empty;
|
|
OutfitManager.AFPKFANHPHO afpkfanhpho = OutfitManager.AFPKFANHPHO.None;
|
|
bool flag = true;
|
|
Outfit component = AOHFJNNAMHF.GetComponent<Outfit>();
|
|
if (component != null)
|
|
{
|
|
flag = false;
|
|
obkmeeefebo.NKLKIDFEIJB = component.LCNBEJIGBBB().outfitItem.PreferredDrawerName;
|
|
afpkfanhpho = component.PKAMMLCHNGH().outfitItem.Type;
|
|
}
|
|
else
|
|
{
|
|
ToolSkinMapper component2 = AOHFJNNAMHF.GetComponent<ToolSkinMapper>();
|
|
if (component2 != null)
|
|
{
|
|
obkmeeefebo.NKLKIDFEIJB = component2.PrefabName;
|
|
}
|
|
}
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = null;
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer2 in this.Drawers)
|
|
{
|
|
if (flag)
|
|
{
|
|
if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.Name == obkmeeefebo.NKLKIDFEIJB)
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
if (spawnedEquipmentDrawer == null && spawnedEquipmentDrawer2.OutfitTypes.Contains(afpkfanhpho))
|
|
{
|
|
spawnedEquipmentDrawer = spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
else if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.SupportedEquipments.Any(new Func<ToolSkinMapper, bool>(obkmeeefebo.BPHNJPMKOEC)))
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
if (spawnedEquipmentDrawer == null)
|
|
{
|
|
spawnedEquipmentDrawer = this.Drawers[1];
|
|
}
|
|
return spawnedEquipmentDrawer;
|
|
}
|
|
|
|
// Token: 0x06018C47 RID: 101447 RVA: 0x006D97B8 File Offset: 0x006D79B8
|
|
private SpawnedEquipmentDrawer BHHCPONHGKN(Tool AOHFJNNAMHF)
|
|
{
|
|
EquipmentSpawner.OBKMEEEFEBO obkmeeefebo = new EquipmentSpawner.OBKMEEEFEBO();
|
|
obkmeeefebo.NKLKIDFEIJB = string.Empty;
|
|
OutfitManager.AFPKFANHPHO afpkfanhpho = OutfitManager.AFPKFANHPHO.None;
|
|
bool flag = false;
|
|
Outfit component = AOHFJNNAMHF.GetComponent<Outfit>();
|
|
if (component != null)
|
|
{
|
|
flag = false;
|
|
obkmeeefebo.NKLKIDFEIJB = component.LCNBEJIGBBB().outfitItem.PreferredDrawerName;
|
|
afpkfanhpho = component.LCNBEJIGBBB().outfitItem.Type;
|
|
}
|
|
else
|
|
{
|
|
ToolSkinMapper component2 = AOHFJNNAMHF.GetComponent<ToolSkinMapper>();
|
|
if (component2 != null)
|
|
{
|
|
obkmeeefebo.NKLKIDFEIJB = component2.PrefabName;
|
|
}
|
|
}
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = null;
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer2 in this.Drawers)
|
|
{
|
|
if (flag)
|
|
{
|
|
if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.Name == obkmeeefebo.NKLKIDFEIJB)
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
if (spawnedEquipmentDrawer == null && spawnedEquipmentDrawer2.OutfitTypes.Contains(afpkfanhpho))
|
|
{
|
|
spawnedEquipmentDrawer = spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
else if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.SupportedEquipments.Any(new Func<ToolSkinMapper, bool>(obkmeeefebo.OGAJFHEKIED)))
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
if (spawnedEquipmentDrawer == null)
|
|
{
|
|
spawnedEquipmentDrawer = this.Drawers[1];
|
|
}
|
|
return spawnedEquipmentDrawer;
|
|
}
|
|
|
|
// Token: 0x06018C48 RID: 101448 RVA: 0x006D9940 File Offset: 0x006D7B40
|
|
private void GJJNIDEGGPG(Tool ENBMEDIFBLM)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI ejadiiimopi = ((!(ENBMEDIFBLM.GEONLHPMMPG != null)) ? PlayerSpawnedEquipment.EJADIIIMOPI.Minitar : ENBMEDIFBLM.GEONLHPMMPG.FMHDHLOEDPE);
|
|
if (ejadiiimopi == PlayerSpawnedEquipment.EJADIIIMOPI.Backpack)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = this.FLKNLHOAPJB(ENBMEDIFBLM);
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
if (ENBMEDIFBLM.ACAJJPKPKBH != null)
|
|
{
|
|
ENBMEDIFBLM.ACAJJPKPKBH.SuppressAnimation = false;
|
|
}
|
|
ENBMEDIFBLM.NIINOABKAPJ = true;
|
|
spawnedEquipmentDrawer.LOBPJMGADFH(ENBMEDIFBLM);
|
|
if (!this.CKLLKCIKBKI)
|
|
{
|
|
spawnedEquipmentDrawer.DLEGJCLGEJC();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("vr_interaction_system_right_hand.png" + ENBMEDIFBLM + "RpcPlayerSwitchedActivity");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C49 RID: 101449 RVA: 0x006D99E4 File Offset: 0x006D7BE4
|
|
private SpawnedEquipmentDrawer BAFAJCMGNNP(Tool AOHFJNNAMHF)
|
|
{
|
|
EquipmentSpawner.OBKMEEEFEBO obkmeeefebo = new EquipmentSpawner.OBKMEEEFEBO();
|
|
obkmeeefebo.NKLKIDFEIJB = string.Empty;
|
|
OutfitManager.AFPKFANHPHO afpkfanhpho = OutfitManager.AFPKFANHPHO.None;
|
|
bool flag = true;
|
|
Outfit component = AOHFJNNAMHF.GetComponent<Outfit>();
|
|
if (component != null)
|
|
{
|
|
flag = true;
|
|
obkmeeefebo.NKLKIDFEIJB = component.LCNBEJIGBBB().outfitItem.PreferredDrawerName;
|
|
afpkfanhpho = component.PKAMMLCHNGH().outfitItem.Type;
|
|
}
|
|
else
|
|
{
|
|
ToolSkinMapper component2 = AOHFJNNAMHF.GetComponent<ToolSkinMapper>();
|
|
if (component2 != null)
|
|
{
|
|
obkmeeefebo.NKLKIDFEIJB = component2.PrefabName;
|
|
}
|
|
}
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = null;
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer2 in this.Drawers)
|
|
{
|
|
if (flag)
|
|
{
|
|
if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.Name == obkmeeefebo.NKLKIDFEIJB)
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
if (spawnedEquipmentDrawer == null && spawnedEquipmentDrawer2.OutfitTypes.Contains(afpkfanhpho))
|
|
{
|
|
spawnedEquipmentDrawer = spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
else if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.SupportedEquipments.Any(new Func<ToolSkinMapper, bool>(obkmeeefebo.ADLBODFDOJH)))
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
if (spawnedEquipmentDrawer == null)
|
|
{
|
|
spawnedEquipmentDrawer = this.Drawers[0];
|
|
}
|
|
return spawnedEquipmentDrawer;
|
|
}
|
|
|
|
// Token: 0x06018C4A RID: 101450 RVA: 0x006D9B6C File Offset: 0x006D7D6C
|
|
private IEnumerator NIPFLILOEDJ()
|
|
{
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
spawnedEquipmentDrawer = enumerator.Current;
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C4B RID: 101451 RVA: 0x006D9B88 File Offset: 0x006D7D88
|
|
private void EFGAJGNKHDI(bool KPPCPPBEDEK)
|
|
{
|
|
this.equipmentFavoriteUI.HEGHBOOMIOG = SpawnedEquipmentDrawer.SelectedDrawer != null && SpawnedEquipmentDrawer.SelectedDrawer.FJPCLANNPOK.supportsEquipments;
|
|
}
|
|
|
|
// Token: 0x06018C4C RID: 101452 RVA: 0x006D9BB8 File Offset: 0x006D7DB8
|
|
private IEnumerator NHAOAEBNLJI()
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
base.StartCoroutine(this.NCCDJFOJDFD());
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = enumerator.Current;
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
spawnedEquipmentDrawer.SelectButton.interactable = true;
|
|
spawnedEquipmentDrawer.CDIHDEEHDHC = this.pagingSound;
|
|
spawnedEquipmentDrawer.FJPCLANNPOK = this;
|
|
if (this.equipmentFavoriteUI != null)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer2 = spawnedEquipmentDrawer;
|
|
spawnedEquipmentDrawer2.DrawerSelected = (Action<bool>)Delegate.Combine(spawnedEquipmentDrawer2.DrawerSelected, new Action<bool>(this.EFGAJGNKHDI));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C4D RID: 101453 RVA: 0x006D9BD4 File Offset: 0x006D7DD4
|
|
public void InitializeTutorialOutfits()
|
|
{
|
|
this.TutorialDrawer.SelectButton.gameObject.SetActive(true);
|
|
foreach (OutfitSelection outfitSelection in NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.OCOOGGKBEJL)
|
|
{
|
|
if (OutfitSelection.NOGAGKDDFDB(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
Outfit outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LocalSpawnOutfitTool(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (outfit != null && outfit.BKDFLNGCINH != null)
|
|
{
|
|
if (outfit.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
outfit.BKDFLNGCINH.ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
outfit.BKDFLNGCINH.NIINOABKAPJ = false;
|
|
this.TutorialDrawer.AddTool(outfit.BKDFLNGCINH);
|
|
}
|
|
}
|
|
}
|
|
this.TutorialDrawer.UpdateEquipmentPlacement();
|
|
}
|
|
|
|
// Token: 0x06018C4E RID: 101454 RVA: 0x006D9CEC File Offset: 0x006D7EEC
|
|
private void JHNGPHJGFCF()
|
|
{
|
|
Canvas componentInChildren = base.GetComponentInChildren<Canvas>(true);
|
|
if (componentInChildren != null && ViveControllerInput.Instance != null)
|
|
{
|
|
componentInChildren.worldCamera = ViveControllerInput.Instance.ControllerCamera;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C4F RID: 101455 RVA: 0x006D9D30 File Offset: 0x006D7F30
|
|
private void AOKMGBPNKPK()
|
|
{
|
|
Gizmos.color = Color.green;
|
|
Gizmos.DrawWireSphere(this.changingAreaCenter.position, this.changingAreaRadius);
|
|
}
|
|
|
|
// Token: 0x06018C50 RID: 101456 RVA: 0x006D9D54 File Offset: 0x006D7F54
|
|
public bool NPCBMHMNOFA(Player JEFGMHBLLKI)
|
|
{
|
|
float num = this.changingAreaRadius * this.changingAreaRadius;
|
|
return (JEFGMHBLLKI.AJHHFNCFKNF().transform.position - this.changingAreaCenter.position).sqrMagnitude <= num;
|
|
}
|
|
|
|
// Token: 0x06018C51 RID: 101457 RVA: 0x006D9DA0 File Offset: 0x006D7FA0
|
|
public void AJJCMCALKIN()
|
|
{
|
|
this.TutorialDrawer.SelectButton.gameObject.SetActive(true);
|
|
foreach (OutfitSelection outfitSelection in NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.OCOOGGKBEJL)
|
|
{
|
|
if (OutfitSelection.OAEIGBHBBCH(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
Outfit outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.AMEHKOLLODC(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Minitar);
|
|
if (outfit != null && outfit.MHJGPDGPAMN() != null)
|
|
{
|
|
if (outfit.MHJGPDGPAMN().ACAJJPKPKBH != null)
|
|
{
|
|
outfit.KKHABAOKFAK().ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
outfit.BKDFLNGCINH.NIINOABKAPJ = false;
|
|
this.TutorialDrawer.AddTool(outfit.BKDFLNGCINH);
|
|
}
|
|
}
|
|
}
|
|
this.TutorialDrawer.DLEGJCLGEJC();
|
|
}
|
|
|
|
// Token: 0x06018C52 RID: 101458 RVA: 0x006D9EB8 File Offset: 0x006D80B8
|
|
public void PIODOAAECFK()
|
|
{
|
|
this.TutorialDrawer.SelectButton.gameObject.SetActive(true);
|
|
foreach (OutfitSelection outfitSelection in NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.OCOOGGKBEJL)
|
|
{
|
|
if (OutfitSelection.AGFIGFMCMOE(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
Outfit outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LocalSpawnOutfitTool(outfitSelection, (PlayerSpawnedEquipment.EJADIIIMOPI)8);
|
|
if (outfit != null && outfit.BKDFLNGCINH != null)
|
|
{
|
|
if (outfit.MHJGPDGPAMN().ACAJJPKPKBH != null)
|
|
{
|
|
outfit.BKDFLNGCINH.ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
outfit.MHJGPDGPAMN().NIINOABKAPJ = true;
|
|
this.TutorialDrawer.OOIKNCPENMA(outfit.KKHABAOKFAK());
|
|
}
|
|
}
|
|
}
|
|
this.TutorialDrawer.ALPKOGINLOK();
|
|
}
|
|
|
|
// Token: 0x06018C53 RID: 101459 RVA: 0x006D9FD0 File Offset: 0x006D81D0
|
|
public bool JEDNKIHEAEI(Player JEFGMHBLLKI)
|
|
{
|
|
float num = this.changingAreaRadius * this.changingAreaRadius;
|
|
return (JEFGMHBLLKI.AJHHFNCFKNF().transform.position - this.changingAreaCenter.position).sqrMagnitude <= num;
|
|
}
|
|
|
|
// Token: 0x06018C54 RID: 101460 RVA: 0x006DA01C File Offset: 0x006D821C
|
|
private void NGAHEHDEOKC(Tool ENBMEDIFBLM)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI ejadiiimopi = ((!(ENBMEDIFBLM.GEONLHPMMPG != null)) ? PlayerSpawnedEquipment.EJADIIIMOPI.Minitar : ENBMEDIFBLM.GEONLHPMMPG.FMHDHLOEDPE);
|
|
if (ejadiiimopi == (PlayerSpawnedEquipment.EJADIIIMOPI)8)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = this.BKACDHDLLID(ENBMEDIFBLM);
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
if (ENBMEDIFBLM.ACAJJPKPKBH != null)
|
|
{
|
|
ENBMEDIFBLM.ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
ENBMEDIFBLM.NIINOABKAPJ = true;
|
|
spawnedEquipmentDrawer.LOBPJMGADFH(ENBMEDIFBLM);
|
|
if (!this.CKLLKCIKBKI)
|
|
{
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError(". Server: '" + ENBMEDIFBLM + "ExitGames.Client.Photon.SocketWebTcp, Assembly-CSharp-firstpass");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C55 RID: 101461 RVA: 0x006DA0C0 File Offset: 0x006D82C0
|
|
private void NLPMHIFPCIP()
|
|
{
|
|
Gizmos.color = Color.green;
|
|
Gizmos.DrawWireSphere(this.changingAreaCenter.position, this.changingAreaRadius);
|
|
}
|
|
|
|
// Token: 0x06018C56 RID: 101462 RVA: 0x006DA0E4 File Offset: 0x006D82E4
|
|
public void PLNKIAHNGMN()
|
|
{
|
|
this.TutorialDrawer.SelectButton.gameObject.SetActive(false);
|
|
foreach (OutfitSelection outfitSelection in NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.OCOOGGKBEJL)
|
|
{
|
|
if (OutfitSelection.FJPMEGKBNDG(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
Outfit outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.AMEHKOLLODC(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Checklist);
|
|
if (outfit != null && outfit.MHJGPDGPAMN() != null)
|
|
{
|
|
if (outfit.MHJGPDGPAMN().ACAJJPKPKBH != null)
|
|
{
|
|
outfit.MHJGPDGPAMN().ACAJJPKPKBH.SuppressAnimation = false;
|
|
}
|
|
outfit.KKHABAOKFAK().NIINOABKAPJ = true;
|
|
this.TutorialDrawer.AddTool(outfit.BKDFLNGCINH);
|
|
}
|
|
}
|
|
}
|
|
this.TutorialDrawer.DLEGJCLGEJC();
|
|
}
|
|
|
|
// Token: 0x06018C57 RID: 101463 RVA: 0x006DA1FC File Offset: 0x006D83FC
|
|
private void HCGKLLEIHGL(MPPNEBFNBKJ LAFAHPMBKCL)
|
|
{
|
|
Tool tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.IEMPGLPOLLM(LAFAHPMBKCL, PlayerSpawnedEquipment.EJADIIIMOPI.Backpack);
|
|
if (tool == null)
|
|
{
|
|
tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalSpawnEquipment(LAFAHPMBKCL, PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox);
|
|
if (tool != null)
|
|
{
|
|
this.NCLAPDFPFKH(tool);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C58 RID: 101464 RVA: 0x006DA244 File Offset: 0x006D8444
|
|
private bool OMKJKMNFFED(SpawnedEquipmentDrawer FMAADOIOOIM, Button ILOFENDAFLM)
|
|
{
|
|
if (FMAADOIOOIM != null && FMAADOIOOIM.SelectButton == ILOFENDAFLM && this.JEDNKIHEAEI(Player.LocalPlayer))
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
FMAADOIOOIM.GDECPDICLIF = FMAADOIOOIM.MMEEJIGAACD();
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x06018C59 RID: 101465 RVA: 0x006DA2A8 File Offset: 0x006D84A8
|
|
private void OnDestroy()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI -= this.ADOBNJGCJCE;
|
|
}
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.GGCLHMMONJE -= this.PMPFCAMPAKP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C5A RID: 101466 RVA: 0x006DA304 File Offset: 0x006D8504
|
|
private void ENGFHMPLFJP(Tool ENBMEDIFBLM)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI ejadiiimopi = ((!(ENBMEDIFBLM.GEONLHPMMPG != null)) ? PlayerSpawnedEquipment.EJADIIIMOPI.None : ENBMEDIFBLM.GEONLHPMMPG.FMHDHLOEDPE);
|
|
if (ejadiiimopi == (PlayerSpawnedEquipment.EJADIIIMOPI)6)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = this.BAFAJCMGNNP(ENBMEDIFBLM);
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
if (ENBMEDIFBLM.ACAJJPKPKBH != null)
|
|
{
|
|
ENBMEDIFBLM.ACAJJPKPKBH.SuppressAnimation = false;
|
|
}
|
|
ENBMEDIFBLM.NIINOABKAPJ = true;
|
|
spawnedEquipmentDrawer.LOBPJMGADFH(ENBMEDIFBLM);
|
|
if (!this.CKLLKCIKBKI)
|
|
{
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("null message string {0}" + ENBMEDIFBLM + "PhotonVoiceNetworkSingleton");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C5B RID: 101467 RVA: 0x006DA3A8 File Offset: 0x006D85A8
|
|
private void EFCIPNIGKCH(bool KPPCPPBEDEK)
|
|
{
|
|
this.equipmentFavoriteUI.KBNNDDNHPKF(SpawnedEquipmentDrawer.SelectedDrawer != null && SpawnedEquipmentDrawer.SelectedDrawer.GFNJJFKKGJF().supportsEquipments);
|
|
}
|
|
|
|
// Token: 0x06018C5C RID: 101468 RVA: 0x006DA3D8 File Offset: 0x006D85D8
|
|
private bool NCOFKJNPNOH(SpawnedEquipmentDrawer FMAADOIOOIM, Button ILOFENDAFLM)
|
|
{
|
|
if (FMAADOIOOIM != null && FMAADOIOOIM.SelectButton == ILOFENDAFLM && this.IsPlayerInChangingArea(Player.LocalPlayer))
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
FMAADOIOOIM.GDJDPHOPJNH(FMAADOIOOIM.MMEEJIGAACD());
|
|
return true;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x06018C5D RID: 101469 RVA: 0x006DA43C File Offset: 0x006D863C
|
|
public void MHNDOLHKBDO(Button ILOFENDAFLM)
|
|
{
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
if (this.NCOFKJNPNOH(spawnedEquipmentDrawer, ILOFENDAFLM))
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
this.NCOFKJNPNOH(this.TutorialDrawer, ILOFENDAFLM);
|
|
}
|
|
|
|
// Token: 0x06018C5E RID: 101470 RVA: 0x006DA4B4 File Offset: 0x006D86B4
|
|
private void PPJBILGDEDF()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI -= this.PDDLPPHNCDF;
|
|
}
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.OGBIGIJJMFE(new Action<MPPNEBFNBKJ>(this.FAAHPOKONIK));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C5F RID: 101471 RVA: 0x006DA510 File Offset: 0x006D8710
|
|
private IEnumerator NNJAIEFHFPD()
|
|
{
|
|
while (!NetworkedSingletonMonoBehaviour<OutfitManager>.BOCFJBNNEFP || !NetworkedSingletonMonoBehaviour<EquipmentManager>.BOCFJBNNEFP || !Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.CKLLKCIKBKI = true;
|
|
if (this.supportsOutfits)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI += this.ADOBNJGCJCE;
|
|
num = 0;
|
|
enumerator = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.HHJDFDBJAIG.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
outfitSelection = enumerator.Current;
|
|
if (OutfitSelection.NOGAGKDDFDB(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LocalSpawnOutfitTool(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (outfit != null && outfit.BKDFLNGCINH != null)
|
|
{
|
|
this.DAEIPFMMMGE(outfit.BKDFLNGCINH);
|
|
}
|
|
if (++num % 5 == 0)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
}
|
|
if (this.supportsEquipments)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.GGCLHMMONJE += this.PMPFCAMPAKP;
|
|
enumerator2 = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.KPEFCLLEFOK.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator2.MoveNext())
|
|
{
|
|
mppnebfnbkj = enumerator2.Current;
|
|
tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalSpawnEquipment(mppnebfnbkj, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (tool != null)
|
|
{
|
|
this.DAEIPFMMMGE(tool);
|
|
}
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator2).Dispose();
|
|
}
|
|
}
|
|
this.CKLLKCIKBKI = false;
|
|
base.StartCoroutine(this.DGLEIFDPGAJ());
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C60 RID: 101472 RVA: 0x006DA52C File Offset: 0x006D872C
|
|
private void MLKKJEACEMF()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI -= this.PDDLPPHNCDF;
|
|
}
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.OGBIGIJJMFE(new Action<MPPNEBFNBKJ>(this.PMPFCAMPAKP));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C61 RID: 101473 RVA: 0x006DA588 File Offset: 0x006D8788
|
|
private bool GKMHCDLMCBL(SpawnedEquipmentDrawer FMAADOIOOIM, Button ILOFENDAFLM)
|
|
{
|
|
if (FMAADOIOOIM != null && FMAADOIOOIM.SelectButton == ILOFENDAFLM && this.GNPNHBNHNEH(Player.LocalPlayer))
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
FMAADOIOOIM.EPGKNEGLPIA(FMAADOIOOIM.GDECPDICLIF);
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06018C62 RID: 101474 RVA: 0x006DA5EC File Offset: 0x006D87EC
|
|
private void NJLDHOOOLDE(bool KPPCPPBEDEK)
|
|
{
|
|
this.equipmentFavoriteUI.CJKAFFEDFEP(!(SpawnedEquipmentDrawer.SelectedDrawer != null) || SpawnedEquipmentDrawer.SelectedDrawer.PJIFEAOBDBH().supportsEquipments);
|
|
}
|
|
|
|
// Token: 0x06018C63 RID: 101475 RVA: 0x006DA61C File Offset: 0x006D881C
|
|
private void FDNIFJDJKGL(bool KPPCPPBEDEK)
|
|
{
|
|
this.equipmentFavoriteUI.MGIJMJKDAJC(SpawnedEquipmentDrawer.SelectedDrawer != null && SpawnedEquipmentDrawer.SelectedDrawer.HAGFLKBFJKP().supportsEquipments);
|
|
}
|
|
|
|
// Token: 0x06018C64 RID: 101476 RVA: 0x006DA64C File Offset: 0x006D884C
|
|
private void ANAGMGEAKOG()
|
|
{
|
|
Gizmos.color = Color.green;
|
|
Gizmos.DrawWireSphere(this.changingAreaCenter.position, this.changingAreaRadius);
|
|
}
|
|
|
|
// Token: 0x06018C65 RID: 101477 RVA: 0x006DA670 File Offset: 0x006D8870
|
|
public void Button_RackSelected(Button ILOFENDAFLM)
|
|
{
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer in this.Drawers)
|
|
{
|
|
if (this.FHOFEKLGEMH(spawnedEquipmentDrawer, ILOFENDAFLM))
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
this.FHOFEKLGEMH(this.TutorialDrawer, ILOFENDAFLM);
|
|
}
|
|
|
|
// Token: 0x06018C66 RID: 101478 RVA: 0x006DA6E8 File Offset: 0x006D88E8
|
|
public void IJLNMBOHOFN()
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
}
|
|
|
|
// Token: 0x06018C67 RID: 101479 RVA: 0x006DA704 File Offset: 0x006D8904
|
|
private void KDHBBCGHDMC()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI -= this.IELFABOJKMD;
|
|
}
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.GGCLHMMONJE -= this.FAAHPOKONIK;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C68 RID: 101480 RVA: 0x006DA760 File Offset: 0x006D8960
|
|
public void ODFAALPFNDO()
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
}
|
|
|
|
// Token: 0x06018C69 RID: 101481 RVA: 0x006DA77C File Offset: 0x006D897C
|
|
private bool MKENLGBODGB(SpawnedEquipmentDrawer FMAADOIOOIM, Button ILOFENDAFLM)
|
|
{
|
|
if (FMAADOIOOIM != null && FMAADOIOOIM.SelectButton == ILOFENDAFLM && this.NPCBMHMNOFA(Player.LocalPlayer))
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
FMAADOIOOIM.GDJDPHOPJNH(FMAADOIOOIM.MMEEJIGAACD());
|
|
return false;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06018C6A RID: 101482 RVA: 0x006DA7E0 File Offset: 0x006D89E0
|
|
private void LELHNBCKIEG()
|
|
{
|
|
Canvas componentInChildren = base.GetComponentInChildren<Canvas>(false);
|
|
if (componentInChildren != null && ViveControllerInput.Instance != null)
|
|
{
|
|
componentInChildren.worldCamera = ViveControllerInput.Instance.ControllerCamera;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C6B RID: 101483 RVA: 0x006DA824 File Offset: 0x006D8A24
|
|
private void EPNINGOFJOJ(bool KPPCPPBEDEK)
|
|
{
|
|
this.equipmentFavoriteUI.HEGHBOOMIOG = SpawnedEquipmentDrawer.SelectedDrawer != null && SpawnedEquipmentDrawer.SelectedDrawer.ALNDDCFJPAP().supportsEquipments;
|
|
}
|
|
|
|
// Token: 0x06018C6C RID: 101484 RVA: 0x006DA854 File Offset: 0x006D8A54
|
|
private IEnumerator BJAEKCMHHLN()
|
|
{
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
spawnedEquipmentDrawer = enumerator.Current;
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C6D RID: 101485 RVA: 0x006DA870 File Offset: 0x006D8A70
|
|
private bool KAELGAKCDNC(SpawnedEquipmentDrawer FMAADOIOOIM, Button ILOFENDAFLM)
|
|
{
|
|
if (FMAADOIOOIM != null && FMAADOIOOIM.SelectButton == ILOFENDAFLM && this.DGCMPBACMKK(Player.LocalPlayer))
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
FMAADOIOOIM.EPGKNEGLPIA(!FMAADOIOOIM.MMEEJIGAACD());
|
|
return false;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x06018C6E RID: 101486 RVA: 0x006DA8D4 File Offset: 0x006D8AD4
|
|
private void ONNOABAHOGC()
|
|
{
|
|
Gizmos.color = Color.green;
|
|
Gizmos.DrawWireSphere(this.changingAreaCenter.position, this.changingAreaRadius);
|
|
}
|
|
|
|
// Token: 0x06018C6F RID: 101487 RVA: 0x006DA8F8 File Offset: 0x006D8AF8
|
|
private IEnumerator NCCDJFOJDFD()
|
|
{
|
|
while (!NetworkedSingletonMonoBehaviour<OutfitManager>.BOCFJBNNEFP || !NetworkedSingletonMonoBehaviour<EquipmentManager>.BOCFJBNNEFP || !Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
this.CKLLKCIKBKI = true;
|
|
if (this.supportsOutfits)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI += this.ADOBNJGCJCE;
|
|
num = 0;
|
|
enumerator = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.HHJDFDBJAIG.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
outfitSelection = enumerator.Current;
|
|
if (OutfitSelection.NOGAGKDDFDB(outfitSelection, null) && outfitSelection.outfitItem != null && outfitSelection.outfitItem.DropableItem)
|
|
{
|
|
outfit = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LocalSpawnOutfitTool(outfitSelection, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (outfit != null && outfit.BKDFLNGCINH != null)
|
|
{
|
|
this.DAEIPFMMMGE(outfit.BKDFLNGCINH);
|
|
}
|
|
if (++num % 5 == 0)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
}
|
|
if (this.supportsEquipments)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.GGCLHMMONJE += this.PMPFCAMPAKP;
|
|
enumerator2 = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.KPEFCLLEFOK.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator2.MoveNext())
|
|
{
|
|
mppnebfnbkj = enumerator2.Current;
|
|
tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalSpawnEquipment(mppnebfnbkj, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (tool != null)
|
|
{
|
|
this.DAEIPFMMMGE(tool);
|
|
}
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator2).Dispose();
|
|
}
|
|
}
|
|
this.CKLLKCIKBKI = false;
|
|
base.StartCoroutine(this.DGLEIFDPGAJ());
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C70 RID: 101488 RVA: 0x006DA914 File Offset: 0x006D8B14
|
|
public bool IsPlayerInChangingArea(Player JEFGMHBLLKI)
|
|
{
|
|
float num = this.changingAreaRadius * this.changingAreaRadius;
|
|
return (JEFGMHBLLKI.BGOGBEPJGPJ.transform.position - this.changingAreaCenter.position).sqrMagnitude <= num;
|
|
}
|
|
|
|
// Token: 0x06018C71 RID: 101489 RVA: 0x006DA960 File Offset: 0x006D8B60
|
|
private void IELFABOJKMD(OutfitSelection KJIMHKNFGDB)
|
|
{
|
|
Outfit outfit = Outfit.JCLKJDOBAPE(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox);
|
|
if (outfit == null)
|
|
{
|
|
Outfit outfit2 = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LGLBIBCLLEG(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.Checklist);
|
|
if (outfit2 != null && outfit2.BKDFLNGCINH != null)
|
|
{
|
|
this.DAEIPFMMMGE(outfit2.KKHABAOKFAK());
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C72 RID: 101490 RVA: 0x006DA9B8 File Offset: 0x006D8BB8
|
|
private IEnumerator CFMFIINBNFP()
|
|
{
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
spawnedEquipmentDrawer = enumerator.Current;
|
|
spawnedEquipmentDrawer.UpdateEquipmentPlacement();
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C73 RID: 101491 RVA: 0x006DA9D4 File Offset: 0x006D8BD4
|
|
public bool PNHNHDMOANA(Player JEFGMHBLLKI)
|
|
{
|
|
float num = this.changingAreaRadius * this.changingAreaRadius;
|
|
return (JEFGMHBLLKI.BGOGBEPJGPJ.transform.position - this.changingAreaCenter.position).sqrMagnitude > num;
|
|
}
|
|
|
|
// Token: 0x06018C74 RID: 101492 RVA: 0x006DAA20 File Offset: 0x006D8C20
|
|
private void OFAPMHNMLGP(Tool ENBMEDIFBLM)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI ejadiiimopi = ((!(ENBMEDIFBLM.GEONLHPMMPG != null)) ? PlayerSpawnedEquipment.EJADIIIMOPI.Minitar : ENBMEDIFBLM.GEONLHPMMPG.FMHDHLOEDPE);
|
|
if (ejadiiimopi == PlayerSpawnedEquipment.EJADIIIMOPI.None)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = this.BKACDHDLLID(ENBMEDIFBLM);
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
if (ENBMEDIFBLM.ACAJJPKPKBH != null)
|
|
{
|
|
ENBMEDIFBLM.ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
ENBMEDIFBLM.NIINOABKAPJ = true;
|
|
spawnedEquipmentDrawer.NELFMMKBNIA(ENBMEDIFBLM);
|
|
if (!this.CKLLKCIKBKI)
|
|
{
|
|
spawnedEquipmentDrawer.CAPLJEONPHN();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("no-store" + ENBMEDIFBLM + "</color>");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C75 RID: 101493 RVA: 0x006DAAC4 File Offset: 0x006D8CC4
|
|
private void EKBEMBMIJLH()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.EEFIIPHACJI -= this.AMNMOECNMLD;
|
|
}
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.KHOFLFNNPED(new Action<MPPNEBFNBKJ>(this.FAAHPOKONIK));
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C76 RID: 101494 RVA: 0x006DAB20 File Offset: 0x006D8D20
|
|
private void NCLAPDFPFKH(Tool ENBMEDIFBLM)
|
|
{
|
|
PlayerSpawnedEquipment.EJADIIIMOPI ejadiiimopi = ((!(ENBMEDIFBLM.GEONLHPMMPG != null)) ? PlayerSpawnedEquipment.EJADIIIMOPI.None : ENBMEDIFBLM.GEONLHPMMPG.FMHDHLOEDPE);
|
|
if (ejadiiimopi == (PlayerSpawnedEquipment.EJADIIIMOPI)7)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = this.BAFAJCMGNNP(ENBMEDIFBLM);
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
if (ENBMEDIFBLM.ACAJJPKPKBH != null)
|
|
{
|
|
ENBMEDIFBLM.ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
ENBMEDIFBLM.NIINOABKAPJ = false;
|
|
spawnedEquipmentDrawer.OOIKNCPENMA(ENBMEDIFBLM);
|
|
if (!this.CKLLKCIKBKI)
|
|
{
|
|
spawnedEquipmentDrawer.CAPLJEONPHN();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("F2" + ENBMEDIFBLM + "99+");
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C77 RID: 101495 RVA: 0x006DABC4 File Offset: 0x006D8DC4
|
|
private void AMNMOECNMLD(OutfitSelection KJIMHKNFGDB)
|
|
{
|
|
Outfit outfit = Outfit.LocalFind(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.None);
|
|
if (outfit == null)
|
|
{
|
|
Outfit outfit2 = NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.LGLBIBCLLEG(KJIMHKNFGDB, PlayerSpawnedEquipment.EJADIIIMOPI.None);
|
|
if (outfit2 != null && outfit2.KKHABAOKFAK() != null)
|
|
{
|
|
this.OEPDKEAKGNB(outfit2.MHJGPDGPAMN());
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C78 RID: 101496 RVA: 0x006DAC1C File Offset: 0x006D8E1C
|
|
private void JAODLEDDKBP(MPPNEBFNBKJ LAFAHPMBKCL)
|
|
{
|
|
Tool tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.CHFDKIEPBPN(LAFAHPMBKCL, PlayerSpawnedEquipment.EJADIIIMOPI.Drawer);
|
|
if (tool == null)
|
|
{
|
|
tool = NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.LocalSpawnEquipment(LAFAHPMBKCL, (PlayerSpawnedEquipment.EJADIIIMOPI)8);
|
|
if (tool != null)
|
|
{
|
|
this.ENGFHMPLFJP(tool);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018C79 RID: 101497 RVA: 0x006DAC64 File Offset: 0x006D8E64
|
|
private IEnumerator CPKKPFOOPFN()
|
|
{
|
|
while (!Player.LocalPlayerExists)
|
|
{
|
|
yield return null;
|
|
}
|
|
base.StartCoroutine(this.NCCDJFOJDFD());
|
|
enumerator = this.Drawers.GetEnumerator();
|
|
try
|
|
{
|
|
while (enumerator.MoveNext())
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = enumerator.Current;
|
|
if (spawnedEquipmentDrawer != null)
|
|
{
|
|
spawnedEquipmentDrawer.SelectButton.interactable = true;
|
|
spawnedEquipmentDrawer.CDIHDEEHDHC = this.pagingSound;
|
|
spawnedEquipmentDrawer.FJPCLANNPOK = this;
|
|
if (this.equipmentFavoriteUI != null)
|
|
{
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer2 = spawnedEquipmentDrawer;
|
|
spawnedEquipmentDrawer2.DrawerSelected = (Action<bool>)Delegate.Combine(spawnedEquipmentDrawer2.DrawerSelected, new Action<bool>(this.EFGAJGNKHDI));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
((IDisposable)enumerator).Dispose();
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06018C7A RID: 101498 RVA: 0x006DAC80 File Offset: 0x006D8E80
|
|
private SpawnedEquipmentDrawer BKACDHDLLID(Tool AOHFJNNAMHF)
|
|
{
|
|
EquipmentSpawner.OBKMEEEFEBO obkmeeefebo = new EquipmentSpawner.OBKMEEEFEBO();
|
|
obkmeeefebo.NKLKIDFEIJB = string.Empty;
|
|
OutfitManager.AFPKFANHPHO afpkfanhpho = OutfitManager.AFPKFANHPHO.None;
|
|
bool flag = false;
|
|
Outfit component = AOHFJNNAMHF.GetComponent<Outfit>();
|
|
if (component != null)
|
|
{
|
|
flag = true;
|
|
obkmeeefebo.NKLKIDFEIJB = component.EEHABAFLIBF.outfitItem.PreferredDrawerName;
|
|
afpkfanhpho = component.EEHABAFLIBF.outfitItem.Type;
|
|
}
|
|
else
|
|
{
|
|
ToolSkinMapper component2 = AOHFJNNAMHF.GetComponent<ToolSkinMapper>();
|
|
if (component2 != null)
|
|
{
|
|
obkmeeefebo.NKLKIDFEIJB = component2.PrefabName;
|
|
}
|
|
}
|
|
SpawnedEquipmentDrawer spawnedEquipmentDrawer = null;
|
|
foreach (SpawnedEquipmentDrawer spawnedEquipmentDrawer2 in this.Drawers)
|
|
{
|
|
if (flag)
|
|
{
|
|
if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.Name == obkmeeefebo.NKLKIDFEIJB)
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
if (spawnedEquipmentDrawer == null && spawnedEquipmentDrawer2.OutfitTypes.Contains(afpkfanhpho))
|
|
{
|
|
spawnedEquipmentDrawer = spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
else if (!string.IsNullOrEmpty(obkmeeefebo.NKLKIDFEIJB) && spawnedEquipmentDrawer2.SupportedEquipments.Any(new Func<ToolSkinMapper, bool>(obkmeeefebo.OJKNBNGGBEC)))
|
|
{
|
|
return spawnedEquipmentDrawer2;
|
|
}
|
|
}
|
|
if (spawnedEquipmentDrawer == null)
|
|
{
|
|
spawnedEquipmentDrawer = this.Drawers[0];
|
|
}
|
|
return spawnedEquipmentDrawer;
|
|
}
|
|
|
|
// Token: 0x06018C7B RID: 101499 RVA: 0x006DAE08 File Offset: 0x006D9008
|
|
public void LEBMIOACGBD()
|
|
{
|
|
AudioManager.Play3DSFX(this.openDrawer, base.transform.position, null);
|
|
}
|
|
|
|
// Token: 0x0400434C RID: 17228
|
|
public List<SpawnedEquipmentDrawer> Drawers;
|
|
|
|
// Token: 0x0400434D RID: 17229
|
|
public SpawnedEquipmentDrawer TutorialDrawer;
|
|
|
|
// Token: 0x0400434E RID: 17230
|
|
[SerializeField]
|
|
private bool supportsOutfits = true;
|
|
|
|
// Token: 0x0400434F RID: 17231
|
|
[SerializeField]
|
|
private bool supportsEquipments = true;
|
|
|
|
// Token: 0x04004350 RID: 17232
|
|
[Header("UI")]
|
|
public Transform DrawersMenu;
|
|
|
|
// Token: 0x04004351 RID: 17233
|
|
[Header("Audio")]
|
|
public RecRoomAudioClip openDrawer;
|
|
|
|
// Token: 0x04004352 RID: 17234
|
|
public RecRoomAudioClip pagingSound;
|
|
|
|
// Token: 0x04004353 RID: 17235
|
|
[Header("Debug")]
|
|
[Tooltip("For art testing in editor")]
|
|
public bool DebugLoadAllOutfits;
|
|
|
|
// Token: 0x04004354 RID: 17236
|
|
[SerializeField]
|
|
[Header("Changing Area")]
|
|
private Transform changingAreaCenter;
|
|
|
|
// Token: 0x04004355 RID: 17237
|
|
[SerializeField]
|
|
private float changingAreaRadius = 2f;
|
|
|
|
// Token: 0x04004356 RID: 17238
|
|
[Header("Equipment Selection")]
|
|
[SerializeField]
|
|
private EquipmentFavoriteUI equipmentFavoriteUI;
|
|
|
|
// Token: 0x04004357 RID: 17239
|
|
private bool CKLLKCIKBKI;
|
|
|
|
// Token: 0x02000C52 RID: 3154
|
|
[CompilerGenerated]
|
|
private sealed class OBKMEEEFEBO
|
|
{
|
|
// Token: 0x06018CE8 RID: 101608 RVA: 0x006DDB08 File Offset: 0x006DBD08
|
|
internal bool ALGIBDFNIAN(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CE9 RID: 101609 RVA: 0x006DDB2C File Offset: 0x006DBD2C
|
|
internal bool CACOMKEAKLI(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CEA RID: 101610 RVA: 0x006DDB50 File Offset: 0x006DBD50
|
|
internal bool BPHNJPMKOEC(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CEB RID: 101611 RVA: 0x006DDB74 File Offset: 0x006DBD74
|
|
internal bool LACKKCKOGHI(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CEC RID: 101612 RVA: 0x006DDB98 File Offset: 0x006DBD98
|
|
internal bool KKJLKAONIOD(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CED RID: 101613 RVA: 0x006DDBBC File Offset: 0x006DBDBC
|
|
internal bool DPNFJMCMNGC(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CEF RID: 101615 RVA: 0x006DDBE8 File Offset: 0x006DBDE8
|
|
internal bool ELNIKMBDIDF(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF0 RID: 101616 RVA: 0x006DDC0C File Offset: 0x006DBE0C
|
|
internal bool HIIDBIGLBCL(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF1 RID: 101617 RVA: 0x006DDC30 File Offset: 0x006DBE30
|
|
internal bool AHKMPLAFDFL(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF2 RID: 101618 RVA: 0x006DDC54 File Offset: 0x006DBE54
|
|
internal bool GFKPDLLFOFH(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF3 RID: 101619 RVA: 0x006DDC78 File Offset: 0x006DBE78
|
|
internal bool ADLBODFDOJH(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF4 RID: 101620 RVA: 0x006DDC9C File Offset: 0x006DBE9C
|
|
internal bool NMLJPMHILLF(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF5 RID: 101621 RVA: 0x006DDCC0 File Offset: 0x006DBEC0
|
|
internal bool DFFNHHOHCEK(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF6 RID: 101622 RVA: 0x006DDCE4 File Offset: 0x006DBEE4
|
|
internal bool KLMKCPAELKO(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF7 RID: 101623 RVA: 0x006DDD08 File Offset: 0x006DBF08
|
|
internal bool GKPFDNMOEIP(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF8 RID: 101624 RVA: 0x006DDD2C File Offset: 0x006DBF2C
|
|
internal bool NNKGIDKPAEK(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CF9 RID: 101625 RVA: 0x006DDD50 File Offset: 0x006DBF50
|
|
internal bool FLOKJAEEFCE(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CFA RID: 101626 RVA: 0x006DDD74 File Offset: 0x006DBF74
|
|
internal bool CEGCMAAOAKK(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CFB RID: 101627 RVA: 0x006DDD98 File Offset: 0x006DBF98
|
|
internal bool FLEEFDFKEIB(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CFC RID: 101628 RVA: 0x006DDDBC File Offset: 0x006DBFBC
|
|
internal bool NJLCHBPFKMD(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CFD RID: 101629 RVA: 0x006DDDE0 File Offset: 0x006DBFE0
|
|
internal bool IOJPCLALFLN(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CFE RID: 101630 RVA: 0x006DDE04 File Offset: 0x006DC004
|
|
internal bool AJNBDKBLFMD(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018CFF RID: 101631 RVA: 0x006DDE28 File Offset: 0x006DC028
|
|
internal bool HBBMONNFLFN(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D00 RID: 101632 RVA: 0x006DDE4C File Offset: 0x006DC04C
|
|
internal bool DEJCJJIKHJL(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D01 RID: 101633 RVA: 0x006DDE70 File Offset: 0x006DC070
|
|
internal bool LNEDHHMFFKK(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D02 RID: 101634 RVA: 0x006DDE94 File Offset: 0x006DC094
|
|
internal bool JCIGHBGDCMB(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D03 RID: 101635 RVA: 0x006DDEB8 File Offset: 0x006DC0B8
|
|
internal bool PAKGFLGGCHF(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D04 RID: 101636 RVA: 0x006DDEDC File Offset: 0x006DC0DC
|
|
internal bool OJKNBNGGBEC(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D05 RID: 101637 RVA: 0x006DDF00 File Offset: 0x006DC100
|
|
internal bool OGAJFHEKIED(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D06 RID: 101638 RVA: 0x006DDF24 File Offset: 0x006DC124
|
|
internal bool PJGEPHDJHFC(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D07 RID: 101639 RVA: 0x006DDF48 File Offset: 0x006DC148
|
|
internal bool FDIAAFDGCGC(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D08 RID: 101640 RVA: 0x006DDF6C File Offset: 0x006DC16C
|
|
internal bool NPODACBLMGF(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D09 RID: 101641 RVA: 0x006DDF90 File Offset: 0x006DC190
|
|
internal bool BALLGOLONNE(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D0A RID: 101642 RVA: 0x006DDFB4 File Offset: 0x006DC1B4
|
|
internal bool JJIIMDCJECL(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D0B RID: 101643 RVA: 0x006DDFD8 File Offset: 0x006DC1D8
|
|
internal bool FCPOAPOOJJO(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D0C RID: 101644 RVA: 0x006DDFFC File Offset: 0x006DC1FC
|
|
internal bool BGEAIOGNJHN(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D0D RID: 101645 RVA: 0x006DE020 File Offset: 0x006DC220
|
|
internal bool CIEGOBEALHN(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D0E RID: 101646 RVA: 0x006DE044 File Offset: 0x006DC244
|
|
internal bool CMJAJDPCFJA(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D0F RID: 101647 RVA: 0x006DE068 File Offset: 0x006DC268
|
|
internal bool KCFPLKGPAGM(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D10 RID: 101648 RVA: 0x006DE08C File Offset: 0x006DC28C
|
|
internal bool NABLNGDEEDE(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D11 RID: 101649 RVA: 0x006DE0B0 File Offset: 0x006DC2B0
|
|
internal bool CNNJMMDCEMD(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D12 RID: 101650 RVA: 0x006DE0D4 File Offset: 0x006DC2D4
|
|
internal bool BIIEOCCBGFE(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return !(CBDEIDDMHKE != null) || CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x06018D13 RID: 101651 RVA: 0x006DE0F8 File Offset: 0x006DC2F8
|
|
internal bool MLABNEHNAOO(ToolSkinMapper CBDEIDDMHKE)
|
|
{
|
|
return CBDEIDDMHKE != null && CBDEIDDMHKE.PrefabName == this.NKLKIDFEIJB;
|
|
}
|
|
|
|
// Token: 0x0400436E RID: 17262
|
|
internal string NKLKIDFEIJB;
|
|
}
|
|
}
|