1097 lines
34 KiB
C#
1097 lines
34 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using RecNet;
|
|
using RecRoom;
|
|
using RecRoom.Core.Rendering;
|
|
using UnityEngine;
|
|
using UnityEngine.Serialization;
|
|
|
|
// Token: 0x02000C57 RID: 3159
|
|
public class OutfitItem : MonoBehaviour, IComparable<OutfitItem>
|
|
{
|
|
// Token: 0x06018D7A RID: 101754 RVA: 0x006DEA20 File Offset: 0x006DCC20
|
|
public void PGOMGPKAHAG(bool KIMJICHGKHE, Player NFGAAMCPGIO, Color GEKBPOLAOCA, float OMNJOPJOFNE)
|
|
{
|
|
this.OPHHKJFNDKI = KIMJICHGKHE;
|
|
if (this.OPHHKJFNDKI && this.HEGHBOOMIOG && this.SkinnedMeshRenderer.enabled && this.SkinnedMeshRenderer.gameObject.activeInHierarchy)
|
|
{
|
|
if (OutfitManager.IsTeamOutfit(this.Type))
|
|
{
|
|
OMNJOPJOFNE = Mathf.Max(OMNJOPJOFNE, OutfitItem.ILDJDIKAOEH);
|
|
IgnoreEffectRenderer.KHIHIJDJCBI(this.SkinnedMeshRenderer, this.SkinnedMeshRenderer.OGBPEDNIGCM(), NFGAAMCPGIO, OMNJOPJOFNE, new Color?(GEKBPOLAOCA));
|
|
}
|
|
else
|
|
{
|
|
IgnoreEffectRenderer.DKBFOAOIABF(this.SkinnedMeshRenderer, this.SkinnedMeshRenderer.OGBPEDNIGCM(), NFGAAMCPGIO, OMNJOPJOFNE, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D7B RID: 101755 RVA: 0x006DEAD4 File Offset: 0x006DCCD4
|
|
public bool LONOOHJLOJK()
|
|
{
|
|
return this.<EJNNNEFLICP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06018D7C RID: 101756 RVA: 0x006DEADC File Offset: 0x006DCCDC
|
|
public bool PNMEKFCLFMO()
|
|
{
|
|
return this.NFLCJGMFFJI;
|
|
}
|
|
|
|
// Token: 0x06018D7D RID: 101757 RVA: 0x006DEAE4 File Offset: 0x006DCCE4
|
|
public void ELDCNCJCALK(Player NOBAPCOKFIL)
|
|
{
|
|
this.<JFGJDKIDFJC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06018D7E RID: 101758 RVA: 0x006DEAF0 File Offset: 0x006DCCF0
|
|
private void IOPPMFHCELJ(OutfitSelection NOBAPCOKFIL)
|
|
{
|
|
this.<JIHNPAMGFMJ>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06018D7F RID: 101759 RVA: 0x006DEAFC File Offset: 0x006DCCFC
|
|
public int KIIMFOKANKB()
|
|
{
|
|
return this.<JCBCBFMMCNM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06018D80 RID: 101760 RVA: 0x006DEB04 File Offset: 0x006DCD04
|
|
private void Start()
|
|
{
|
|
this.HEGHBOOMIOG = true;
|
|
if (this.UsesHairColor && this.FICBNMJECCH != null)
|
|
{
|
|
this.FICBNMJECCH.NMPMNBCNGBE.CPHGJAHIGPG += this.ACENNPBGMCI;
|
|
if (this.FICBNMJECCH.NMPMNBCNGBE.FABLGOLJOHB != null)
|
|
{
|
|
this.ACENNPBGMCI(this.FICBNMJECCH.NMPMNBCNGBE.FABLGOLJOHB.color);
|
|
}
|
|
}
|
|
this.HDDAPKNINOE();
|
|
if (this.FICBNMJECCH != null && this.FICBNMJECCH.NHDDPGADJPJ && this.nameTextMesh != null)
|
|
{
|
|
FKJHLNJDEKK.PNCMLPIPGEG += this.OOHFAEDELKN;
|
|
}
|
|
if (this.BPOFAFOILPO)
|
|
{
|
|
GameObject gameObject = new GameObject();
|
|
this.GJIFPKECAJH = gameObject.AddComponent<OutfitTrigger>();
|
|
this.GJIFPKECAJH.SetOutfitOwner(this);
|
|
this.GJIFPKECAJH.ADLFBEDFCCK = this.triggerEnabledOutsideDormroom;
|
|
this.FICBNMJECCH.SetParentPlayerRoot(gameObject.transform);
|
|
}
|
|
if (this.FICBNMJECCH != null && ((this.CurrentBodyPart == Player.HDOICGIKKAO.LeftHand && !this.FICBNMJECCH.BGIBHPOALJG.LCJGDOEIFPF) || (this.CurrentBodyPart == Player.HDOICGIKKAO.RightHand && !this.FICBNMJECCH.KEJBPANGFKK.LCJGDOEIFPF) || !this.FICBNMJECCH.IIEGGLHMOBH))
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
this.NACIMKHJICC();
|
|
}
|
|
|
|
// Token: 0x06018D81 RID: 101761 RVA: 0x006DEC8C File Offset: 0x006DCE8C
|
|
public OutfitSelection KACLNIBJMOH()
|
|
{
|
|
return this.<JIHNPAMGFMJ>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x17000ACD RID: 2765
|
|
// (get) Token: 0x06018D9F RID: 101791 RVA: 0x006DF340 File Offset: 0x006DD540
|
|
// (set) Token: 0x06018D82 RID: 101762 RVA: 0x006DEC94 File Offset: 0x006DCE94
|
|
public Player FICBNMJECCH { get; set; }
|
|
|
|
// Token: 0x17000AD1 RID: 2769
|
|
// (get) Token: 0x06018D83 RID: 101763 RVA: 0x006DECA0 File Offset: 0x006DCEA0
|
|
// (set) Token: 0x06018D98 RID: 101784 RVA: 0x006DF094 File Offset: 0x006DD294
|
|
public bool HKADFIGEMPO { get; set; }
|
|
|
|
// Token: 0x06018D84 RID: 101764 RVA: 0x006DECA8 File Offset: 0x006DCEA8
|
|
public void NIDGBJAEOCH(bool KIMJICHGKHE, Player NFGAAMCPGIO, Color GEKBPOLAOCA, float OMNJOPJOFNE)
|
|
{
|
|
this.OPHHKJFNDKI = KIMJICHGKHE;
|
|
if (this.OPHHKJFNDKI && this.HEGHBOOMIOG && this.SkinnedMeshRenderer.enabled && this.SkinnedMeshRenderer.gameObject.activeInHierarchy)
|
|
{
|
|
if (OutfitManager.IsTeamOutfit(this.Type))
|
|
{
|
|
OMNJOPJOFNE = Mathf.Max(OMNJOPJOFNE, OutfitItem.ILDJDIKAOEH);
|
|
IgnoreEffectRenderer.KHIHIJDJCBI(this.SkinnedMeshRenderer, this.SkinnedMeshRenderer.OGBPEDNIGCM(), NFGAAMCPGIO, OMNJOPJOFNE, new Color?(GEKBPOLAOCA));
|
|
}
|
|
else
|
|
{
|
|
IgnoreEffectRenderer.KHIHIJDJCBI(this.SkinnedMeshRenderer, this.SkinnedMeshRenderer.OGBPEDNIGCM(), NFGAAMCPGIO, OMNJOPJOFNE, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000ACC RID: 2764
|
|
// (get) Token: 0x06018D95 RID: 101781 RVA: 0x006DF024 File Offset: 0x006DD224
|
|
// (set) Token: 0x06018D85 RID: 101765 RVA: 0x006DED5C File Offset: 0x006DCF5C
|
|
public int ALBBIDAAHBO { get; set; }
|
|
|
|
// Token: 0x06018D86 RID: 101766 RVA: 0x006DED68 File Offset: 0x006DCF68
|
|
private void HDDAPKNINOE()
|
|
{
|
|
if (this.FICBNMJECCH != null && this.nameTextMesh != null)
|
|
{
|
|
this.nameTextMesh.text = this.FICBNMJECCH.GNLMCJKALBJ.HDDFDDFHEHB(this.nameTextMaxLength, ".");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D87 RID: 101767 RVA: 0x006DEDC0 File Offset: 0x006DCFC0
|
|
public bool IJHJKLHJLPF()
|
|
{
|
|
return this.PJMHPBBFGDD;
|
|
}
|
|
|
|
// Token: 0x17000AC9 RID: 2761
|
|
// (get) Token: 0x06018D88 RID: 101768 RVA: 0x006DEDC8 File Offset: 0x006DCFC8
|
|
private Material APOOIHJDHOG
|
|
{
|
|
get
|
|
{
|
|
if (this.IJEGBIGGENA == null)
|
|
{
|
|
this.IJEGBIGGENA = new Material(this.SkinnedMeshRenderer.sharedMaterial);
|
|
}
|
|
return this.IJEGBIGGENA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D89 RID: 101769 RVA: 0x006DEDF8 File Offset: 0x006DCFF8
|
|
public void ApplyDecal(AvatarDecal DOACHLNEDFK)
|
|
{
|
|
if (OutfitSelection.NOGAGKDDFDB(this.HPEJLADOJPP, null))
|
|
{
|
|
this.HPEJLADOJPP.decal = DOACHLNEDFK;
|
|
}
|
|
AvatarDecal.CDDLHCEIOOF(DOACHLNEDFK, this.SkinnedMeshRenderer.material, this.APOOIHJDHOG);
|
|
}
|
|
|
|
// Token: 0x06018D8A RID: 101770 RVA: 0x006DEE30 File Offset: 0x006DD030
|
|
private void AHHEENEFAPI()
|
|
{
|
|
if (this.LNPNLHHBKKF())
|
|
{
|
|
OutlineEffectRenderer.BODKHCNIMFC(this.SkinnedMeshRenderer, 1);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D8B RID: 101771 RVA: 0x006DEE4C File Offset: 0x006DD04C
|
|
public void JHBJIHFHELN(bool NOBAPCOKFIL)
|
|
{
|
|
this.PKAKMDFGEFI = NOBAPCOKFIL;
|
|
this.SkinnedMeshRenderer.enabled = this.HEGHBOOMIOG;
|
|
if (this.rootBoneProxy != null)
|
|
{
|
|
this.rootBoneProxy.gameObject.SetActive(this.HEGHBOOMIOG);
|
|
}
|
|
if (this.FirstPersonShadowCaster != null)
|
|
{
|
|
this.FirstPersonShadowCaster.SetActive(this.HEGHBOOMIOG);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D8C RID: 101772 RVA: 0x006DEEBC File Offset: 0x006DD0BC
|
|
public bool NECNJEHKEBF()
|
|
{
|
|
return this.NFLCJGMFFJI;
|
|
}
|
|
|
|
// Token: 0x06018D8D RID: 101773 RVA: 0x006DEEC4 File Offset: 0x006DD0C4
|
|
private void LateUpdate()
|
|
{
|
|
if (this.rootBoneProxy != null)
|
|
{
|
|
Transform transform = this.SkinnedMeshRenderer.bones[0];
|
|
if (transform != null)
|
|
{
|
|
this.rootBoneProxy.position = this.SkinnedMeshRenderer.bounds.center;
|
|
this.rootBoneProxy.rotation = transform.rotation;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000AD0 RID: 2768
|
|
// (get) Token: 0x06018D8E RID: 101774 RVA: 0x006DEF2C File Offset: 0x006DD12C
|
|
// (set) Token: 0x06018DB9 RID: 101817 RVA: 0x006DF924 File Offset: 0x006DDB24
|
|
public OutfitSelection HPEJLADOJPP { get; private set; }
|
|
|
|
// Token: 0x17000ACB RID: 2763
|
|
// (get) Token: 0x06018DA1 RID: 101793 RVA: 0x006DF364 File Offset: 0x006DD564
|
|
// (set) Token: 0x06018D8F RID: 101775 RVA: 0x006DEF34 File Offset: 0x006DD134
|
|
public bool FLDANCEBDBO
|
|
{
|
|
get
|
|
{
|
|
return this.PJMHPBBFGDD;
|
|
}
|
|
set
|
|
{
|
|
this.PJMHPBBFGDD = value;
|
|
this.NACIMKHJICC();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D90 RID: 101776 RVA: 0x006DEF44 File Offset: 0x006DD144
|
|
public void ApplyMask(global::AvatarMask HOBKFDJFIEM)
|
|
{
|
|
if (OutfitSelection.NOGAGKDDFDB(this.HPEJLADOJPP, null))
|
|
{
|
|
this.HPEJLADOJPP.mask = HOBKFDJFIEM;
|
|
}
|
|
global::AvatarMask.CDDLHCEIOOF(HOBKFDJFIEM, this.SkinnedMeshRenderer.material, this.APOOIHJDHOG);
|
|
}
|
|
|
|
// Token: 0x06018D91 RID: 101777 RVA: 0x006DEF7C File Offset: 0x006DD17C
|
|
public bool LNPNLHHBKKF()
|
|
{
|
|
return this.PJMHPBBFGDD;
|
|
}
|
|
|
|
// Token: 0x06018D92 RID: 101778 RVA: 0x006DEF84 File Offset: 0x006DD184
|
|
public void OPKKMLIAFGN(AvatarDecal DOACHLNEDFK)
|
|
{
|
|
if (OutfitSelection.KGANBDMMGML(this.KACLNIBJMOH(), null))
|
|
{
|
|
this.HCDHNBHLLKH().decal = DOACHLNEDFK;
|
|
}
|
|
AvatarDecal.AAOFIIFIJFI(DOACHLNEDFK, this.SkinnedMeshRenderer.material, this.APOOIHJDHOG);
|
|
}
|
|
|
|
// Token: 0x06018D93 RID: 101779 RVA: 0x006DEFBC File Offset: 0x006DD1BC
|
|
private void NACIMKHJICC()
|
|
{
|
|
bool flag = this.FLDANCEBDBO || (this.rootBoneProxy != null && this.SkinnedMeshRenderer.bones[0] != null);
|
|
base.enabled = flag;
|
|
}
|
|
|
|
// Token: 0x06018D94 RID: 101780 RVA: 0x006DF008 File Offset: 0x006DD208
|
|
private void LOGFBGOPLLO()
|
|
{
|
|
if (this.FLDANCEBDBO)
|
|
{
|
|
OutlineEffectRenderer.RenderHoverOutline(this.SkinnedMeshRenderer, 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000ACA RID: 2762
|
|
// (get) Token: 0x06018D96 RID: 101782 RVA: 0x006DF02C File Offset: 0x006DD22C
|
|
public Guid FBBEGCANLCN
|
|
{
|
|
get
|
|
{
|
|
if (this.OIIMGNOCOIN == Guid.Empty)
|
|
{
|
|
this.OIIMGNOCOIN = new Guid(this.guidString);
|
|
}
|
|
return this.OIIMGNOCOIN;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D97 RID: 101783 RVA: 0x006DF05C File Offset: 0x006DD25C
|
|
public void BKPLBJMJEHI(AvatarDecal DOACHLNEDFK)
|
|
{
|
|
if (OutfitSelection.NOGAGKDDFDB(this.HCDHNBHLLKH(), null))
|
|
{
|
|
this.KACLNIBJMOH().decal = DOACHLNEDFK;
|
|
}
|
|
AvatarDecal.HBIDHKDCPJP(DOACHLNEDFK, this.SkinnedMeshRenderer.material, this.OIOPDNPPGHJ());
|
|
}
|
|
|
|
// Token: 0x06018D99 RID: 101785 RVA: 0x006DF0A0 File Offset: 0x006DD2A0
|
|
public void SetTargetSkinnedMesh(SkinnedMeshRenderer MJNAHINOPIC)
|
|
{
|
|
Dictionary<string, Transform> dictionary = new Dictionary<string, Transform>();
|
|
foreach (Transform transform in MJNAHINOPIC.bones)
|
|
{
|
|
dictionary[transform.name] = transform;
|
|
}
|
|
Transform[] bones2 = this.SkinnedMeshRenderer.bones;
|
|
for (int j = 0; j < bones2.Length; j++)
|
|
{
|
|
string name = bones2[j].name;
|
|
if (!dictionary.TryGetValue(name, out bones2[j]))
|
|
{
|
|
Debug.LogError(string.Concat(new object[] { "Failed to get bone: ", name, " - can not attach to ", MJNAHINOPIC }), this);
|
|
return;
|
|
}
|
|
}
|
|
this.SkinnedMeshRenderer.bones = bones2;
|
|
Transform parent = this.SkinnedMeshRenderer.rootBone.transform.parent;
|
|
Vector3 localScale = parent.localScale;
|
|
localScale.z = Mathf.Abs(localScale.z) * Mathf.Sign(MJNAHINOPIC.transform.lossyScale.z);
|
|
parent.localScale = localScale;
|
|
if (this.rootBoneProxy != null && this.SkinnedMeshRenderer.bones[0] != null)
|
|
{
|
|
this.rootBoneProxy.localScale = this.SkinnedMeshRenderer.bones[0].lossyScale;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D9A RID: 101786 RVA: 0x006DF1FC File Offset: 0x006DD3FC
|
|
public Player IEEBGMOFPFL()
|
|
{
|
|
return this.<JFGJDKIDFJC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06018D9B RID: 101787 RVA: 0x006DF204 File Offset: 0x006DD404
|
|
public int CompareTo(OutfitItem GGGBDENGHFM)
|
|
{
|
|
if (GGGBDENGHFM == null)
|
|
{
|
|
return 0;
|
|
}
|
|
int type = (int)this.Type;
|
|
int num = type.CompareTo((int)GGGBDENGHFM.Type);
|
|
if (num != 0)
|
|
{
|
|
return num;
|
|
}
|
|
int num2 = this.preferredIndex.CompareTo(GGGBDENGHFM.preferredIndex);
|
|
if (num2 == 0)
|
|
{
|
|
return base.name.CompareTo(GGGBDENGHFM.name);
|
|
}
|
|
return num2;
|
|
}
|
|
|
|
// Token: 0x06018D9C RID: 101788 RVA: 0x006DF268 File Offset: 0x006DD468
|
|
private void IJMMPCKJJNG()
|
|
{
|
|
if (this.IEEBGMOFPFL() != null && this.nameTextMesh != null)
|
|
{
|
|
this.nameTextMesh.text = this.IEEBGMOFPFL().NGKELOAKGPD().HDDFDDFHEHB(this.nameTextMaxLength, "[PV] Frame event for voice #");
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018D9E RID: 101790 RVA: 0x006DF334 File Offset: 0x006DD534
|
|
public void DDFFIHLMAIF(Player NOBAPCOKFIL)
|
|
{
|
|
this.<JFGJDKIDFJC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06018DA0 RID: 101792 RVA: 0x006DF348 File Offset: 0x006DD548
|
|
private void MJANJBNFEGG()
|
|
{
|
|
if (this.FLDANCEBDBO)
|
|
{
|
|
OutlineEffectRenderer.BODKHCNIMFC(this.SkinnedMeshRenderer, 1);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DA2 RID: 101794 RVA: 0x006DF36C File Offset: 0x006DD56C
|
|
public void LJEPDLDGDFH(int NOBAPCOKFIL)
|
|
{
|
|
this.<JCBCBFMMCNM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06018DA3 RID: 101795 RVA: 0x006DF378 File Offset: 0x006DD578
|
|
private void Awake()
|
|
{
|
|
this.HEGHBOOMIOG = false;
|
|
this.HPEJLADOJPP = new OutfitSelection(this, null, null, null);
|
|
if (Application.isPlaying)
|
|
{
|
|
this.SkinnedMeshRenderer.material = this.APOOIHJDHOG;
|
|
}
|
|
else
|
|
{
|
|
this.SkinnedMeshRenderer.sharedMaterial = this.APOOIHJDHOG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DA4 RID: 101796 RVA: 0x006DF3CC File Offset: 0x006DD5CC
|
|
public void LNDILHBOBOJ(bool NOBAPCOKFIL)
|
|
{
|
|
this.<EJNNNEFLICP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06018DA5 RID: 101797 RVA: 0x006DF3D8 File Offset: 0x006DD5D8
|
|
private void Update()
|
|
{
|
|
if (this.FLDANCEBDBO)
|
|
{
|
|
OutlineEffectRenderer.RenderHoverOutline(this.SkinnedMeshRenderer, 1);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000ACE RID: 2766
|
|
// (get) Token: 0x06018DB6 RID: 101814 RVA: 0x006DF8C4 File Offset: 0x006DDAC4
|
|
// (set) Token: 0x06018DA6 RID: 101798 RVA: 0x006DF3F4 File Offset: 0x006DD5F4
|
|
public bool MBMGPJOHAGB
|
|
{
|
|
get
|
|
{
|
|
return this.NFLCJGMFFJI;
|
|
}
|
|
set
|
|
{
|
|
this.NFLCJGMFFJI = value;
|
|
if (this.NFLCJGMFFJI)
|
|
{
|
|
this.HEGHBOOMIOG = true;
|
|
}
|
|
else
|
|
{
|
|
this.HEGHBOOMIOG = this.HEGHBOOMIOG;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000ACF RID: 2767
|
|
// (get) Token: 0x06018DAF RID: 101807 RVA: 0x006DF6BC File Offset: 0x006DD8BC
|
|
// (set) Token: 0x06018DA7 RID: 101799 RVA: 0x006DF420 File Offset: 0x006DD620
|
|
public bool HEGHBOOMIOG
|
|
{
|
|
get
|
|
{
|
|
return this.PKAKMDFGEFI && this.MBMGPJOHAGB;
|
|
}
|
|
set
|
|
{
|
|
this.PKAKMDFGEFI = value;
|
|
this.SkinnedMeshRenderer.enabled = this.HEGHBOOMIOG;
|
|
if (this.rootBoneProxy != null)
|
|
{
|
|
this.rootBoneProxy.gameObject.SetActive(this.HEGHBOOMIOG);
|
|
}
|
|
if (this.FirstPersonShadowCaster != null)
|
|
{
|
|
this.FirstPersonShadowCaster.SetActive(this.HEGHBOOMIOG);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DA8 RID: 101800 RVA: 0x006DF490 File Offset: 0x006DD690
|
|
private void OnDestroy()
|
|
{
|
|
if (this.UsesHairColor && this.FICBNMJECCH != null)
|
|
{
|
|
this.FICBNMJECCH.NMPMNBCNGBE.CPHGJAHIGPG -= this.ACENNPBGMCI;
|
|
}
|
|
if (this.GJIFPKECAJH != null)
|
|
{
|
|
global::UnityEngine.Object.Destroy(this.GJIFPKECAJH.gameObject);
|
|
}
|
|
if (this.FICBNMJECCH != null && this.FICBNMJECCH.NHDDPGADJPJ && this.nameTextMesh != null)
|
|
{
|
|
FKJHLNJDEKK.PNCMLPIPGEG -= this.OOHFAEDELKN;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DA9 RID: 101801 RVA: 0x006DF53C File Offset: 0x006DD73C
|
|
private void FHGOPLHOGNE(long HPCOKMAPCHB)
|
|
{
|
|
this.IJMMPCKJJNG();
|
|
}
|
|
|
|
// Token: 0x06018DAA RID: 101802 RVA: 0x006DF544 File Offset: 0x006DD744
|
|
public Guid PKNAALHLEHM()
|
|
{
|
|
if (this.OIIMGNOCOIN == Guid.Empty)
|
|
{
|
|
this.OIIMGNOCOIN = new Guid(this.guidString);
|
|
}
|
|
return this.OIIMGNOCOIN;
|
|
}
|
|
|
|
// Token: 0x06018DAB RID: 101803 RVA: 0x006DF574 File Offset: 0x006DD774
|
|
public void GMNPOGLDJJJ(int NOBAPCOKFIL)
|
|
{
|
|
this.<JCBCBFMMCNM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06018DAC RID: 101804 RVA: 0x006DF580 File Offset: 0x006DD780
|
|
private void MCBDMDMNPKJ(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.UsesHairColor)
|
|
{
|
|
this.SkinnedMeshRenderer.material.color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000AD2 RID: 2770
|
|
// (get) Token: 0x06018DAD RID: 101805 RVA: 0x006DF5A0 File Offset: 0x006DD7A0
|
|
private bool BPOFAFOILPO
|
|
{
|
|
get
|
|
{
|
|
bool flag = this.FICBNMJECCH != null && this.FICBNMJECCH.NHDDPGADJPJ && !this.HKADFIGEMPO;
|
|
bool flag2 = this.outfitTriggerEnabled && (SessionManager.LBLKKPKBOGD || this.triggerEnabledOutsideDormroom);
|
|
return flag && flag2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DAE RID: 101806 RVA: 0x006DF608 File Offset: 0x006DD808
|
|
public void UpdateIgnoreMode(bool KIMJICHGKHE, Player NFGAAMCPGIO, Color GEKBPOLAOCA, float OMNJOPJOFNE)
|
|
{
|
|
this.OPHHKJFNDKI = KIMJICHGKHE;
|
|
if (this.OPHHKJFNDKI && this.HEGHBOOMIOG && this.SkinnedMeshRenderer.enabled && this.SkinnedMeshRenderer.gameObject.activeInHierarchy)
|
|
{
|
|
if (OutfitManager.IsTeamOutfit(this.Type))
|
|
{
|
|
OMNJOPJOFNE = Mathf.Max(OMNJOPJOFNE, OutfitItem.ILDJDIKAOEH);
|
|
IgnoreEffectRenderer.RenderIgnoredItem(this.SkinnedMeshRenderer, this.SkinnedMeshRenderer.OGBPEDNIGCM(), NFGAAMCPGIO, OMNJOPJOFNE, new Color?(GEKBPOLAOCA));
|
|
}
|
|
else
|
|
{
|
|
IgnoreEffectRenderer.RenderIgnoredItem(this.SkinnedMeshRenderer, this.SkinnedMeshRenderer.OGBPEDNIGCM(), NFGAAMCPGIO, OMNJOPJOFNE, null);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DB0 RID: 101808 RVA: 0x006DF6D4 File Offset: 0x006DD8D4
|
|
public OutfitSelection HCDHNBHLLKH()
|
|
{
|
|
return this.<JIHNPAMGFMJ>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06018DB1 RID: 101809 RVA: 0x006DF6DC File Offset: 0x006DD8DC
|
|
private void ACENNPBGMCI(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.UsesHairColor)
|
|
{
|
|
this.SkinnedMeshRenderer.material.color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DB2 RID: 101810 RVA: 0x006DF6FC File Offset: 0x006DD8FC
|
|
public bool DLMNNGEPHLC()
|
|
{
|
|
return this.NFLCJGMFFJI;
|
|
}
|
|
|
|
// Token: 0x06018DB4 RID: 101812 RVA: 0x006DF710 File Offset: 0x006DD910
|
|
private void GMBFJHIHJFB()
|
|
{
|
|
this.HEGHBOOMIOG = false;
|
|
if (this.UsesHairColor && this.IEEBGMOFPFL() != null)
|
|
{
|
|
this.IEEBGMOFPFL().ELADFPJEEJO().CPHGJAHIGPG += this.MCBDMDMNPKJ;
|
|
if (this.FICBNMJECCH.NMPMNBCNGBE.FABLGOLJOHB != null)
|
|
{
|
|
this.MCBDMDMNPKJ(this.FICBNMJECCH.NMPMNBCNGBE.FABLGOLJOHB.color);
|
|
}
|
|
}
|
|
this.HDDAPKNINOE();
|
|
if (this.FICBNMJECCH != null && this.FICBNMJECCH.PJNKKFHLGKI() && this.nameTextMesh != null)
|
|
{
|
|
FKJHLNJDEKK.PNCMLPIPGEG += this.OOHFAEDELKN;
|
|
}
|
|
if (this.NNBEEKDCCGO())
|
|
{
|
|
GameObject gameObject = new GameObject();
|
|
this.GJIFPKECAJH = gameObject.AddComponent<OutfitTrigger>();
|
|
this.GJIFPKECAJH.COPONAJNJDB(this);
|
|
this.GJIFPKECAJH.CBLMKJCFHKG(this.triggerEnabledOutsideDormroom);
|
|
this.IEEBGMOFPFL().SetParentPlayerRoot(gameObject.transform);
|
|
}
|
|
if (this.FICBNMJECCH != null && ((this.CurrentBodyPart == Player.HDOICGIKKAO.Torso && !this.FICBNMJECCH.BGIBHPOALJG.LCJGDOEIFPF) || (this.CurrentBodyPart == (Player.HDOICGIKKAO)5 && !this.IEEBGMOFPFL().KEJBPANGFKK.LCJGDOEIFPF) || !this.FICBNMJECCH.HMAHAJNCJKH()))
|
|
{
|
|
base.gameObject.SetActive(false);
|
|
}
|
|
this.NACIMKHJICC();
|
|
}
|
|
|
|
// Token: 0x06018DB5 RID: 101813 RVA: 0x006DF898 File Offset: 0x006DDA98
|
|
public void NJBAMFEEFAI(bool NOBAPCOKFIL)
|
|
{
|
|
this.NFLCJGMFFJI = NOBAPCOKFIL;
|
|
if (this.NFLCJGMFFJI)
|
|
{
|
|
this.HEGHBOOMIOG = true;
|
|
}
|
|
else
|
|
{
|
|
this.JHBJIHFHELN(this.HEGHBOOMIOG);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DB7 RID: 101815 RVA: 0x006DF8CC File Offset: 0x006DDACC
|
|
public void ApplySwatch(AvatarColorSwatch NNMPFDLBNMF)
|
|
{
|
|
if (OutfitSelection.NOGAGKDDFDB(this.HPEJLADOJPP, null))
|
|
{
|
|
this.HPEJLADOJPP.colorSwatch = NNMPFDLBNMF;
|
|
}
|
|
AvatarColorSwatch.CDDLHCEIOOF(NNMPFDLBNMF, this.SkinnedMeshRenderer.material, this.APOOIHJDHOG);
|
|
}
|
|
|
|
// Token: 0x06018DB8 RID: 101816 RVA: 0x006DF904 File Offset: 0x006DDB04
|
|
private void NLEKAKAMPIG(Color HNOPCLEFEIG)
|
|
{
|
|
if (this.UsesHairColor)
|
|
{
|
|
this.SkinnedMeshRenderer.material.color = HNOPCLEFEIG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DBA RID: 101818 RVA: 0x006DF930 File Offset: 0x006DDB30
|
|
private bool NNBEEKDCCGO()
|
|
{
|
|
bool flag = !(this.IEEBGMOFPFL() != null) || !this.IEEBGMOFPFL().GJLCBGPGIGN() || !this.LONOOHJLOJK();
|
|
bool flag2 = this.outfitTriggerEnabled && (SessionManager.LBLKKPKBOGD || this.triggerEnabledOutsideDormroom);
|
|
return flag && flag2;
|
|
}
|
|
|
|
// Token: 0x06018DBB RID: 101819 RVA: 0x006DF998 File Offset: 0x006DDB98
|
|
public void EPBMAACFDKB(int NOBAPCOKFIL)
|
|
{
|
|
this.<JCBCBFMMCNM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06018DBC RID: 101820 RVA: 0x006DF9A4 File Offset: 0x006DDBA4
|
|
private Material OIOPDNPPGHJ()
|
|
{
|
|
if (this.IJEGBIGGENA == null)
|
|
{
|
|
this.IJEGBIGGENA = new Material(this.SkinnedMeshRenderer.sharedMaterial);
|
|
}
|
|
return this.IJEGBIGGENA;
|
|
}
|
|
|
|
// Token: 0x06018DBD RID: 101821 RVA: 0x006DF9D4 File Offset: 0x006DDBD4
|
|
private void OOHFAEDELKN(long HPCOKMAPCHB)
|
|
{
|
|
this.HDDAPKNINOE();
|
|
}
|
|
|
|
// Token: 0x06018DBE RID: 101822 RVA: 0x006DF9DC File Offset: 0x006DDBDC
|
|
public void GLPEDOBNFIN(bool NOBAPCOKFIL)
|
|
{
|
|
this.PJMHPBBFGDD = NOBAPCOKFIL;
|
|
this.NACIMKHJICC();
|
|
}
|
|
|
|
// Token: 0x06018DBF RID: 101823 RVA: 0x006DF9EC File Offset: 0x006DDBEC
|
|
public void OHKHLMHLPAK(bool NOBAPCOKFIL)
|
|
{
|
|
this.PJMHPBBFGDD = NOBAPCOKFIL;
|
|
this.NACIMKHJICC();
|
|
}
|
|
|
|
// Token: 0x0400437C RID: 17276
|
|
public SkinnedMeshRenderer SkinnedMeshRenderer;
|
|
|
|
// Token: 0x0400437D RID: 17277
|
|
[NonSerialized]
|
|
public GameObject FirstPersonShadowCaster;
|
|
|
|
// Token: 0x0400437E RID: 17278
|
|
[SerializeField]
|
|
[Tooltip("This guid is auto generated at the time of the prefab creation and should never change if you do not want to break an existing players outfit selection.")]
|
|
private string guidString = Guid.NewGuid().ToString();
|
|
|
|
// Token: 0x0400437F RID: 17279
|
|
[Tooltip("if this outfitItem can be unlockable and will show in the racks.\n(e.g. Team outfits, dev jersey and party band are NOT dropable)")]
|
|
public bool DropableItem = true;
|
|
|
|
// Token: 0x04004380 RID: 17280
|
|
[Header("Visual settings")]
|
|
public OutfitManager.AFPKFANHPHO Type = OutfitManager.AFPKFANHPHO.None;
|
|
|
|
// Token: 0x04004381 RID: 17281
|
|
[Tooltip("Defines if this outfitItem is effected by the global hair color changes.")]
|
|
public bool UsesHairColor;
|
|
|
|
// Token: 0x04004382 RID: 17282
|
|
[SerializeField]
|
|
[Tooltip("Used take off clothes, when disabled this outfitItem can not be removed by hand.")]
|
|
[Header("Trigger")]
|
|
private bool outfitTriggerEnabled = true;
|
|
|
|
// Token: 0x04004383 RID: 17283
|
|
[SerializeField]
|
|
[Tooltip("Used for outfitItems enabled outside dorm room")]
|
|
private bool triggerEnabledOutsideDormroom;
|
|
|
|
// Token: 0x04004384 RID: 17284
|
|
[Header("Outfit Set")]
|
|
public OutfitSet OutfitSet;
|
|
|
|
// Token: 0x04004385 RID: 17285
|
|
[Header("Outfit Progression")]
|
|
public OutfitItem.OutfitSelectionGroup[] SelectionGroups;
|
|
|
|
// Token: 0x04004386 RID: 17286
|
|
[Header("Outfit Name Tag")]
|
|
[SerializeField]
|
|
private Transform rootBoneProxy;
|
|
|
|
// Token: 0x04004387 RID: 17287
|
|
[SerializeField]
|
|
private TextMesh nameTextMesh;
|
|
|
|
// Token: 0x04004388 RID: 17288
|
|
[Tooltip("If their name is longer than this, we will truncate it and add '.' to it")]
|
|
[SerializeField]
|
|
private int nameTextMaxLength = 20;
|
|
|
|
// Token: 0x04004389 RID: 17289
|
|
[SerializeField]
|
|
[Tooltip("This will be used as a sorting suggestion on the rack for the same type of clothes.")]
|
|
[Header("Outfit Tool Settings")]
|
|
protected int preferredIndex;
|
|
|
|
// Token: 0x0400438A RID: 17290
|
|
[Tooltip("We will group same type of outfits with the same preferred drawer, to the corresponding drawer if one exists.\nIf not add them to the paging of the first available drawer that supports this type of outfit.")]
|
|
[FormerlySerializedAs("PreferredRackName")]
|
|
public string PreferredDrawerName = string.Empty;
|
|
|
|
// Token: 0x0400438B RID: 17291
|
|
public float RackHeightOffset;
|
|
|
|
// Token: 0x0400438C RID: 17292
|
|
private Material IJEGBIGGENA;
|
|
|
|
// Token: 0x0400438D RID: 17293
|
|
private Guid OIIMGNOCOIN = Guid.Empty;
|
|
|
|
// Token: 0x0400438E RID: 17294
|
|
private bool PJMHPBBFGDD;
|
|
|
|
// Token: 0x0400438F RID: 17295
|
|
[NonSerialized]
|
|
public Player.HDOICGIKKAO CurrentBodyPart = Player.HDOICGIKKAO.None;
|
|
|
|
// Token: 0x04004390 RID: 17296
|
|
private OutfitTrigger GJIFPKECAJH;
|
|
|
|
// Token: 0x04004393 RID: 17299
|
|
private bool NFLCJGMFFJI = true;
|
|
|
|
// Token: 0x04004394 RID: 17300
|
|
private bool PKAKMDFGEFI = true;
|
|
|
|
// Token: 0x04004397 RID: 17303
|
|
private bool OPHHKJFNDKI;
|
|
|
|
// Token: 0x04004398 RID: 17304
|
|
private static float ILDJDIKAOEH = 0.5f;
|
|
|
|
// Token: 0x02000C58 RID: 3160
|
|
[Serializable]
|
|
public class OutfitSelectionGroup
|
|
{
|
|
// Token: 0x06018DC0 RID: 101824 RVA: 0x006DF9FC File Offset: 0x006DDBFC
|
|
public bool PIBHIGJBLAD()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DC1 RID: 101825 RVA: 0x006DFA38 File Offset: 0x006DDC38
|
|
public bool IBPKAHIMFBH()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DC2 RID: 101826 RVA: 0x006DFA74 File Offset: 0x006DDC74
|
|
public bool LFFNKKLBJGL()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DC3 RID: 101827 RVA: 0x006DFAB0 File Offset: 0x006DDCB0
|
|
public bool LKHCJOCJCFB()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DC4 RID: 101828 RVA: 0x006DFAEC File Offset: 0x006DDCEC
|
|
public bool MMIAMGAHEGE()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DC5 RID: 101829 RVA: 0x006DFB28 File Offset: 0x006DDD28
|
|
public bool LCBNLHBBOAP()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DC6 RID: 101830 RVA: 0x006DFB64 File Offset: 0x006DDD64
|
|
public bool PIHJNICDPMH()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DC7 RID: 101831 RVA: 0x006DFBA0 File Offset: 0x006DDDA0
|
|
public bool MIJDHBLGBBA()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DC8 RID: 101832 RVA: 0x006DFBDC File Offset: 0x006DDDDC
|
|
public bool FLOMBHFFIBA()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x17000AD3 RID: 2771
|
|
// (get) Token: 0x06018DC9 RID: 101833 RVA: 0x006DFC18 File Offset: 0x006DDE18
|
|
public bool IsValid
|
|
{
|
|
get
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06018DCA RID: 101834 RVA: 0x006DFC54 File Offset: 0x006DDE54
|
|
public bool GHGLLIIHDBO()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DCB RID: 101835 RVA: 0x006DFC90 File Offset: 0x006DDE90
|
|
public bool IIHKBLFHBAA()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DCC RID: 101836 RVA: 0x006DFCCC File Offset: 0x006DDECC
|
|
public bool PMILCAGAHKE()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DCE RID: 101838 RVA: 0x006DFD28 File Offset: 0x006DDF28
|
|
public bool KAANODJFPPC()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DCF RID: 101839 RVA: 0x006DFD64 File Offset: 0x006DDF64
|
|
public bool OGAIHDNANGA()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DD0 RID: 101840 RVA: 0x006DFDA0 File Offset: 0x006DDFA0
|
|
public bool BIHDJGCPNFH()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DD1 RID: 101841 RVA: 0x006DFDDC File Offset: 0x006DDFDC
|
|
public bool JLNKKNNHIHD()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DD2 RID: 101842 RVA: 0x006DFE18 File Offset: 0x006DE018
|
|
public bool PPDPBIFCFDK()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DD3 RID: 101843 RVA: 0x006DFE54 File Offset: 0x006DE054
|
|
public bool OILHGNJHKKI()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DD4 RID: 101844 RVA: 0x006DFE90 File Offset: 0x006DE090
|
|
public bool ECNPKDJLHEN()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DD5 RID: 101845 RVA: 0x006DFECC File Offset: 0x006DE0CC
|
|
public bool FAENJKKDHEE()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DD6 RID: 101846 RVA: 0x006DFF08 File Offset: 0x006DE108
|
|
public bool AJLFLOJHGDE()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DD7 RID: 101847 RVA: 0x006DFF44 File Offset: 0x006DE144
|
|
public bool JJEGLLBILJK()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DD8 RID: 101848 RVA: 0x006DFF80 File Offset: 0x006DE180
|
|
public bool KJPEJKBDEHE()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DD9 RID: 101849 RVA: 0x006DFFBC File Offset: 0x006DE1BC
|
|
public bool OCHNAFJBPBI()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DDA RID: 101850 RVA: 0x006DFFF8 File Offset: 0x006DE1F8
|
|
public bool ICCNFGGHCCL()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DDB RID: 101851 RVA: 0x006E0034 File Offset: 0x006DE234
|
|
public bool OOLMKIKGGNH()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DDC RID: 101852 RVA: 0x006E0070 File Offset: 0x006DE270
|
|
public bool LPMAIIOBCMO()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DDD RID: 101853 RVA: 0x006E00AC File Offset: 0x006DE2AC
|
|
public bool JKONLFCPHFF()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DDE RID: 101854 RVA: 0x006E00E8 File Offset: 0x006DE2E8
|
|
public bool NBGBJEOJFKA()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DDF RID: 101855 RVA: 0x006E0124 File Offset: 0x006DE324
|
|
public bool CDNOCMPGAMP()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DE0 RID: 101856 RVA: 0x006E0160 File Offset: 0x006DE360
|
|
public bool BJFHLOEHCLJ()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DE1 RID: 101857 RVA: 0x006E019C File Offset: 0x006DE39C
|
|
public bool GIDBHPLMPDD()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DE2 RID: 101858 RVA: 0x006E01D8 File Offset: 0x006DE3D8
|
|
public bool LIHLJPKBIEO()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DE3 RID: 101859 RVA: 0x006E0214 File Offset: 0x006DE414
|
|
public bool AIOIHOOBKJJ()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DE4 RID: 101860 RVA: 0x006E0250 File Offset: 0x006DE450
|
|
public bool BIDFNIPIGBP()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DE5 RID: 101861 RVA: 0x006E028C File Offset: 0x006DE48C
|
|
public bool PADIBPFOAFH()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DE6 RID: 101862 RVA: 0x006E02C8 File Offset: 0x006DE4C8
|
|
public bool KOMPLKMPHFF()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DE7 RID: 101863 RVA: 0x006E0304 File Offset: 0x006DE504
|
|
public bool NGFCENMFIKO()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DE8 RID: 101864 RVA: 0x006E0340 File Offset: 0x006DE540
|
|
public bool OCFHKIHAFBL()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DE9 RID: 101865 RVA: 0x006E037C File Offset: 0x006DE57C
|
|
public bool PHNMCGBMGPA()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DEA RID: 101866 RVA: 0x006E03B8 File Offset: 0x006DE5B8
|
|
public bool LFKCBJONNOB()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DEB RID: 101867 RVA: 0x006E03F4 File Offset: 0x006DE5F4
|
|
public bool BKFJNLHJFFF()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DEC RID: 101868 RVA: 0x006E0430 File Offset: 0x006DE630
|
|
public bool CGCNPHAKNIF()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DED RID: 101869 RVA: 0x006E046C File Offset: 0x006DE66C
|
|
public bool JBNEACFDCJG()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DEE RID: 101870 RVA: 0x006E04A8 File Offset: 0x006DE6A8
|
|
public bool HKLLABMHJHM()
|
|
{
|
|
return this.masks != null && this.masks.Count > 1 && this.swatches != null && this.swatches.Count > 0;
|
|
}
|
|
|
|
// Token: 0x06018DEF RID: 101871 RVA: 0x006E04E4 File Offset: 0x006DE6E4
|
|
public bool MDNPDLNAGAH()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DF0 RID: 101872 RVA: 0x006E0520 File Offset: 0x006DE720
|
|
public bool MMMNDHEALIG()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 0 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DF1 RID: 101873 RVA: 0x006E055C File Offset: 0x006DE75C
|
|
public bool JPMHBKNDBHD()
|
|
{
|
|
return this.masks == null || this.masks.Count <= 1 || this.swatches == null || this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x06018DF2 RID: 101874 RVA: 0x006E0598 File Offset: 0x006DE798
|
|
public bool AEAKFIBHEPE()
|
|
{
|
|
return this.masks != null && this.masks.Count > 0 && this.swatches != null && this.swatches.Count > 1;
|
|
}
|
|
|
|
// Token: 0x04004399 RID: 17305
|
|
public string name = string.Empty;
|
|
|
|
// Token: 0x0400439A RID: 17306
|
|
[Tooltip("0: if there is a decal in this group it will always be applied to all combinations,\n1: not having a decal vs having one is 50-50 chance")]
|
|
[Range(0f, 1f)]
|
|
public float noneDecalRarity = 1f;
|
|
|
|
// Token: 0x0400439B RID: 17307
|
|
public List<global::AvatarMask> masks;
|
|
|
|
// Token: 0x0400439C RID: 17308
|
|
public List<AvatarColorSwatch> swatches;
|
|
|
|
// Token: 0x0400439D RID: 17309
|
|
public List<AvatarDecal> decals;
|
|
}
|
|
}
|