999 lines
30 KiB
C#
999 lines
30 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.IO;
|
|
using System.Threading;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020011B6 RID: 4534
|
|
public class GifCapture : VideoCapture
|
|
{
|
|
// Token: 0x06026CB3 RID: 158899 RVA: 0x00AC85F0 File Offset: 0x00AC67F0
|
|
public virtual string KAJLMBCIHDH()
|
|
{
|
|
return base.HHAKNJPFPLP + "v1/ignore";
|
|
}
|
|
|
|
// Token: 0x06026CB4 RID: 158900 RVA: 0x00AC8604 File Offset: 0x00AC6804
|
|
public override void StartCapture()
|
|
{
|
|
if (this.IOCPKPHDBPK == null)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.LADOMPENPHI = Time.unscaledTime;
|
|
this.EHOKAPGAKHL = 0f;
|
|
this.HNGFCOMICGK.Clear();
|
|
base.JLPPDKCGJKA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CB5 RID: 158901 RVA: 0x00AC8640 File Offset: 0x00AC6840
|
|
public virtual string IACIEJJNCOG()
|
|
{
|
|
return base.HHAKNJPFPLP + "Saving and loading from disk is disabled in WebPlayer, WebGL & Samsung Smart TV Builds!";
|
|
}
|
|
|
|
// Token: 0x06026CB6 RID: 158902 RVA: 0x00AC8654 File Offset: 0x00AC6854
|
|
private IEnumerator MGAOCGHOBIM()
|
|
{
|
|
GifCapture.DBAFECJIOFL.AKGAMFMHLAF akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
string currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
GifCapture.DBAFECJIOFL.NKAFPPOGLIJ nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
Thread thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CB7 RID: 158903 RVA: 0x00AC8670 File Offset: 0x00AC6870
|
|
private IEnumerator MBHJDPECEKN()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CB8 RID: 158904 RVA: 0x00AC868C File Offset: 0x00AC688C
|
|
public override float UpdateFrame(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 0f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CB9 RID: 158905 RVA: 0x00AC8708 File Offset: 0x00AC6908
|
|
private IEnumerator ABKIMEJJJIC()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CBA RID: 158906 RVA: 0x00AC8724 File Offset: 0x00AC6924
|
|
public virtual void FDALNPGMCGL()
|
|
{
|
|
if (this.IOCPKPHDBPK == null)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.LADOMPENPHI = Time.unscaledTime;
|
|
this.EHOKAPGAKHL = 360f;
|
|
this.HNGFCOMICGK.Clear();
|
|
base.JLPPDKCGJKA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CBB RID: 158907 RVA: 0x00AC8760 File Offset: 0x00AC6960
|
|
public virtual string CCCBKKLKKFH()
|
|
{
|
|
return base.HHAKNJPFPLP + "false";
|
|
}
|
|
|
|
// Token: 0x06026CBC RID: 158908 RVA: 0x00AC8774 File Offset: 0x00AC6974
|
|
public virtual void FIKKPAMDNAG()
|
|
{
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
base.JENLCPPHGDP = false;
|
|
this.IOCPKPHDBPK = base.StartCoroutine(this.CHKIFGLBIDP());
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CBD RID: 158909 RVA: 0x00AC879C File Offset: 0x00AC699C
|
|
public override void FinishCapture()
|
|
{
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
base.JENLCPPHGDP = false;
|
|
this.IOCPKPHDBPK = base.StartCoroutine(this.MBHJDPECEKN());
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CBE RID: 158910 RVA: 0x00AC87C4 File Offset: 0x00AC69C4
|
|
public virtual float EFGNEGHKEKF(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1131f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CBF RID: 158911 RVA: 0x00AC8840 File Offset: 0x00AC6A40
|
|
public virtual float ODFLAGODNLJ(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 868f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CC0 RID: 158912 RVA: 0x00AC88BC File Offset: 0x00AC6ABC
|
|
public virtual float LLFEAFACBMB(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 629f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CC1 RID: 158913 RVA: 0x00AC8938 File Offset: 0x00AC6B38
|
|
public virtual void MDBBBCEPGJK()
|
|
{
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.IOCPKPHDBPK = base.StartCoroutine(this.ABKIMEJJJIC());
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CC2 RID: 158914 RVA: 0x00AC8960 File Offset: 0x00AC6B60
|
|
public virtual float KPCFHHPGIHE(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 644f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CC3 RID: 158915 RVA: 0x00AC89DC File Offset: 0x00AC6BDC
|
|
public virtual string DBGOMGLDMEN()
|
|
{
|
|
return base.HHAKNJPFPLP + "GiftJSON";
|
|
}
|
|
|
|
// Token: 0x06026CC4 RID: 158916 RVA: 0x00AC89F0 File Offset: 0x00AC6BF0
|
|
private IEnumerator LHBLHFCPDPP()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CC5 RID: 158917 RVA: 0x00AC8A0C File Offset: 0x00AC6C0C
|
|
public virtual float HOCDDOJPDAN(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1948f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 1);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x170011AB RID: 4523
|
|
// (get) Token: 0x06026CC6 RID: 158918 RVA: 0x00AC8A88 File Offset: 0x00AC6C88
|
|
public override string HHAKNJPFPLP
|
|
{
|
|
get
|
|
{
|
|
return base.HHAKNJPFPLP + "Gifs\\";
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CC7 RID: 158919 RVA: 0x00AC8A9C File Offset: 0x00AC6C9C
|
|
private IEnumerator GPOPLDIKCCJ()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CC8 RID: 158920 RVA: 0x00AC8AB8 File Offset: 0x00AC6CB8
|
|
public virtual string JCODOHGNOCC()
|
|
{
|
|
return base.HHAKNJPFPLP + "nux_step_finished";
|
|
}
|
|
|
|
// Token: 0x06026CC9 RID: 158921 RVA: 0x00AC8ACC File Offset: 0x00AC6CCC
|
|
public virtual void LMMOKNAKAAB()
|
|
{
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.IOCPKPHDBPK = base.StartCoroutine(this.LHBLHFCPDPP());
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CCA RID: 158922 RVA: 0x00AC8AF4 File Offset: 0x00AC6CF4
|
|
private IEnumerator LMPJFELAKNO()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CCB RID: 158923 RVA: 0x00AC8B10 File Offset: 0x00AC6D10
|
|
public virtual float PCGCDGHPELL(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 325f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CCC RID: 158924 RVA: 0x00AC8B8C File Offset: 0x00AC6D8C
|
|
public virtual string IKABMCFJFMA()
|
|
{
|
|
return base.HHAKNJPFPLP + "ShowNames";
|
|
}
|
|
|
|
// Token: 0x06026CCD RID: 158925 RVA: 0x00AC8BA0 File Offset: 0x00AC6DA0
|
|
public virtual void FIPKHMFECPP()
|
|
{
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.IOCPKPHDBPK = base.StartCoroutine(this.KPKOOIJIGFO());
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CCE RID: 158926 RVA: 0x00AC8BC8 File Offset: 0x00AC6DC8
|
|
public virtual void ONGHDFKPEMI()
|
|
{
|
|
if (this.IOCPKPHDBPK == null)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.LADOMPENPHI = Time.unscaledTime;
|
|
this.EHOKAPGAKHL = 1428f;
|
|
this.HNGFCOMICGK.Clear();
|
|
base.JLPPDKCGJKA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CCF RID: 158927 RVA: 0x00AC8C04 File Offset: 0x00AC6E04
|
|
public virtual void IHPGHIBIALA()
|
|
{
|
|
if (this.IOCPKPHDBPK == null)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.LADOMPENPHI = Time.unscaledTime;
|
|
this.EHOKAPGAKHL = 1095f;
|
|
this.HNGFCOMICGK.Clear();
|
|
base.JLPPDKCGJKA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CD0 RID: 158928 RVA: 0x00AC8C40 File Offset: 0x00AC6E40
|
|
public virtual float DEHKBOFLBDH(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 767f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 1);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CD1 RID: 158929 RVA: 0x00AC8CBC File Offset: 0x00AC6EBC
|
|
public virtual string IEDLFLJHDLI()
|
|
{
|
|
return base.HHAKNJPFPLP + "deflate";
|
|
}
|
|
|
|
// Token: 0x06026CD2 RID: 158930 RVA: 0x00AC8CD0 File Offset: 0x00AC6ED0
|
|
private IEnumerator NNAOOHMJOFA()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CD3 RID: 158931 RVA: 0x00AC8CEC File Offset: 0x00AC6EEC
|
|
public virtual float EJLJKKJALIA(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1946f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CD4 RID: 158932 RVA: 0x00AC8D68 File Offset: 0x00AC6F68
|
|
public virtual float IEBOOOMAKID(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1849f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CD5 RID: 158933 RVA: 0x00AC8DE4 File Offset: 0x00AC6FE4
|
|
public virtual void COBOAEHHEDM()
|
|
{
|
|
if (this.IOCPKPHDBPK == null)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.LADOMPENPHI = Time.unscaledTime;
|
|
this.EHOKAPGAKHL = 1369f;
|
|
this.HNGFCOMICGK.Clear();
|
|
base.JLPPDKCGJKA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CD6 RID: 158934 RVA: 0x00AC8E20 File Offset: 0x00AC7020
|
|
private IEnumerator DKIEKAOLFLA()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CD7 RID: 158935 RVA: 0x00AC8E3C File Offset: 0x00AC703C
|
|
private IEnumerator MMEMABEHICM()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CD8 RID: 158936 RVA: 0x00AC8E58 File Offset: 0x00AC7058
|
|
public virtual void BGLIEBEJCPE()
|
|
{
|
|
if (this.IOCPKPHDBPK == null)
|
|
{
|
|
base.JENLCPPHGDP = false;
|
|
this.LADOMPENPHI = Time.unscaledTime;
|
|
this.EHOKAPGAKHL = 734f;
|
|
this.HNGFCOMICGK.Clear();
|
|
base.JLPPDKCGJKA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CD9 RID: 158937 RVA: 0x00AC8E94 File Offset: 0x00AC7094
|
|
public virtual void KJOGALJMKMJ()
|
|
{
|
|
if (this.IOCPKPHDBPK == null)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.LADOMPENPHI = Time.unscaledTime;
|
|
this.EHOKAPGAKHL = 1318f;
|
|
this.HNGFCOMICGK.Clear();
|
|
base.JLPPDKCGJKA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CDB RID: 158939 RVA: 0x00AC8EE4 File Offset: 0x00AC70E4
|
|
private IEnumerator KPKOOIJIGFO()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CDC RID: 158940 RVA: 0x00AC8F00 File Offset: 0x00AC7100
|
|
public virtual void BDOLIHIMNIM()
|
|
{
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.IOCPKPHDBPK = base.StartCoroutine(this.KPKOOIJIGFO());
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CDD RID: 158941 RVA: 0x00AC8F28 File Offset: 0x00AC7128
|
|
public virtual float MBFBGPEOJAM(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 16f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 1);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CDE RID: 158942 RVA: 0x00AC8FA4 File Offset: 0x00AC71A4
|
|
public virtual void GHKCCBMCBAP()
|
|
{
|
|
if (this.IOCPKPHDBPK == null)
|
|
{
|
|
base.JENLCPPHGDP = true;
|
|
this.LADOMPENPHI = Time.unscaledTime;
|
|
this.EHOKAPGAKHL = 803f;
|
|
this.HNGFCOMICGK.Clear();
|
|
base.JLPPDKCGJKA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x06026CDF RID: 158943 RVA: 0x00AC8FE0 File Offset: 0x00AC71E0
|
|
public virtual float IPBGALJPLMC(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1926f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 1);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CE0 RID: 158944 RVA: 0x00AC905C File Offset: 0x00AC725C
|
|
public virtual string GMDEPMKNKBH()
|
|
{
|
|
return base.HHAKNJPFPLP + "SystemInfo";
|
|
}
|
|
|
|
// Token: 0x06026CE1 RID: 158945 RVA: 0x00AC9070 File Offset: 0x00AC7270
|
|
private IEnumerator GLABCBPGPOA()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CE2 RID: 158946 RVA: 0x00AC908C File Offset: 0x00AC728C
|
|
private IEnumerator CMBHGOJDGNH()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x06026CE3 RID: 158947 RVA: 0x00AC90A8 File Offset: 0x00AC72A8
|
|
public virtual string BLAEMJMKPDB()
|
|
{
|
|
return base.HHAKNJPFPLP + "mydemo.com";
|
|
}
|
|
|
|
// Token: 0x06026CE4 RID: 158948 RVA: 0x00AC90BC File Offset: 0x00AC72BC
|
|
public virtual float CLGNMHAFEPP(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 704f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 1);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CE5 RID: 158949 RVA: 0x00AC9138 File Offset: 0x00AC7338
|
|
public virtual float DFNEBCKMCEO(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1656f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CE6 RID: 158950 RVA: 0x00AC91B4 File Offset: 0x00AC73B4
|
|
public virtual float DBNOEGPDGGK(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1780f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 1);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CE7 RID: 158951 RVA: 0x00AC9230 File Offset: 0x00AC7430
|
|
public virtual float LBOBLJFDLIJ(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1639f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 1);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CE8 RID: 158952 RVA: 0x00AC92AC File Offset: 0x00AC74AC
|
|
public virtual float EHGJNCKLMIA(RenderTexture KPMMDGIAGPC)
|
|
{
|
|
float num = 1060f;
|
|
if (base.JENLCPPHGDP)
|
|
{
|
|
if (Time.unscaledTime - this.EHOKAPGAKHL >= this.PHBDMJOEKEB)
|
|
{
|
|
this.EHOKAPGAKHL = Time.unscaledTime;
|
|
RenderTexture temporary = RenderTexture.GetTemporary(KPMMDGIAGPC.width, KPMMDGIAGPC.height, 0);
|
|
Graphics.Blit(KPMMDGIAGPC, temporary);
|
|
this.HNGFCOMICGK.Add(temporary);
|
|
}
|
|
num = (Time.unscaledTime - this.LADOMPENPHI) / this.maxDuration;
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x06026CE9 RID: 158953 RVA: 0x00AC9328 File Offset: 0x00AC7528
|
|
private IEnumerator CHKIFGLBIDP()
|
|
{
|
|
akgamfmhlaf = new GifCapture.DBAFECJIOFL.AKGAMFMHLAF();
|
|
akgamfmhlaf.MEPGOLIKLOL = this;
|
|
base.FIPPJAIHKGL();
|
|
akgamfmhlaf.MJINAHLCNDC = new MemoryStream();
|
|
yield return CaptureTheGIF.NCKMBFBMBFM.MakeGif(this.HNGFCOMICGK, this.PHBDMJOEKEB, akgamfmhlaf.MJINAHLCNDC, false, 256, CaptureTheGIF.LCGFDEMPJIC.EveryFrame, 0);
|
|
currentFileName = VideoCapture.DHBOGMJHDEF;
|
|
nkafppoglij = new GifCapture.DBAFECJIOFL.NKAFPPOGLIJ();
|
|
nkafppoglij.MEPGOLIKLOL = this;
|
|
nkafppoglij.AOHNJFNCJKD = akgamfmhlaf;
|
|
nkafppoglij.JEPOCDGJGDP = CaptureTheGIF.MakeFile(this.HHAKNJPFPLP, currentFileName);
|
|
try
|
|
{
|
|
thread = new Thread(new ThreadStart(nkafppoglij.OJKNBNGGBEC));
|
|
thread.Start();
|
|
while (thread.ThreadState == ThreadState.Running)
|
|
{
|
|
yield return null;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
if (nkafppoglij.JEPOCDGJGDP != null)
|
|
{
|
|
((IDisposable)nkafppoglij.JEPOCDGJGDP).Dispose();
|
|
}
|
|
}
|
|
base.IGMKAMDPIJK(currentFileName);
|
|
this.IOCPKPHDBPK = null;
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x040061B7 RID: 25015
|
|
private float EHOKAPGAKHL;
|
|
|
|
// Token: 0x040061B8 RID: 25016
|
|
private float LADOMPENPHI;
|
|
|
|
// Token: 0x040061B9 RID: 25017
|
|
private Coroutine IOCPKPHDBPK;
|
|
|
|
// Token: 0x040061BA RID: 25018
|
|
private List<RenderTexture> HNGFCOMICGK = new List<RenderTexture>();
|
|
}
|