786 lines
24 KiB
C#
786 lines
24 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200025A RID: 602
|
|
public class CaptureGifOnKey : MonoBehaviour
|
|
{
|
|
// Token: 0x06006F5B RID: 28507 RVA: 0x00244828 File Offset: 0x00242A28
|
|
private void MHDFIOMCCMO()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("api/avatar/" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.BCPIMGHPKEF().BIHHLOOIJNJ(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F5C RID: 28508 RVA: 0x00244910 File Offset: 0x00242B10
|
|
private void JINABDGLFOB()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("GZipStream" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.DGFHLODNGPB().FDILJDGLGDC(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F5D RID: 28509 RVA: 0x002449F8 File Offset: 0x00242BF8
|
|
private void IKFCLMNDGPF()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("IsCompleted" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.PNNKIBLOODL().Capture(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F5E RID: 28510 RVA: 0x00244AE0 File Offset: 0x00242CE0
|
|
private void HAFLIECFKGF()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("invalid window size ({0})" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.JHMLPDOJCEK().FDILJDGLGDC(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F5F RID: 28511 RVA: 0x00244BC8 File Offset: 0x00242DC8
|
|
private void GOKDBMNMJFM()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("http://j.mp/1LCdpDa" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.JHMLPDOJCEK().LGLKIANMFKK(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F60 RID: 28512 RVA: 0x00244CB0 File Offset: 0x00242EB0
|
|
private void DKDGOJGKHDM()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("/" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.NBCPGHNGFIJ().LGLKIANMFKK(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F61 RID: 28513 RVA: 0x00244D98 File Offset: 0x00242F98
|
|
private void DLIIOFOCPHG()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("mydemo.com " + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.LHJLIBJEKDL().EDKNECPDHAG(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F62 RID: 28514 RVA: 0x00244E80 File Offset: 0x00243080
|
|
private void LHMGNEDHIHI()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("numChannels" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.AMNCEALNJIA().OCJADIDCLKJ(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F63 RID: 28515 RVA: 0x00244F68 File Offset: 0x00243168
|
|
private void EJELDFPCKKF()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("pr" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.NBCPGHNGFIJ().BKDEMNANNJM(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F64 RID: 28516 RVA: 0x00245050 File Offset: 0x00243250
|
|
private void LJFJILFBKHF()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("NEWPLAYER_PUNCHCARD" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.JKJAOGDBKPJ().BIHHLOOIJNJ(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F65 RID: 28517 RVA: 0x00245138 File Offset: 0x00243338
|
|
private void LOGFBGOPLLO()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("OneUp" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.NBCPGHNGFIJ().EDKNECPDHAG(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F66 RID: 28518 RVA: 0x00245220 File Offset: 0x00243420
|
|
private void IGDMCDLELON()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("EquipmentPrefabName" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.JHMLPDOJCEK().JCEJANFONKM(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F67 RID: 28519 RVA: 0x00245308 File Offset: 0x00243508
|
|
private void CJDFMFPIFDB()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("Adding player twice: " + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.NCKMBFBMBFM.OCJADIDCLKJ(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F68 RID: 28520 RVA: 0x002453F0 File Offset: 0x002435F0
|
|
private void IJPDEJFNCNH()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException(" removed" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.LNALJOCDPIB().OPLFLMCDHHA(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F69 RID: 28521 RVA: 0x002454D8 File Offset: 0x002436D8
|
|
private void AHHEENEFAPI()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("{0}_{1}" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.LNALJOCDPIB().LPAHDMKKFOH(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F6A RID: 28522 RVA: 0x002455C0 File Offset: 0x002437C0
|
|
private void LJICNBMGDMN()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("speed" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.BCPIMGHPKEF().JBBGIEENGJB(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F6B RID: 28523 RVA: 0x002456A8 File Offset: 0x002438A8
|
|
private void GPDOCPBDIHJ()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("y" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.JKJAOGDBKPJ().LGLKIANMFKK(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F6C RID: 28524 RVA: 0x00245790 File Offset: 0x00243990
|
|
private void Update()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("unknown button type: " + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.NCKMBFBMBFM.Capture(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F6D RID: 28525 RVA: 0x00245878 File Offset: 0x00243A78
|
|
private void MDCNOIALLAF()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("RpcOnProductRelease" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.DGFHLODNGPB().BIHHLOOIJNJ(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F6E RID: 28526 RVA: 0x00245960 File Offset: 0x00243B60
|
|
private void JKMNBLDOIMB()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("FnTable:IVRTrackedCamera_003" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.LNALJOCDPIB().BKDEMNANNJM(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F6F RID: 28527 RVA: 0x00245A48 File Offset: 0x00243C48
|
|
private void KKAAFDLJCCB()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("MhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcBITCgthY3Rpdml0eV9pZBgE" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.NCKMBFBMBFM.EDKNECPDHAG(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F70 RID: 28528 RVA: 0x00245B30 File Offset: 0x00243D30
|
|
private void PLKHINPPGPK()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("RpcOnFlagCaptured" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.AMNCEALNJIA().Capture(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F71 RID: 28529 RVA: 0x00245C18 File Offset: 0x00243E18
|
|
private void PBCNFAEFEEO()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("{0}v1/search" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.PNNKIBLOODL().LGLKIANMFKK(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F72 RID: 28530 RVA: 0x00245D00 File Offset: 0x00243F00
|
|
private void IICDIBPOINA()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("GetProfile failed: Profiles.Length == " + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, true);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.BCPIMGHPKEF().JBBGIEENGJB(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F73 RID: 28531 RVA: 0x00245DE8 File Offset: 0x00243FE8
|
|
private void ENGNDJADBDF()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
throw new NotImplementedException("z" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.NBCPGHNGFIJ().DBOIHGEJFGP(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06006F74 RID: 28532 RVA: 0x00245ED0 File Offset: 0x002440D0
|
|
private void BJJKGIOCAIL()
|
|
{
|
|
CaptureGifOnKey.EEIBEAEOKEK eeibeaeokek = this.buttonType;
|
|
bool flag;
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.KeyCode)
|
|
{
|
|
if (eeibeaeokek != CaptureGifOnKey.EEIBEAEOKEK.InputManager)
|
|
{
|
|
throw new NotImplementedException("LastFriendImportUTC" + this.buttonType);
|
|
}
|
|
flag = Input.GetButtonDown(this.buttonName);
|
|
}
|
|
else
|
|
{
|
|
KeyCode keyCode = (KeyCode)Enum.Parse(typeof(KeyCode), this.buttonName, false);
|
|
flag = Input.GetKeyDown(keyCode);
|
|
}
|
|
if (flag)
|
|
{
|
|
if (this.restrictDuplicateCaptures && CaptureTheGIF.running)
|
|
{
|
|
return;
|
|
}
|
|
CaptureTheGIF.JKJAOGDBKPJ().JBBGIEENGJB(this.frames, (int)(this.aspect * (float)this.height), this.height, this.frameRate, this.dir, this.name, this.lockFramerate, this.paletteSize, this.paletteMode, this.maxGifSize);
|
|
}
|
|
}
|
|
|
|
// Token: 0x04000F25 RID: 3877
|
|
public string buttonName = "p";
|
|
|
|
// Token: 0x04000F26 RID: 3878
|
|
public CaptureGifOnKey.EEIBEAEOKEK buttonType;
|
|
|
|
// Token: 0x04000F27 RID: 3879
|
|
public string dir = "gifs";
|
|
|
|
// Token: 0x04000F28 RID: 3880
|
|
public new string name = "gif";
|
|
|
|
// Token: 0x04000F29 RID: 3881
|
|
public int frames = 30;
|
|
|
|
// Token: 0x04000F2A RID: 3882
|
|
public float frameRate = 10f;
|
|
|
|
// Token: 0x04000F2B RID: 3883
|
|
public int height = 480;
|
|
|
|
// Token: 0x04000F2C RID: 3884
|
|
public float aspect = 1.3333334f;
|
|
|
|
// Token: 0x04000F2D RID: 3885
|
|
public bool lockFramerate;
|
|
|
|
// Token: 0x04000F2E RID: 3886
|
|
[Range(2f, 256f)]
|
|
public int paletteSize = 256;
|
|
|
|
// Token: 0x04000F2F RID: 3887
|
|
public CaptureTheGIF.LCGFDEMPJIC paletteMode;
|
|
|
|
// Token: 0x04000F30 RID: 3888
|
|
public int maxGifSize;
|
|
|
|
// Token: 0x04000F31 RID: 3889
|
|
public bool restrictDuplicateCaptures = true;
|
|
|
|
// Token: 0x0200025B RID: 603
|
|
public enum EEIBEAEOKEK
|
|
{
|
|
// Token: 0x04000F33 RID: 3891
|
|
KeyCode,
|
|
// Token: 0x04000F34 RID: 3892
|
|
InputManager,
|
|
// Token: 0x04000F35 RID: 3893
|
|
Mobile
|
|
}
|
|
}
|