2252 lines
79 KiB
C#
2252 lines
79 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using Photon.Pun;
|
|
using Photon.Realtime;
|
|
using RecRoom;
|
|
using RecRoom.Avatar;
|
|
using RecRoom.Avatar.Data.Runtime;
|
|
using RecRoom.Avatar.Face;
|
|
using RecRoom.Avatar.Outfit;
|
|
using RecRoom.Core;
|
|
using RecRoom.Core.DataStructures;
|
|
using RecRoom.Networking.SynchronizedFields;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000332 RID: 818
|
|
[Token(Token = "0x2000332")]
|
|
[DisallowMultipleComponent]
|
|
[StructLayout(3)]
|
|
public class PlayerAvatar : MonoBehaviourPun
|
|
{
|
|
// Token: 0x17000400 RID: 1024
|
|
// (get) Token: 0x060018A0 RID: 6304 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x17000400")]
|
|
public PlayerAvatarDisplay.AnchorParams GAIBBIKHJNO
|
|
{
|
|
[Token(Token = "0x60018A0")]
|
|
[Address(RVA = "0xFD7C40", Offset = "0xFD6640", VA = "0x180FD7C40")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000401 RID: 1025
|
|
// (get) Token: 0x060018A1 RID: 6305 RVA: 0x00065758 File Offset: 0x00063958
|
|
[Token(Token = "0x17000401")]
|
|
public bool CHKGACMDBJI
|
|
{
|
|
[Token(Token = "0x60018A1")]
|
|
[Address(RVA = "0xFD7EE0", Offset = "0xFD68E0", VA = "0x180FD7EE0")]
|
|
get
|
|
{
|
|
return this.playerAvatarDisplay.LFJPAGANDCO;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000402 RID: 1026
|
|
// (get) Token: 0x060018A2 RID: 6306 RVA: 0x00065778 File Offset: 0x00063978
|
|
// (set) Token: 0x060018A3 RID: 6307 RVA: 0x00065798 File Offset: 0x00063998
|
|
[Token(Token = "0x17000402")]
|
|
private string JJDCGAMBGFO
|
|
{
|
|
[Token(Token = "0x60018A2")]
|
|
[Address(RVA = "0xFD3D80", Offset = "0xFD2780", VA = "0x180FD3D80")]
|
|
get
|
|
{
|
|
return this.NOEOAMLBDKI.Get();
|
|
}
|
|
[Token(Token = "0x60018A3")]
|
|
[Address(RVA = "0xFD3240", Offset = "0xFD1C40", VA = "0x180FD3240")]
|
|
set
|
|
{
|
|
SynchronizedPlayerField<string> noeoamlbdki = this.NOEOAMLBDKI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000403 RID: 1027
|
|
// (get) Token: 0x060018A4 RID: 6308 RVA: 0x000657B4 File Offset: 0x000639B4
|
|
// (set) Token: 0x060018A5 RID: 6309 RVA: 0x000657D4 File Offset: 0x000639D4
|
|
[Token(Token = "0x17000403")]
|
|
private string IIIGAKGMBEN
|
|
{
|
|
[Token(Token = "0x60018A4")]
|
|
[Address(RVA = "0xFD47A0", Offset = "0xFD31A0", VA = "0x180FD47A0")]
|
|
get
|
|
{
|
|
return this.IIJLABMLIJH.Get();
|
|
}
|
|
[Token(Token = "0x60018A5")]
|
|
[Address(RVA = "0xFD45A0", Offset = "0xFD2FA0", VA = "0x180FD45A0")]
|
|
set
|
|
{
|
|
SynchronizedPlayerField<string> iijlabmlijh = this.IIJLABMLIJH;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000404 RID: 1028
|
|
// (get) Token: 0x060018A6 RID: 6310 RVA: 0x000657F0 File Offset: 0x000639F0
|
|
// (set) Token: 0x060018A7 RID: 6311 RVA: 0x00065810 File Offset: 0x00063A10
|
|
[Token(Token = "0x17000404")]
|
|
private string NKJMOIIFAJK
|
|
{
|
|
[Token(Token = "0x60018A6")]
|
|
[Address(RVA = "0xFD3180", Offset = "0xFD1B80", VA = "0x180FD3180")]
|
|
get
|
|
{
|
|
return this.EIJOGIKBGPJ.Get();
|
|
}
|
|
[Token(Token = "0x60018A7")]
|
|
[Address(RVA = "0xFD31D0", Offset = "0xFD1BD0", VA = "0x180FD31D0")]
|
|
set
|
|
{
|
|
SynchronizedPlayerField<string> eijogikbgpj = this.EIJOGIKBGPJ;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018A8 RID: 6312 RVA: 0x0006582C File Offset: 0x00063A2C
|
|
[Token(Token = "0x60018A8")]
|
|
[Address(RVA = "0xFD17E0", Offset = "0xFD01E0", VA = "0x180FD17E0")]
|
|
public void ApplyLocalPlayerAvatarSettings(LLKGALFAOEO KJAFOCJMDIH, bool DLPDLPMLDLM = false)
|
|
{
|
|
bool flag = this.JEPCLDNFDKP();
|
|
if (flag)
|
|
{
|
|
bool flag2 = !flag;
|
|
bool flag3 = !flag;
|
|
bool flag4 = !flag;
|
|
flag = flag4;
|
|
if (!flag)
|
|
{
|
|
}
|
|
string guidString = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.FindHairColor("", true).guidString;
|
|
if (flag2)
|
|
{
|
|
}
|
|
string guidString2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.FindSkinColor("", true).guidString;
|
|
if (flag4)
|
|
{
|
|
}
|
|
List<AvatarItemSelection> randomInitialOutfit = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.GetRandomInitialOutfit();
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
int num = 0;
|
|
blhjhpndjbb.GFLLLLANHHE(randomInitialOutfit, num != 0);
|
|
if (!string.IsNullOrEmpty(guidString2) && this.JEPCLDNFDKP())
|
|
{
|
|
SynchronizedPlayerField<string> iijlabmlijh = this.IIJLABMLIJH;
|
|
}
|
|
int num2 = 0;
|
|
int num3 = 0;
|
|
int num4 = 0;
|
|
this.SetLocalPlayerHairColor(guidString, (PlayerAvatar.GIGEMDLECNK)num4, num3 != 0, num2 != 0);
|
|
AvatarCustomizationSettings defaultCustomizationSettings = this.GetDefaultCustomizationSettings();
|
|
AvatarCustomizationSettings avatarCustomizationSettings;
|
|
if ((uint)1 == 0U)
|
|
{
|
|
defaultCustomizationSettings.hideEars = num2 != 0;
|
|
AvatarCustomizationSettings avatarCustomizationSettings2;
|
|
avatarCustomizationSettings = this.COGNCBOIOHO(avatarCustomizationSettings2);
|
|
string beardColorId = avatarCustomizationSettings.beardColorId;
|
|
string text = avatarCustomizationSettings.HLHBJCIJPBE();
|
|
this.NKJMOIIFAJK = text;
|
|
if (!string.IsNullOrEmpty(beardColorId))
|
|
{
|
|
int num5 = 0;
|
|
this.SetLocalPlayerBeardColor(beardColorId, (PlayerAvatar.AGPDABFCNFF)((uint)1), num5 != 0, num2 != 0);
|
|
}
|
|
}
|
|
int num6 = 0;
|
|
int num7 = 0;
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, num7 != 0, num6 != 0);
|
|
int num8 = 0;
|
|
int num9 = 0;
|
|
this.SetLocalPlayerBeardColor(guidString, (PlayerAvatar.AGPDABFCNFF)num9, num8 != 0, num2 != 0);
|
|
if (DLPDLPMLDLM || (uint)1 == 0U)
|
|
{
|
|
PlayerAvatar.DelayedLocalSaveAvatar();
|
|
}
|
|
if (!this.BLHJHPNDJBB.OFHKMDDAONM())
|
|
{
|
|
List<AvatarItemSelection> list = Enumerable.ToList<AvatarItemSelection>(this.BLHJHPNDJBB.HHANFBKKCBA);
|
|
this.DDCEKKMGHIF = list;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000405 RID: 1029
|
|
// (get) Token: 0x060018A9 RID: 6313 RVA: 0x000659A0 File Offset: 0x00063BA0
|
|
// (set) Token: 0x060018AA RID: 6314 RVA: 0x000659B4 File Offset: 0x00063BB4
|
|
[Token(Token = "0x17000405")]
|
|
private static ISchedulerPromise LCJFPKJFFFM
|
|
{
|
|
[Token(Token = "0x60018A9")]
|
|
[Address(RVA = "0xFD4010", Offset = "0xFD2A10", VA = "0x180FD4010")]
|
|
get
|
|
{
|
|
return PlayerAvatar.OPKCJLOOJDN;
|
|
}
|
|
[Token(Token = "0x60018AA")]
|
|
[Address(RVA = "0xFD3CD0", Offset = "0xFD26D0", VA = "0x180FD3CD0")]
|
|
set
|
|
{
|
|
if (PlayerAvatar.OPKCJLOOJDN != 0)
|
|
{
|
|
}
|
|
PlayerAvatar.OPKCJLOOJDN = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000406 RID: 1030
|
|
// (get) Token: 0x060018AB RID: 6315 RVA: 0x000659D8 File Offset: 0x00063BD8
|
|
[Token(Token = "0x17000406")]
|
|
public bool HOIEIPLONFI
|
|
{
|
|
[Token(Token = "0x60018AB")]
|
|
[Address(RVA = "0xFD7C60", Offset = "0xFD6660", VA = "0x180FD7C60")]
|
|
get
|
|
{
|
|
return this.playerAvatarDisplay.HOIEIPLONFI;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000407 RID: 1031
|
|
// (get) Token: 0x060018AC RID: 6316 RVA: 0x000659F8 File Offset: 0x00063BF8
|
|
[Token(Token = "0x17000407")]
|
|
public PlayerAvatarDisplay EALPGGEFKIC
|
|
{
|
|
[Token(Token = "0x60018AC")]
|
|
[Address(RVA = "0x3EDE90", Offset = "0x3EC890", VA = "0x1803EDE90")]
|
|
get
|
|
{
|
|
return this.playerAvatarDisplay;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018AD RID: 6317 RVA: 0x00065A0C File Offset: 0x00063C0C
|
|
[Token(Token = "0x60018AD")]
|
|
[Address(RVA = "0xFD3C50", Offset = "0xFD2650", VA = "0x180FD3C50")]
|
|
private bool JEPCLDNFDKP()
|
|
{
|
|
Debug.LogWarning("This operation is not valid on non-Local players");
|
|
return ((IAsyncResult)this).IsCompleted;
|
|
}
|
|
|
|
// Token: 0x17000408 RID: 1032
|
|
// (get) Token: 0x060018AE RID: 6318 RVA: 0x00065A2C File Offset: 0x00063C2C
|
|
[Token(Token = "0x17000408")]
|
|
private string IAKOJLGOFDP
|
|
{
|
|
[Token(Token = "0x60018AE")]
|
|
[Address(RVA = "0xFD32B0", Offset = "0xFD1CB0", VA = "0x180FD32B0")]
|
|
get
|
|
{
|
|
PriorityMap<string> ecbjjfnhcca = PlayerAvatar.ECBJJFNHCCA;
|
|
int num = 0;
|
|
return ecbjjfnhcca.GetPriorityValue(num);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000409 RID: 1033
|
|
// (get) Token: 0x060018AF RID: 6319 RVA: 0x00065A50 File Offset: 0x00063C50
|
|
[Token(Token = "0x17000409")]
|
|
public ColorVault.ColorToGuid JMHGIFKJFNB
|
|
{
|
|
[Token(Token = "0x60018AF")]
|
|
[Address(RVA = "0xFD7D10", Offset = "0xFD6710", VA = "0x180FD7D10")]
|
|
get
|
|
{
|
|
bool flag = this.JEPCLDNFDKP();
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
PriorityMap<string> ecbjjfnhcca = PlayerAvatar.ECBJJFNHCCA;
|
|
int num = 0;
|
|
string priorityValue = ecbjjfnhcca.GetPriorityValue(num);
|
|
return instance.FindHairColor(priorityValue, true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018B0 RID: 6320 RVA: 0x00065A8C File Offset: 0x00063C8C
|
|
[Token(Token = "0x60018B0")]
|
|
[Address(RVA = "0xFD6A40", Offset = "0xFD5440", VA = "0x180FD6A40")]
|
|
public void SetLocalPlayerHairColor(ColorVault.ColorToGuid GJAINANBOCB, PlayerAvatar.GIGEMDLECNK JMHKMOACHDG, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060018B1 RID: 6321 RVA: 0x00065AA0 File Offset: 0x00063CA0
|
|
[Token(Token = "0x60018B1")]
|
|
[Address(RVA = "0xFD6820", Offset = "0xFD5220", VA = "0x180FD6820")]
|
|
public void SetLocalPlayerHairColor(string CBCHEMNOLBO, PlayerAvatar.GIGEMDLECNK JMHKMOACHDG, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
if (this.JEPCLDNFDKP())
|
|
{
|
|
ColorVault.ColorToGuid color = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.HairColorVault.GetColor(CBCHEMNOLBO);
|
|
int num = 0;
|
|
if (!ColorVault.ColorToGuid.JGIMJGNAJHP(color, num))
|
|
{
|
|
if (JMHKMOACHDG == PlayerAvatar.GIGEMDLECNK.PlayerSet)
|
|
{
|
|
}
|
|
if (JMHKMOACHDG == PlayerAvatar.GIGEMDLECNK.TemporaryDye && NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.IsHairDyeConsumableActive(CBCHEMNOLBO))
|
|
{
|
|
bool flag = PlayerAvatar.ECBJJFNHCCA.AddValue(CBCHEMNOLBO, (int)JMHKMOACHDG);
|
|
if (JMHKMOACHDG == PlayerAvatar.GIGEMDLECNK.PlayerSet)
|
|
{
|
|
if (GGMIBDAMGGE)
|
|
{
|
|
PlayerAvatar.DelayedLocalSaveAvatar();
|
|
}
|
|
int num2 = 0;
|
|
ulong num3;
|
|
this.SetLocalPlayerBeardColor(CBCHEMNOLBO, (PlayerAvatar.AGPDABFCNFF)num2, GGMIBDAMGGE, num3 != 0UL);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018B2 RID: 6322 RVA: 0x00065B20 File Offset: 0x00063D20
|
|
[Token(Token = "0x60018B2")]
|
|
[Address(RVA = "0xFD52E0", Offset = "0xFD3CE0", VA = "0x180FD52E0")]
|
|
public void RandomizeLocalPlayerHairColor(PlayerAvatar.GIGEMDLECNK JMHKMOACHDG, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.HairColorVault.Awake();
|
|
}
|
|
|
|
// Token: 0x060018B3 RID: 6323 RVA: 0x00065B44 File Offset: 0x00063D44
|
|
[Token(Token = "0x60018B3")]
|
|
[Address(RVA = "0xFD3EF0", Offset = "0xFD28F0", VA = "0x180FD3EF0")]
|
|
private bool KFCMFGNKBKN(string CBCHEMNOLBO, PlayerAvatar.GIGEMDLECNK JMHKMOACHDG)
|
|
{
|
|
ColorVault.ColorToGuid color = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.HairColorVault.GetColor(CBCHEMNOLBO);
|
|
int num = 0;
|
|
if (!ColorVault.ColorToGuid.JGIMJGNAJHP(color, num))
|
|
{
|
|
if (JMHKMOACHDG == PlayerAvatar.GIGEMDLECNK.PlayerSet)
|
|
{
|
|
return color.<Unlocked>k__BackingField;
|
|
}
|
|
if (JMHKMOACHDG == PlayerAvatar.GIGEMDLECNK.TemporaryDye)
|
|
{
|
|
return NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.IsHairDyeConsumableActive(CBCHEMNOLBO);
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060018B4 RID: 6324 RVA: 0x00065B94 File Offset: 0x00063D94
|
|
[Token(Token = "0x60018B4")]
|
|
[Address(RVA = "0xFD55D0", Offset = "0xFD3FD0", VA = "0x180FD55D0")]
|
|
public void RemoveLocalPlayerHairColor(PlayerAvatar.GIGEMDLECNK JMHKMOACHDG, bool MMMOJJPKCPL = false)
|
|
{
|
|
if (!this.JEPCLDNFDKP() || PlayerAvatar.ECBJJFNHCCA.RemoveValue((int)JMHKMOACHDG))
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018B5 RID: 6325 RVA: 0x00065BC0 File Offset: 0x00063DC0
|
|
[Token(Token = "0x60018B5")]
|
|
[Address(RVA = "0xFD39E0", Offset = "0xFD23E0", VA = "0x180FD39E0")]
|
|
private void HBJDPJMFKLA(PlayerAvatar.GIGEMDLECNK JMHKMOACHDG, bool MMMOJJPKCPL)
|
|
{
|
|
if (PlayerAvatar.ECBJJFNHCCA.ToString() != 0)
|
|
{
|
|
SynchronizedPlayerField<string> noeoamlbdki = this.NOEOAMLBDKI;
|
|
}
|
|
if (JMHKMOACHDG == PlayerAvatar.GIGEMDLECNK.PlayerSet && MMMOJJPKCPL)
|
|
{
|
|
CFLMJLFBOKH.OLIPFECOMAL(this.NOEOAMLBDKI.Get());
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700040A RID: 1034
|
|
// (get) Token: 0x060018B6 RID: 6326 RVA: 0x00065C04 File Offset: 0x00063E04
|
|
[Token(Token = "0x1700040A")]
|
|
private string EHPBPMHFDNO
|
|
{
|
|
[Token(Token = "0x60018B6")]
|
|
[Address(RVA = "0xFD3B40", Offset = "0xFD2540", VA = "0x180FD3B40")]
|
|
get
|
|
{
|
|
return PlayerAvatar.PHKKGDJHMFH.GetPriorityValue(1);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700040B RID: 1035
|
|
// (get) Token: 0x060018B7 RID: 6327 RVA: 0x00065C24 File Offset: 0x00063E24
|
|
[Token(Token = "0x1700040B")]
|
|
public ColorVault.ColorToGuid NDJFMPMDDJC
|
|
{
|
|
[Token(Token = "0x60018B7")]
|
|
[Address(RVA = "0xFD7C80", Offset = "0xFD6680", VA = "0x180FD7C80")]
|
|
get
|
|
{
|
|
bool flag = this.JEPCLDNFDKP();
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string text = this.EHPBPMHFDNO;
|
|
return instance.FindHairColor(text, true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018B8 RID: 6328 RVA: 0x00065C54 File Offset: 0x00063E54
|
|
[Token(Token = "0x60018B8")]
|
|
[Address(RVA = "0xFD67F0", Offset = "0xFD51F0", VA = "0x180FD67F0")]
|
|
public void SetLocalPlayerBeardColor(ColorVault.ColorToGuid GJAINANBOCB, PlayerAvatar.AGPDABFCNFF JMHKMOACHDG, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060018B9 RID: 6329 RVA: 0x00065C68 File Offset: 0x00063E68
|
|
[Token(Token = "0x60018B9")]
|
|
[Address(RVA = "0xFD65F0", Offset = "0xFD4FF0", VA = "0x180FD65F0")]
|
|
public void SetLocalPlayerBeardColor(string CBCHEMNOLBO, PlayerAvatar.AGPDABFCNFF JMHKMOACHDG, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
if (this.JEPCLDNFDKP())
|
|
{
|
|
ColorVault.ColorToGuid color = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.HairColorVault.GetColor(CBCHEMNOLBO);
|
|
int num = 0;
|
|
if (!ColorVault.ColorToGuid.JGIMJGNAJHP(color, num))
|
|
{
|
|
if (JMHKMOACHDG <= PlayerAvatar.AGPDABFCNFF.PlayerSet)
|
|
{
|
|
}
|
|
if (JMHKMOACHDG == PlayerAvatar.AGPDABFCNFF.TemporaryDye && NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.IsHairDyeConsumableActive(CBCHEMNOLBO))
|
|
{
|
|
bool flag = PlayerAvatar.PHKKGDJHMFH.AddValue(CBCHEMNOLBO, (int)JMHKMOACHDG);
|
|
if (GGMIBDAMGGE)
|
|
{
|
|
PlayerAvatar.DelayedLocalSaveAvatar();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018BA RID: 6330 RVA: 0x00065CD4 File Offset: 0x00063ED4
|
|
[Token(Token = "0x60018BA")]
|
|
[Address(RVA = "0xFD5210", Offset = "0xFD3C10", VA = "0x180FD5210")]
|
|
public void RandomizeLocalPlayerBeardColor(PlayerAvatar.AGPDABFCNFF JMHKMOACHDG, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.HairColorVault.Awake();
|
|
}
|
|
|
|
// Token: 0x060018BB RID: 6331 RVA: 0x00065CF8 File Offset: 0x00063EF8
|
|
[Token(Token = "0x60018BB")]
|
|
[Address(RVA = "0xFD3DD0", Offset = "0xFD27D0", VA = "0x180FD3DD0")]
|
|
private bool KDHDJGDMBML(string CBCHEMNOLBO, PlayerAvatar.AGPDABFCNFF JMHKMOACHDG)
|
|
{
|
|
ColorVault.ColorToGuid color = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.HairColorVault.GetColor(CBCHEMNOLBO);
|
|
int num = 0;
|
|
if (!ColorVault.ColorToGuid.JGIMJGNAJHP(color, num))
|
|
{
|
|
if (JMHKMOACHDG <= PlayerAvatar.AGPDABFCNFF.PlayerSet)
|
|
{
|
|
return color.<Unlocked>k__BackingField;
|
|
}
|
|
if (JMHKMOACHDG == PlayerAvatar.AGPDABFCNFF.TemporaryDye)
|
|
{
|
|
return NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.IsHairDyeConsumableActive(CBCHEMNOLBO);
|
|
}
|
|
}
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060018BC RID: 6332 RVA: 0x00065D48 File Offset: 0x00063F48
|
|
[Token(Token = "0x60018BC")]
|
|
[Address(RVA = "0xFD5520", Offset = "0xFD3F20", VA = "0x180FD5520")]
|
|
public void RemoveLocalPlayerBeardColor(PlayerAvatar.AGPDABFCNFF JMHKMOACHDG, bool MMMOJJPKCPL = false)
|
|
{
|
|
if (!this.JEPCLDNFDKP() || PlayerAvatar.PHKKGDJHMFH.RemoveValue((int)JMHKMOACHDG))
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018BD RID: 6333 RVA: 0x00065D74 File Offset: 0x00063F74
|
|
[Token(Token = "0x60018BD")]
|
|
[Address(RVA = "0xFD4610", Offset = "0xFD3010", VA = "0x180FD4610")]
|
|
private void OAJDEFADFKJ(PlayerAvatar.AGPDABFCNFF JMHKMOACHDG, bool MMMOJJPKCPL)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = AvatarCustomizationSettings.PPGFHEDFBEA(this.EIJOGIKBGPJ.Get());
|
|
AvatarCustomizationSettings avatarCustomizationSettings2 = this.COGNCBOIOHO(avatarCustomizationSettings);
|
|
string text = PlayerAvatar.PHKKGDJHMFH.ToString();
|
|
avatarCustomizationSettings2.beardColorId = text;
|
|
if (avatarCustomizationSettings2.HLHBJCIJPBE() != 0)
|
|
{
|
|
SynchronizedPlayerField<string> eijogikbgpj = this.EIJOGIKBGPJ;
|
|
}
|
|
if (MMMOJJPKCPL)
|
|
{
|
|
CFLMJLFBOKH.CCFNPHENJEC(avatarCustomizationSettings2.beardColorId);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700040C RID: 1036
|
|
// (get) Token: 0x060018BE RID: 6334 RVA: 0x00065DD4 File Offset: 0x00063FD4
|
|
[Token(Token = "0x1700040C")]
|
|
public string EAJDIBPLMLC
|
|
{
|
|
[Token(Token = "0x60018BE")]
|
|
[Address(RVA = "0xFD3D80", Offset = "0xFD2780", VA = "0x180FD3D80")]
|
|
get
|
|
{
|
|
return this.NOEOAMLBDKI.Get();
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700040D RID: 1037
|
|
// (get) Token: 0x060018BF RID: 6335 RVA: 0x00065DF4 File Offset: 0x00063FF4
|
|
[Token(Token = "0x1700040D")]
|
|
public ColorVault.ColorToGuid DFHCLOMMMJG
|
|
{
|
|
[Token(Token = "0x60018BF")]
|
|
[Address(RVA = "0xFD7AD0", Offset = "0xFD64D0", VA = "0x180FD7AD0")]
|
|
get
|
|
{
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string text = this.NOEOAMLBDKI.Get();
|
|
return instance.FindHairColor(text, true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700040E RID: 1038
|
|
// (get) Token: 0x060018C0 RID: 6336 RVA: 0x00065E24 File Offset: 0x00064024
|
|
[Token(Token = "0x1700040E")]
|
|
public AvatarCustomizationSettings NBIMOCPACLP
|
|
{
|
|
[Token(Token = "0x60018C0")]
|
|
[Address(RVA = "0xFD7980", Offset = "0xFD6380", VA = "0x180FD7980")]
|
|
get
|
|
{
|
|
AvatarCustomizationSettings jhjgpfoopee = this.JHJGPFOOPEE;
|
|
if (jhjgpfoopee == 0)
|
|
{
|
|
return this.GetDefaultCustomizationSettings();
|
|
}
|
|
return jhjgpfoopee;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700040F RID: 1039
|
|
// (get) Token: 0x060018C1 RID: 6337 RVA: 0x00065E44 File Offset: 0x00064044
|
|
[Token(Token = "0x1700040F")]
|
|
public string KMBHIGEIJHH
|
|
{
|
|
[Token(Token = "0x60018C1")]
|
|
[Address(RVA = "0xFD79A0", Offset = "0xFD63A0", VA = "0x180FD79A0")]
|
|
get
|
|
{
|
|
AvatarCustomizationSettings jhjgpfoopee = this.JHJGPFOOPEE;
|
|
if (jhjgpfoopee == 0)
|
|
{
|
|
AvatarCustomizationSettings defaultCustomizationSettings = this.GetDefaultCustomizationSettings();
|
|
}
|
|
return jhjgpfoopee.beardColorId;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000410 RID: 1040
|
|
// (get) Token: 0x060018C2 RID: 6338 RVA: 0x00065E70 File Offset: 0x00064070
|
|
[Token(Token = "0x17000410")]
|
|
public ColorVault.ColorToGuid PJNMPOMKBLP
|
|
{
|
|
[Token(Token = "0x60018C2")]
|
|
[Address(RVA = "0xFD79D0", Offset = "0xFD63D0", VA = "0x180FD79D0")]
|
|
get
|
|
{
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
AvatarCustomizationSettings jhjgpfoopee = this.JHJGPFOOPEE;
|
|
if (jhjgpfoopee == 0)
|
|
{
|
|
AvatarCustomizationSettings defaultCustomizationSettings = this.GetDefaultCustomizationSettings();
|
|
}
|
|
if (!string.IsNullOrEmpty(jhjgpfoopee.beardColorId) && this.JHJGPFOOPEE == 0)
|
|
{
|
|
AvatarCustomizationSettings defaultCustomizationSettings2 = this.GetDefaultCustomizationSettings();
|
|
}
|
|
string text = this.NOEOAMLBDKI.Get();
|
|
return instance.FindHairColor(text, true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000411 RID: 1041
|
|
// (get) Token: 0x060018C3 RID: 6339 RVA: 0x00065ED0 File Offset: 0x000640D0
|
|
[Token(Token = "0x17000411")]
|
|
public ColorVault.ColorToGuid IAFAJCENECF
|
|
{
|
|
[Token(Token = "0x60018C3")]
|
|
[Address(RVA = "0xFD7E10", Offset = "0xFD6810", VA = "0x180FD7E10")]
|
|
get
|
|
{
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string text = this.IIJLABMLIJH.Get();
|
|
return instance.FindSkinColor(text, true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000412 RID: 1042
|
|
// (get) Token: 0x060018C4 RID: 6340 RVA: 0x00065F00 File Offset: 0x00064100
|
|
[Token(Token = "0x17000412")]
|
|
public AvatarFaceShape KABKNPKKMEC
|
|
{
|
|
[Token(Token = "0x60018C4")]
|
|
[Address(RVA = "0xFD7BA0", Offset = "0xFD65A0", VA = "0x180FD7BA0")]
|
|
get
|
|
{
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
AvatarCustomizationSettings jhjgpfoopee = this.JHJGPFOOPEE;
|
|
if (jhjgpfoopee == 0)
|
|
{
|
|
AvatarCustomizationSettings defaultCustomizationSettings = this.GetDefaultCustomizationSettings();
|
|
}
|
|
string faceShapeId = jhjgpfoopee.faceShapeId;
|
|
return instance.FindFaceShape(faceShapeId);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018C5 RID: 6341 RVA: 0x00065F3C File Offset: 0x0006413C
|
|
[Token(Token = "0x60018C5")]
|
|
[Address(RVA = "0xFD6C70", Offset = "0xFD5670", VA = "0x180FD6C70")]
|
|
public void SetLocalPlayerSkinColor(ColorVault.ColorToGuid GJAINANBOCB, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
string guidString = GJAINANBOCB.guidString;
|
|
this.SetLocalPlayerSkinColor(guidString, GGMIBDAMGGE, MMMOJJPKCPL);
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
ActionEvent localPlayerColorSelectionChangedEvent = PlayerAvatar.LocalPlayerColorSelectionChangedEvent;
|
|
int num = 0;
|
|
localPlayerColorSelectionChangedEvent.Invoke(num != 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018C6 RID: 6342 RVA: 0x00065F78 File Offset: 0x00064178
|
|
[Token(Token = "0x60018C6")]
|
|
[Address(RVA = "0xFD6B50", Offset = "0xFD5550", VA = "0x180FD6B50")]
|
|
public void SetLocalPlayerSkinColor(string CBCHEMNOLBO, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
if (this.JEPCLDNFDKP())
|
|
{
|
|
SynchronizedPlayerField<string> iijlabmlijh = this.IIJLABMLIJH;
|
|
if (GGMIBDAMGGE)
|
|
{
|
|
PlayerAvatar.DelayedLocalSaveAvatar();
|
|
}
|
|
if (MMMOJJPKCPL)
|
|
{
|
|
CFLMJLFBOKH.LINALOHJKCP(CBCHEMNOLBO);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018C7 RID: 6343 RVA: 0x00065FB0 File Offset: 0x000641B0
|
|
[Token(Token = "0x60018C7")]
|
|
[Address(RVA = "0xFD53B0", Offset = "0xFD3DB0", VA = "0x180FD53B0")]
|
|
public void RandomizeLocalPlayerSkinColor(bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.SkinColorVault.Awake();
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
ActionEvent localPlayerColorSelectionChangedEvent = PlayerAvatar.LocalPlayerColorSelectionChangedEvent;
|
|
int num = 0;
|
|
localPlayerColorSelectionChangedEvent.Invoke(num != 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018C8 RID: 6344 RVA: 0x00065FEC File Offset: 0x000641EC
|
|
[Token(Token = "0x60018C8")]
|
|
[Address(RVA = "0xFD22F0", Offset = "0xFD0CF0", VA = "0x180FD22F0")]
|
|
private AvatarCustomizationSettings COGNCBOIOHO(AvatarCustomizationSettings GHGBPMPLLBK)
|
|
{
|
|
if (GHGBPMPLLBK == 0)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = new AvatarCustomizationSettings();
|
|
}
|
|
string eyeId = GHGBPMPLLBK.eyeId;
|
|
PlayerFacialAnimator facialAnimator = this.playerAvatarDisplay.facialAnimator;
|
|
string eyeId2 = GHGBPMPLLBK.eyeId;
|
|
int num = 0;
|
|
bool flag = facialAnimator.IsValidGuid((FaceFeatureType)num, eyeId2);
|
|
if (!flag)
|
|
{
|
|
string eyeId3 = GHGBPMPLLBK.eyeId;
|
|
if (!flag)
|
|
{
|
|
object[] array = new object[1];
|
|
string eyeId4 = GHGBPMPLLBK.eyeId;
|
|
if (eyeId4 != 0)
|
|
{
|
|
}
|
|
array[0] = eyeId4;
|
|
Debug.LogWarningFormat("Could not find face feature (eye) asset for guid {0}. Choosing default option.", array);
|
|
}
|
|
PlayerFacialAnimator facialAnimator2 = this.playerAvatarDisplay.facialAnimator;
|
|
int num2 = 0;
|
|
string defaultFaceFeatureGuid = facialAnimator2.GetDefaultFaceFeatureGuid((FaceFeatureType)num2);
|
|
GHGBPMPLLBK.eyeId = defaultFaceFeatureGuid;
|
|
}
|
|
bool flag2;
|
|
if (!string.IsNullOrEmpty(GHGBPMPLLBK.mouthId))
|
|
{
|
|
PlayerFacialAnimator facialAnimator3 = this.playerAvatarDisplay.facialAnimator;
|
|
string mouthId = GHGBPMPLLBK.mouthId;
|
|
flag2 = facialAnimator3.IsValidGuid(FaceFeatureType.Mouth, mouthId);
|
|
if (flag2)
|
|
{
|
|
return GHGBPMPLLBK;
|
|
}
|
|
}
|
|
string mouthId2 = GHGBPMPLLBK.mouthId;
|
|
if (!flag2)
|
|
{
|
|
object[] array2 = new object[1];
|
|
string mouthId3 = GHGBPMPLLBK.mouthId;
|
|
if (mouthId3 != 0)
|
|
{
|
|
}
|
|
array2[0] = mouthId3;
|
|
Debug.LogWarningFormat("Could not find face feature (mouth) asset for guid {0}. Choosing default option.", array2);
|
|
}
|
|
string defaultFaceFeatureGuid2 = this.playerAvatarDisplay.facialAnimator.GetDefaultFaceFeatureGuid(FaceFeatureType.Mouth);
|
|
GHGBPMPLLBK.mouthId = defaultFaceFeatureGuid2;
|
|
return GHGBPMPLLBK;
|
|
}
|
|
|
|
// Token: 0x17000413 RID: 1043
|
|
// (get) Token: 0x060018C9 RID: 6345 RVA: 0x0000220F File Offset: 0x0000040F
|
|
// (set) Token: 0x060018CA RID: 6346 RVA: 0x0006611C File Offset: 0x0006431C
|
|
[Token(Token = "0x17000413")]
|
|
public Color? BBFIOHIAIEH
|
|
{
|
|
[Token(Token = "0x60018C9")]
|
|
[Address(RVA = "0xFD7EC0", Offset = "0xFD68C0", VA = "0x180FD7EC0")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
[Token(Token = "0x60018CA")]
|
|
[Address(RVA = "0xFD7F00", Offset = "0xFD6900", VA = "0x180FD7F00")]
|
|
set
|
|
{
|
|
bool has_value = value.has_value;
|
|
this.KKEACNKFAFJ();
|
|
Color? pjjldnplbgd = this.PJJLDNPLBGD;
|
|
if (has_value)
|
|
{
|
|
if (this.TeamOutfitColorEmissionEnabled)
|
|
{
|
|
}
|
|
PlayerAvatarDisplay playerAvatarDisplay = this.playerAvatarDisplay;
|
|
Color? pjjldnplbgd2 = this.PJJLDNPLBGD;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000414 RID: 1044
|
|
// (get) Token: 0x060018CB RID: 6347 RVA: 0x00066160 File Offset: 0x00064360
|
|
// (set) Token: 0x060018CC RID: 6348 RVA: 0x00066174 File Offset: 0x00064374
|
|
[Token(Token = "0x17000414")]
|
|
public bool ECNGLKBLLLP
|
|
{
|
|
[Token(Token = "0x60018CB")]
|
|
[Address(RVA = "0xFD7970", Offset = "0xFD6370", VA = "0x180FD7970")]
|
|
get;
|
|
[Token(Token = "0x60018CC")]
|
|
[Address(RVA = "0xFD2820", Offset = "0xFD1220", VA = "0x180FD2820")]
|
|
private set;
|
|
}
|
|
|
|
// Token: 0x17000415 RID: 1045
|
|
// (get) Token: 0x060018CD RID: 6349 RVA: 0x00066188 File Offset: 0x00064388
|
|
[Token(Token = "0x17000415")]
|
|
public IReadOnlyList<AvatarItemSelection> OMHBEBFOADK
|
|
{
|
|
[Token(Token = "0x60018CD")]
|
|
[Address(RVA = "0xFD7950", Offset = "0xFD6350", VA = "0x180FD7950")]
|
|
get
|
|
{
|
|
List<AvatarItemSelection> nggekdefibm = this.BLHJHPNDJBB.NGGEKDEFIBM;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000416 RID: 1046
|
|
// (get) Token: 0x060018CE RID: 6350 RVA: 0x000661A8 File Offset: 0x000643A8
|
|
[Token(Token = "0x17000416")]
|
|
public IReadOnlyList<AvatarItemSelection> NHCDDMGDAJI
|
|
{
|
|
[Token(Token = "0x60018CE")]
|
|
[Address(RVA = "0xFD7DF0", Offset = "0xFD67F0", VA = "0x180FD7DF0")]
|
|
get
|
|
{
|
|
List<AvatarItemSelection> hhanfbkkcba = this.BLHJHPNDJBB.HHANFBKKCBA;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000417 RID: 1047
|
|
// (get) Token: 0x060018CF RID: 6351 RVA: 0x000661C8 File Offset: 0x000643C8
|
|
[Token(Token = "0x17000417")]
|
|
public IReadOnlyList<AvatarItemSelection> MDEJPGDPOBF
|
|
{
|
|
[Token(Token = "0x60018CF")]
|
|
[Address(RVA = "0xFD7B80", Offset = "0xFD6580", VA = "0x180FD7B80")]
|
|
get
|
|
{
|
|
List<AvatarItemSelection> chobhcemkgg = this.BLHJHPNDJBB.CHOBHCEMKGG;
|
|
throw new NullReferenceException();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000418 RID: 1048
|
|
// (get) Token: 0x060018D0 RID: 6352 RVA: 0x000661E8 File Offset: 0x000643E8
|
|
[Token(Token = "0x17000418")]
|
|
public IGFKPPKAIHD LLPEDKMCJKA
|
|
{
|
|
[Token(Token = "0x60018D0")]
|
|
[Address(RVA = "0x3D3180", Offset = "0x3D1B80", VA = "0x1803D3180")]
|
|
get
|
|
{
|
|
return this.BLHJHPNDJBB;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018D1 RID: 6353 RVA: 0x000661FC File Offset: 0x000643FC
|
|
[Token(Token = "0x60018D1")]
|
|
[Address(RVA = "0xFD1CB0", Offset = "0xFD06B0", VA = "0x180FD1CB0", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base..ctor();
|
|
Photon.Realtime.Player owner = base.owner;
|
|
Action action = new Action(this.BNEDDBKJBMN);
|
|
int num;
|
|
SynchronizedPlayerField<string> synchronizedPlayerField = new SynchronizedPlayerField(owner, "HairColorProp", "", action, num);
|
|
num = 0;
|
|
this.NOEOAMLBDKI = synchronizedPlayerField;
|
|
Photon.Realtime.Player owner2 = base.owner;
|
|
Action action2 = new Action(this.PPACCBILNBC);
|
|
SynchronizedPlayerField<string> synchronizedPlayerField2 = new SynchronizedPlayerField(owner2, "SkinColorProp", "", action2, num);
|
|
this.IIJLABMLIJH = synchronizedPlayerField2;
|
|
Photon.Realtime.Player owner3 = base.owner;
|
|
Action action3 = new Action(this.PEONDAHOOMK);
|
|
SynchronizedPlayerField<string> synchronizedPlayerField3 = new SynchronizedPlayerField(owner3, "FaceFeaturesProp", "", action3, num);
|
|
global::Player player = this.player;
|
|
this.EIJOGIKBGPJ = synchronizedPlayerField3;
|
|
int <FMMJEJMBDPL>k__BackingField = player.<FMMJEJMBDPL>k__BackingField;
|
|
Photon.Realtime.Player owner4 = base.owner;
|
|
PlayerAvatarDisplay playerAvatarDisplay = this.playerAvatarDisplay;
|
|
Action<List<AvatarItemSelection>> action4 = new Action(this.CFJBKIIPBDI);
|
|
IGFKPPKAIHD igfkppkaihd = new IGFKPPKAIHD(<FMMJEJMBDPL>k__BackingField, owner4, playerAvatarDisplay, action4);
|
|
this.BLHJHPNDJBB = igfkppkaihd;
|
|
PlayerAvatarDisplay playerAvatarDisplay2 = this.playerAvatarDisplay;
|
|
bool isLocal = base.owner.IsLocal;
|
|
playerAvatarDisplay2.IsLocal = isLocal;
|
|
Debug.LogError("Local Avatar is null!");
|
|
}
|
|
|
|
// Token: 0x060018D2 RID: 6354 RVA: 0x00066330 File Offset: 0x00064530
|
|
[Token(Token = "0x60018D2")]
|
|
[Address(RVA = "0xFD6EA0", Offset = "0xFD58A0", VA = "0x180FD6EA0")]
|
|
private void Start()
|
|
{
|
|
this.PEONDAHOOMK();
|
|
this.PPACCBILNBC();
|
|
this.BNEDDBKJBMN();
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
ActionEvent<PlayerVisualSettings> playerVisualSettingsUpdateEvent = GameTeamManager.PlayerVisualSettingsUpdateEvent;
|
|
Action<PlayerVisualSettings> action = new Action(this.KKEACNKFAFJ);
|
|
GameTeamManager.PlayerVisualSettingsUpdateEvent = playerVisualSettingsUpdateEvent + action;
|
|
this.KKEACNKFAFJ();
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action<AvatarItem> action2 = new Action(this.EKFDCECMFOJ);
|
|
instance.OnAvatarItemUnlocked += action2;
|
|
}
|
|
this.BLHJHPNDJBB.DJFDPJKOGMJ();
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
string text = this.BLHJHPNDJBB.JHGNBEMODDP;
|
|
this.BOLBLDMGENE = text;
|
|
bool flag = !string.IsNullOrEmpty(text);
|
|
this.GPGHDEHOJCJ = flag;
|
|
PriorityMap<string> ecbjjfnhcca = PlayerAvatar.ECBJJFNHCCA;
|
|
int num = 0;
|
|
string priorityValue = ecbjjfnhcca.GetPriorityValue(num);
|
|
this.KKEIDLFJPED = priorityValue;
|
|
string text2 = this.IIJLABMLIJH.Get();
|
|
this.LMCDPGLDOBN = text2;
|
|
string text3 = this.GKBJGKEDGPH().HLHBJCIJPBE();
|
|
this.BMDJDINLPEO = text3;
|
|
this.DKCECAOMHPK = true;
|
|
}
|
|
this.<EDLCLNCLAAK>k__BackingField = true;
|
|
}
|
|
|
|
// Token: 0x060018D3 RID: 6355 RVA: 0x00066430 File Offset: 0x00064630
|
|
[Token(Token = "0x60018D3")]
|
|
[Address(RVA = "0xFD47F0", Offset = "0xFD31F0", VA = "0x180FD47F0", Slot = "14")]
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
ISchedulerPromise opkcjloojdn = PlayerAvatar.OPKCJLOOJDN;
|
|
PlayerAvatar.LCJFPKJFFFM = 0;
|
|
PlayerAvatar.DFPPKNFHNCO();
|
|
}
|
|
ActionEvent<PlayerVisualSettings> playerVisualSettingsUpdateEvent = GameTeamManager.PlayerVisualSettingsUpdateEvent;
|
|
Action<PlayerVisualSettings> action = new Action(this.KKEACNKFAFJ);
|
|
GameTeamManager.PlayerVisualSettingsUpdateEvent = playerVisualSettingsUpdateEvent - action;
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (instance != num)
|
|
{
|
|
OutfitManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action<AvatarItem> action2 = new Action(this.EKFDCECMFOJ);
|
|
instance2.OnAvatarItemUnlocked -= action2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018D4 RID: 6356 RVA: 0x000664B8 File Offset: 0x000646B8
|
|
[Token(Token = "0x60018D4")]
|
|
[Address(RVA = "0xFD2E60", Offset = "0xFD1860", VA = "0x180FD2E60")]
|
|
private void EKFDCECMFOJ(AvatarItem FMDLBNOKCBG)
|
|
{
|
|
if (this.JEPCLDNFDKP())
|
|
{
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018D5 RID: 6357 RVA: 0x000664DC File Offset: 0x000646DC
|
|
[Token(Token = "0x60018D5")]
|
|
[Address(RVA = "0xFD2290", Offset = "0xFD0C90", VA = "0x180FD2290")]
|
|
private void CFJBKIIPBDI(List<AvatarItemSelection> JAMFPMIHADF)
|
|
{
|
|
ActionEvent<global::Player, List<AvatarItemSelection>> onPlayerOutfitChanged = this.OnPlayerOutfitChanged;
|
|
if (onPlayerOutfitChanged != 0)
|
|
{
|
|
global::Player player = this.player;
|
|
onPlayerOutfitChanged.Invoke(player, JAMFPMIHADF);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018D6 RID: 6358 RVA: 0x00066504 File Offset: 0x00064704
|
|
[Token(Token = "0x60018D6")]
|
|
[Address(RVA = "0xFD40D0", Offset = "0xFD2AD0", VA = "0x180FD40D0")]
|
|
private void KKEACNKFAFJ()
|
|
{
|
|
if (NetworkedSingletonMonoBehaviour.FFNIFALJLDD)
|
|
{
|
|
GameTeamManager teamManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.teamManager;
|
|
}
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
bool flag = 0 != 0;
|
|
blhjhpndjbb.JMGGGIMCBOK = flag;
|
|
}
|
|
|
|
// Token: 0x060018D7 RID: 6359 RVA: 0x00066544 File Offset: 0x00064744
|
|
[Token(Token = "0x60018D7")]
|
|
[Address(RVA = "0xFD41F0", Offset = "0xFD2BF0", VA = "0x180FD41F0")]
|
|
private void KKEACNKFAFJ(PlayerVisualSettings JBMOFDIHCAN)
|
|
{
|
|
GFJMCNNJKON opponentBeaconMode = JBMOFDIHCAN.OpponentBeaconMode;
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
if (opponentBeaconMode == GFJMCNNJKON.DISABLED)
|
|
{
|
|
}
|
|
bool flag = opponentBeaconMode != GFJMCNNJKON.DISABLED;
|
|
blhjhpndjbb.JMGGGIMCBOK = flag;
|
|
}
|
|
|
|
// Token: 0x060018D8 RID: 6360 RVA: 0x00066578 File Offset: 0x00064778
|
|
[Token(Token = "0x60018D8")]
|
|
[Address(RVA = "0xFD2C20", Offset = "0xFD1620", VA = "0x180FD2C20")]
|
|
public static void DelayedLocalSaveAvatar()
|
|
{
|
|
PlayerAvatar.LCJFPKJFFFM = 0;
|
|
PlayerAvatar playerAvatar = global::Player.<EGKJPJKLEAI>k__BackingField.playerAvatar;
|
|
int num = 0;
|
|
if (playerAvatar != num)
|
|
{
|
|
PlayerAvatar.LCJFPKJFFFM = SingletonMonoBehaviour.Instance.ScheduleDelay(1f);
|
|
int num2;
|
|
Action action = new Action(num2.DFPPKNFHNCO);
|
|
num2 = 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018D9 RID: 6361 RVA: 0x000665CC File Offset: 0x000647CC
|
|
[Token(Token = "0x60018D9")]
|
|
[Address(RVA = "0xFD2830", Offset = "0xFD1230", VA = "0x180FD2830")]
|
|
private static void DFPPKNFHNCO()
|
|
{
|
|
PlayerAvatar playerAvatar = global::Player.<EGKJPJKLEAI>k__BackingField.playerAvatar;
|
|
int num = 0;
|
|
if (playerAvatar != num)
|
|
{
|
|
string text = playerAvatar.IAKOJLGOFDP;
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string text2 = playerAvatar.IIJLABMLIJH.Get();
|
|
string guidString = instance.FindSkinColor(text2, true).guidString;
|
|
string text3 = playerAvatar.GKBJGKEDGPH().HLHBJCIJPBE();
|
|
string text4 = playerAvatar.BLHJHPNDJBB.JHGNBEMODDP;
|
|
text3.m_stringLength = text4;
|
|
NLEKGNENMCO.OFJLGPLDEKJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018DA RID: 6362 RVA: 0x0006664C File Offset: 0x0006484C
|
|
[Token(Token = "0x60018DA")]
|
|
[Address(RVA = "0xFD3320", Offset = "0xFD1D20", VA = "0x180FD3320")]
|
|
private AvatarCustomizationSettings GKBJGKEDGPH()
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = AvatarCustomizationSettings.PPGFHEDFBEA(this.EIJOGIKBGPJ.Get());
|
|
AvatarCustomizationSettings avatarCustomizationSettings2 = this.COGNCBOIOHO(avatarCustomizationSettings);
|
|
string text = this.EHPBPMHFDNO;
|
|
avatarCustomizationSettings2.beardColorId = text;
|
|
return avatarCustomizationSettings2;
|
|
}
|
|
|
|
// Token: 0x060018DB RID: 6363 RVA: 0x00066688 File Offset: 0x00064888
|
|
[Token(Token = "0x60018DB")]
|
|
[Address(RVA = "0xFD4EE0", Offset = "0xFD38E0", VA = "0x180FD4EE0")]
|
|
private void PPACCBILNBC()
|
|
{
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string text = this.IIJLABMLIJH.Get();
|
|
ColorVault.ColorToGuid colorToGuid = instance.FindSkinColor(text, true);
|
|
PlayerAvatarDisplay playerAvatarDisplay = this.playerAvatarDisplay;
|
|
Color color = colorToGuid.color;
|
|
playerAvatarDisplay.SetSkinColor(color);
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
AvatarColorButton.SetSelected(PlayerAvatar.AvatarColorType.Skin, colorToGuid);
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> onLocalPlayerSkinColorChanged = PlayerAvatar.OnLocalPlayerSkinColorChanged;
|
|
if (onLocalPlayerSkinColorChanged != 0)
|
|
{
|
|
Color color2 = colorToGuid.color;
|
|
int num = 0;
|
|
onLocalPlayerSkinColorChanged.Invoke(color2, num);
|
|
}
|
|
ActionEvent localPlayerFaceSelectionChangedEvent = PlayerAvatar.LocalPlayerFaceSelectionChangedEvent;
|
|
int num2 = 0;
|
|
localPlayerFaceSelectionChangedEvent.Invoke(num2 != 0);
|
|
ActionEvent localPlayerColorSelectionChangedEvent = PlayerAvatar.LocalPlayerColorSelectionChangedEvent;
|
|
int num3 = 0;
|
|
localPlayerColorSelectionChangedEvent.Invoke(num3 != 0);
|
|
}
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> skinColorChanged = this.SkinColorChanged;
|
|
if (skinColorChanged != 0)
|
|
{
|
|
Color color3 = colorToGuid.color;
|
|
int num4 = 0;
|
|
skinColorChanged.Invoke(color3, num4);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018DC RID: 6364 RVA: 0x00066748 File Offset: 0x00064948
|
|
[Token(Token = "0x60018DC")]
|
|
[Address(RVA = "0xFD2080", Offset = "0xFD0A80", VA = "0x180FD2080")]
|
|
private void BNEDDBKJBMN()
|
|
{
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string text = this.NOEOAMLBDKI.Get();
|
|
ColorVault.ColorToGuid colorToGuid = instance.FindHairColor(text, true);
|
|
PlayerAvatarDisplay playerAvatarDisplay = this.playerAvatarDisplay;
|
|
Color color = colorToGuid.color;
|
|
playerAvatarDisplay.SetHairColor(color);
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
AvatarColorButton.SetSelected(PlayerAvatar.AvatarColorType.Hair, colorToGuid);
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> onLocalPlayerHairColorChanged = PlayerAvatar.OnLocalPlayerHairColorChanged;
|
|
if (onLocalPlayerHairColorChanged != 0)
|
|
{
|
|
Color color2 = colorToGuid.color;
|
|
onLocalPlayerHairColorChanged.Invoke(color2, (uint)1);
|
|
}
|
|
ActionEvent localPlayerFaceSelectionChangedEvent = PlayerAvatar.LocalPlayerFaceSelectionChangedEvent;
|
|
int num = 0;
|
|
localPlayerFaceSelectionChangedEvent.Invoke(num != 0);
|
|
ActionEvent localPlayerColorSelectionChangedEvent = PlayerAvatar.LocalPlayerColorSelectionChangedEvent;
|
|
int num2 = 0;
|
|
localPlayerColorSelectionChangedEvent.Invoke(num2 != 0);
|
|
}
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> hairColorChanged = this.HairColorChanged;
|
|
if (hairColorChanged != 0)
|
|
{
|
|
Color color3 = colorToGuid.color;
|
|
hairColorChanged.Invoke(color3, (uint)1);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018DD RID: 6365 RVA: 0x00066804 File Offset: 0x00064A04
|
|
[Token(Token = "0x60018DD")]
|
|
[Address(RVA = "0xFD4AC0", Offset = "0xFD34C0", VA = "0x180FD4AC0")]
|
|
private void PEONDAHOOMK()
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = AvatarCustomizationSettings.PPGFHEDFBEA(this.EIJOGIKBGPJ.Get());
|
|
AvatarCustomizationSettings avatarCustomizationSettings2 = this.COGNCBOIOHO(avatarCustomizationSettings);
|
|
this.JHJGPFOOPEE = avatarCustomizationSettings2;
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string beardColorId = this.JHJGPFOOPEE.beardColorId;
|
|
ColorVault.ColorToGuid colorToGuid = instance.FindHairColor(beardColorId, true);
|
|
PlayerAvatarDisplay playerAvatarDisplay = this.playerAvatarDisplay;
|
|
Color color = colorToGuid.color;
|
|
int num = 0;
|
|
playerAvatarDisplay.SetBeardColor(num);
|
|
AvatarCustomizationSettings jhjgpfoopee = this.JHJGPFOOPEE;
|
|
PlayerAvatarDisplay.AnchorParams hatAnchorParams = jhjgpfoopee.hatAnchorParams;
|
|
PlayerAvatarDisplay playerAvatarDisplay2 = this.playerAvatarDisplay;
|
|
this.PPGAPEFPKEG = hatAnchorParams;
|
|
float z = jhjgpfoopee.hatAnchorParams.HemisphereOffsets.z;
|
|
this.PPGAPEFPKEG.HemisphereOffsets.z = z;
|
|
playerAvatarDisplay2.SetCustomizationSettings(jhjgpfoopee);
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
AvatarColorButton.SetSelected(PlayerAvatar.AvatarColorType.Beard, colorToGuid);
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> onLocalPlayerHairColorChanged = PlayerAvatar.OnLocalPlayerHairColorChanged;
|
|
if (onLocalPlayerHairColorChanged != 0)
|
|
{
|
|
Color color2 = colorToGuid.color;
|
|
onLocalPlayerHairColorChanged.Invoke(color2, (uint)2);
|
|
}
|
|
ActionEvent localPlayerFaceSelectionChangedEvent = PlayerAvatar.LocalPlayerFaceSelectionChangedEvent;
|
|
int num2 = 0;
|
|
localPlayerFaceSelectionChangedEvent.Invoke(num2 != 0);
|
|
ActionEvent localPlayerColorSelectionChangedEvent = PlayerAvatar.LocalPlayerColorSelectionChangedEvent;
|
|
int num3 = 0;
|
|
localPlayerColorSelectionChangedEvent.Invoke(num3 != 0);
|
|
}
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> hairColorChanged = this.HairColorChanged;
|
|
if (hairColorChanged != 0)
|
|
{
|
|
Color color3 = colorToGuid.color;
|
|
hairColorChanged.Invoke(color3, (uint)2);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018DE RID: 6366 RVA: 0x00066938 File Offset: 0x00064B38
|
|
[Token(Token = "0x60018DE")]
|
|
[Address(RVA = "0xFD2B30", Offset = "0xFD1530", VA = "0x180FD2B30")]
|
|
private void DONLLLMCLOE()
|
|
{
|
|
this.KKEACNKFAFJ();
|
|
Color? pjjldnplbgd = this.PJJLDNPLBGD;
|
|
if (this.TeamOutfitColorEmissionEnabled)
|
|
{
|
|
}
|
|
PlayerAvatarDisplay playerAvatarDisplay = this.playerAvatarDisplay;
|
|
Color? pjjldnplbgd2 = this.PJJLDNPLBGD;
|
|
}
|
|
|
|
// Token: 0x060018DF RID: 6367 RVA: 0x00066970 File Offset: 0x00064B70
|
|
[Token(Token = "0x60018DF")]
|
|
[Address(RVA = "0xFD35C0", Offset = "0xFD1FC0", VA = "0x180FD35C0")]
|
|
public PlayerAvatarDisplay.PEBAFDPLJBC GetHandVisualState(PlayerHand.PLLIKAOIPHP GEDCEIDOKJL)
|
|
{
|
|
if (GEDCEIDOKJL != PlayerHand.PLLIKAOIPHP.Unknown)
|
|
{
|
|
return this.playerAvatarDisplay.GetHandVisualState(GEDCEIDOKJL);
|
|
}
|
|
return PlayerAvatarDisplay.PEBAFDPLJBC.Invisible;
|
|
}
|
|
|
|
// Token: 0x060018E0 RID: 6368 RVA: 0x00066998 File Offset: 0x00064B98
|
|
[Token(Token = "0x60018E0")]
|
|
[Address(RVA = "0xFD63F0", Offset = "0xFD4DF0", VA = "0x180FD63F0")]
|
|
public void SetHandVisualState(PlayerHand.PLLIKAOIPHP GEDCEIDOKJL, PlayerAvatarDisplay.PEBAFDPLJBC FIHININHLED)
|
|
{
|
|
if (GEDCEIDOKJL != PlayerHand.PLLIKAOIPHP.Unknown)
|
|
{
|
|
bool flag = this.playerAvatarDisplay.SetHandVisualState(GEDCEIDOKJL, FIHININHLED);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018E1 RID: 6369 RVA: 0x000669C0 File Offset: 0x00064BC0
|
|
[Token(Token = "0x60018E1")]
|
|
[Address(RVA = "0xFD6190", Offset = "0xFD4B90", VA = "0x180FD6190")]
|
|
public void SetFaceFeatureSelection(FaceFeatureType KAFCOGJFANK, string COFLAJFOPEN, bool AODGBPAIBGG = false)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
if (KAFCOGJFANK == FaceFeatureType.Eye)
|
|
{
|
|
avatarCustomizationSettings.eyeId = COFLAJFOPEN;
|
|
if (!AODGBPAIBGG)
|
|
{
|
|
goto IL_35;
|
|
}
|
|
CFLMJLFBOKH.OHBMPFGOJHM();
|
|
}
|
|
if (KAFCOGJFANK != FaceFeatureType.Mouth)
|
|
{
|
|
object[] array = new object[1];
|
|
if (array != 0)
|
|
{
|
|
}
|
|
array[0] = array;
|
|
Debug.LogWarningFormat("Unrecognized feature type: {0}", array);
|
|
throw new NullReferenceException();
|
|
}
|
|
avatarCustomizationSettings.mouthId = COFLAJFOPEN;
|
|
if (AODGBPAIBGG)
|
|
{
|
|
CFLMJLFBOKH.PHKENEHOALK();
|
|
}
|
|
IL_35:
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, true, AODGBPAIBGG);
|
|
}
|
|
|
|
// Token: 0x060018E2 RID: 6370 RVA: 0x00066A34 File Offset: 0x00064C34
|
|
[Token(Token = "0x60018E2")]
|
|
[Address(RVA = "0xFD5D30", Offset = "0xFD4730", VA = "0x180FD5D30")]
|
|
public void SetFaceFeaturePositionOffset(FaceFeatureType KAFCOGJFANK, Vector2 DDHPAFKBMON, bool AODGBPAIBGG = false)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
if (KAFCOGJFANK == FaceFeatureType.Eye)
|
|
{
|
|
PlayerFacialAnimator facialAnimator = this.playerAvatarDisplay.facialAnimator;
|
|
int num = 0;
|
|
Vector2 vector = facialAnimator.ClampFaceFeaturePositionOffset((FaceFeatureType)num, DDHPAFKBMON);
|
|
avatarCustomizationSettings.eyePos = vector;
|
|
avatarCustomizationSettings.eyePos.y = (float)0;
|
|
if (!AODGBPAIBGG)
|
|
{
|
|
goto IL_76;
|
|
}
|
|
CFLMJLFBOKH.OHBMPFGOJHM();
|
|
}
|
|
if (KAFCOGJFANK != FaceFeatureType.Mouth)
|
|
{
|
|
object[] array = new object[1];
|
|
if (array != 0)
|
|
{
|
|
}
|
|
array[0] = array;
|
|
Debug.LogWarningFormat("Unrecognized feature type: {0}", array);
|
|
throw new NullReferenceException();
|
|
}
|
|
PlayerFacialAnimator facialAnimator2 = this.playerAvatarDisplay.facialAnimator;
|
|
Vector2 vector2;
|
|
avatarCustomizationSettings.mouthPos = vector2;
|
|
avatarCustomizationSettings.mouthPos.y = (float)0;
|
|
if (AODGBPAIBGG)
|
|
{
|
|
CFLMJLFBOKH.PHKENEHOALK();
|
|
}
|
|
IL_76:
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, true, AODGBPAIBGG);
|
|
}
|
|
|
|
// Token: 0x060018E3 RID: 6371 RVA: 0x00066AEC File Offset: 0x00064CEC
|
|
[Token(Token = "0x60018E3")]
|
|
[Address(RVA = "0xFD5F80", Offset = "0xFD4980", VA = "0x180FD5F80")]
|
|
public void SetFaceFeatureScaleOffset(FaceFeatureType KAFCOGJFANK, float FNJKKNKLDPB, bool AODGBPAIBGG = false)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
if (KAFCOGJFANK == FaceFeatureType.Eye)
|
|
{
|
|
PlayerFacialAnimator facialAnimator = this.playerAvatarDisplay.facialAnimator;
|
|
int num = 0;
|
|
float num2 = facialAnimator.ClampFaceFeatureScaleOffset((FaceFeatureType)num, FNJKKNKLDPB);
|
|
avatarCustomizationSettings.eyeScl = num2;
|
|
if (!AODGBPAIBGG)
|
|
{
|
|
goto IL_5E;
|
|
}
|
|
CFLMJLFBOKH.OHBMPFGOJHM();
|
|
}
|
|
if (KAFCOGJFANK != FaceFeatureType.Mouth)
|
|
{
|
|
object[] array = new object[1];
|
|
if (array != 0)
|
|
{
|
|
}
|
|
array[0] = array;
|
|
Debug.LogWarningFormat("Unrecognized feature type: {0}", array);
|
|
throw new NullReferenceException();
|
|
}
|
|
PlayerFacialAnimator facialAnimator2 = this.playerAvatarDisplay.facialAnimator;
|
|
float num3;
|
|
avatarCustomizationSettings.mouthScl = num3;
|
|
if (AODGBPAIBGG)
|
|
{
|
|
CFLMJLFBOKH.PHKENEHOALK();
|
|
}
|
|
IL_5E:
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, true, AODGBPAIBGG);
|
|
}
|
|
|
|
// Token: 0x060018E4 RID: 6372 RVA: 0x00066B8C File Offset: 0x00064D8C
|
|
[Token(Token = "0x60018E4")]
|
|
[Address(RVA = "0xFD4430", Offset = "0xFD2E30", VA = "0x180FD4430")]
|
|
private void MCNMGJEOJDK(AvatarCustomizationSettings GCCJOJGFIAI, bool GGMIBDAMGGE, bool MMMOJJPKCPL)
|
|
{
|
|
if (GCCJOJGFIAI != 0 && this.ENJHOHDHADG)
|
|
{
|
|
AvatarCustomizationSettings jhjgpfoopee = this.JHJGPFOOPEE;
|
|
if (jhjgpfoopee == 0)
|
|
{
|
|
AvatarCustomizationSettings defaultCustomizationSettings = this.GetDefaultCustomizationSettings();
|
|
}
|
|
string beardColorId = jhjgpfoopee.beardColorId;
|
|
GCCJOJGFIAI.beardColorId = beardColorId;
|
|
string text = GCCJOJGFIAI.HLHBJCIJPBE();
|
|
this.NKJMOIIFAJK = text;
|
|
PlayerAvatarDisplay.AnchorParams hatAnchorParams = GCCJOJGFIAI.hatAnchorParams;
|
|
PlayerAvatarDisplay playerAvatarDisplay = this.playerAvatarDisplay;
|
|
this.PPGAPEFPKEG = hatAnchorParams;
|
|
float z = GCCJOJGFIAI.hatAnchorParams.HemisphereOffsets.z;
|
|
this.PPGAPEFPKEG.HemisphereOffsets.z = z;
|
|
playerAvatarDisplay.SetCustomizationSettings(GCCJOJGFIAI);
|
|
if (GGMIBDAMGGE)
|
|
{
|
|
PlayerAvatar.DelayedLocalSaveAvatar();
|
|
}
|
|
if (MMMOJJPKCPL)
|
|
{
|
|
CFLMJLFBOKH.KJEBJFKHFNF();
|
|
}
|
|
ActionEvent localPlayerFaceSelectionChangedEvent = PlayerAvatar.LocalPlayerFaceSelectionChangedEvent;
|
|
int num = 0;
|
|
localPlayerFaceSelectionChangedEvent.Invoke(num != 0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018E5 RID: 6373 RVA: 0x00066C50 File Offset: 0x00064E50
|
|
[Token(Token = "0x60018E5")]
|
|
[Address(RVA = "0xFD3420", Offset = "0xFD1E20", VA = "0x180FD3420")]
|
|
public List<FaceFeatureBase> GetAvailableFaceFeatures(FaceFeatureType KAFCOGJFANK)
|
|
{
|
|
return this.playerAvatarDisplay.facialAnimator.GetAvailableFeatures(KAFCOGJFANK);
|
|
}
|
|
|
|
// Token: 0x060018E6 RID: 6374 RVA: 0x00066C74 File Offset: 0x00064E74
|
|
[Token(Token = "0x60018E6")]
|
|
[Address(RVA = "0xFD6340", Offset = "0xFD4D40", VA = "0x180FD6340")]
|
|
public void SetFaceShapeSelection(string COFLAJFOPEN, bool AODGBPAIBGG = false)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
avatarCustomizationSettings.faceShapeId = COFLAJFOPEN;
|
|
if (AODGBPAIBGG)
|
|
{
|
|
CFLMJLFBOKH.IGJMCDMOJFB();
|
|
}
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, true, AODGBPAIBGG);
|
|
}
|
|
|
|
// Token: 0x060018E7 RID: 6375 RVA: 0x00066CAC File Offset: 0x00064EAC
|
|
[Token(Token = "0x60018E7")]
|
|
[Address(RVA = "0xFD6490", Offset = "0xFD4E90", VA = "0x180FD6490")]
|
|
public void SetHideEars(bool HILMBHBEOGG, bool AODGBPAIBGG = false)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
if (avatarCustomizationSettings.hideEars != HILMBHBEOGG)
|
|
{
|
|
avatarCustomizationSettings.hideEars = HILMBHBEOGG;
|
|
ActionEvent localPlayerHideEarsSelectionChangedEvent = PlayerAvatar.LocalPlayerHideEarsSelectionChangedEvent;
|
|
int num = 0;
|
|
localPlayerHideEarsSelectionChangedEvent.Invoke(num != 0);
|
|
if (AODGBPAIBGG)
|
|
{
|
|
CFLMJLFBOKH.LDMGHNPFKCM();
|
|
}
|
|
if (HILMBHBEOGG)
|
|
{
|
|
bool flag = this.BLHJHPNDJBB.DHIINFDJCCJ();
|
|
ActionEvent localPlayerOutfitItemSelectionChangedEvent = PlayerAvatar.LocalPlayerOutfitItemSelectionChangedEvent;
|
|
int num2 = 0;
|
|
localPlayerOutfitItemSelectionChangedEvent.Invoke(num2 != 0);
|
|
}
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, true, AODGBPAIBGG);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018E8 RID: 6376 RVA: 0x00066D20 File Offset: 0x00064F20
|
|
[Token(Token = "0x60018E8")]
|
|
[Address(RVA = "0xFD6420", Offset = "0xFD4E20", VA = "0x180FD6420")]
|
|
public void SetHatAnchorParameters(PlayerAvatarDisplay.AnchorParams DEHANAHOGCD, bool AODGBPAIBGG = false)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
float z = DEHANAHOGCD.HemisphereOffsets.z;
|
|
avatarCustomizationSettings.useHatAnchorParams = true;
|
|
avatarCustomizationSettings.hatAnchorParams.HemisphereOffsets.z = z;
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, true, AODGBPAIBGG);
|
|
}
|
|
|
|
// Token: 0x060018E9 RID: 6377 RVA: 0x00066D68 File Offset: 0x00064F68
|
|
[Token(Token = "0x60018E9")]
|
|
[Address(RVA = "0xFD35F0", Offset = "0xFD1FF0", VA = "0x180FD35F0")]
|
|
public PlayerAvatarDisplay.NDCIONHKJIB GetHatAnchorRestrictions()
|
|
{
|
|
PlayerAvatarDisplay.AnchorParamsRestrictions oojlfmafaie = this.playerAvatarDisplay.OOJLFMAFAIE;
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x060018EA RID: 6378 RVA: 0x00066D88 File Offset: 0x00064F88
|
|
[Token(Token = "0x60018EA")]
|
|
[Address(RVA = "0xFD5900", Offset = "0xFD4300", VA = "0x180FD5900")]
|
|
public void ResetHatAnchorParameters(bool AODGBPAIBGG = false)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
float z = Vector3.zero.z;
|
|
float z2 = Vector3.zero.z;
|
|
int num = 0;
|
|
this.PPGAPEFPKEG = num;
|
|
this.PPGAPEFPKEG.HemisphereOffsets.z = (float)num;
|
|
avatarCustomizationSettings.hatAnchorParams = num;
|
|
avatarCustomizationSettings.useHatAnchorParams = false;
|
|
avatarCustomizationSettings.hatAnchorParams.HemisphereOffsets.z = (float)num;
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, true, AODGBPAIBGG);
|
|
}
|
|
|
|
// Token: 0x060018EB RID: 6379 RVA: 0x00066E00 File Offset: 0x00065000
|
|
[Token(Token = "0x60018EB")]
|
|
[Address(RVA = "0xFD3450", Offset = "0xFD1E50", VA = "0x180FD3450")]
|
|
public List<AvatarFaceShape> GetAvailableFaceShapes()
|
|
{
|
|
return NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.FaceShapeVault.AvatarFaceShapes;
|
|
}
|
|
|
|
// Token: 0x060018EC RID: 6380 RVA: 0x00066E24 File Offset: 0x00065024
|
|
[Token(Token = "0x60018EC")]
|
|
[Address(RVA = "0xFD5C80", Offset = "0xFD4680", VA = "0x180FD5C80")]
|
|
public void SetBodyShapeSelection(string COFLAJFOPEN, bool AODGBPAIBGG = false)
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
avatarCustomizationSettings.bodyShapeId = COFLAJFOPEN;
|
|
if (AODGBPAIBGG)
|
|
{
|
|
CFLMJLFBOKH.JEJANAMDMOJ();
|
|
}
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, true, AODGBPAIBGG);
|
|
}
|
|
|
|
// Token: 0x060018ED RID: 6381 RVA: 0x00066E5C File Offset: 0x0006505C
|
|
[Token(Token = "0x60018ED")]
|
|
[Address(RVA = "0xFD33B0", Offset = "0xFD1DB0", VA = "0x180FD33B0")]
|
|
public List<AvatarBodyShape> GetAvailableBodyShapes()
|
|
{
|
|
return NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.BodyShapeVault.AvatarBodyShapes;
|
|
}
|
|
|
|
// Token: 0x060018EE RID: 6382 RVA: 0x00066E80 File Offset: 0x00065080
|
|
[Token(Token = "0x60018EE")]
|
|
[Address(RVA = "0xFD34C0", Offset = "0xFD1EC0", VA = "0x180FD34C0")]
|
|
public AvatarCustomizationSettings GetDefaultCustomizationSettings()
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = new AvatarCustomizationSettings();
|
|
PlayerFacialAnimator facialAnimator = this.playerAvatarDisplay.facialAnimator;
|
|
int num = 0;
|
|
string defaultFaceFeatureGuid = facialAnimator.GetDefaultFaceFeatureGuid((FaceFeatureType)num);
|
|
avatarCustomizationSettings.eyeId = defaultFaceFeatureGuid;
|
|
string defaultFaceFeatureGuid2 = this.playerAvatarDisplay.facialAnimator.GetDefaultFaceFeatureGuid(FaceFeatureType.Mouth);
|
|
avatarCustomizationSettings.mouthId = defaultFaceFeatureGuid2;
|
|
string guidString = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.FindHairColor("", true).guidString;
|
|
avatarCustomizationSettings.beardColorId = guidString;
|
|
return avatarCustomizationSettings;
|
|
}
|
|
|
|
// Token: 0x060018EF RID: 6383 RVA: 0x00066EF4 File Offset: 0x000650F4
|
|
[Token(Token = "0x60018EF")]
|
|
[Address(RVA = "0xFD3870", Offset = "0xFD2270", VA = "0x180FD3870")]
|
|
public AvatarCustomizationSettings GetRandomCustomizationSettings()
|
|
{
|
|
AvatarCustomizationSettings avatarCustomizationSettings = new AvatarCustomizationSettings();
|
|
PlayerFacialAnimator facialAnimator = this.playerAvatarDisplay.facialAnimator;
|
|
int num = 0;
|
|
string randomFaceFeatureGuid = facialAnimator.GetRandomFaceFeatureGuid((FaceFeatureType)num);
|
|
avatarCustomizationSettings.eyeId = randomFaceFeatureGuid;
|
|
string randomFaceFeatureGuid2 = this.playerAvatarDisplay.facialAnimator.GetRandomFaceFeatureGuid(FaceFeatureType.Mouth);
|
|
avatarCustomizationSettings.mouthId = randomFaceFeatureGuid2;
|
|
string guidString = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.FindHairColor("", true).guidString;
|
|
avatarCustomizationSettings.beardColorId = guidString;
|
|
string guidString2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.FaceShapeVault.GetRandom().guidString;
|
|
avatarCustomizationSettings.faceShapeId = guidString2;
|
|
string guidString3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.BodyShapeVault.GetRandom().guidString;
|
|
avatarCustomizationSettings.bodyShapeId = guidString3;
|
|
return avatarCustomizationSettings;
|
|
}
|
|
|
|
// Token: 0x060018F0 RID: 6384 RVA: 0x00066FA4 File Offset: 0x000651A4
|
|
[Token(Token = "0x60018F0")]
|
|
[Address(RVA = "0xFD74C0", Offset = "0xFD5EC0", VA = "0x180FD74C0")]
|
|
public void UpdateCachedPermanentOutfitItems()
|
|
{
|
|
if (!this.BLHJHPNDJBB.OFHKMDDAONM())
|
|
{
|
|
List<AvatarItemSelection> list = Enumerable.ToList<AvatarItemSelection>(this.BLHJHPNDJBB.HHANFBKKCBA);
|
|
this.DDCEKKMGHIF = list;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060018F1 RID: 6385 RVA: 0x00066FE0 File Offset: 0x000651E0
|
|
[Token(Token = "0x60018F1")]
|
|
[Address(RVA = "0xFD5690", Offset = "0xFD4090", VA = "0x180FD5690")]
|
|
public void ReplaceTrialOutfitItemsWithCachedPermanentOutfitItems()
|
|
{
|
|
int num;
|
|
do
|
|
{
|
|
num = 0;
|
|
List<AvatarItemSelection> nggekdefibm = this.BLHJHPNDJBB.NGGEKDEFIBM;
|
|
Func<AvatarItemSelection, bool> <>9__141_ = PlayerAvatar.<>c.<>9__141_0;
|
|
if (<>9__141_ == 0)
|
|
{
|
|
PlayerAvatar.<>c.<>9__141_0 = (AvatarItemSelection outfitItem) => outfitItem._isTrialItem;
|
|
}
|
|
List<AvatarItemSelection> list = Enumerable.ToList<AvatarItemSelection>(Enumerable.Where<AvatarItemSelection>(nggekdefibm, <>9__141_));
|
|
List<AvatarItemSelection>.Enumerator enumerator;
|
|
if (enumerator == 0 || enumerator == (ulong)2L || enumerator == (uint)3)
|
|
{
|
|
}
|
|
if (num != -1)
|
|
{
|
|
}
|
|
}
|
|
while (num != 0);
|
|
this.BLHJHPNDJBB.APEJMELAIFI();
|
|
}
|
|
|
|
// Token: 0x060018F2 RID: 6386 RVA: 0x00067054 File Offset: 0x00065254
|
|
[Token(Token = "0x60018F2")]
|
|
[Address(RVA = "0xFD6B20", Offset = "0xFD5520", VA = "0x180FD6B20")]
|
|
public void SetLocalPlayerSelectedOutfit(List<AvatarItemSelection> LCMLJHDFCOJ, bool DLPDLPMLDLM)
|
|
{
|
|
this.BLHJHPNDJBB.GFLLLLANHHE(LCMLJHDFCOJ, DLPDLPMLDLM);
|
|
}
|
|
|
|
// Token: 0x060018F3 RID: 6387 RVA: 0x00067074 File Offset: 0x00065274
|
|
[Token(Token = "0x60018F3")]
|
|
[Address(RVA = "0xFD54F0", Offset = "0xFD3EF0", VA = "0x180FD54F0")]
|
|
public void RefreshOutfit(bool CDFHDACBFKN = false)
|
|
{
|
|
this.BLHJHPNDJBB.HAODHIBBLJB(CDFHDACBFKN);
|
|
}
|
|
|
|
// Token: 0x060018F4 RID: 6388 RVA: 0x00067094 File Offset: 0x00065294
|
|
[Token(Token = "0x60018F4")]
|
|
[Address(RVA = "0xFD2EB0", Offset = "0xFD18B0", VA = "0x180FD2EB0")]
|
|
public bool EquipOutfitItem(AvatarItem IOBEPGLJNIP, global::Player.GAHEJKDCLLE NMKAKHOEMGB, PlayerAvatar.AvatarItemHandEquipType CKHHLPHCPGN, bool JHBPBCMHMEP, DGOHCPBKOHD IPAFFAFNKND = DGOHCPBKOHD.None)
|
|
{
|
|
bool flag = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.IsAvatarItemUnlocked(IOBEPGLJNIP);
|
|
bool flag2;
|
|
if (CKHHLPHCPGN != PlayerAvatar.AvatarItemHandEquipType.Both || flag2)
|
|
{
|
|
}
|
|
AvatarCustomizationSettings avatarCustomizationSettings = this.GKBJGKEDGPH();
|
|
Vector3 zero = Vector3.zero;
|
|
Vector3 zero2 = Vector3.zero;
|
|
int num = 0;
|
|
avatarCustomizationSettings.useHatAnchorParams = false;
|
|
ulong num2;
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings, num2 != 0UL, num != 0);
|
|
return flag2;
|
|
}
|
|
|
|
// Token: 0x060018F5 RID: 6389 RVA: 0x000670F4 File Offset: 0x000652F4
|
|
[Token(Token = "0x60018F5")]
|
|
[Address(RVA = "0xFD1650", Offset = "0xFD0050", VA = "0x180FD1650")]
|
|
private bool AHMCJGDMHLO(AvatarItemSelection NDENPAIHOFC, DGOHCPBKOHD IPAFFAFNKND)
|
|
{
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
CFLMJLFBOKH.AKMHAOGOCHD(true);
|
|
}
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
bool flag;
|
|
if (flag)
|
|
{
|
|
if (NDENPAIHOFC._isTrialItem)
|
|
{
|
|
}
|
|
ActionEvent localPlayerOutfitItemSelectionChangedEvent = PlayerAvatar.LocalPlayerOutfitItemSelectionChangedEvent;
|
|
int num = 0;
|
|
localPlayerOutfitItemSelectionChangedEvent.Invoke(num != 0);
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
global::Player.GAHEJKDCLLE bodyPart = NDENPAIHOFC._bodyPart;
|
|
RecRoomAudioClip[] equipSounds = instance.equipSounds;
|
|
this.PMGJPJNMNKC(equipSounds, bodyPart);
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x060018F6 RID: 6390 RVA: 0x0006715C File Offset: 0x0006535C
|
|
[Token(Token = "0x60018F6")]
|
|
[Address(RVA = "0xFD7360", Offset = "0xFD5D60", VA = "0x180FD7360")]
|
|
public bool UnequipOutfitItem(AvatarItem JEOAIIMCBMP, global::Player.GAHEJKDCLLE NMKAKHOEMGB)
|
|
{
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
int num = 0;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
return flag;
|
|
}
|
|
ActionEvent localPlayerOutfitItemSelectionChangedEvent = PlayerAvatar.LocalPlayerOutfitItemSelectionChangedEvent;
|
|
int num2 = 0;
|
|
localPlayerOutfitItemSelectionChangedEvent.Invoke(num2 != 0);
|
|
RecRoomAudioClip[] equipSounds = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.equipSounds;
|
|
this.PMGJPJNMNKC(equipSounds, (global::Player.GAHEJKDCLLE)num);
|
|
if (this.ENJHOHDHADG)
|
|
{
|
|
CFLMJLFBOKH.AKMHAOGOCHD(false);
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x060018F7 RID: 6391 RVA: 0x000671B4 File Offset: 0x000653B4
|
|
[Token(Token = "0x60018F7")]
|
|
[Address(RVA = "0xFD4D80", Offset = "0xFD3780", VA = "0x180FD4D80")]
|
|
private void PMGJPJNMNKC(RecRoomAudioClip[] OIGONCAJDGK, global::Player.GAHEJKDCLLE NMKAKHOEMGB)
|
|
{
|
|
if (NMKAKHOEMGB + 1 <= (global::Player.GAHEJKDCLLE)5)
|
|
{
|
|
global::Player player = this.player;
|
|
global::Player player2 = this.player;
|
|
global::Player player3 = this.player;
|
|
}
|
|
Transform transform = this.player.head.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
}
|
|
|
|
// Token: 0x060018F8 RID: 6392 RVA: 0x00067200 File Offset: 0x00065400
|
|
[Token(Token = "0x60018F8")]
|
|
[Address(RVA = "0xFD7130", Offset = "0xFD5B30", VA = "0x180FD7130")]
|
|
public bool ToggleEquipOutfitItem(AvatarItem LACNEKHKOII, PlayerAvatar.AvatarItemHandEquipType CKHHLPHCPGN, DGOHCPBKOHD IPAFFAFNKND = DGOHCPBKOHD.None)
|
|
{
|
|
List<AvatarItemSelection> nggekdefibm = this.BLHJHPNDJBB.NGGEKDEFIBM;
|
|
AvatarItem avatarItem;
|
|
Func<AvatarItemSelection, bool> func = delegate(AvatarItemSelection avatarItemSelection)
|
|
{
|
|
AvatarItem avatarItem4 = avatarItem;
|
|
bool flag2;
|
|
return flag2;
|
|
};
|
|
AvatarItemSelection[] array = Enumerable.ToArray<AvatarItemSelection>(Enumerable.Where<AvatarItemSelection>(nggekdefibm, func));
|
|
AvatarItem avatarItem5 = avatarItem;
|
|
global::Player.GAHEJKDCLLE gahejkdclle;
|
|
if (gahejkdclle != global::Player.GAHEJKDCLLE.Head && CKHHLPHCPGN != PlayerAvatar.AvatarItemHandEquipType.Both)
|
|
{
|
|
if (CKHHLPHCPGN != PlayerAvatar.AvatarItemHandEquipType.Left)
|
|
{
|
|
if (CKHHLPHCPGN == PlayerAvatar.AvatarItemHandEquipType.Left || CKHHLPHCPGN == PlayerAvatar.AvatarItemHandEquipType.Both)
|
|
{
|
|
}
|
|
AvatarItem avatarItem2 = avatarItem;
|
|
}
|
|
uint num;
|
|
global::Player.GAHEJKDCLLE handBodyPart = (global::Player.GAHEJKDCLLE)num;
|
|
Func<AvatarItemSelection, bool> func2 = delegate(AvatarItemSelection avatarItemSelection)
|
|
{
|
|
global::Player.GAHEJKDCLLE handBodyPart2 = handBodyPart;
|
|
return avatarItemSelection._bodyPart == handBodyPart2;
|
|
};
|
|
AvatarItemSelection[] array2 = Enumerable.ToArray<AvatarItemSelection>(Enumerable.Where<AvatarItemSelection>(array, func2));
|
|
}
|
|
AvatarItem avatarItem3 = avatarItem;
|
|
List<AvatarItemSelection> ddcekkmghif = this.DDCEKKMGHIF;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x060018F9 RID: 6393 RVA: 0x000672B0 File Offset: 0x000654B0
|
|
[Token(Token = "0x60018F9")]
|
|
[Address(RVA = "0xFD25A0", Offset = "0xFD0FA0", VA = "0x180FD25A0")]
|
|
private bool COOJNIBJCEO(AvatarItem NBGPNLAADFH, global::Player.GAHEJKDCLLE NMKAKHOEMGB, PlayerAvatar.AvatarItemHandEquipType CKHHLPHCPGN, AvatarItemSelection[] ADFGKKCCBLA, IReadOnlyList<AvatarItemSelection> DEGANEIIJGN, DGOHCPBKOHD IPAFFAFNKND)
|
|
{
|
|
int num = 0;
|
|
ulong num2;
|
|
return this.EquipOutfitItem(NBGPNLAADFH, NMKAKHOEMGB, CKHHLPHCPGN, num2 != 0UL, (DGOHCPBKOHD)num);
|
|
}
|
|
|
|
// Token: 0x060018FA RID: 6394 RVA: 0x00067308 File Offset: 0x00065508
|
|
[Token(Token = "0x60018FA")]
|
|
[Address(RVA = "0xFD3C20", Offset = "0xFD2620", VA = "0x180FD3C20")]
|
|
public bool IsWearing(AvatarItem FIDIMMBHIIN, [Optional] global::Player.GAHEJKDCLLE? NMKAKHOEMGB)
|
|
{
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x060018FB RID: 6395 RVA: 0x00067324 File Offset: 0x00065524
|
|
[Token(Token = "0x60018FB")]
|
|
[Address(RVA = "0xFD3BF0", Offset = "0xFD25F0", VA = "0x180FD3BF0")]
|
|
public bool IsWearingTrialVersion(AvatarItem FIDIMMBHIIN, [Optional] global::Player.GAHEJKDCLLE? NMKAKHOEMGB)
|
|
{
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x060018FC RID: 6396 RVA: 0x00067340 File Offset: 0x00065540
|
|
[Token(Token = "0x60018FC")]
|
|
[Address(RVA = "0xFD3BC0", Offset = "0xFD25C0", VA = "0x180FD3BC0")]
|
|
public bool IsWearingAnyTrialItems()
|
|
{
|
|
return this.BLHJHPNDJBB.OFHKMDDAONM();
|
|
}
|
|
|
|
// Token: 0x060018FD RID: 6397 RVA: 0x00067360 File Offset: 0x00065560
|
|
[Token(Token = "0x60018FD")]
|
|
[Address(RVA = "0xFD6D40", Offset = "0xFD5740", VA = "0x180FD6D40")]
|
|
public void SetOutfitFilter(global::Player.LKALLGKFEOB KHFPBDKOIID)
|
|
{
|
|
this.BLHJHPNDJBB.LOFBLKOIBPG(KHFPBDKOIID);
|
|
}
|
|
|
|
// Token: 0x060018FE RID: 6398 RVA: 0x00067380 File Offset: 0x00065580
|
|
[Token(Token = "0x60018FE")]
|
|
[Address(RVA = "0xFD6E50", Offset = "0xFD5850", VA = "0x180FD6E50")]
|
|
public void SnapShotOutfitSelection()
|
|
{
|
|
string text = this.BLHJHPNDJBB.JHGNBEMODDP;
|
|
this.BOLBLDMGENE = text;
|
|
bool flag = !string.IsNullOrEmpty(text);
|
|
this.GPGHDEHOJCJ = flag;
|
|
}
|
|
|
|
// Token: 0x060018FF RID: 6399 RVA: 0x000673B8 File Offset: 0x000655B8
|
|
[Token(Token = "0x60018FF")]
|
|
[Address(RVA = "0xFD5BE0", Offset = "0xFD45E0", VA = "0x180FD5BE0")]
|
|
public void RestoreOutfitSelection()
|
|
{
|
|
if (this.GPGHDEHOJCJ)
|
|
{
|
|
string bolbldmgene = this.BOLBLDMGENE;
|
|
int num = 0;
|
|
List<AvatarItemSelection> list = IGFKPPKAIHD.PCIFDCMHDGG(bolbldmgene, num != 0);
|
|
this.BLHJHPNDJBB.GFLLLLANHHE(list, true);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001900 RID: 6400 RVA: 0x000673F4 File Offset: 0x000655F4
|
|
[Token(Token = "0x6001900")]
|
|
[Address(RVA = "0xFD3610", Offset = "0xFD2010", VA = "0x180FD3610")]
|
|
public string GetLocalPlayerOutfitSelection()
|
|
{
|
|
return this.BLHJHPNDJBB.JHGNBEMODDP;
|
|
}
|
|
|
|
// Token: 0x06001901 RID: 6401 RVA: 0x00067414 File Offset: 0x00065614
|
|
[Token(Token = "0x6001901")]
|
|
[Address(RVA = "0xFD6A70", Offset = "0xFD5470", VA = "0x180FD6A70")]
|
|
public void SetLocalPlayerOutfitSelection(string HGPPMPDOPNL, bool JMNDEMAPJKP = false, bool DLPDLPMLDLM = false)
|
|
{
|
|
List<AvatarItemSelection> list = IGFKPPKAIHD.PCIFDCMHDGG(HGPPMPDOPNL, JMNDEMAPJKP);
|
|
this.BLHJHPNDJBB.GFLLLLANHHE(list, DLPDLPMLDLM);
|
|
}
|
|
|
|
// Token: 0x06001902 RID: 6402 RVA: 0x0006743C File Offset: 0x0006563C
|
|
[Token(Token = "0x6001902")]
|
|
[Address(RVA = "0xFD6D70", Offset = "0xFD5770", VA = "0x180FD6D70")]
|
|
public void SnapShotAppearanceSelection()
|
|
{
|
|
PriorityMap<string> ecbjjfnhcca = PlayerAvatar.ECBJJFNHCCA;
|
|
int num = 0;
|
|
string priorityValue = ecbjjfnhcca.GetPriorityValue(num);
|
|
this.KKEIDLFJPED = priorityValue;
|
|
string text = this.IIJLABMLIJH.Get();
|
|
this.LMCDPGLDOBN = text;
|
|
string text2 = this.GKBJGKEDGPH().HLHBJCIJPBE();
|
|
this.BMDJDINLPEO = text2;
|
|
this.DKCECAOMHPK = true;
|
|
}
|
|
|
|
// Token: 0x06001903 RID: 6403 RVA: 0x00067498 File Offset: 0x00065698
|
|
[Token(Token = "0x6001903")]
|
|
[Address(RVA = "0xFD5A70", Offset = "0xFD4470", VA = "0x180FD5A70")]
|
|
public void RestoreAppearanceSelection()
|
|
{
|
|
if (this.DKCECAOMHPK)
|
|
{
|
|
string kkeidlfjped = this.KKEIDLFJPED;
|
|
int num = 0;
|
|
int num2 = 0;
|
|
this.SetLocalPlayerHairColor(kkeidlfjped, (PlayerAvatar.GIGEMDLECNK)num, true, num2 != 0);
|
|
string lmcdpgldobn = this.LMCDPGLDOBN;
|
|
int num3 = 0;
|
|
this.SetLocalPlayerSkinColor(lmcdpgldobn, true, num3 != 0);
|
|
AvatarCustomizationSettings avatarCustomizationSettings = AvatarCustomizationSettings.PPGFHEDFBEA(this.BMDJDINLPEO);
|
|
AvatarCustomizationSettings avatarCustomizationSettings2 = this.COGNCBOIOHO(avatarCustomizationSettings);
|
|
string beardColorId = avatarCustomizationSettings2.beardColorId;
|
|
this.SetLocalPlayerBeardColor(beardColorId, PlayerAvatar.AGPDABFCNFF.PlayerSet, true, num2 != 0);
|
|
int num4 = 0;
|
|
this.MCNMGJEOJDK(avatarCustomizationSettings2, true, num4 != 0);
|
|
ActionEvent<AvatarCustomizationSettings> onPlayerCustomizationSettingsChanged = this.OnPlayerCustomizationSettingsChanged;
|
|
if (onPlayerCustomizationSettingsChanged != 0)
|
|
{
|
|
onPlayerCustomizationSettingsChanged.Invoke(avatarCustomizationSettings2);
|
|
}
|
|
if ((this.ENJHOHDHADG ? 1 : 0) != num2)
|
|
{
|
|
ActionEvent localPlayerFaceSelectionChangedEvent = PlayerAvatar.LocalPlayerFaceSelectionChangedEvent;
|
|
int num5 = 0;
|
|
localPlayerFaceSelectionChangedEvent.Invoke(num5 != 0);
|
|
}
|
|
PlayerAvatar.DelayedLocalSaveAvatar();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001904 RID: 6404 RVA: 0x00067554 File Offset: 0x00065754
|
|
[Token(Token = "0x6001904")]
|
|
[Address(RVA = "0xFD4410", Offset = "0xFD2E10", VA = "0x180FD4410")]
|
|
public void LocalLoadSavedOutfit(CDNNKFCCONN GKDEAOJLJFI)
|
|
{
|
|
if (GKDEAOJLJFI != 0)
|
|
{
|
|
this.ApplyLocalPlayerAvatarSettings(GKDEAOJLJFI, true);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06001905 RID: 6405 RVA: 0x00067570 File Offset: 0x00065770
|
|
[Token(Token = "0x6001905")]
|
|
[Address(RVA = "0xFD4270", Offset = "0xFD2C70", VA = "0x180FD4270")]
|
|
public CDNNKFCCONN LocalGetCurrentOutfit()
|
|
{
|
|
CDNNKFCCONN cdnnkfcconn = new CDNNKFCCONN();
|
|
string text = this.BLHJHPNDJBB.JHGNBEMODDP;
|
|
cdnnkfcconn.<PNBGCBDOILI>k__BackingField = text;
|
|
string <CMKJKMJIGEL>k__BackingField = NLEKGNENMCO.<DOMJEIICOAL>k__BackingField.<CMKJKMJIGEL>k__BackingField;
|
|
cdnnkfcconn.<CMKJKMJIGEL>k__BackingField = <CMKJKMJIGEL>k__BackingField;
|
|
string text2 = this.IIJLABMLIJH.Get();
|
|
cdnnkfcconn.<DCPCMEAPAKJ>k__BackingField = text2;
|
|
string <BFMHMHLLEGF>k__BackingField = NLEKGNENMCO.<DOMJEIICOAL>k__BackingField.<BFMHMHLLEGF>k__BackingField;
|
|
cdnnkfcconn.<BFMHMHLLEGF>k__BackingField = <BFMHMHLLEGF>k__BackingField;
|
|
return cdnnkfcconn;
|
|
}
|
|
|
|
// Token: 0x06001906 RID: 6406 RVA: 0x000675D8 File Offset: 0x000657D8
|
|
[Token(Token = "0x6001906")]
|
|
[Address(RVA = "0xFD3640", Offset = "0xFD2040", VA = "0x180FD3640")]
|
|
public PBNNFOJIBOD GetOutfitProtobuf(bool LOPLGIBLDGA)
|
|
{
|
|
IGFKPPKAIHD blhjhpndjbb = this.BLHJHPNDJBB;
|
|
if (LOPLGIBLDGA)
|
|
{
|
|
string text = blhjhpndjbb.HLAKIBLAIDF;
|
|
}
|
|
string text2 = blhjhpndjbb.JHGNBEMODDP;
|
|
PBNNFOJIBOD pbnnfojibod = new PBNNFOJIBOD();
|
|
string text3 = this.NOEOAMLBDKI.Get();
|
|
pbnnfojibod.OIEFHGOENHP = text3;
|
|
string text4 = this.IIJLABMLIJH.Get();
|
|
pbnnfojibod.IAFAJCENECF = text4;
|
|
pbnnfojibod.IFKBHIOCOGC = text2;
|
|
string text5 = this.EIJOGIKBGPJ.Get();
|
|
pbnnfojibod.CJJPFMLKDHJ = text5;
|
|
return pbnnfojibod;
|
|
}
|
|
|
|
// Token: 0x06001907 RID: 6407 RVA: 0x00067668 File Offset: 0x00065868
|
|
[Token(Token = "0x6001907")]
|
|
[Address(RVA = "0xFD50E0", Offset = "0xFD3AE0", VA = "0x180FD50E0")]
|
|
public static void ParseOutfitProtobuf(PBNNFOJIBOD ABADFLCBFIJ, out Color HIHBJHCJJAK, out Color KHNBGEMIFHE, out List<AvatarItemSelection> BNENHBHJIOI, out AvatarCustomizationSettings KGFKHHAFMAH)
|
|
{
|
|
OutfitManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string nchlkoiiojj = ABADFLCBFIJ.NCHLKOIIOJJ;
|
|
Color color = instance.FindHairColor(nchlkoiiojj, true).color;
|
|
HIHBJHCJJAK.r = color;
|
|
OutfitManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
string gnkfjjobjhn = ABADFLCBFIJ.GNKFJJOBJHN;
|
|
Color color2 = instance2.FindSkinColor(gnkfjjobjhn, true).color;
|
|
KHNBGEMIFHE.r = color2;
|
|
List<AvatarItemSelection> list = IGFKPPKAIHD.PCIFDCMHDGG(ABADFLCBFIJ.LCLGADFGMMJ, true);
|
|
BNENHBHJIOI._items = list;
|
|
AvatarCustomizationSettings avatarCustomizationSettings = AvatarCustomizationSettings.PPGFHEDFBEA(ABADFLCBFIJ.ELDNKFPPNNF);
|
|
}
|
|
|
|
// Token: 0x06001908 RID: 6408 RVA: 0x000676E8 File Offset: 0x000658E8
|
|
[Token(Token = "0x6001908")]
|
|
[Address(RVA = "0xFD7760", Offset = "0xFD6160", VA = "0x180FD7760")]
|
|
public PlayerAvatar()
|
|
{
|
|
ActionEvent<global::Player, List<AvatarItemSelection>> actionEvent = new ActionEvent(32, true);
|
|
this.OnPlayerOutfitChanged = actionEvent;
|
|
int num;
|
|
ActionEvent<AvatarCustomizationSettings> actionEvent2 = new ActionEvent(4, num != 0);
|
|
num = 0;
|
|
this.OnPlayerCustomizationSettingsChanged = actionEvent2;
|
|
int num2;
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> actionEvent3 = new ActionEvent(32, num2 != 0);
|
|
num2 = 0;
|
|
this.SkinColorChanged = actionEvent3;
|
|
int num3;
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> actionEvent4 = new ActionEvent(32, num3 != 0);
|
|
num3 = 0;
|
|
this.HairColorChanged = actionEvent4;
|
|
float z = Vector3.zero.z;
|
|
float z2 = Vector3.zero.z;
|
|
int num4 = 0;
|
|
this.PPGAPEFPKEG = num4;
|
|
this.PPGAPEFPKEG.HemisphereOffsets.z = (float)num4;
|
|
this.KKEIDLFJPED = "";
|
|
this.LMCDPGLDOBN = "";
|
|
this.BMDJDINLPEO = "";
|
|
base..ctor();
|
|
}
|
|
|
|
// Token: 0x06001909 RID: 6409 RVA: 0x0006779C File Offset: 0x0006599C
|
|
// Note: this type is marked as 'beforefieldinit'.
|
|
[Token(Token = "0x6001909")]
|
|
[Address(RVA = "0xFD7530", Offset = "0xFD5F30", VA = "0x180FD7530")]
|
|
static PlayerAvatar()
|
|
{
|
|
int num;
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> actionEvent = new ActionEvent(32, num != 0);
|
|
num = 0;
|
|
PlayerAvatar.OnLocalPlayerSkinColorChanged = actionEvent;
|
|
int num2;
|
|
ActionEvent<Color, PlayerAvatar.AvatarColorType> actionEvent2 = new ActionEvent(32, num2 != 0);
|
|
num2 = 0;
|
|
PlayerAvatar.OnLocalPlayerHairColorChanged = actionEvent2;
|
|
int num3;
|
|
ActionEvent actionEvent3 = new ActionEvent(32, num3 != 0);
|
|
num3 = 0;
|
|
PlayerAvatar.LocalPlayerFaceSelectionChangedEvent = actionEvent3;
|
|
int num4;
|
|
ActionEvent actionEvent4 = new ActionEvent(32, num4 != 0);
|
|
num4 = 0;
|
|
PlayerAvatar.LocalPlayerOutfitItemSelectionChangedEvent = actionEvent4;
|
|
int num5;
|
|
ActionEvent actionEvent5 = new ActionEvent(32, num5 != 0);
|
|
num5 = 0;
|
|
PlayerAvatar.LocalPlayerColorSelectionChangedEvent = actionEvent5;
|
|
int num6;
|
|
ActionEvent actionEvent6 = new ActionEvent(32, num6 != 0);
|
|
num6 = 0;
|
|
PlayerAvatar.LocalPlayerHideEarsSelectionChangedEvent = actionEvent6;
|
|
PlayerAvatar.ECBJJFNHCCA = new PriorityMap();
|
|
PlayerAvatar.PHKKGDJHMFH = new PriorityMap();
|
|
PlayerAvatar.JAPOJMBDIFO = "HairColorProp";
|
|
PlayerAvatar.CIDDJHHBIMM = "SkinColorProp";
|
|
PlayerAvatar.NNIJFNIPKFN = "FaceFeaturesProp";
|
|
PlayerAvatar.PPHABCKLHKI = "OutFitProp";
|
|
}
|
|
|
|
// Token: 0x04001338 RID: 4920
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4001338")]
|
|
public ActionEvent<global::Player, List<AvatarItemSelection>> OnPlayerOutfitChanged;
|
|
|
|
// Token: 0x04001339 RID: 4921
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4001339")]
|
|
public ActionEvent<AvatarCustomizationSettings> OnPlayerCustomizationSettingsChanged;
|
|
|
|
// Token: 0x0400133A RID: 4922
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
|
[Token(Token = "0x400133A")]
|
|
public ActionEvent<Color, PlayerAvatar.AvatarColorType> SkinColorChanged;
|
|
|
|
// Token: 0x0400133B RID: 4923
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
|
[Token(Token = "0x400133B")]
|
|
public ActionEvent<Color, PlayerAvatar.AvatarColorType> HairColorChanged;
|
|
|
|
// Token: 0x0400133C RID: 4924
|
|
[Token(Token = "0x400133C")]
|
|
public static ActionEvent<Color, PlayerAvatar.AvatarColorType> OnLocalPlayerSkinColorChanged;
|
|
|
|
// Token: 0x0400133D RID: 4925
|
|
[Token(Token = "0x400133D")]
|
|
public static ActionEvent<Color, PlayerAvatar.AvatarColorType> OnLocalPlayerHairColorChanged;
|
|
|
|
// Token: 0x0400133E RID: 4926
|
|
[Token(Token = "0x400133E")]
|
|
public static readonly ActionEvent LocalPlayerFaceSelectionChangedEvent;
|
|
|
|
// Token: 0x0400133F RID: 4927
|
|
[Token(Token = "0x400133F")]
|
|
public static readonly ActionEvent LocalPlayerOutfitItemSelectionChangedEvent;
|
|
|
|
// Token: 0x04001340 RID: 4928
|
|
[Token(Token = "0x4001340")]
|
|
public static readonly ActionEvent LocalPlayerColorSelectionChangedEvent;
|
|
|
|
// Token: 0x04001341 RID: 4929
|
|
[Token(Token = "0x4001341")]
|
|
public static readonly ActionEvent LocalPlayerHideEarsSelectionChangedEvent;
|
|
|
|
// Token: 0x04001342 RID: 4930
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
|
[Token(Token = "0x4001342")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
private PlayerAvatarDisplay playerAvatarDisplay;
|
|
|
|
// Token: 0x04001343 RID: 4931
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
|
[Token(Token = "0x4001343")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
private global::Player player;
|
|
|
|
// Token: 0x04001344 RID: 4932
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
|
[Token(Token = "0x4001344")]
|
|
private PlayerAvatarDisplay.AnchorParams PPGAPEFPKEG;
|
|
|
|
// Token: 0x04001345 RID: 4933
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
|
[Token(Token = "0x4001345")]
|
|
private SynchronizedPlayerField<string> NOEOAMLBDKI;
|
|
|
|
// Token: 0x04001346 RID: 4934
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x98")]
|
|
[Token(Token = "0x4001346")]
|
|
private SynchronizedPlayerField<string> IIJLABMLIJH;
|
|
|
|
// Token: 0x04001347 RID: 4935
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA0")]
|
|
[Token(Token = "0x4001347")]
|
|
private SynchronizedPlayerField<string> EIJOGIKBGPJ;
|
|
|
|
// Token: 0x04001348 RID: 4936
|
|
[Token(Token = "0x4001348")]
|
|
private static ISchedulerPromise OPKCJLOOJDN;
|
|
|
|
// Token: 0x04001349 RID: 4937
|
|
[Token(Token = "0x4001349")]
|
|
private static PriorityMap<string> ECBJJFNHCCA;
|
|
|
|
// Token: 0x0400134A RID: 4938
|
|
[Token(Token = "0x400134A")]
|
|
private static PriorityMap<string> PHKKGDJHMFH;
|
|
|
|
// Token: 0x0400134B RID: 4939
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xA8")]
|
|
[Token(Token = "0x400134B")]
|
|
private AvatarCustomizationSettings JHJGPFOOPEE;
|
|
|
|
// Token: 0x0400134C RID: 4940
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB0")]
|
|
[Token(Token = "0x400134C")]
|
|
[NonSerialized]
|
|
public bool TeamOutfitColorEmissionEnabled;
|
|
|
|
// Token: 0x0400134D RID: 4941
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB4")]
|
|
[Token(Token = "0x400134D")]
|
|
[NonSerialized]
|
|
public float TeamOutfitColorEmissionAmount;
|
|
|
|
// Token: 0x0400134E RID: 4942
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xB8")]
|
|
[Token(Token = "0x400134E")]
|
|
private Color? PJJLDNPLBGD;
|
|
|
|
// Token: 0x04001350 RID: 4944
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD0")]
|
|
[Token(Token = "0x4001350")]
|
|
private IGFKPPKAIHD BLHJHPNDJBB;
|
|
|
|
// Token: 0x04001351 RID: 4945
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4001351")]
|
|
private bool ENJHOHDHADG;
|
|
|
|
// Token: 0x04001352 RID: 4946
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE0")]
|
|
[Token(Token = "0x4001352")]
|
|
private List<AvatarItemSelection> DDCEKKMGHIF;
|
|
|
|
// Token: 0x04001353 RID: 4947
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xE8")]
|
|
[Token(Token = "0x4001353")]
|
|
private bool GPGHDEHOJCJ;
|
|
|
|
// Token: 0x04001354 RID: 4948
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF0")]
|
|
[Token(Token = "0x4001354")]
|
|
private string BOLBLDMGENE;
|
|
|
|
// Token: 0x04001355 RID: 4949
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xF8")]
|
|
[Token(Token = "0x4001355")]
|
|
private bool DKCECAOMHPK;
|
|
|
|
// Token: 0x04001356 RID: 4950
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x100")]
|
|
[Token(Token = "0x4001356")]
|
|
private string KKEIDLFJPED;
|
|
|
|
// Token: 0x04001357 RID: 4951
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x108")]
|
|
[Token(Token = "0x4001357")]
|
|
private string LMCDPGLDOBN;
|
|
|
|
// Token: 0x04001358 RID: 4952
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x110")]
|
|
[Token(Token = "0x4001358")]
|
|
private string BMDJDINLPEO;
|
|
|
|
// Token: 0x04001359 RID: 4953
|
|
[Token(Token = "0x4001359")]
|
|
private static string JAPOJMBDIFO = null;
|
|
|
|
// Token: 0x0400135A RID: 4954
|
|
[Token(Token = "0x400135A")]
|
|
private static string CIDDJHHBIMM = null;
|
|
|
|
// Token: 0x0400135B RID: 4955
|
|
[Token(Token = "0x400135B")]
|
|
private static string NNIJFNIPKFN = null;
|
|
|
|
// Token: 0x0400135C RID: 4956
|
|
[Token(Token = "0x400135C")]
|
|
private static string PPHABCKLHKI = null;
|
|
|
|
// Token: 0x02000333 RID: 819
|
|
[Token(Token = "0x2000333")]
|
|
public enum AvatarColorType
|
|
{
|
|
// Token: 0x0400135E RID: 4958
|
|
[Token(Token = "0x400135E")]
|
|
Skin,
|
|
// Token: 0x0400135F RID: 4959
|
|
[Token(Token = "0x400135F")]
|
|
Hair,
|
|
// Token: 0x04001360 RID: 4960
|
|
[Token(Token = "0x4001360")]
|
|
Beard
|
|
}
|
|
|
|
// Token: 0x02000334 RID: 820
|
|
[Token(Token = "0x2000334")]
|
|
public enum AvatarItemHandEquipType
|
|
{
|
|
// Token: 0x04001362 RID: 4962
|
|
[Token(Token = "0x4001362")]
|
|
Left,
|
|
// Token: 0x04001363 RID: 4963
|
|
[Token(Token = "0x4001363")]
|
|
Both,
|
|
// Token: 0x04001364 RID: 4964
|
|
[Token(Token = "0x4001364")]
|
|
Right,
|
|
// Token: 0x04001365 RID: 4965
|
|
[Token(Token = "0x4001365")]
|
|
Default
|
|
}
|
|
|
|
// Token: 0x02000335 RID: 821
|
|
[Token(Token = "0x2000335")]
|
|
public enum GIGEMDLECNK
|
|
{
|
|
// Token: 0x04001367 RID: 4967
|
|
[Token(Token = "0x4001367")]
|
|
PlayerSet,
|
|
// Token: 0x04001368 RID: 4968
|
|
[Token(Token = "0x4001368")]
|
|
TemporaryDye
|
|
}
|
|
|
|
// Token: 0x02000336 RID: 822
|
|
[Token(Token = "0x2000336")]
|
|
public enum AGPDABFCNFF
|
|
{
|
|
// Token: 0x0400136A RID: 4970
|
|
[Token(Token = "0x400136A")]
|
|
MatchHairColor,
|
|
// Token: 0x0400136B RID: 4971
|
|
[Token(Token = "0x400136B")]
|
|
PlayerSet,
|
|
// Token: 0x0400136C RID: 4972
|
|
[Token(Token = "0x400136C")]
|
|
TemporaryDye
|
|
}
|
|
|
|
// Token: 0x02000338 RID: 824
|
|
[Token(Token = "0x2000338")]
|
|
[CompilerGenerated]
|
|
private sealed class BMGJMGMKHGN
|
|
{
|
|
// Token: 0x0600190D RID: 6413 RVA: 0x0006789C File Offset: 0x00065A9C
|
|
[Token(Token = "0x600190D")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public BMGJMGMKHGN()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600190E RID: 6414 RVA: 0x000678B0 File Offset: 0x00065AB0
|
|
[Token(Token = "0x600190E")]
|
|
[Address(RVA = "0xFD0F30", Offset = "0xFCF930", VA = "0x180FD0F30")]
|
|
internal bool <ToggleEquipOutfitItem>b__0(AvatarItemSelection avatarItemSelection)
|
|
{
|
|
AvatarItem avatarItem = this.avatarItem;
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0400136F RID: 4975
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400136F")]
|
|
public AvatarItem avatarItem;
|
|
}
|
|
|
|
// Token: 0x02000339 RID: 825
|
|
[Token(Token = "0x2000339")]
|
|
[CompilerGenerated]
|
|
private sealed class JGIFCLBMPJN
|
|
{
|
|
// Token: 0x0600190F RID: 6415 RVA: 0x000678C8 File Offset: 0x00065AC8
|
|
[Token(Token = "0x600190F")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public JGIFCLBMPJN()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001910 RID: 6416 RVA: 0x000678DC File Offset: 0x00065ADC
|
|
[Token(Token = "0x6001910")]
|
|
[Address(RVA = "0xFD1580", Offset = "0xFCFF80", VA = "0x180FD1580")]
|
|
internal bool <ToggleEquipOutfitItem>b__1(AvatarItemSelection avatarItemSelection)
|
|
{
|
|
global::Player.GAHEJKDCLLE gahejkdclle = this.handBodyPart;
|
|
return avatarItemSelection._bodyPart == gahejkdclle;
|
|
}
|
|
|
|
// Token: 0x04001370 RID: 4976
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001370")]
|
|
public global::Player.GAHEJKDCLLE handBodyPart;
|
|
}
|
|
|
|
// Token: 0x0200033A RID: 826
|
|
[Token(Token = "0x200033A")]
|
|
[CompilerGenerated]
|
|
private sealed class AKPDHKLAIBN
|
|
{
|
|
// Token: 0x06001911 RID: 6417 RVA: 0x000678FC File Offset: 0x00065AFC
|
|
[Token(Token = "0x6001911")]
|
|
[Address(RVA = "0x3C1670", Offset = "0x3C0070", VA = "0x1803C1670")]
|
|
public AKPDHKLAIBN()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06001912 RID: 6418 RVA: 0x00067910 File Offset: 0x00065B10
|
|
[Token(Token = "0x6001912")]
|
|
[Address(RVA = "0xFD0EB0", Offset = "0xFCF8B0", VA = "0x180FD0EB0")]
|
|
internal bool <ToggleOutfitEquipInternal>b__0(AvatarItemSelection avatarItemSelection)
|
|
{
|
|
AvatarItemSelection avatarItemSelection2 = this.itemToRemove;
|
|
bool flag;
|
|
if (!flag)
|
|
{
|
|
return flag;
|
|
}
|
|
AvatarItemSelection avatarItemSelection3 = this.itemToRemove;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x04001371 RID: 4977
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4001371")]
|
|
public AvatarItemSelection itemToRemove;
|
|
}
|
|
}
|