996 lines
31 KiB
C#
996 lines
31 KiB
C#
using System;
|
|
using System.Collections;
|
|
using RecRoom;
|
|
using RecRoom.VFX;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000CBD RID: 3261
|
|
[ExecuteInEditMode]
|
|
public class PlayerFacialAnimator : MonoBehaviour
|
|
{
|
|
// Token: 0x0601A1AB RID: 106923 RVA: 0x0074B76C File Offset: 0x0074996C
|
|
public void PlayEmoteDown()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIDFAHDHGMM);
|
|
}
|
|
|
|
// Token: 0x0601A1AC RID: 106924 RVA: 0x0074B780 File Offset: 0x00749980
|
|
private void KJBPHNKFCAM()
|
|
{
|
|
this.animator = base.GetComponent<Animator>();
|
|
global::UnityEngine.Random.InitState((int)DateTime.UtcNow.Ticks);
|
|
}
|
|
|
|
// Token: 0x0601A1AE RID: 106926 RVA: 0x0074B88C File Offset: 0x00749A8C
|
|
public JitteringSprite MCJLOLAPDLI()
|
|
{
|
|
return this.eye;
|
|
}
|
|
|
|
// Token: 0x0601A1AF RID: 106927 RVA: 0x0074B894 File Offset: 0x00749A94
|
|
public void OCKOCMJJGCK()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.BNAEAMNAHJC);
|
|
}
|
|
|
|
// Token: 0x0601A1B0 RID: 106928 RVA: 0x0074B8A8 File Offset: 0x00749AA8
|
|
public void BGMFDJHBIBE()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.IKBBEGAJGGC);
|
|
}
|
|
|
|
// Token: 0x0601A1B1 RID: 106929 RVA: 0x0074B8BC File Offset: 0x00749ABC
|
|
public void GKOIIEBDIJL()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIDFAHDHGMM);
|
|
}
|
|
|
|
// Token: 0x0601A1B2 RID: 106930 RVA: 0x0074B8D0 File Offset: 0x00749AD0
|
|
private void DIILNJCDAKF()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1B3 RID: 106931 RVA: 0x0074B8E4 File Offset: 0x00749AE4
|
|
private void KFFIBLPHNGH(bool KONBOAGIOHH)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.BAGMBEMIIEC, KONBOAGIOHH);
|
|
}
|
|
|
|
// Token: 0x0601A1B4 RID: 106932 RVA: 0x0074B8F8 File Offset: 0x00749AF8
|
|
private void NELGHAFCLKG()
|
|
{
|
|
this.eye.KOKFKINOIHC((!this.GGIGGBPMEBN || this.OMLLODODANE) ? this.eyeSprite : this.blinkEyeSprite);
|
|
this.mouth.HCJJEPEDIBA(this.mouthSprite);
|
|
}
|
|
|
|
// Token: 0x0601A1B5 RID: 106933 RVA: 0x0074B948 File Offset: 0x00749B48
|
|
private IEnumerator PFECLELHGOH(string CLGBCHCIKOL)
|
|
{
|
|
this.GGLABBNHCBN = CLGBCHCIKOL;
|
|
this.animator.SetBool(CLGBCHCIKOL, true);
|
|
yield return new WaitForSeconds(3f);
|
|
this.animator.SetBool(CLGBCHCIKOL, false);
|
|
this.GGLABBNHCBN = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0601A1B6 RID: 106934 RVA: 0x0074B96C File Offset: 0x00749B6C
|
|
private IEnumerator OFGCOILNIOG(string CLGBCHCIKOL)
|
|
{
|
|
this.GGLABBNHCBN = CLGBCHCIKOL;
|
|
this.animator.SetBool(CLGBCHCIKOL, true);
|
|
yield return new WaitForSeconds(3f);
|
|
this.animator.SetBool(CLGBCHCIKOL, false);
|
|
this.GGLABBNHCBN = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0601A1B7 RID: 106935 RVA: 0x0074B990 File Offset: 0x00749B90
|
|
public void BLAJPGAIMFE(string CLGBCHCIKOL)
|
|
{
|
|
this.IJOPIMKAKOC();
|
|
this.HBGDDBPHCKG = base.StartCoroutine(this.KFFIBEFGLCD(CLGBCHCIKOL));
|
|
}
|
|
|
|
// Token: 0x0601A1B8 RID: 106936 RVA: 0x0074B9AC File Offset: 0x00749BAC
|
|
public void HHKKIJLFBJP(bool NOBAPCOKFIL)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.AFJABCJOKEI, !NOBAPCOKFIL || this.EAPCAFHBNHI());
|
|
}
|
|
|
|
// Token: 0x0601A1B9 RID: 106937 RVA: 0x0074B9D0 File Offset: 0x00749BD0
|
|
private void CFNBOBGANLO(Player.HDOICGIKKAO ACAHIJEJKLC, Player JBEPFCIKALP, Player.HDOICGIKKAO FCIHAGHHBEA)
|
|
{
|
|
if (JBEPFCIKALP == this.player)
|
|
{
|
|
return;
|
|
}
|
|
if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head && (FCIHAGHHBEA == Player.HDOICGIKKAO.Head || FCIHAGHHBEA == Player.HDOICGIKKAO.LeftHand))
|
|
{
|
|
this.NCEENHMLGCI(PlayerFacialAnimator.PDFFJFGHMKN);
|
|
}
|
|
else if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head && FCIHAGHHBEA == Player.HDOICGIKKAO.Head)
|
|
{
|
|
this.BEIENNAKJNE(PlayerFacialAnimator.HMHKGAHDDBI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1BA RID: 106938 RVA: 0x0074BA2C File Offset: 0x00749C2C
|
|
private IEnumerator LHIPHMPIONC(string CLGBCHCIKOL)
|
|
{
|
|
this.GGLABBNHCBN = CLGBCHCIKOL;
|
|
this.animator.SetBool(CLGBCHCIKOL, true);
|
|
yield return new WaitForSeconds(3f);
|
|
this.animator.SetBool(CLGBCHCIKOL, false);
|
|
this.GGLABBNHCBN = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x17000BBA RID: 3002
|
|
// (get) Token: 0x0601A1BB RID: 106939 RVA: 0x0074BA50 File Offset: 0x00749C50
|
|
public JitteringSprite CAEBDBEADMH
|
|
{
|
|
get
|
|
{
|
|
return this.eye;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1BC RID: 106940 RVA: 0x0074BA58 File Offset: 0x00749C58
|
|
public bool LMCFJFAOJKO()
|
|
{
|
|
return this.animator.GetBool(PlayerFacialAnimator.AFJABCJOKEI);
|
|
}
|
|
|
|
// Token: 0x0601A1BD RID: 106941 RVA: 0x0074BA6C File Offset: 0x00749C6C
|
|
private IEnumerator LPKJHPJDKLP(string CLGBCHCIKOL)
|
|
{
|
|
this.GGLABBNHCBN = CLGBCHCIKOL;
|
|
this.animator.SetBool(CLGBCHCIKOL, true);
|
|
yield return new WaitForSeconds(3f);
|
|
this.animator.SetBool(CLGBCHCIKOL, false);
|
|
this.GGLABBNHCBN = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0601A1BE RID: 106942 RVA: 0x0074BA90 File Offset: 0x00749C90
|
|
private void FAIBEMNBIDO(Player.HDOICGIKKAO ACAHIJEJKLC)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1BF RID: 106943 RVA: 0x0074BAA4 File Offset: 0x00749CA4
|
|
private void GDPDPPAOLEE(bool KONBOAGIOHH)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.BAGMBEMIIEC, KONBOAGIOHH);
|
|
}
|
|
|
|
// Token: 0x0601A1C0 RID: 106944 RVA: 0x0074BAB8 File Offset: 0x00749CB8
|
|
private void KHJGFODGJFA(bool KPFBLFDDJNC)
|
|
{
|
|
int num = ((!KPFBLFDDJNC) ? PlayerFacialAnimator.EFJNGMFKAOL : PlayerFacialAnimator.GIONNENCGBL);
|
|
this.animator.SetTrigger(num);
|
|
}
|
|
|
|
// Token: 0x0601A1C1 RID: 106945 RVA: 0x0074BAE8 File Offset: 0x00749CE8
|
|
private void CELAHBMKHDL()
|
|
{
|
|
if (this.player != null)
|
|
{
|
|
PlayerEvents playerEvents = this.player.DIJMEKHCJBP;
|
|
playerEvents.JLJOEPHDGBB(new Action<bool>(this.CAENGNFDMHA));
|
|
playerEvents.EFCDBPFLEGP(new Action<Player.HDOICGIKKAO, Player, Player.HDOICGIKKAO>(this.CFNBOBGANLO));
|
|
playerEvents.ADONBKJIKKE -= this.KGMFECHHCAH;
|
|
playerEvents.JHIOPPKBGKN(new Action<Tool>(this.ANHBINJLGOH));
|
|
playerEvents.HEOBPBPMDAM(new Action<Tool>(this.EKGOFMDGGAC));
|
|
playerEvents.LAKHLLCHFED -= this.DIILNJCDAKF;
|
|
playerEvents.DEEMDOACOAH(new Action<Player.HDOICGIKKAO>(this.BEBLKKFEHNP));
|
|
playerEvents.IIDNHALABJJ -= this.HHLJKMNENBC;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1C2 RID: 106946 RVA: 0x0074BBA4 File Offset: 0x00749DA4
|
|
private void KGMFECHHCAH(Player.HDOICGIKKAO ACAHIJEJKLC, Tool ENBMEDIFBLM)
|
|
{
|
|
if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.PDFFJFGHMKN);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1C3 RID: 106947 RVA: 0x0074BBBC File Offset: 0x00749DBC
|
|
private void ELOIOHMDDFC(bool KONBOAGIOHH)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.BAGMBEMIIEC, KONBOAGIOHH);
|
|
}
|
|
|
|
// Token: 0x0601A1C4 RID: 106948 RVA: 0x0074BBD0 File Offset: 0x00749DD0
|
|
public void PEMGDCAIDPI()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIPAJHCCENH);
|
|
}
|
|
|
|
// Token: 0x0601A1C5 RID: 106949 RVA: 0x0074BBE4 File Offset: 0x00749DE4
|
|
private void CALHIGEKEOD()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x17000BBB RID: 3003
|
|
// (get) Token: 0x0601A20E RID: 107022 RVA: 0x0074CA18 File Offset: 0x0074AC18
|
|
// (set) Token: 0x0601A1C6 RID: 106950 RVA: 0x0074BBF8 File Offset: 0x00749DF8
|
|
public bool HBNAMKHAEEO
|
|
{
|
|
get
|
|
{
|
|
return this.animator.GetBool(PlayerFacialAnimator.AFJABCJOKEI);
|
|
}
|
|
set
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.AFJABCJOKEI, value && !this.OMLLODODANE);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1C7 RID: 106951 RVA: 0x0074BC1C File Offset: 0x00749E1C
|
|
public void MANFCNEBCKB()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIPAJHCCENH);
|
|
}
|
|
|
|
// Token: 0x0601A1C8 RID: 106952 RVA: 0x0074BC30 File Offset: 0x00749E30
|
|
private void BEIENNAKJNE(int PPBFLDIFHAO)
|
|
{
|
|
float unscaledTime = Time.unscaledTime;
|
|
if (unscaledTime - this.HAAIPJCIMKK > 0.5f)
|
|
{
|
|
this.HAAIPJCIMKK = unscaledTime;
|
|
this.PlayExpression(PPBFLDIFHAO);
|
|
this.player.OMNGGJICBBI.RPC("RpcSetFacialExpression", IHCPDNLJMMD.Others, new object[] { PPBFLDIFHAO });
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000BBC RID: 3004
|
|
// (get) Token: 0x0601A1C9 RID: 106953 RVA: 0x0074BC88 File Offset: 0x00749E88
|
|
public bool OMLLODODANE
|
|
{
|
|
get
|
|
{
|
|
return this.GGLABBNHCBN != null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1CA RID: 106954 RVA: 0x0074BC98 File Offset: 0x00749E98
|
|
private void MLLCOJDPDKB(int PPBFLDIFHAO)
|
|
{
|
|
float unscaledTime = Time.unscaledTime;
|
|
if (unscaledTime - this.HAAIPJCIMKK > 388f)
|
|
{
|
|
this.HAAIPJCIMKK = unscaledTime;
|
|
this.BLGJGKCDHLL(PPBFLDIFHAO);
|
|
this.player.ONAOMJAKKMA().PKOHKPEKJCJ("COLL_S", IHCPDNLJMMD.Others, new object[] { PPBFLDIFHAO });
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1CC RID: 106956 RVA: 0x0074BD30 File Offset: 0x00749F30
|
|
public JitteringSprite NCOKMFOHBNK()
|
|
{
|
|
return this.eye;
|
|
}
|
|
|
|
// Token: 0x0601A1CD RID: 106957 RVA: 0x0074BD38 File Offset: 0x00749F38
|
|
public bool HJGEHMKOBCI()
|
|
{
|
|
return this.animator.GetBool(PlayerFacialAnimator.AFJABCJOKEI);
|
|
}
|
|
|
|
// Token: 0x0601A1CE RID: 106958 RVA: 0x0074BD4C File Offset: 0x00749F4C
|
|
private void CMONJDHPAMB()
|
|
{
|
|
if (this.HBGDDBPHCKG != null && this.GGLABBNHCBN != null)
|
|
{
|
|
base.StopCoroutine(this.HBGDDBPHCKG);
|
|
this.animator.SetBool(this.GGLABBNHCBN, false);
|
|
this.GGLABBNHCBN = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1CF RID: 106959 RVA: 0x0074BD8C File Offset: 0x00749F8C
|
|
private void DMEAIFJPAIB(Player.HDOICGIKKAO ACAHIJEJKLC, Player JBEPFCIKALP, Player.HDOICGIKKAO FCIHAGHHBEA)
|
|
{
|
|
if (JBEPFCIKALP == this.player)
|
|
{
|
|
return;
|
|
}
|
|
if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head && (FCIHAGHHBEA == Player.HDOICGIKKAO.LeftHand || FCIHAGHHBEA == (Player.HDOICGIKKAO)7))
|
|
{
|
|
this.GBIFHMMJGPC(PlayerFacialAnimator.PDFFJFGHMKN);
|
|
}
|
|
else if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head && FCIHAGHHBEA == Player.HDOICGIKKAO.Head)
|
|
{
|
|
this.NCEENHMLGCI(PlayerFacialAnimator.HMHKGAHDDBI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1D0 RID: 106960 RVA: 0x0074BDE8 File Offset: 0x00749FE8
|
|
private void Start()
|
|
{
|
|
base.StartCoroutine(this.HPPNFLJADED());
|
|
if (this.player != null)
|
|
{
|
|
PlayerEvents playerEvents = this.player.DIJMEKHCJBP;
|
|
playerEvents.AIOAMKOCJND += this.CAENGNFDMHA;
|
|
playerEvents.JCCIBHHCGDD += this.KEPABDJPHJD;
|
|
playerEvents.ADONBKJIKKE += this.KGMFECHHCAH;
|
|
playerEvents.DDPGEEDCCLN += this.ANHBINJLGOH;
|
|
playerEvents.FMBLFOPIABI += this.EKGOFMDGGAC;
|
|
playerEvents.LAKHLLCHFED += this.KEMPLCEFBKP;
|
|
playerEvents.NCHANALLOJH += this.BEBLKKFEHNP;
|
|
playerEvents.IIDNHALABJJ += this.GDPDPPAOLEE;
|
|
if (this.emoteExtraFacialFeatures != null)
|
|
{
|
|
this.emoteExtraFacialFeatures.HLGPFLHHEEK((!this.player.NHDDPGADJPJ) ? NILFAGNKNMH.RemotePlayerPhysics : NILFAGNKNMH.HiddenInFirstPerson);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1D1 RID: 106961 RVA: 0x0074BEE4 File Offset: 0x0074A0E4
|
|
private void FLIPGNBFOPP(Tool ENBMEDIFBLM)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.PBBKNLLDLHD);
|
|
}
|
|
|
|
// Token: 0x0601A1D2 RID: 106962 RVA: 0x0074BEF8 File Offset: 0x0074A0F8
|
|
private void IJOPIMKAKOC()
|
|
{
|
|
if (this.HBGDDBPHCKG != null && this.GGLABBNHCBN != null)
|
|
{
|
|
base.StopCoroutine(this.HBGDDBPHCKG);
|
|
this.animator.SetBool(this.GGLABBNHCBN, true);
|
|
this.GGLABBNHCBN = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1D3 RID: 106963 RVA: 0x0074BF38 File Offset: 0x0074A138
|
|
private void OnDestroy()
|
|
{
|
|
if (this.player != null)
|
|
{
|
|
PlayerEvents playerEvents = this.player.DIJMEKHCJBP;
|
|
playerEvents.AIOAMKOCJND -= this.CAENGNFDMHA;
|
|
playerEvents.JCCIBHHCGDD -= this.KEPABDJPHJD;
|
|
playerEvents.ADONBKJIKKE -= this.KGMFECHHCAH;
|
|
playerEvents.DDPGEEDCCLN -= this.ANHBINJLGOH;
|
|
playerEvents.FMBLFOPIABI -= this.EKGOFMDGGAC;
|
|
playerEvents.LAKHLLCHFED -= this.KEMPLCEFBKP;
|
|
playerEvents.NCHANALLOJH -= this.BEBLKKFEHNP;
|
|
playerEvents.IIDNHALABJJ -= this.GDPDPPAOLEE;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1D4 RID: 106964 RVA: 0x0074BFF4 File Offset: 0x0074A1F4
|
|
private void LHDOHJLMDEB()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1D5 RID: 106965 RVA: 0x0074C008 File Offset: 0x0074A208
|
|
private void MPFILNDGMBF()
|
|
{
|
|
if (this.player != null)
|
|
{
|
|
PlayerEvents playerEvents = this.player.DIJMEKHCJBP;
|
|
playerEvents.JLJOEPHDGBB(new Action<bool>(this.CAENGNFDMHA));
|
|
playerEvents.EFCDBPFLEGP(new Action<Player.HDOICGIKKAO, Player, Player.HDOICGIKKAO>(this.KEPABDJPHJD));
|
|
playerEvents.GGAGLECEKOP(new Action<Player.HDOICGIKKAO, Tool>(this.KGMFECHHCAH));
|
|
playerEvents.JHIOPPKBGKN(new Action<Tool>(this.FLIPGNBFOPP));
|
|
playerEvents.FMBLFOPIABI -= this.EKGOFMDGGAC;
|
|
playerEvents.MABNGCCOOHH(new Action(this.DIILNJCDAKF));
|
|
playerEvents.DEEMDOACOAH(new Action<Player.HDOICGIKKAO>(this.HEGHFPKMNEG));
|
|
playerEvents.IIDNHALABJJ -= this.HHLJKMNENBC;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1D6 RID: 106966 RVA: 0x0074C0C4 File Offset: 0x0074A2C4
|
|
public void PlayEmoteRight()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.BNAEAMNAHJC);
|
|
}
|
|
|
|
// Token: 0x0601A1D7 RID: 106967 RVA: 0x0074C0D8 File Offset: 0x0074A2D8
|
|
public void PlayEmote(string CLGBCHCIKOL)
|
|
{
|
|
this.CMONJDHPAMB();
|
|
this.HBGDDBPHCKG = base.StartCoroutine(this.PPDPLBKCGLJ(CLGBCHCIKOL));
|
|
}
|
|
|
|
// Token: 0x0601A1D8 RID: 106968 RVA: 0x0074C0F4 File Offset: 0x0074A2F4
|
|
public void OFHGCHCOPAK()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIPAJHCCENH);
|
|
}
|
|
|
|
// Token: 0x0601A1D9 RID: 106969 RVA: 0x0074C108 File Offset: 0x0074A308
|
|
public void CDPAIJCPLCF()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIPAJHCCENH);
|
|
}
|
|
|
|
// Token: 0x0601A1DA RID: 106970 RVA: 0x0074C11C File Offset: 0x0074A31C
|
|
private void HHLJKMNENBC(bool KONBOAGIOHH)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.BAGMBEMIIEC, KONBOAGIOHH);
|
|
}
|
|
|
|
// Token: 0x17000BB9 RID: 3001
|
|
// (get) Token: 0x0601A1DB RID: 106971 RVA: 0x0074C130 File Offset: 0x0074A330
|
|
public JitteringSprite KPKIAGJHELK
|
|
{
|
|
get
|
|
{
|
|
return this.mouth;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1DC RID: 106972 RVA: 0x0074C138 File Offset: 0x0074A338
|
|
private void NJCGLHJMAEC()
|
|
{
|
|
base.StartCoroutine(this.HPPNFLJADED());
|
|
if (this.player != null)
|
|
{
|
|
PlayerEvents playerEvents = this.player.DIJMEKHCJBP;
|
|
playerEvents.AIOAMKOCJND += this.CAENGNFDMHA;
|
|
playerEvents.DGMFLNBCKIN(new Action<Player.HDOICGIKKAO, Player, Player.HDOICGIKKAO>(this.KEPABDJPHJD));
|
|
playerEvents.ADONBKJIKKE += this.KGMFECHHCAH;
|
|
playerEvents.KGMKEKJCFGI(new Action<Tool>(this.ANHBINJLGOH));
|
|
playerEvents.OGFNIFONKDH(new Action<Tool>(this.OOCOKBNNGKJ));
|
|
playerEvents.LAKHLLCHFED += this.DIILNJCDAKF;
|
|
playerEvents.PPLHBNDFPDH(new Action<Player.HDOICGIKKAO>(this.FAIBEMNBIDO));
|
|
playerEvents.AJHMMCCPFHF(new Action<bool>(this.HHLJKMNENBC));
|
|
if (this.emoteExtraFacialFeatures != null)
|
|
{
|
|
this.emoteExtraFacialFeatures.HLGPFLHHEEK((!this.player.BGOFBKHOLHF()) ? ((NILFAGNKNMH)(-78)) : ((NILFAGNKNMH)3));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1DD RID: 106973 RVA: 0x0074C234 File Offset: 0x0074A434
|
|
private void BEBLKKFEHNP(Player.HDOICGIKKAO ACAHIJEJKLC)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1DE RID: 106974 RVA: 0x0074C248 File Offset: 0x0074A448
|
|
private IEnumerator HPPNFLJADED()
|
|
{
|
|
for (;;)
|
|
{
|
|
yield return new WaitForSeconds(global::UnityEngine.Random.Range(this.minBlinkInterval, this.maxBlinkInterval));
|
|
this.GGIGGBPMEBN = true;
|
|
yield return new WaitForSeconds(this.blinkDuration);
|
|
this.GGIGGBPMEBN = false;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0601A1DF RID: 106975 RVA: 0x0074C264 File Offset: 0x0074A464
|
|
public void LCPCLHNJOFC()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIDFAHDHGMM);
|
|
}
|
|
|
|
// Token: 0x0601A1E0 RID: 106976 RVA: 0x0074C278 File Offset: 0x0074A478
|
|
private void ONNLBEENDCG(bool KPFBLFDDJNC)
|
|
{
|
|
int num = ((!KPFBLFDDJNC) ? PlayerFacialAnimator.EFJNGMFKAOL : PlayerFacialAnimator.GIONNENCGBL);
|
|
this.animator.SetTrigger(num);
|
|
}
|
|
|
|
// Token: 0x0601A1E1 RID: 106977 RVA: 0x0074C2A8 File Offset: 0x0074A4A8
|
|
public void AHCKNBOABMD()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIDFAHDHGMM);
|
|
}
|
|
|
|
// Token: 0x0601A1E2 RID: 106978 RVA: 0x0074C2BC File Offset: 0x0074A4BC
|
|
public JitteringSprite DJCPPEFLPOL()
|
|
{
|
|
return this.mouth;
|
|
}
|
|
|
|
// Token: 0x0601A1E3 RID: 106979 RVA: 0x0074C2C4 File Offset: 0x0074A4C4
|
|
private void EJPIHLCFPBN(Tool ENBMEDIFBLM)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1E4 RID: 106980 RVA: 0x0074C2D8 File Offset: 0x0074A4D8
|
|
private void BCJMFGCAKCK(bool KPFBLFDDJNC)
|
|
{
|
|
int num = ((!KPFBLFDDJNC) ? PlayerFacialAnimator.EFJNGMFKAOL : PlayerFacialAnimator.GIONNENCGBL);
|
|
this.animator.SetTrigger(num);
|
|
}
|
|
|
|
// Token: 0x0601A1E5 RID: 106981 RVA: 0x0074C308 File Offset: 0x0074A508
|
|
public void ANFFGNJIKNB(bool NOBAPCOKFIL)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.AFJABCJOKEI, !NOBAPCOKFIL || !this.OMLLODODANE);
|
|
}
|
|
|
|
// Token: 0x0601A1E6 RID: 106982 RVA: 0x0074C32C File Offset: 0x0074A52C
|
|
public void AOIMEFHCDGH()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIDFAHDHGMM);
|
|
}
|
|
|
|
// Token: 0x0601A1E7 RID: 106983 RVA: 0x0074C340 File Offset: 0x0074A540
|
|
public void HOJFADJAIJD(bool NOBAPCOKFIL)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.AFJABCJOKEI, NOBAPCOKFIL && this.EAPCAFHBNHI());
|
|
}
|
|
|
|
// Token: 0x0601A1E8 RID: 106984 RVA: 0x0074C364 File Offset: 0x0074A564
|
|
public JitteringSprite EKFMJKCDAGP()
|
|
{
|
|
return this.eye;
|
|
}
|
|
|
|
// Token: 0x0601A1E9 RID: 106985 RVA: 0x0074C36C File Offset: 0x0074A56C
|
|
private void ANHBINJLGOH(Tool ENBMEDIFBLM)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.PBBKNLLDLHD);
|
|
}
|
|
|
|
// Token: 0x0601A1EA RID: 106986 RVA: 0x0074C380 File Offset: 0x0074A580
|
|
private void CAENGNFDMHA(bool DDLPFIDKKIH)
|
|
{
|
|
int num = ((!DDLPFIDKKIH) ? PlayerFacialAnimator.FPCAJDOBMNL : PlayerFacialAnimator.EDGGOFJOEEN);
|
|
this.animator.SetTrigger(num);
|
|
}
|
|
|
|
// Token: 0x0601A1EB RID: 106987 RVA: 0x0074C3B0 File Offset: 0x0074A5B0
|
|
private void NDELCBJKJHA(Tool ENBMEDIFBLM)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1EC RID: 106988 RVA: 0x0074C3C4 File Offset: 0x0074A5C4
|
|
public void PlayEmoteUp()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIPAJHCCENH);
|
|
}
|
|
|
|
// Token: 0x0601A1ED RID: 106989 RVA: 0x0074C3D8 File Offset: 0x0074A5D8
|
|
public void ILAGMNLEJAI(string CLGBCHCIKOL)
|
|
{
|
|
this.IJOPIMKAKOC();
|
|
this.HBGDDBPHCKG = base.StartCoroutine(this.LPKJHPJDKLP(CLGBCHCIKOL));
|
|
}
|
|
|
|
// Token: 0x0601A1EE RID: 106990 RVA: 0x0074C3F4 File Offset: 0x0074A5F4
|
|
public void FKAHFBMFPAB(bool NOBAPCOKFIL)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.AFJABCJOKEI, !NOBAPCOKFIL || this.OMLLODODANE);
|
|
}
|
|
|
|
// Token: 0x0601A1EF RID: 106991 RVA: 0x0074C418 File Offset: 0x0074A618
|
|
private void MCOJNOOCBCJ(Player.HDOICGIKKAO ACAHIJEJKLC)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1F0 RID: 106992 RVA: 0x0074C42C File Offset: 0x0074A62C
|
|
private void PPOPAEBNGPC()
|
|
{
|
|
this.animator = base.GetComponent<Animator>();
|
|
global::UnityEngine.Random.InitState((int)DateTime.UtcNow.Ticks);
|
|
}
|
|
|
|
// Token: 0x0601A1F1 RID: 106993 RVA: 0x0074C458 File Offset: 0x0074A658
|
|
public void JIAIALJDHCJ()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIDFAHDHGMM);
|
|
}
|
|
|
|
// Token: 0x0601A1F2 RID: 106994 RVA: 0x0074C46C File Offset: 0x0074A66C
|
|
private void EKGOFMDGGAC(Tool ENBMEDIFBLM)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1F3 RID: 106995 RVA: 0x0074C480 File Offset: 0x0074A680
|
|
private void OOCOKBNNGKJ(Tool ENBMEDIFBLM)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1F4 RID: 106996 RVA: 0x0074C494 File Offset: 0x0074A694
|
|
private void AMNNBMEMJGB()
|
|
{
|
|
this.animator = base.GetComponent<Animator>();
|
|
global::UnityEngine.Random.InitState((int)DateTime.UtcNow.Ticks);
|
|
}
|
|
|
|
// Token: 0x0601A1F5 RID: 106997 RVA: 0x0074C4C0 File Offset: 0x0074A6C0
|
|
private void IICDIBPOINA()
|
|
{
|
|
this.eye.IAPABDPPBAA((!this.GGIGGBPMEBN || this.EAPCAFHBNHI()) ? this.eyeSprite : this.blinkEyeSprite);
|
|
this.mouth.IAPABDPPBAA(this.mouthSprite);
|
|
}
|
|
|
|
// Token: 0x0601A1F6 RID: 106998 RVA: 0x0074C510 File Offset: 0x0074A710
|
|
private void AMCANMJHAEH()
|
|
{
|
|
base.StartCoroutine(this.HPPNFLJADED());
|
|
if (this.player != null)
|
|
{
|
|
PlayerEvents playerEvents = this.player.DIJMEKHCJBP;
|
|
playerEvents.AIOAMKOCJND += this.CAENGNFDMHA;
|
|
playerEvents.DGMFLNBCKIN(new Action<Player.HDOICGIKKAO, Player, Player.HDOICGIKKAO>(this.DMCIGHNAEFA));
|
|
playerEvents.ADONBKJIKKE += this.KGMFECHHCAH;
|
|
playerEvents.DDPGEEDCCLN += this.FLIPGNBFOPP;
|
|
playerEvents.OGFNIFONKDH(new Action<Tool>(this.NDELCBJKJHA));
|
|
playerEvents.LAKHLLCHFED += this.DIILNJCDAKF;
|
|
playerEvents.PPLHBNDFPDH(new Action<Player.HDOICGIKKAO>(this.MCOJNOOCBCJ));
|
|
playerEvents.AJHMMCCPFHF(new Action<bool>(this.KFFIBLPHNGH));
|
|
if (this.emoteExtraFacialFeatures != null)
|
|
{
|
|
this.emoteExtraFacialFeatures.HLGPFLHHEEK((!this.player.NMDPPKDGAJN()) ? ((NILFAGNKNMH)117) : ((NILFAGNKNMH)3));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1F7 RID: 106999 RVA: 0x0074C60C File Offset: 0x0074A80C
|
|
private void NCEENHMLGCI(int PPBFLDIFHAO)
|
|
{
|
|
float unscaledTime = Time.unscaledTime;
|
|
if (unscaledTime - this.HAAIPJCIMKK > 1418f)
|
|
{
|
|
this.HAAIPJCIMKK = unscaledTime;
|
|
this.BLGJGKCDHLL(PPBFLDIFHAO);
|
|
PhotonView photonView = this.player.ONAOMJAKKMA();
|
|
string text = "ServerTime";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[0];
|
|
array[0] = PPBFLDIFHAO;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1F8 RID: 107000 RVA: 0x0074C664 File Offset: 0x0074A864
|
|
private void GBIFHMMJGPC(int PPBFLDIFHAO)
|
|
{
|
|
float unscaledTime = Time.unscaledTime;
|
|
if (unscaledTime - this.HAAIPJCIMKK > 910f)
|
|
{
|
|
this.HAAIPJCIMKK = unscaledTime;
|
|
this.BLGJGKCDHLL(PPBFLDIFHAO);
|
|
PhotonView photonView = this.player.BIPEBCPEPKL();
|
|
string text = "Touchpad (Touch)";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.Others;
|
|
object[] array = new object[1];
|
|
array[1] = PPBFLDIFHAO;
|
|
photonView.JJLACCMJEMB(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1F9 RID: 107001 RVA: 0x0074C6BC File Offset: 0x0074A8BC
|
|
public bool EAPCAFHBNHI()
|
|
{
|
|
return this.GGLABBNHCBN != null;
|
|
}
|
|
|
|
// Token: 0x0601A1FA RID: 107002 RVA: 0x0074C6CC File Offset: 0x0074A8CC
|
|
private void HEGHFPKMNEG(Player.HDOICGIKKAO ACAHIJEJKLC)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1FB RID: 107003 RVA: 0x0074C6E0 File Offset: 0x0074A8E0
|
|
private void KEPABDJPHJD(Player.HDOICGIKKAO ACAHIJEJKLC, Player JBEPFCIKALP, Player.HDOICGIKKAO FCIHAGHHBEA)
|
|
{
|
|
if (JBEPFCIKALP == this.player)
|
|
{
|
|
return;
|
|
}
|
|
if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head && (FCIHAGHHBEA == Player.HDOICGIKKAO.LeftHand || FCIHAGHHBEA == Player.HDOICGIKKAO.RightHand))
|
|
{
|
|
this.BEIENNAKJNE(PlayerFacialAnimator.PDFFJFGHMKN);
|
|
}
|
|
else if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head && FCIHAGHHBEA == Player.HDOICGIKKAO.Head)
|
|
{
|
|
this.BEIENNAKJNE(PlayerFacialAnimator.HMHKGAHDDBI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A1FC RID: 107004 RVA: 0x0074C73C File Offset: 0x0074A93C
|
|
private void JEKKELEDDHM(bool KPFBLFDDJNC)
|
|
{
|
|
int num = ((!KPFBLFDDJNC) ? PlayerFacialAnimator.EFJNGMFKAOL : PlayerFacialAnimator.GIONNENCGBL);
|
|
this.animator.SetTrigger(num);
|
|
}
|
|
|
|
// Token: 0x0601A1FD RID: 107005 RVA: 0x0074C76C File Offset: 0x0074A96C
|
|
private void KEMPLCEFBKP()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A1FE RID: 107006 RVA: 0x0074C780 File Offset: 0x0074A980
|
|
private void Awake()
|
|
{
|
|
this.animator = base.GetComponent<Animator>();
|
|
global::UnityEngine.Random.InitState((int)DateTime.UtcNow.Ticks);
|
|
}
|
|
|
|
// Token: 0x0601A1FF RID: 107007 RVA: 0x0074C7AC File Offset: 0x0074A9AC
|
|
public void HKONJPBENBH()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIPAJHCCENH);
|
|
}
|
|
|
|
// Token: 0x0601A200 RID: 107008 RVA: 0x0074C7C0 File Offset: 0x0074A9C0
|
|
public void BLGJGKCDHLL(int PPBFLDIFHAO)
|
|
{
|
|
this.animator.SetTrigger(PPBFLDIFHAO);
|
|
}
|
|
|
|
// Token: 0x0601A201 RID: 107009 RVA: 0x0074C7D0 File Offset: 0x0074A9D0
|
|
public void HMLPCPPCLNK()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.EIDFAHDHGMM);
|
|
}
|
|
|
|
// Token: 0x0601A202 RID: 107010 RVA: 0x0074C7E4 File Offset: 0x0074A9E4
|
|
private void CKEDMEPLKEM(bool KPFBLFDDJNC)
|
|
{
|
|
int num = ((!KPFBLFDDJNC) ? PlayerFacialAnimator.EFJNGMFKAOL : PlayerFacialAnimator.GIONNENCGBL);
|
|
this.animator.SetTrigger(num);
|
|
}
|
|
|
|
// Token: 0x0601A203 RID: 107011 RVA: 0x0074C814 File Offset: 0x0074AA14
|
|
private IEnumerator KFFIBEFGLCD(string CLGBCHCIKOL)
|
|
{
|
|
this.GGLABBNHCBN = CLGBCHCIKOL;
|
|
this.animator.SetBool(CLGBCHCIKOL, true);
|
|
yield return new WaitForSeconds(3f);
|
|
this.animator.SetBool(CLGBCHCIKOL, false);
|
|
this.GGLABBNHCBN = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0601A204 RID: 107012 RVA: 0x0074C838 File Offset: 0x0074AA38
|
|
private IEnumerator GJODPFPBKKI(string CLGBCHCIKOL)
|
|
{
|
|
this.GGLABBNHCBN = CLGBCHCIKOL;
|
|
this.animator.SetBool(CLGBCHCIKOL, true);
|
|
yield return new WaitForSeconds(3f);
|
|
this.animator.SetBool(CLGBCHCIKOL, false);
|
|
this.GGLABBNHCBN = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0601A205 RID: 107013 RVA: 0x0074C85C File Offset: 0x0074AA5C
|
|
private void Update()
|
|
{
|
|
this.eye.PCMBFOFJPHC((!this.GGIGGBPMEBN || this.OMLLODODANE) ? this.eyeSprite : this.blinkEyeSprite);
|
|
this.mouth.PCMBFOFJPHC(this.mouthSprite);
|
|
}
|
|
|
|
// Token: 0x0601A206 RID: 107014 RVA: 0x0074C8AC File Offset: 0x0074AAAC
|
|
public void PJDKIOCEHKM(bool NOBAPCOKFIL)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.AFJABCJOKEI, !NOBAPCOKFIL || this.EAPCAFHBNHI());
|
|
}
|
|
|
|
// Token: 0x0601A207 RID: 107015 RVA: 0x0074C8D0 File Offset: 0x0074AAD0
|
|
private void GHDCAGCJAAF(int PPBFLDIFHAO)
|
|
{
|
|
float unscaledTime = Time.unscaledTime;
|
|
if (unscaledTime - this.HAAIPJCIMKK > 956f)
|
|
{
|
|
this.HAAIPJCIMKK = unscaledTime;
|
|
this.BLGJGKCDHLL(PPBFLDIFHAO);
|
|
PhotonView photonView = this.player.LJILHDMCKME();
|
|
string text = "AddStreamedFragment buffer length: {0:N0} streamedFragments: {1:N0}";
|
|
IHCPDNLJMMD ihcpdnljmmd = IHCPDNLJMMD.All;
|
|
object[] array = new object[0];
|
|
array[1] = PPBFLDIFHAO;
|
|
photonView.RPC(text, ihcpdnljmmd, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A208 RID: 107016 RVA: 0x0074C928 File Offset: 0x0074AB28
|
|
private void LHMGNEDHIHI()
|
|
{
|
|
this.eye.OKIHFAFILDB((!this.GGIGGBPMEBN || this.OMLLODODANE) ? this.eyeSprite : this.blinkEyeSprite);
|
|
this.mouth.IAPABDPPBAA(this.mouthSprite);
|
|
}
|
|
|
|
// Token: 0x0601A209 RID: 107017 RVA: 0x0074C978 File Offset: 0x0074AB78
|
|
private void LIHFGMNNAHM(bool KPFBLFDDJNC)
|
|
{
|
|
int num = ((!KPFBLFDDJNC) ? PlayerFacialAnimator.EFJNGMFKAOL : PlayerFacialAnimator.GIONNENCGBL);
|
|
this.animator.SetTrigger(num);
|
|
}
|
|
|
|
// Token: 0x0601A20A RID: 107018 RVA: 0x0074C9A8 File Offset: 0x0074ABA8
|
|
public void NOGBIMJJGHG(bool NOBAPCOKFIL)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.AFJABCJOKEI, !NOBAPCOKFIL || !this.OMLLODODANE);
|
|
}
|
|
|
|
// Token: 0x0601A20B RID: 107019 RVA: 0x0074C9CC File Offset: 0x0074ABCC
|
|
public void LAGIGDHLODA(bool NOBAPCOKFIL)
|
|
{
|
|
this.animator.SetBool(PlayerFacialAnimator.AFJABCJOKEI, !NOBAPCOKFIL || !this.EAPCAFHBNHI());
|
|
}
|
|
|
|
// Token: 0x0601A20C RID: 107020 RVA: 0x0074C9F0 File Offset: 0x0074ABF0
|
|
public void PlayEmoteLeft()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.IKBBEGAJGGC);
|
|
}
|
|
|
|
// Token: 0x0601A20D RID: 107021 RVA: 0x0074CA04 File Offset: 0x0074AC04
|
|
private void NABILOECONF()
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A20F RID: 107023 RVA: 0x0074CA2C File Offset: 0x0074AC2C
|
|
private void DMCIGHNAEFA(Player.HDOICGIKKAO ACAHIJEJKLC, Player JBEPFCIKALP, Player.HDOICGIKKAO FCIHAGHHBEA)
|
|
{
|
|
if (JBEPFCIKALP == this.player)
|
|
{
|
|
return;
|
|
}
|
|
if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head && (FCIHAGHHBEA == (Player.HDOICGIKKAO)6 || FCIHAGHHBEA == Player.HDOICGIKKAO.Torso))
|
|
{
|
|
this.MLLCOJDPDKB(PlayerFacialAnimator.PDFFJFGHMKN);
|
|
}
|
|
else if (ACAHIJEJKLC == Player.HDOICGIKKAO.Head && FCIHAGHHBEA == Player.HDOICGIKKAO.Head)
|
|
{
|
|
this.BEIENNAKJNE(PlayerFacialAnimator.HMHKGAHDDBI);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601A210 RID: 107024 RVA: 0x0074CA88 File Offset: 0x0074AC88
|
|
private void OLLHMCIFGFK(Player.HDOICGIKKAO ACAHIJEJKLC)
|
|
{
|
|
this.animator.SetTrigger(PlayerFacialAnimator.LPLOJGNBNMO);
|
|
}
|
|
|
|
// Token: 0x0601A211 RID: 107025 RVA: 0x0074CA9C File Offset: 0x0074AC9C
|
|
public void PlayExpression(int PPBFLDIFHAO)
|
|
{
|
|
this.animator.SetTrigger(PPBFLDIFHAO);
|
|
}
|
|
|
|
// Token: 0x0601A212 RID: 107026 RVA: 0x0074CAAC File Offset: 0x0074ACAC
|
|
private IEnumerator PPDPLBKCGLJ(string CLGBCHCIKOL)
|
|
{
|
|
this.GGLABBNHCBN = CLGBCHCIKOL;
|
|
this.animator.SetBool(CLGBCHCIKOL, true);
|
|
yield return new WaitForSeconds(3f);
|
|
this.animator.SetBool(CLGBCHCIKOL, false);
|
|
this.GGLABBNHCBN = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x0601A213 RID: 107027 RVA: 0x0074CAD0 File Offset: 0x0074ACD0
|
|
public void BOIKAANHJNK(int PPBFLDIFHAO)
|
|
{
|
|
this.animator.SetTrigger(PPBFLDIFHAO);
|
|
}
|
|
|
|
// Token: 0x04004700 RID: 18176
|
|
private const float JMADEEEEAIB = 0.5f;
|
|
|
|
// Token: 0x04004701 RID: 18177
|
|
[SerializeField]
|
|
[Header("Facial Features")]
|
|
private JitteringSprite eye = new JitteringSprite();
|
|
|
|
// Token: 0x04004702 RID: 18178
|
|
[SerializeField]
|
|
private JitteringSprite mouth = new JitteringSprite();
|
|
|
|
// Token: 0x04004703 RID: 18179
|
|
[SerializeField]
|
|
[Header("Blinking Configuration")]
|
|
private Sprite blinkEyeSprite;
|
|
|
|
// Token: 0x04004704 RID: 18180
|
|
[SerializeField]
|
|
private float minBlinkInterval = 1f;
|
|
|
|
// Token: 0x04004705 RID: 18181
|
|
[SerializeField]
|
|
private float maxBlinkInterval = 8f;
|
|
|
|
// Token: 0x04004706 RID: 18182
|
|
[SerializeField]
|
|
private float blinkDuration = 0.1f;
|
|
|
|
// Token: 0x04004707 RID: 18183
|
|
[Header("Emotes")]
|
|
[SerializeField]
|
|
private GameObject emoteExtraFacialFeatures;
|
|
|
|
// Token: 0x04004708 RID: 18184
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
|
|
[SerializeField]
|
|
private Animator animator;
|
|
|
|
// Token: 0x04004709 RID: 18185
|
|
[GIHAEMKKLFG(FOGKDGELKHN.Parent, false)]
|
|
[SerializeField]
|
|
private Player player;
|
|
|
|
// Token: 0x0400470A RID: 18186
|
|
[HideInInspector]
|
|
public Sprite eyeSprite;
|
|
|
|
// Token: 0x0400470B RID: 18187
|
|
[HideInInspector]
|
|
public Sprite mouthSprite;
|
|
|
|
// Token: 0x0400470C RID: 18188
|
|
private Coroutine HBGDDBPHCKG;
|
|
|
|
// Token: 0x0400470D RID: 18189
|
|
private string GGLABBNHCBN;
|
|
|
|
// Token: 0x0400470E RID: 18190
|
|
private bool GGIGGBPMEBN;
|
|
|
|
// Token: 0x0400470F RID: 18191
|
|
private const float CHMBFCKFCOG = 3f;
|
|
|
|
// Token: 0x04004710 RID: 18192
|
|
private static int EIPAJHCCENH = Animator.StringToHash("EmoteHappy");
|
|
|
|
// Token: 0x04004711 RID: 18193
|
|
private static int EIDFAHDHGMM = Animator.StringToHash("EmoteSad");
|
|
|
|
// Token: 0x04004712 RID: 18194
|
|
private static int IKBBEGAJGGC = Animator.StringToHash("EmoteDisgust");
|
|
|
|
// Token: 0x04004713 RID: 18195
|
|
private static int BNAEAMNAHJC = Animator.StringToHash("EmoteLaugh");
|
|
|
|
// Token: 0x04004714 RID: 18196
|
|
private static int LPLOJGNBNMO = Animator.StringToHash("Smile");
|
|
|
|
// Token: 0x04004715 RID: 18197
|
|
private static int EDGGOFJOEEN = Animator.StringToHash("HugeSmile");
|
|
|
|
// Token: 0x04004716 RID: 18198
|
|
private static int GIONNENCGBL = Animator.StringToHash("Score");
|
|
|
|
// Token: 0x04004717 RID: 18199
|
|
private static int FPCAJDOBMNL = Animator.StringToHash("Sad");
|
|
|
|
// Token: 0x04004718 RID: 18200
|
|
private static int EFJNGMFKAOL = Animator.StringToHash("Disgust");
|
|
|
|
// Token: 0x04004719 RID: 18201
|
|
private static int PDFFJFGHMKN = Animator.StringToHash("Hit");
|
|
|
|
// Token: 0x0400471A RID: 18202
|
|
private static int PBBKNLLDLHD = Animator.StringToHash("Concentrate");
|
|
|
|
// Token: 0x0400471B RID: 18203
|
|
private static int HMHKGAHDDBI = Animator.StringToHash("Kiss");
|
|
|
|
// Token: 0x0400471C RID: 18204
|
|
private static int AFJABCJOKEI = Animator.StringToHash("Talking");
|
|
|
|
// Token: 0x0400471D RID: 18205
|
|
private static int BAGMBEMIIEC = Animator.StringToHash("Mute");
|
|
|
|
// Token: 0x0400471E RID: 18206
|
|
private float HAAIPJCIMKK;
|
|
}
|