This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,1124 @@
using System;
using System.Collections;
using UnityEngine;
namespace RecRoom.Tools.Weapons
{
// Token: 0x02000027 RID: 39
[RequireComponent(typeof(Tool))]
public class FlipOpenWeaponSights : MonoBehaviour
{
// Token: 0x0600076A RID: 1898 RVA: 0x0001E0BC File Offset: 0x0001C2BC
private void HOONMKBNOCK(Tool ENBMEDIFBLM)
{
this.LOHGMDBMCAI(ENBMEDIFBLM, true);
}
// Token: 0x0600076B RID: 1899 RVA: 0x0001E0C8 File Offset: 0x0001C2C8
private void NCCHBOGFABM(Tool ENBMEDIFBLM)
{
this.FKPHKKMHILL(ENBMEDIFBLM, false);
}
// Token: 0x0600076C RID: 1900 RVA: 0x0001E0D4 File Offset: 0x0001C2D4
private void LBJMMOONFKO()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.MJALBOACIEC;
this.tool.PLPIAOHJBOB -= this.NMBDECKJDKA;
}
}
// Token: 0x0600076D RID: 1901 RVA: 0x0001E120 File Offset: 0x0001C320
private IEnumerator HPECOOIACJD(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
Quaternion localRotation = this.leftHandFrontSight.localRotation;
Quaternion localRotation2 = this.rightHandFrontSight.localRotation;
float time = Time.time;
float num = time + this.timeToUpdate;
while (Time.time < num)
{
float num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x0600076E RID: 1902 RVA: 0x0001E14C File Offset: 0x0001C34C
private void MJALBOACIEC(Tool ENBMEDIFBLM)
{
this.LOHGMDBMCAI(ENBMEDIFBLM, false);
}
// Token: 0x0600076F RID: 1903 RVA: 0x0001E158 File Offset: 0x0001C358
private void MCECFOCPOCA()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC += this.OENAHIKJCEE;
this.tool.PLPIAOHJBOB += this.KPKDHMDGHLJ;
this.LOHGMDBMCAI(this.tool, false);
}
}
// Token: 0x06000770 RID: 1904 RVA: 0x0001E1B4 File Offset: 0x0001C3B4
private void HFIINLPCCAO(Tool ENBMEDIFBLM)
{
this.KKELPNKGIBN(ENBMEDIFBLM, true);
}
// Token: 0x06000771 RID: 1905 RVA: 0x0001E1C0 File Offset: 0x0001C3C0
private void DKNCCPIJPKM(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.JPGGLMOEJOO();
this.AHFDJCIGPAA = base.StartCoroutine(this.MFHKIPBCFDJ(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x06000772 RID: 1906 RVA: 0x0001E1DC File Offset: 0x0001C3DC
private void MBIGODBLLMB(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000773 RID: 1907 RVA: 0x0001E218 File Offset: 0x0001C418
private IEnumerator MDBJINOMPHB(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x06000774 RID: 1908 RVA: 0x0001E244 File Offset: 0x0001C444
private void NKEJEJCLHLC(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000775 RID: 1909 RVA: 0x0001E280 File Offset: 0x0001C480
private void LCKBJBHBEPP(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000776 RID: 1910 RVA: 0x0001E2BC File Offset: 0x0001C4BC
private void FNIGDFBHNIL()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x06000777 RID: 1911 RVA: 0x0001E2DC File Offset: 0x0001C4DC
private void GFGKECPIHGL()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x06000778 RID: 1912 RVA: 0x0001E2FC File Offset: 0x0001C4FC
private void PPCCKMMADGK()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.LOBCMEPGNLN;
this.tool.PLPIAOHJBOB -= this.CKJBDGFLKKB;
}
}
// Token: 0x06000779 RID: 1913 RVA: 0x0001E348 File Offset: 0x0001C548
private void NBOKPDLLKLO()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC += this.MJALBOACIEC;
this.tool.PLPIAOHJBOB += this.HOONMKBNOCK;
this.LOHGMDBMCAI(this.tool, false);
}
}
// Token: 0x0600077A RID: 1914 RVA: 0x0001E3A4 File Offset: 0x0001C5A4
private void ANHBINJLGOH(Tool ENBMEDIFBLM)
{
this.LOHGMDBMCAI(ENBMEDIFBLM, false);
}
// Token: 0x0600077B RID: 1915 RVA: 0x0001E3B0 File Offset: 0x0001C5B0
private void ODDIEFPHLOH(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.FOBLPAIBEHL();
this.AHFDJCIGPAA = base.StartCoroutine(this.DFIDKEJBABK(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x0600077C RID: 1916 RVA: 0x0001E3CC File Offset: 0x0001C5CC
private IEnumerator GBFOJGLPEGJ(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x0600077D RID: 1917 RVA: 0x0001E3F8 File Offset: 0x0001C5F8
private void JPGGLMOEJOO()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x0600077E RID: 1918 RVA: 0x0001E418 File Offset: 0x0001C618
private void OCNPHJECEGP(Tool ENBMEDIFBLM, bool AKGCACIJOJE = false)
{
if (ENBMEDIFBLM.EHFOKGIGIMF == null || AKGCACIJOJE)
{
this.DHMJMFJFELL(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else if (ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII == PlayerHand.HMMEBFHABKA.Left)
{
this.OHJJANBFHDL(Quaternion.Euler(this.openLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else
{
this.OAFLIDIGLDJ(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.openRightHandRotation));
}
}
// Token: 0x0600077F RID: 1919 RVA: 0x0001E4AC File Offset: 0x0001C6AC
private void NOMDLIKDLJI()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x06000780 RID: 1920 RVA: 0x0001E4CC File Offset: 0x0001C6CC
private void MMEFHMDEMDP(Tool ENBMEDIFBLM)
{
this.KKELPNKGIBN(ENBMEDIFBLM, false);
}
// Token: 0x06000781 RID: 1921 RVA: 0x0001E4D8 File Offset: 0x0001C6D8
private void CMOJIGDGBAB()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.OENAHIKJCEE;
this.tool.PLPIAOHJBOB -= this.NMBDECKJDKA;
}
}
// Token: 0x06000782 RID: 1922 RVA: 0x0001E524 File Offset: 0x0001C724
private void HOKBJPPNKKF(Tool ENBMEDIFBLM)
{
this.OJBEDPFKGDK(ENBMEDIFBLM, false);
}
// Token: 0x06000783 RID: 1923 RVA: 0x0001E530 File Offset: 0x0001C730
private void GHEKJMOKIFJ()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x06000784 RID: 1924 RVA: 0x0001E550 File Offset: 0x0001C750
private void DDOGKBNIDGM(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.OCLOJADBBFA();
this.AHFDJCIGPAA = base.StartCoroutine(this.OKCPHOCFJJF(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x06000785 RID: 1925 RVA: 0x0001E56C File Offset: 0x0001C76C
private void OnDestroy()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.ANHBINJLGOH;
this.tool.PLPIAOHJBOB -= this.EKGOFMDGGAC;
}
}
// Token: 0x06000786 RID: 1926 RVA: 0x0001E5B8 File Offset: 0x0001C7B8
private void POKCLBPPBKE(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000787 RID: 1927 RVA: 0x0001E5F4 File Offset: 0x0001C7F4
private void OHJJANBFHDL(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.EFKPDAEGMEO();
this.AHFDJCIGPAA = base.StartCoroutine(this.HNLBCKBOJKJ(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x06000788 RID: 1928 RVA: 0x0001E610 File Offset: 0x0001C810
private IEnumerator FLKDNICBIHL(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x06000789 RID: 1929 RVA: 0x0001E63C File Offset: 0x0001C83C
private void IBENAHDLEPP(Tool ENBMEDIFBLM)
{
this.BOOIOFPGBOI(ENBMEDIFBLM, true);
}
// Token: 0x0600078A RID: 1930 RVA: 0x0001E648 File Offset: 0x0001C848
private void LOHGMDBMCAI(Tool ENBMEDIFBLM, bool AKGCACIJOJE = false)
{
if (ENBMEDIFBLM.EHFOKGIGIMF == null || AKGCACIJOJE)
{
this.DHMJMFJFELL(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else if (ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII == PlayerHand.HMMEBFHABKA.Left)
{
this.DHMJMFJFELL(Quaternion.Euler(this.openLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else
{
this.DHMJMFJFELL(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.openRightHandRotation));
}
}
// Token: 0x0600078B RID: 1931 RVA: 0x0001E6DC File Offset: 0x0001C8DC
private void GJNHBOOCOAI(Quaternion IJGPPOIJDKO)
{
if (this.rightHandFrontSight != null)
{
this.rightHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.rightHandBackSight != null)
{
this.rightHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x0600078C RID: 1932 RVA: 0x0001E718 File Offset: 0x0001C918
private void KPKDHMDGHLJ(Tool ENBMEDIFBLM)
{
this.KKELPNKGIBN(ENBMEDIFBLM, true);
}
// Token: 0x0600078D RID: 1933 RVA: 0x0001E724 File Offset: 0x0001C924
private void NMFOCMNLIML(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x0600078E RID: 1934 RVA: 0x0001E760 File Offset: 0x0001C960
private IEnumerator EHCNGAMLBOH(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x0600078F RID: 1935 RVA: 0x0001E78C File Offset: 0x0001C98C
private IEnumerator LJLKFOIAOIE(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x06000790 RID: 1936 RVA: 0x0001E7B8 File Offset: 0x0001C9B8
private void LNEDHACJMKC(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000791 RID: 1937 RVA: 0x0001E7F4 File Offset: 0x0001C9F4
private void JOMEOMPMMKH(Quaternion IJGPPOIJDKO)
{
if (this.rightHandFrontSight != null)
{
this.rightHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.rightHandBackSight != null)
{
this.rightHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000792 RID: 1938 RVA: 0x0001E830 File Offset: 0x0001CA30
private void CNODEFCEMHA()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x06000793 RID: 1939 RVA: 0x0001E850 File Offset: 0x0001CA50
private void CGPILEJDAFC(Quaternion IJGPPOIJDKO)
{
if (this.rightHandFrontSight != null)
{
this.rightHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.rightHandBackSight != null)
{
this.rightHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000794 RID: 1940 RVA: 0x0001E88C File Offset: 0x0001CA8C
private void CHHOKIFAEDF()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.IBENAHDLEPP;
this.tool.PLPIAOHJBOB -= this.NMBDECKJDKA;
}
}
// Token: 0x06000795 RID: 1941 RVA: 0x0001E8D8 File Offset: 0x0001CAD8
private void BHJEEKAPACI(Quaternion IJGPPOIJDKO)
{
if (this.rightHandFrontSight != null)
{
this.rightHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.rightHandBackSight != null)
{
this.rightHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000796 RID: 1942 RVA: 0x0001E914 File Offset: 0x0001CB14
private void DHMJMFJFELL(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.GHEKJMOKIFJ();
this.AHFDJCIGPAA = base.StartCoroutine(this.EHCNGAMLBOH(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x06000797 RID: 1943 RVA: 0x0001E930 File Offset: 0x0001CB30
private void OACOIJHFEPG(Tool ENBMEDIFBLM)
{
this.GJHNFDPLJDD(ENBMEDIFBLM, true);
}
// Token: 0x06000798 RID: 1944 RVA: 0x0001E93C File Offset: 0x0001CB3C
private void LLOMPIOMGHG(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x06000799 RID: 1945 RVA: 0x0001E978 File Offset: 0x0001CB78
private IEnumerator CMMOKHILPIL(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x0600079A RID: 1946 RVA: 0x0001E9A4 File Offset: 0x0001CBA4
private void PHLGOBMNDJM(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x0600079B RID: 1947 RVA: 0x0001E9E0 File Offset: 0x0001CBE0
private void CKDCHACGMEL(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x0600079C RID: 1948 RVA: 0x0001EA1C File Offset: 0x0001CC1C
private void OENAHIKJCEE(Tool ENBMEDIFBLM)
{
this.GJHNFDPLJDD(ENBMEDIFBLM, false);
}
// Token: 0x0600079D RID: 1949 RVA: 0x0001EA28 File Offset: 0x0001CC28
private void HNKLMLHAEKI(Tool ENBMEDIFBLM)
{
this.BOOIOFPGBOI(ENBMEDIFBLM, false);
}
// Token: 0x0600079E RID: 1950 RVA: 0x0001EA34 File Offset: 0x0001CC34
private void EDFPPAAHCNK(Quaternion IJGPPOIJDKO)
{
if (this.rightHandFrontSight != null)
{
this.rightHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.rightHandBackSight != null)
{
this.rightHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x0600079F RID: 1951 RVA: 0x0001EA70 File Offset: 0x0001CC70
private void GMFOPJDKOHJ()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.OENAHIKJCEE;
this.tool.PLPIAOHJBOB -= this.NMBDECKJDKA;
}
}
// Token: 0x060007A0 RID: 1952 RVA: 0x0001EABC File Offset: 0x0001CCBC
private void FKPHKKMHILL(Tool ENBMEDIFBLM, bool AKGCACIJOJE = false)
{
if (ENBMEDIFBLM.EHFOKGIGIMF == null || AKGCACIJOJE)
{
this.ODDIEFPHLOH(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else if (ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII == PlayerHand.HMMEBFHABKA.Left)
{
this.NFOOEIOOBFJ(Quaternion.Euler(this.openLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else
{
this.OHJJANBFHDL(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.openRightHandRotation));
}
}
// Token: 0x060007A1 RID: 1953 RVA: 0x0001EB50 File Offset: 0x0001CD50
private void DLPBKIFAKJO(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x060007A2 RID: 1954 RVA: 0x0001EB8C File Offset: 0x0001CD8C
private void JINDKMFPCJL()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x060007A3 RID: 1955 RVA: 0x0001EBAC File Offset: 0x0001CDAC
private void BOOIOFPGBOI(Tool ENBMEDIFBLM, bool AKGCACIJOJE = false)
{
if (ENBMEDIFBLM.EHFOKGIGIMF == null || AKGCACIJOJE)
{
this.OAFLIDIGLDJ(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else if (ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII == PlayerHand.HMMEBFHABKA.Left)
{
this.OHJJANBFHDL(Quaternion.Euler(this.openLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else
{
this.IBMOMHFFKNL(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.openRightHandRotation));
}
}
// Token: 0x060007A4 RID: 1956 RVA: 0x0001EC40 File Offset: 0x0001CE40
private void GEMNPJEIALJ(Tool ENBMEDIFBLM)
{
this.KKELPNKGIBN(ENBMEDIFBLM, false);
}
// Token: 0x060007A5 RID: 1957 RVA: 0x0001EC4C File Offset: 0x0001CE4C
private void JGJDFHMKFEF(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x060007A6 RID: 1958 RVA: 0x0001EC88 File Offset: 0x0001CE88
private void FOBLPAIBEHL()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x060007A7 RID: 1959 RVA: 0x0001ECA8 File Offset: 0x0001CEA8
private void PPJBILGDEDF()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.MMEFHMDEMDP;
this.tool.PLPIAOHJBOB -= this.KPKDHMDGHLJ;
}
}
// Token: 0x060007A8 RID: 1960 RVA: 0x0001ECF4 File Offset: 0x0001CEF4
private void CKJBDGFLKKB(Tool ENBMEDIFBLM)
{
this.LOHGMDBMCAI(ENBMEDIFBLM, true);
}
// Token: 0x060007A9 RID: 1961 RVA: 0x0001ED00 File Offset: 0x0001CF00
private void MBJAEHLCMGD()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC += this.MMEFHMDEMDP;
this.tool.PLPIAOHJBOB += this.HNKLMLHAEKI;
this.OCNPHJECEGP(this.tool, false);
}
}
// Token: 0x060007AA RID: 1962 RVA: 0x0001ED5C File Offset: 0x0001CF5C
private void OJBEDPFKGDK(Tool ENBMEDIFBLM, bool AKGCACIJOJE = false)
{
if (ENBMEDIFBLM.EHFOKGIGIMF == null || AKGCACIJOJE)
{
this.ODDIEFPHLOH(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else if (ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII == PlayerHand.HMMEBFHABKA.Left)
{
this.OHJJANBFHDL(Quaternion.Euler(this.openLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else
{
this.OHJJANBFHDL(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.openRightHandRotation));
}
}
// Token: 0x060007AB RID: 1963 RVA: 0x0001EDF0 File Offset: 0x0001CFF0
private void GJHNFDPLJDD(Tool ENBMEDIFBLM, bool AKGCACIJOJE = false)
{
if (ENBMEDIFBLM.EHFOKGIGIMF == null || AKGCACIJOJE)
{
this.DHMJMFJFELL(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else if (ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII == PlayerHand.HMMEBFHABKA.Left)
{
this.ODDIEFPHLOH(Quaternion.Euler(this.openLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else
{
this.DDOGKBNIDGM(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.openRightHandRotation));
}
}
// Token: 0x060007AC RID: 1964 RVA: 0x0001EE84 File Offset: 0x0001D084
private void EFGJJPCENBJ()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.HFIINLPCCAO;
this.tool.PLPIAOHJBOB -= this.EKGOFMDGGAC;
}
}
// Token: 0x060007AD RID: 1965 RVA: 0x0001EED0 File Offset: 0x0001D0D0
private IEnumerator DFIDKEJBABK(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x060007AE RID: 1966 RVA: 0x0001EEFC File Offset: 0x0001D0FC
private void OAFLIDIGLDJ(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.EFKPDAEGMEO();
this.AHFDJCIGPAA = base.StartCoroutine(this.KADHLFLGHAP(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x060007AF RID: 1967 RVA: 0x0001EF18 File Offset: 0x0001D118
private void DMCLOHIPGHN()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x060007B0 RID: 1968 RVA: 0x0001EF38 File Offset: 0x0001D138
private void IMGGNBPBPDN(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x060007B1 RID: 1969 RVA: 0x0001EF74 File Offset: 0x0001D174
private void IBMOMHFFKNL(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.FOBLPAIBEHL();
this.AHFDJCIGPAA = base.StartCoroutine(this.CMMOKHILPIL(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x060007B2 RID: 1970 RVA: 0x0001EF90 File Offset: 0x0001D190
private IEnumerator KADHLFLGHAP(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x060007B3 RID: 1971 RVA: 0x0001EFBC File Offset: 0x0001D1BC
private void KKELPNKGIBN(Tool ENBMEDIFBLM, bool AKGCACIJOJE = false)
{
if (ENBMEDIFBLM.EHFOKGIGIMF == null || AKGCACIJOJE)
{
this.NFOOEIOOBFJ(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else if (ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII == PlayerHand.HMMEBFHABKA.Left)
{
this.NFOOEIOOBFJ(Quaternion.Euler(this.openLeftHandRotation), Quaternion.Euler(this.closedRightHandRotation));
}
else
{
this.ODDIEFPHLOH(Quaternion.Euler(this.closedLeftHandRotation), Quaternion.Euler(this.openRightHandRotation));
}
}
// Token: 0x060007B4 RID: 1972 RVA: 0x0001F050 File Offset: 0x0001D250
private void OCLOJADBBFA()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x060007B5 RID: 1973 RVA: 0x0001F070 File Offset: 0x0001D270
private void IJDPFADOAPJ()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x060007B6 RID: 1974 RVA: 0x0001F090 File Offset: 0x0001D290
private void DCGCFFFPABH()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.IBENAHDLEPP;
this.tool.PLPIAOHJBOB -= this.HNKLMLHAEKI;
}
}
// Token: 0x060007B7 RID: 1975 RVA: 0x0001F0DC File Offset: 0x0001D2DC
private void MCDGGEICNEE(Quaternion IJGPPOIJDKO)
{
if (this.rightHandFrontSight != null)
{
this.rightHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.rightHandBackSight != null)
{
this.rightHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x060007B8 RID: 1976 RVA: 0x0001F118 File Offset: 0x0001D318
private void FHNCHPMIBJP()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC -= this.ANHBINJLGOH;
this.tool.PLPIAOHJBOB -= this.HOONMKBNOCK;
}
}
// Token: 0x060007B9 RID: 1977 RVA: 0x0001F164 File Offset: 0x0001D364
private void OIONLBIKKFE(Tool ENBMEDIFBLM)
{
this.KKELPNKGIBN(ENBMEDIFBLM, false);
}
// Token: 0x060007BA RID: 1978 RVA: 0x0001F170 File Offset: 0x0001D370
private IEnumerator OKCPHOCFJJF(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x060007BB RID: 1979 RVA: 0x0001F19C File Offset: 0x0001D39C
private void GJGEACMGLKP()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC += this.OACOIJHFEPG;
this.tool.PLPIAOHJBOB += this.NMBDECKJDKA;
this.GJHNFDPLJDD(this.tool, true);
}
}
// Token: 0x060007BC RID: 1980 RVA: 0x0001F1F8 File Offset: 0x0001D3F8
private void CECNMGJGNHA()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x060007BD RID: 1981 RVA: 0x0001F218 File Offset: 0x0001D418
private void EFKPDAEGMEO()
{
if (this.AHFDJCIGPAA != null)
{
base.StopCoroutine(this.AHFDJCIGPAA);
this.AHFDJCIGPAA = null;
}
}
// Token: 0x060007BE RID: 1982 RVA: 0x0001F238 File Offset: 0x0001D438
private void KKFJLHODBGA(Quaternion IJGPPOIJDKO)
{
if (this.leftHandFrontSight != null)
{
this.leftHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.leftHandBackSight != null)
{
this.leftHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x060007BF RID: 1983 RVA: 0x0001F274 File Offset: 0x0001D474
private void Awake()
{
if (this.tool != null)
{
this.tool.GFBCCFIMFEC += this.ANHBINJLGOH;
this.tool.PLPIAOHJBOB += this.EKGOFMDGGAC;
this.LOHGMDBMCAI(this.tool, false);
}
}
// Token: 0x060007C0 RID: 1984 RVA: 0x0001F2D0 File Offset: 0x0001D4D0
private void NMBDECKJDKA(Tool ENBMEDIFBLM)
{
this.OCNPHJECEGP(ENBMEDIFBLM, false);
}
// Token: 0x060007C1 RID: 1985 RVA: 0x0001F2DC File Offset: 0x0001D4DC
private void LOBCMEPGNLN(Tool ENBMEDIFBLM)
{
this.OCNPHJECEGP(ENBMEDIFBLM, true);
}
// Token: 0x060007C2 RID: 1986 RVA: 0x0001F2E8 File Offset: 0x0001D4E8
private void JIAMEDKDGCK(Quaternion IJGPPOIJDKO)
{
if (this.rightHandFrontSight != null)
{
this.rightHandFrontSight.localRotation = IJGPPOIJDKO;
}
if (this.rightHandBackSight != null)
{
this.rightHandBackSight.localRotation = IJGPPOIJDKO;
}
}
// Token: 0x060007C3 RID: 1987 RVA: 0x0001F324 File Offset: 0x0001D524
private void EKGOFMDGGAC(Tool ENBMEDIFBLM)
{
this.LOHGMDBMCAI(ENBMEDIFBLM, true);
}
// Token: 0x060007C4 RID: 1988 RVA: 0x0001F330 File Offset: 0x0001D530
private IEnumerator MFHKIPBCFDJ(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x060007C6 RID: 1990 RVA: 0x0001F370 File Offset: 0x0001D570
private void NFOOEIOOBFJ(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.IJDPFADOAPJ();
this.AHFDJCIGPAA = base.StartCoroutine(this.KADHLFLGHAP(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x060007C7 RID: 1991 RVA: 0x0001F38C File Offset: 0x0001D58C
private void OGCPACGEODP(Tool ENBMEDIFBLM)
{
this.KKELPNKGIBN(ENBMEDIFBLM, true);
}
// Token: 0x060007C8 RID: 1992 RVA: 0x0001F398 File Offset: 0x0001D598
private IEnumerator HNLBCKBOJKJ(Quaternion GPDMOMFEAEG, Quaternion JHPEFECHIOL)
{
localRotation = this.leftHandFrontSight.localRotation;
localRotation2 = this.rightHandFrontSight.localRotation;
time = Time.time;
num = time + this.timeToUpdate;
while (Time.time < num)
{
num2 = Mathf.InverseLerp(time, num, Time.time);
this.LCKBJBHBEPP(Quaternion.Slerp(localRotation, GPDMOMFEAEG, num2));
this.MCDGGEICNEE(Quaternion.Slerp(localRotation2, JHPEFECHIOL, num2));
yield return null;
}
this.LCKBJBHBEPP(GPDMOMFEAEG);
this.MCDGGEICNEE(JHPEFECHIOL);
yield break;
}
// Token: 0x060007C9 RID: 1993 RVA: 0x0001F3C4 File Offset: 0x0001D5C4
private void CEACCNLPFPN(Quaternion MDIHMCEKDKE, Quaternion AOEPNCLILMI)
{
this.JINDKMFPCJL();
this.AHFDJCIGPAA = base.StartCoroutine(this.MDBJINOMPHB(MDIHMCEKDKE, AOEPNCLILMI));
}
// Token: 0x04000129 RID: 297
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
[SerializeField]
private Tool tool;
// Token: 0x0400012A RID: 298
[SerializeField]
private Transform leftHandFrontSight;
// Token: 0x0400012B RID: 299
[SerializeField]
private Transform leftHandBackSight;
// Token: 0x0400012C RID: 300
[SerializeField]
private Vector3 closedLeftHandRotation;
// Token: 0x0400012D RID: 301
[SerializeField]
private Vector3 openLeftHandRotation;
// Token: 0x0400012E RID: 302
[SerializeField]
private Transform rightHandFrontSight;
// Token: 0x0400012F RID: 303
[SerializeField]
private Transform rightHandBackSight;
// Token: 0x04000130 RID: 304
[SerializeField]
private Vector3 closedRightHandRotation;
// Token: 0x04000131 RID: 305
[SerializeField]
private Vector3 openRightHandRotation;
// Token: 0x04000132 RID: 306
[SerializeField]
private float timeToUpdate = 0.5f;
// Token: 0x04000133 RID: 307
private Coroutine AHFDJCIGPAA;
}
}