913 lines
30 KiB
C#
913 lines
30 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Diagnostics;
|
|
using System.Threading;
|
|
using Photon;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000C83 RID: 3203
|
|
[DisallowMultipleComponent]
|
|
public class PlayerSpawnedEquipment : global::Photon.MonoBehaviour
|
|
{
|
|
// Token: 0x060195B4 RID: 103860 RVA: 0x0070B98C File Offset: 0x00709B8C
|
|
public void SetProxyTransform(Transform EDIBCGNFFEL, Vector3 GMHACLBNNDJ, Quaternion ABNALDHMCOO)
|
|
{
|
|
this.FCLJFJDKDDA = EDIBCGNFFEL;
|
|
this.KOLAHNIIGHA = EDIBCGNFFEL.MCKNNGGGBDG(ABNALDHMCOO);
|
|
this.OEEFCBLDNDF = EDIBCGNFFEL.InverseTransformPoint(GMHACLBNNDJ);
|
|
}
|
|
|
|
// Token: 0x060195B5 RID: 103861 RVA: 0x0070B9B0 File Offset: 0x00709BB0
|
|
private void MIBIJLIBPGJ()
|
|
{
|
|
this.ICAHBNGHEJF();
|
|
this.MHCGNEGOINH();
|
|
}
|
|
|
|
// Token: 0x17000B15 RID: 2837
|
|
// (get) Token: 0x060195B7 RID: 103863 RVA: 0x0070B9CC File Offset: 0x00709BCC
|
|
// (set) Token: 0x060195FE RID: 103934 RVA: 0x0070CF04 File Offset: 0x0070B104
|
|
public bool GOIAFEOKKII
|
|
{
|
|
get
|
|
{
|
|
return this.HJLCEOFKLOB.CPIBGJLHLBL();
|
|
}
|
|
set
|
|
{
|
|
if (this.LNJFOAHGEEA)
|
|
{
|
|
this.HJLCEOFKLOB.MEAINJPIECA(value);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B12 RID: 2834
|
|
// (get) Token: 0x06019604 RID: 103940 RVA: 0x0070CFA4 File Offset: 0x0070B1A4
|
|
// (set) Token: 0x060195B8 RID: 103864 RVA: 0x0070B9DC File Offset: 0x00709BDC
|
|
public Player LGBGGFBFCAJ { get; private set; }
|
|
|
|
// Token: 0x060195B9 RID: 103865 RVA: 0x0070B9E8 File Offset: 0x00709BE8
|
|
public void SetSpawningPlayer(Tool ENBMEDIFBLM, int OIEECHGPHCB, PlayerSpawnedEquipment.EJADIIIMOPI CKBGBFCDCID)
|
|
{
|
|
this.BKDFLNGCINH = ENBMEDIFBLM;
|
|
this.HGNFGMEOJGA = OIEECHGPHCB;
|
|
this.LNJFOAHGEEA = this.HGNFGMEOJGA == IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH;
|
|
LNJFBGIBLHA lnjfbgiblha = LNJFBGIBLHA.FDOBBLFBBBK(OIEECHGPHCB);
|
|
this.LGBGGFBFCAJ = lnjfbgiblha.JHJGDFHNBLO();
|
|
if (this.LGBGGFBFCAJ != null)
|
|
{
|
|
base.transform.parent = this.LGBGGFBFCAJ.LBMGHLBBKBJ.transform;
|
|
}
|
|
this.FMHDHLOEDPE = CKBGBFCDCID;
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox || this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Drawer)
|
|
{
|
|
this.BKDFLNGCINH.CollisionOwnershipTransferAllowed = false;
|
|
this.BKDFLNGCINH.AddCustomPickupCondition(new Tool.CFIAHKNGIKI(this.IHMAGLPDCCE));
|
|
}
|
|
if (this.LNJFOAHGEEA && (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox || this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Drawer))
|
|
{
|
|
this.HKHOBGJBKFN();
|
|
}
|
|
this.NAFDALAGNNO = base.gameObject.GetComponent<ToolCleanup>();
|
|
if (SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM != null)
|
|
{
|
|
SingletonMonoBehaviour<ToolCleanupManager>.NCKMBFBMBFM.ExcludeTool(this.BKDFLNGCINH);
|
|
}
|
|
if (this.BKDFLNGCINH.ACAJJPKPKBH != null)
|
|
{
|
|
this.BKDFLNGCINH.ACAJJPKPKBH.SuppressAnimation = true;
|
|
}
|
|
this.BKDFLNGCINH.PLPIAOHJBOB += this.NIPCADLOCJP;
|
|
this.BKDFLNGCINH.GFBCCFIMFEC += this.ILAKKOOGHDI;
|
|
this.BKDFLNGCINH.POJJFNOCIGE += this.MPFLHACPICD;
|
|
this.AAIINEBHPLL = this.BKDFLNGCINH.GravityPickupMode;
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Backpack || this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Minitar)
|
|
{
|
|
this.BKDFLNGCINH.GravityPickupMode = Tool.GNLFAODEBOE.DISABLED;
|
|
}
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Checklist)
|
|
{
|
|
this.BKDFLNGCINH.NEONGIONACF = false;
|
|
NetworkTransform[] componentsInChildren = this.BKDFLNGCINH.GetComponentsInChildren<NetworkTransform>(true);
|
|
if (componentsInChildren != null)
|
|
{
|
|
foreach (NetworkTransform networkTransform in componentsInChildren)
|
|
{
|
|
networkTransform.enabled = false;
|
|
}
|
|
}
|
|
TrailRenderer[] componentsInChildren2 = this.BKDFLNGCINH.GetComponentsInChildren<TrailRenderer>(true);
|
|
foreach (TrailRenderer trailRenderer in componentsInChildren2)
|
|
{
|
|
trailRenderer.enabled = false;
|
|
this.BKDFLNGCINH.TryRemoveRenderer(trailRenderer);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195BA RID: 103866 RVA: 0x0070BC30 File Offset: 0x00709E30
|
|
public void FEOAKGJOGAC(Action<Tool, bool> NOBAPCOKFIL)
|
|
{
|
|
Action<Tool, bool> action = this.KOJLELCBFJN;
|
|
Action<Tool, bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<Tool, bool>>(ref this.KOJLELCBFJN, (Action<Tool, bool>)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x060195BB RID: 103867 RVA: 0x0070BC68 File Offset: 0x00709E68
|
|
private void HKHOBGJBKFN()
|
|
{
|
|
if (this.MLMPFBLGELC || this.CODAOMAGNKD || this.BKDFLNGCINH.NLNJOJLDEAE != null)
|
|
{
|
|
OutfitToolUIControl outfitToolUIControl = global::UnityEngine.Object.Instantiate<OutfitToolUIControl>(NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.PJKBBFMFANF);
|
|
outfitToolUIControl.SetLockLevel(this.EFHLFMMGAGP);
|
|
outfitToolUIControl.UpdatePlacement(this.BKDFLNGCINH);
|
|
this.OFNHHKOFFBJ = outfitToolUIControl;
|
|
this.HNLHGJCFHLD();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195BC RID: 103868 RVA: 0x0070BCD8 File Offset: 0x00709ED8
|
|
public bool TryPickupSpawnedEquipment(Player JEFGMHBLLKI)
|
|
{
|
|
if (this.LBMHLHMMPKK != null)
|
|
{
|
|
this.LBMHLHMMPKK(this);
|
|
}
|
|
if (this.EFHLFMMGAGP > JEFGMHBLLKI.BJOBAMFKLGM.EFHLFMMGAGP)
|
|
{
|
|
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Minor, "You need to be level " + this.EFHLFMMGAGP + " to use this", 1.5f, null, false);
|
|
SingletonMonoBehaviour<TutorialManager>.NCKMBFBMBFM.PlayVO(NetworkedSingletonMonoBehaviour<OutfitManager>.NCKMBFBMBFM.GJKMHNBMLPP);
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(base.gameObject);
|
|
}
|
|
return false;
|
|
}
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox && this.MLMPFBLGELC)
|
|
{
|
|
SingletonMonoBehaviour<ScreenSpaceNotificationManager>.NCKMBFBMBFM.Play(ScreenSpaceNotificationManager.DBNGPDFKLEK.Minor, "Item saved!", 3f, null, false);
|
|
}
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Drawer)
|
|
{
|
|
this.MLMPFBLGELC = false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x17000B19 RID: 2841
|
|
// (get) Token: 0x060195BD RID: 103869 RVA: 0x0070BDB0 File Offset: 0x00709FB0
|
|
// (set) Token: 0x06019601 RID: 103937 RVA: 0x0070CF34 File Offset: 0x0070B134
|
|
[DefaultValue(0)]
|
|
public int EFHLFMMGAGP { get; set; }
|
|
|
|
// Token: 0x060195BE RID: 103870 RVA: 0x0070BDB8 File Offset: 0x00709FB8
|
|
public bool IONELMAOIGJ()
|
|
{
|
|
return this.LMDMIJGGKPD.CPIBGJLHLBL();
|
|
}
|
|
|
|
// Token: 0x17000B10 RID: 2832
|
|
// (get) Token: 0x060195F4 RID: 103924 RVA: 0x0070CBE0 File Offset: 0x0070ADE0
|
|
// (set) Token: 0x060195BF RID: 103871 RVA: 0x0070BDC8 File Offset: 0x00709FC8
|
|
public PlayerSpawnedEquipment.EJADIIIMOPI FMHDHLOEDPE { get; set; }
|
|
|
|
// Token: 0x060195C0 RID: 103872 RVA: 0x0070BDD4 File Offset: 0x00709FD4
|
|
private void BABKFIKEOCG()
|
|
{
|
|
this.BAFOIMECHJI();
|
|
this.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = true;
|
|
this.BKDFLNGCINH.BOLBONELAEF.LFHAJAHHALO(true);
|
|
if (!this.FONGIMBBNLB)
|
|
{
|
|
this.CKEJKNIJKKF();
|
|
}
|
|
else
|
|
{
|
|
this.PCPJACMOIFL = true;
|
|
this.ICJMPOKDFMG(null, null);
|
|
if (this.HPCDIECPCBN)
|
|
{
|
|
this.BBNHOMJPMGK().CFHEFCHCANB(true, false);
|
|
}
|
|
}
|
|
this.AFKAMGNMAFL();
|
|
if (this.DOIFCMJOMJD())
|
|
{
|
|
this.LGBGGFBFCAJ.DIJMEKHCJBP.DBBDJGOFIFB += this.HNLHGJCFHLD;
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.DGFBCPMAGBO(new Action<string>(this.FOLENCDMPNC));
|
|
}
|
|
this.HNLHGJCFHLD();
|
|
}
|
|
ToolPlayerAttractor componentInChildren = base.GetComponentInChildren<ToolPlayerAttractor>(false);
|
|
if (componentInChildren != null && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.None)
|
|
{
|
|
componentInChildren.EBALLAHJOIL(true);
|
|
}
|
|
WeaponFlashlightController componentInChildren2 = base.GetComponentInChildren<WeaponFlashlightController>(false);
|
|
if (componentInChildren2 != null)
|
|
{
|
|
componentInChildren2.BLKINAKDDBC = false;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195C1 RID: 103873 RVA: 0x0070BEF0 File Offset: 0x0070A0F0
|
|
private bool IKGEBALCOEJ()
|
|
{
|
|
return this.LGBGGFBFCAJ != null && this.LGBGGFBFCAJ.BJOBAMFKLGM.CICBMAJAFCO() < this.EFHLFMMGAGP;
|
|
}
|
|
|
|
// Token: 0x060195C2 RID: 103874 RVA: 0x0070BF20 File Offset: 0x0070A120
|
|
private void ICAHBNGHEJF()
|
|
{
|
|
if (this.DOIFCMJOMJD() && !this.FONGIMBBNLB && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.Checklist && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.None && !this.BKDFLNGCINH.DMMFKPIKPND)
|
|
{
|
|
if (this.NAFDALAGNNO != null)
|
|
{
|
|
this.NAFDALAGNNO.BGNJOFJIKCA(this.LGBGGFBFCAJ);
|
|
}
|
|
else if (!this.BKDFLNGCINH.OHGPCMJMFGC && Time.time - this.NMMALMMLMGC > 133f)
|
|
{
|
|
this.BBNHOMJPMGK().LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195C3 RID: 103875 RVA: 0x0070BFC4 File Offset: 0x0070A1C4
|
|
private void BAFOIMECHJI()
|
|
{
|
|
if (!this.BKDFLNGCINH.DMMFKPIKPND)
|
|
{
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Backpack)
|
|
{
|
|
this.BKDFLNGCINH.SetLocalScale(Vector3.one * this.BKDFLNGCINH.CalculateCorrectScale(0.075f));
|
|
}
|
|
else if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Checklist)
|
|
{
|
|
this.BKDFLNGCINH.SetLocalScale(Vector3.one * this.BKDFLNGCINH.CalculateCorrectScale(0.03f));
|
|
}
|
|
}
|
|
this.MGIHAMNMDDG = this.BKDFLNGCINH.transform.localScale;
|
|
}
|
|
|
|
// Token: 0x17000B1A RID: 2842
|
|
// (get) Token: 0x060195C4 RID: 103876 RVA: 0x0070C060 File Offset: 0x0070A260
|
|
public string GEFMNJDBMIL
|
|
{
|
|
get
|
|
{
|
|
return Player.LocalPlayer.NAJBCPFNBAB + ".Item.Used." + this.BKDFLNGCINH.ToString();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195C5 RID: 103877 RVA: 0x0070C088 File Offset: 0x0070A288
|
|
private void ILAKKOOGHDI(Tool ENBMEDIFBLM)
|
|
{
|
|
if (this.FONGIMBBNLB)
|
|
{
|
|
this.FONGIMBBNLB = false;
|
|
this.CKEJKNIJKKF();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B16 RID: 2838
|
|
// (get) Token: 0x060195C6 RID: 103878 RVA: 0x0070C0A4 File Offset: 0x0070A2A4
|
|
// (set) Token: 0x060195CF RID: 103887 RVA: 0x0070C390 File Offset: 0x0070A590
|
|
public Tool BKDFLNGCINH { get; private set; }
|
|
|
|
// Token: 0x17000B18 RID: 2840
|
|
// (get) Token: 0x060195C7 RID: 103879 RVA: 0x0070C0AC File Offset: 0x0070A2AC
|
|
private bool HPCDIECPCBN
|
|
{
|
|
get
|
|
{
|
|
return !this.LNJFOAHGEEA && (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Checklist || this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Backpack || this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Minitar);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195C8 RID: 103880 RVA: 0x0070C0E0 File Offset: 0x0070A2E0
|
|
private void BJCBBNJEKCE(bool NOBAPCOKFIL)
|
|
{
|
|
this.<KJCGPCKBJOK>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060195C9 RID: 103881 RVA: 0x0070C0EC File Offset: 0x0070A2EC
|
|
private void NIPCADLOCJP(Tool ENBMEDIFBLM)
|
|
{
|
|
this.NMMALMMLMGC = Time.time;
|
|
this.FONGIMBBNLB = false;
|
|
if (!this.BKDFLNGCINH.KinematicOnReset && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.Drawer && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.None)
|
|
{
|
|
ENBMEDIFBLM.BOLBONELAEF.KEOJKEJMDFM = false;
|
|
ENBMEDIFBLM.BOLBONELAEF.BOAKFKEHGHP = true;
|
|
}
|
|
if (this.LNJFOAHGEEA && this.FCLJFJDKDDA != null && this.FCLJFJDKDDA.gameObject.activeInHierarchy && (this.FCLJFJDKDDA.TransformPoint(this.OEEFCBLDNDF) - base.transform.position).magnitude < 0.25f)
|
|
{
|
|
this.PCPJACMOIFL = true;
|
|
ENBMEDIFBLM.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B13 RID: 2835
|
|
// (get) Token: 0x060195E6 RID: 103910 RVA: 0x0070C8C8 File Offset: 0x0070AAC8
|
|
// (set) Token: 0x060195CA RID: 103882 RVA: 0x0070C1BC File Offset: 0x0070A3BC
|
|
public bool FONGIMBBNLB
|
|
{
|
|
get
|
|
{
|
|
return this.LMDMIJGGKPD.CPIBGJLHLBL();
|
|
}
|
|
private set
|
|
{
|
|
if (this.LNJFOAHGEEA)
|
|
{
|
|
this.LMDMIJGGKPD.MEAINJPIECA(value);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195CB RID: 103883 RVA: 0x0070C1D8 File Offset: 0x0070A3D8
|
|
private void IEKBKFJLIJI(Tool ENBMEDIFBLM)
|
|
{
|
|
this.NMMALMMLMGC = Time.time;
|
|
this.FONGIMBBNLB = false;
|
|
if (!this.BBNHOMJPMGK().KinematicOnReset && this.FMHDHLOEDPE != (PlayerSpawnedEquipment.EJADIIIMOPI)8 && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.None)
|
|
{
|
|
ENBMEDIFBLM.BOLBONELAEF.KEOJKEJMDFM = true;
|
|
ENBMEDIFBLM.BOLBONELAEF.BOAKFKEHGHP = false;
|
|
}
|
|
if (this.LNJFOAHGEEA && this.FCLJFJDKDDA != null && this.FCLJFJDKDDA.gameObject.activeInHierarchy && (this.FCLJFJDKDDA.TransformPoint(this.OEEFCBLDNDF) - base.transform.position).magnitude < 722f)
|
|
{
|
|
this.PCPJACMOIFL = false;
|
|
ENBMEDIFBLM.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195CC RID: 103884 RVA: 0x0070C2A8 File Offset: 0x0070A4A8
|
|
protected override void OnDestroy()
|
|
{
|
|
if (this.LNJFOAHGEEA)
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.HLJMEBJKPKO -= this.FOLENCDMPNC;
|
|
}
|
|
if (this.LGBGGFBFCAJ != null)
|
|
{
|
|
this.LGBGGFBFCAJ.DIJMEKHCJBP.DBBDJGOFIFB -= this.HNLHGJCFHLD;
|
|
}
|
|
}
|
|
PlayerSpawnedEquipment.All.Remove(this);
|
|
base.OnDestroy();
|
|
}
|
|
|
|
// Token: 0x17000B1D RID: 2845
|
|
// (get) Token: 0x060195CD RID: 103885 RVA: 0x0070C328 File Offset: 0x0070A528
|
|
public bool INOBFOHGIMJ
|
|
{
|
|
get
|
|
{
|
|
return this.BKDFLNGCINH != null && this.BKDFLNGCINH.NLNJOJLDEAE != null && NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null && NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.IsFavoriteEquipment(this.BKDFLNGCINH.NLNJOJLDEAE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B14 RID: 2836
|
|
// (get) Token: 0x06019607 RID: 103943 RVA: 0x0070D038 File Offset: 0x0070B238
|
|
// (set) Token: 0x060195CE RID: 103886 RVA: 0x0070C384 File Offset: 0x0070A584
|
|
public bool LNJFOAHGEEA { get; private set; }
|
|
|
|
// Token: 0x060195D0 RID: 103888 RVA: 0x0070C39C File Offset: 0x0070A59C
|
|
private void AFKAMGNMAFL()
|
|
{
|
|
if (this.BKDFLNGCINH != null && this.BKDFLNGCINH.IIEGGLHMOBH != this.GOIAFEOKKII && !this.HPCDIECPCBN)
|
|
{
|
|
this.BBNHOMJPMGK().SetVisible(this.GOIAFEOKKII, false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195D1 RID: 103889 RVA: 0x0070C3F0 File Offset: 0x0070A5F0
|
|
private void BEEBFOEILIO()
|
|
{
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Backpack || this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Minitar)
|
|
{
|
|
this.BKDFLNGCINH.GravityPickupMode = ((!this.IONELMAOIGJ()) ? this.AAIINEBHPLL : Tool.GNLFAODEBOE.DISABLED);
|
|
}
|
|
if (this.HPCDIECPCBN && this.IONELMAOIGJ())
|
|
{
|
|
this.BBNHOMJPMGK().CFHEFCHCANB(true, true);
|
|
}
|
|
if (this.KOJLELCBFJN != null)
|
|
{
|
|
this.KOJLELCBFJN(this.BKDFLNGCINH, this.FONGIMBBNLB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B11 RID: 2833
|
|
// (get) Token: 0x060195D2 RID: 103890 RVA: 0x0070C47C File Offset: 0x0070A67C
|
|
// (set) Token: 0x060195EA RID: 103914 RVA: 0x0070C9C8 File Offset: 0x0070ABC8
|
|
public int HGNFGMEOJGA { get; private set; }
|
|
|
|
// Token: 0x17000B1B RID: 2843
|
|
// (get) Token: 0x060195D7 RID: 103895 RVA: 0x0070C57C File Offset: 0x0070A77C
|
|
// (set) Token: 0x060195D3 RID: 103891 RVA: 0x0070C484 File Offset: 0x0070A684
|
|
public bool MLMPFBLGELC
|
|
{
|
|
get
|
|
{
|
|
return this.LNJFOAHGEEA && PlayerPrefs.GetInt(this.GEFMNJDBMIL, 0) == 1;
|
|
}
|
|
set
|
|
{
|
|
if (this.LNJFOAHGEEA)
|
|
{
|
|
PlayerPrefs.SetInt(this.GEFMNJDBMIL, (!value) ? 0 : 1);
|
|
this.HNLHGJCFHLD();
|
|
if (this.CNPNIMCBKFC != null)
|
|
{
|
|
this.CNPNIMCBKFC(this, value);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195D4 RID: 103892 RVA: 0x0070C4D4 File Offset: 0x0070A6D4
|
|
private bool IHMAGLPDCCE(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return COMHEONOMBA.FICBNMJECCH != null && COMHEONOMBA.FICBNMJECCH == OAKJPHFELHD;
|
|
}
|
|
|
|
// Token: 0x060195D5 RID: 103893 RVA: 0x0070C4F8 File Offset: 0x0070A6F8
|
|
public void KPODJEEDMGD(Action<PlayerSpawnedEquipment, bool> NOBAPCOKFIL)
|
|
{
|
|
Action<PlayerSpawnedEquipment, bool> action = this.CNPNIMCBKFC;
|
|
Action<PlayerSpawnedEquipment, bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<PlayerSpawnedEquipment, bool>>(ref this.CNPNIMCBKFC, (Action<PlayerSpawnedEquipment, bool>)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x060195D6 RID: 103894 RVA: 0x0070C530 File Offset: 0x0070A730
|
|
private void MPFLHACPICD(Tool CFMLPCOFMKO, Vector3 ODJHGBEBFNH, Quaternion GJPNKEANJEC, Vector3 BEDLPFBGLLP, bool MDMECJBCECO)
|
|
{
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.GiftBox && this.LNJFOAHGEEA)
|
|
{
|
|
IHFKMIAHBFP.JFCIOOHPLFJ(this.BKDFLNGCINH.gameObject);
|
|
}
|
|
this.ICJMPOKDFMG(new Vector3?(BEDLPFBGLLP), null);
|
|
}
|
|
|
|
// Token: 0x060195D8 RID: 103896 RVA: 0x0070C5A0 File Offset: 0x0070A7A0
|
|
public bool BNGOAADGMMH()
|
|
{
|
|
return this.<PNCLCLCJCHP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x140000D9 RID: 217
|
|
// (add) Token: 0x060195D9 RID: 103897 RVA: 0x0070C5A8 File Offset: 0x0070A7A8
|
|
// (remove) Token: 0x060195FB RID: 103931 RVA: 0x0070CE6C File Offset: 0x0070B06C
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event Action<Tool, bool> KOJLELCBFJN;
|
|
|
|
// Token: 0x060195DA RID: 103898 RVA: 0x0070C5E0 File Offset: 0x0070A7E0
|
|
public void PHEAJAALEBO(int NOBAPCOKFIL)
|
|
{
|
|
this.<CFKBFHHJNPH>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x140000DA RID: 218
|
|
// (add) Token: 0x060195DB RID: 103899 RVA: 0x0070C5EC File Offset: 0x0070A7EC
|
|
// (remove) Token: 0x060195F7 RID: 103927 RVA: 0x0070CC4C File Offset: 0x0070AE4C
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event Action<PlayerSpawnedEquipment, bool> CNPNIMCBKFC;
|
|
|
|
// Token: 0x060195DC RID: 103900 RVA: 0x0070C624 File Offset: 0x0070A824
|
|
private void MHCGNEGOINH()
|
|
{
|
|
if (this.LNJFOAHGEEA && this.FONGIMBBNLB && this.FCLJFJDKDDA != null)
|
|
{
|
|
bool flag = this.BKDFLNGCINH.IIEGGLHMOBH;
|
|
if (this.FCLJFJDKDDA.gameObject.activeInHierarchy != flag)
|
|
{
|
|
flag = !flag;
|
|
this.GOIAFEOKKII = flag;
|
|
}
|
|
if (flag)
|
|
{
|
|
base.transform.position = this.FCLJFJDKDDA.TransformPoint(this.OEEFCBLDNDF);
|
|
base.transform.rotation = this.FCLJFJDKDDA.PAFJLHMDIMO(this.KOLAHNIIGHA);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x140000D8 RID: 216
|
|
// (add) Token: 0x060195DD RID: 103901 RVA: 0x0070C6C4 File Offset: 0x0070A8C4
|
|
// (remove) Token: 0x060195E7 RID: 103911 RVA: 0x0070C8D8 File Offset: 0x0070AAD8
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event Action<PlayerSpawnedEquipment> LBMHLHMMPKK;
|
|
|
|
// Token: 0x060195DE RID: 103902 RVA: 0x0070C6FC File Offset: 0x0070A8FC
|
|
public Tool BBNHOMJPMGK()
|
|
{
|
|
return this.<BNFAJPHLEFC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060195DF RID: 103903 RVA: 0x0070C704 File Offset: 0x0070A904
|
|
private void CKEJKNIJKKF()
|
|
{
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Backpack)
|
|
{
|
|
base.StartCoroutine(this.BKDFLNGCINH.RunScaleUp(Vector3.one));
|
|
}
|
|
if (this.HPCDIECPCBN)
|
|
{
|
|
this.BKDFLNGCINH.SetVisible(true, false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195E0 RID: 103904 RVA: 0x0070C744 File Offset: 0x0070A944
|
|
public void PHIMHIODNOK(PlayerSpawnedEquipment.EJADIIIMOPI NOBAPCOKFIL)
|
|
{
|
|
this.<GLJOEFEGDML>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060195E1 RID: 103905 RVA: 0x0070C750 File Offset: 0x0070A950
|
|
private void NNCAJBHCECC()
|
|
{
|
|
if (this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Backpack || this.FMHDHLOEDPE == PlayerSpawnedEquipment.EJADIIIMOPI.Minitar)
|
|
{
|
|
this.BKDFLNGCINH.GravityPickupMode = ((!this.FONGIMBBNLB) ? this.AAIINEBHPLL : Tool.GNLFAODEBOE.DISABLED);
|
|
}
|
|
if (this.HPCDIECPCBN && this.FONGIMBBNLB)
|
|
{
|
|
this.BKDFLNGCINH.SetVisible(false, false);
|
|
}
|
|
if (this.KOJLELCBFJN != null)
|
|
{
|
|
this.KOJLELCBFJN(this.BKDFLNGCINH, this.FONGIMBBNLB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195E2 RID: 103906 RVA: 0x0070C7DC File Offset: 0x0070A9DC
|
|
public void FDDNIEOCHEF(bool NOBAPCOKFIL)
|
|
{
|
|
if (this.DOIFCMJOMJD())
|
|
{
|
|
PlayerPrefs.SetInt(this.MNCFPPLANEI(), (!NOBAPCOKFIL) ? 1 : 1);
|
|
this.HNLHGJCFHLD();
|
|
if (this.CNPNIMCBKFC != null)
|
|
{
|
|
this.CNPNIMCBKFC(this, NOBAPCOKFIL);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195E3 RID: 103907 RVA: 0x0070C82C File Offset: 0x0070AA2C
|
|
private void Update()
|
|
{
|
|
this.CKNEKONLPGA();
|
|
this.MHCGNEGOINH();
|
|
}
|
|
|
|
// Token: 0x060195E4 RID: 103908 RVA: 0x0070C83C File Offset: 0x0070AA3C
|
|
private void JHCHABMDAKN()
|
|
{
|
|
if (this.BKDFLNGCINH != null && this.BKDFLNGCINH.IIEGGLHMOBH != this.GOIAFEOKKII && !this.HPCDIECPCBN)
|
|
{
|
|
this.BKDFLNGCINH.SetVisible(this.GOIAFEOKKII, false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195E5 RID: 103909 RVA: 0x0070C890 File Offset: 0x0070AA90
|
|
public void DFIFGJELKDD(Action<PlayerSpawnedEquipment> NOBAPCOKFIL)
|
|
{
|
|
Action<PlayerSpawnedEquipment> action = this.LBMHLHMMPKK;
|
|
Action<PlayerSpawnedEquipment> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<PlayerSpawnedEquipment>>(ref this.LBMHLHMMPKK, (Action<PlayerSpawnedEquipment>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x060195E8 RID: 103912 RVA: 0x0070C910 File Offset: 0x0070AB10
|
|
public void HECFBFKEEDC(Action<PlayerSpawnedEquipment, bool> NOBAPCOKFIL)
|
|
{
|
|
Action<PlayerSpawnedEquipment, bool> action = this.CNPNIMCBKFC;
|
|
Action<PlayerSpawnedEquipment, bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<PlayerSpawnedEquipment, bool>>(ref this.CNPNIMCBKFC, (Action<PlayerSpawnedEquipment, bool>)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x060195E9 RID: 103913 RVA: 0x0070C948 File Offset: 0x0070AB48
|
|
protected virtual void PNILHEIMBHC()
|
|
{
|
|
if (this.LNJFOAHGEEA)
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.HLJMEBJKPKO -= this.FOLENCDMPNC;
|
|
}
|
|
if (this.LGBGGFBFCAJ != null)
|
|
{
|
|
this.LGBGGFBFCAJ.DIJMEKHCJBP.FCFJMDDGKNG(new Action<int>(this.HNLHGJCFHLD));
|
|
}
|
|
}
|
|
PlayerSpawnedEquipment.All.Remove(this);
|
|
base.KHMLCKHNNNJ();
|
|
}
|
|
|
|
// Token: 0x060195EB RID: 103915 RVA: 0x0070C9D4 File Offset: 0x0070ABD4
|
|
public bool DOIFCMJOMJD()
|
|
{
|
|
return this.<KJCGPCKBJOK>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060195EC RID: 103916 RVA: 0x0070C9DC File Offset: 0x0070ABDC
|
|
private void ICJMPOKDFMG(Vector3? BEDLPFBGLLP = null, Quaternion? GKPNLMLMHKD = null)
|
|
{
|
|
if (!this.FONGIMBBNLB)
|
|
{
|
|
this.FONGIMBBNLB = true;
|
|
if (this.LNJFOAHGEEA)
|
|
{
|
|
base.OMNGGJICBBI.TransferOwnership(IHFKMIAHBFP.JEFGMHBLLKI);
|
|
}
|
|
if (!this.PCPJACMOIFL && this.BKDFLNGCINH.IIEGGLHMOBH && this.BKDFLNGCINH.ACAJJPKPKBH != null && BEDLPFBGLLP != null)
|
|
{
|
|
this.BKDFLNGCINH.ACAJJPKPKBH.PlayEffect(false, BEDLPFBGLLP, GKPNLMLMHKD, false);
|
|
}
|
|
this.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = true;
|
|
this.BKDFLNGCINH.BOLBONELAEF.BOAKFKEHGHP = false;
|
|
this.BKDFLNGCINH.SetLocalScale(this.MGIHAMNMDDG);
|
|
this.MHCGNEGOINH();
|
|
if (!this.PCPJACMOIFL && this.BKDFLNGCINH.IIEGGLHMOBH)
|
|
{
|
|
this.BKDFLNGCINH.ACAJJPKPKBH.PlayEffect(true, null, null, false);
|
|
}
|
|
if (this.HPCDIECPCBN)
|
|
{
|
|
this.BKDFLNGCINH.SetVisible(false, false);
|
|
}
|
|
}
|
|
this.PCPJACMOIFL = false;
|
|
}
|
|
|
|
// Token: 0x060195ED RID: 103917 RVA: 0x0070CB00 File Offset: 0x0070AD00
|
|
protected virtual void ABBDFEGOFPH()
|
|
{
|
|
base.MICFHMAIGIB();
|
|
this.LMDMIJGGKPD = new LHLLJPPCDKA<bool>(this, "share_cam_action", false, (IKCAJLLAFML)5, new Action(this.BEEBFOEILIO));
|
|
this.HJLCEOFKLOB = new LHLLJPPCDKA<bool>(this, ". Server: '", true, IKCAJLLAFML.ANYONE, new Action(this.JHCHABMDAKN));
|
|
PlayerSpawnedEquipment.All.Add(this);
|
|
}
|
|
|
|
// Token: 0x060195EE RID: 103918 RVA: 0x0070CB5C File Offset: 0x0070AD5C
|
|
public void LOLLIHIOJKG(Action<PlayerSpawnedEquipment, bool> NOBAPCOKFIL)
|
|
{
|
|
Action<PlayerSpawnedEquipment, bool> action = this.CNPNIMCBKFC;
|
|
Action<PlayerSpawnedEquipment, bool> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<PlayerSpawnedEquipment, bool>>(ref this.CNPNIMCBKFC, (Action<PlayerSpawnedEquipment, bool>)Delegate.Remove(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x17000B1E RID: 2846
|
|
// (get) Token: 0x06019605 RID: 103941 RVA: 0x0070CFAC File Offset: 0x0070B1AC
|
|
// (set) Token: 0x060195EF RID: 103919 RVA: 0x0070CB94 File Offset: 0x0070AD94
|
|
public OutfitToolUIControl OFNHHKOFFBJ { get; private set; }
|
|
|
|
// Token: 0x17000B17 RID: 2839
|
|
// (get) Token: 0x060195F6 RID: 103926 RVA: 0x0070CC44 File Offset: 0x0070AE44
|
|
// (set) Token: 0x060195F0 RID: 103920 RVA: 0x0070CBA0 File Offset: 0x0070ADA0
|
|
public bool PCPJACMOIFL { get; set; }
|
|
|
|
// Token: 0x060195F1 RID: 103921 RVA: 0x0070CBAC File Offset: 0x0070ADAC
|
|
public OutfitToolUIControl CGNACFEHNED()
|
|
{
|
|
return this.<NHBEHHPIOBM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060195F2 RID: 103922 RVA: 0x0070CBB4 File Offset: 0x0070ADB4
|
|
private bool HLLLBGNJJMB(Tool COMHEONOMBA, Player OAKJPHFELHD, bool AABHBODJBNP)
|
|
{
|
|
return !(COMHEONOMBA.FICBNMJECCH != null) || COMHEONOMBA.FICBNMJECCH == OAKJPHFELHD;
|
|
}
|
|
|
|
// Token: 0x060195F3 RID: 103923 RVA: 0x0070CBD8 File Offset: 0x0070ADD8
|
|
public bool AADHHIEJPBA()
|
|
{
|
|
return this.<PNCLCLCJCHP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060195F5 RID: 103925 RVA: 0x0070CBE8 File Offset: 0x0070ADE8
|
|
public bool FJCCLKCFOFH()
|
|
{
|
|
return !(this.BKDFLNGCINH != null) || !(this.BBNHOMJPMGK().NLNJOJLDEAE != null) || !(NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null) || NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.FENBNLFIMJL(this.BBNHOMJPMGK().NLNJOJLDEAE);
|
|
}
|
|
|
|
// Token: 0x060195F8 RID: 103928 RVA: 0x0070CC84 File Offset: 0x0070AE84
|
|
public string MNCFPPLANEI()
|
|
{
|
|
return Player.LocalPlayer.NAJBCPFNBAB + "GAME ON" + this.BKDFLNGCINH.ToString();
|
|
}
|
|
|
|
// Token: 0x060195F9 RID: 103929 RVA: 0x0070CCAC File Offset: 0x0070AEAC
|
|
private void Start()
|
|
{
|
|
this.BAFOIMECHJI();
|
|
this.BKDFLNGCINH.BOLBONELAEF.KEOJKEJMDFM = true;
|
|
this.BKDFLNGCINH.BOLBONELAEF.BOAKFKEHGHP = false;
|
|
if (!this.FONGIMBBNLB)
|
|
{
|
|
this.CKEJKNIJKKF();
|
|
}
|
|
else
|
|
{
|
|
this.PCPJACMOIFL = true;
|
|
this.ICJMPOKDFMG(null, null);
|
|
if (this.HPCDIECPCBN)
|
|
{
|
|
this.BKDFLNGCINH.SetVisible(false, false);
|
|
}
|
|
}
|
|
this.JHCHABMDAKN();
|
|
if (this.LNJFOAHGEEA)
|
|
{
|
|
this.LGBGGFBFCAJ.DIJMEKHCJBP.DBBDJGOFIFB += this.HNLHGJCFHLD;
|
|
if (NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM != null)
|
|
{
|
|
NetworkedSingletonMonoBehaviour<EquipmentManager>.NCKMBFBMBFM.HLJMEBJKPKO += this.FOLENCDMPNC;
|
|
}
|
|
this.HNLHGJCFHLD();
|
|
}
|
|
ToolPlayerAttractor componentInChildren = base.GetComponentInChildren<ToolPlayerAttractor>(true);
|
|
if (componentInChildren != null && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.None)
|
|
{
|
|
componentInChildren.HFICMLDMAKE = true;
|
|
}
|
|
WeaponFlashlightController componentInChildren2 = base.GetComponentInChildren<WeaponFlashlightController>(true);
|
|
if (componentInChildren2 != null)
|
|
{
|
|
componentInChildren2.BLKINAKDDBC = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195FA RID: 103930 RVA: 0x0070CDC8 File Offset: 0x0070AFC8
|
|
private void CKNEKONLPGA()
|
|
{
|
|
if (this.LNJFOAHGEEA && !this.FONGIMBBNLB && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.Drawer && this.FMHDHLOEDPE != PlayerSpawnedEquipment.EJADIIIMOPI.None && !this.BKDFLNGCINH.DMMFKPIKPND)
|
|
{
|
|
if (this.NAFDALAGNNO != null)
|
|
{
|
|
this.NAFDALAGNNO.CheckCleanupOwner(this.LGBGGFBFCAJ);
|
|
}
|
|
else if (!this.BKDFLNGCINH.OHGPCMJMFGC && Time.time - this.NMMALMMLMGC > 4f)
|
|
{
|
|
this.BKDFLNGCINH.LocalTakeOwnershipAndResetToLastSpawnPosition();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B1C RID: 2844
|
|
// (get) Token: 0x060195FD RID: 103933 RVA: 0x0070CED4 File Offset: 0x0070B0D4
|
|
private bool CODAOMAGNKD
|
|
{
|
|
get
|
|
{
|
|
return this.LGBGGFBFCAJ != null && this.LGBGGFBFCAJ.BJOBAMFKLGM.EFHLFMMGAGP < this.EFHLFMMGAGP;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060195FF RID: 103935 RVA: 0x0070CF20 File Offset: 0x0070B120
|
|
private void AODHPGNCHAD(Player NOBAPCOKFIL)
|
|
{
|
|
this.<NKBJBIBKLCA>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06019600 RID: 103936 RVA: 0x0070CF2C File Offset: 0x0070B12C
|
|
private void FOLENCDMPNC(string GGLEDDFIFAH)
|
|
{
|
|
this.HNLHGJCFHLD();
|
|
}
|
|
|
|
// Token: 0x06019602 RID: 103938 RVA: 0x0070CF40 File Offset: 0x0070B140
|
|
private void HNLHGJCFHLD(int JOPHNBFKLCM)
|
|
{
|
|
this.HNLHGJCFHLD();
|
|
}
|
|
|
|
// Token: 0x06019603 RID: 103939 RVA: 0x0070CF48 File Offset: 0x0070B148
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.LMDMIJGGKPD = new LHLLJPPCDKA<bool>(this, "IIO", true, IKCAJLLAFML.ANYONE, new Action(this.NNCAJBHCECC));
|
|
this.HJLCEOFKLOB = new LHLLJPPCDKA<bool>(this, "TOV", true, IKCAJLLAFML.ANYONE, new Action(this.JHCHABMDAKN));
|
|
PlayerSpawnedEquipment.All.Add(this);
|
|
}
|
|
|
|
// Token: 0x06019606 RID: 103942 RVA: 0x0070CFB4 File Offset: 0x0070B1B4
|
|
private void HNLHGJCFHLD()
|
|
{
|
|
if (this.OFNHHKOFFBJ != null)
|
|
{
|
|
this.OFNHHKOFFBJ.FBBMOMHACLA = OutfitToolUIControl.KLGAEJMJACC.None;
|
|
if (this.MLMPFBLGELC)
|
|
{
|
|
this.OFNHHKOFFBJ.FBBMOMHACLA |= OutfitToolUIControl.KLGAEJMJACC.New;
|
|
}
|
|
if (this.CODAOMAGNKD)
|
|
{
|
|
this.OFNHHKOFFBJ.FBBMOMHACLA |= OutfitToolUIControl.KLGAEJMJACC.Locked;
|
|
}
|
|
if (this.INOBFOHGIMJ)
|
|
{
|
|
this.OFNHHKOFFBJ.FBBMOMHACLA |= OutfitToolUIControl.KLGAEJMJACC.Favorite;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019608 RID: 103944 RVA: 0x0070D040 File Offset: 0x0070B240
|
|
public string BPPJPFJIEPN()
|
|
{
|
|
return Player.LocalPlayer.NAJBCPFNBAB + "Can't set open when not in that room." + this.BKDFLNGCINH.ToString();
|
|
}
|
|
|
|
// Token: 0x040044C9 RID: 17609
|
|
public const float BackpackToolRadius = 0.075f;
|
|
|
|
// Token: 0x040044CA RID: 17610
|
|
public const float ChecklistToolRadius = 0.03f;
|
|
|
|
// Token: 0x040044CB RID: 17611
|
|
public static List<PlayerSpawnedEquipment> All = new List<PlayerSpawnedEquipment>();
|
|
|
|
// Token: 0x040044D0 RID: 17616
|
|
private Vector3 MGIHAMNMDDG = Vector3.one;
|
|
|
|
// Token: 0x040044D1 RID: 17617
|
|
private Transform FCLJFJDKDDA;
|
|
|
|
// Token: 0x040044D2 RID: 17618
|
|
private Vector3 OEEFCBLDNDF = Vector3.zero;
|
|
|
|
// Token: 0x040044D3 RID: 17619
|
|
private Quaternion KOLAHNIIGHA = Quaternion.identity;
|
|
|
|
// Token: 0x040044D5 RID: 17621
|
|
private LHLLJPPCDKA<bool> LMDMIJGGKPD;
|
|
|
|
// Token: 0x040044D6 RID: 17622
|
|
private ToolCleanup NAFDALAGNNO;
|
|
|
|
// Token: 0x040044D8 RID: 17624
|
|
private LHLLJPPCDKA<bool> HJLCEOFKLOB;
|
|
|
|
// Token: 0x040044DA RID: 17626
|
|
private Tool.GNLFAODEBOE AAIINEBHPLL = Tool.GNLFAODEBOE.DISABLED;
|
|
|
|
// Token: 0x040044DC RID: 17628
|
|
private float NMMALMMLMGC;
|
|
|
|
// Token: 0x040044DE RID: 17630
|
|
private const int KKMDKOIFJMK = 1;
|
|
|
|
// Token: 0x040044DF RID: 17631
|
|
private const int LBLGLAGOKGH = 0;
|
|
|
|
// Token: 0x02000C84 RID: 3204
|
|
public enum EJADIIIMOPI
|
|
{
|
|
// Token: 0x040044E3 RID: 17635
|
|
None,
|
|
// Token: 0x040044E4 RID: 17636
|
|
Minitar,
|
|
// Token: 0x040044E5 RID: 17637
|
|
Backpack,
|
|
// Token: 0x040044E6 RID: 17638
|
|
GiftBox,
|
|
// Token: 0x040044E7 RID: 17639
|
|
Drawer,
|
|
// Token: 0x040044E8 RID: 17640
|
|
Checklist
|
|
}
|
|
}
|