initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
|
||||
namespace Qoo.Graphics
|
||||
{
|
||||
// Token: 0x0200002A RID: 42
|
||||
public static class Effect
|
||||
{
|
||||
// Token: 0x0600015F RID: 351 RVA: 0x00006624 File Offset: 0x00004824
|
||||
public static bool ApplyKsEffect(string strName, int iParam)
|
||||
{
|
||||
Singleton<UnityGraph>.Instance.SetEffect(strName, (float)iParam / 1000f);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
using System;
|
||||
|
||||
namespace Qoo.Graphics
|
||||
{
|
||||
// Token: 0x0200002B RID: 43
|
||||
public static class Graph
|
||||
{
|
||||
// Token: 0x06000161 RID: 353 RVA: 0x00006640 File Offset: 0x00004840
|
||||
public static bool Fade_Out()
|
||||
{
|
||||
Singleton<UnityGraph>.Instance.SetEffect("FadeOut", 1f);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06000162 RID: 354 RVA: 0x00006658 File Offset: 0x00004858
|
||||
public static bool Fade_In()
|
||||
{
|
||||
Singleton<UnityGraph>.Instance.SetEffect("FadeIn", 1f);
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06000163 RID: 355 RVA: 0x00006670 File Offset: 0x00004870
|
||||
internal static void EnableFade(bool IsEnable)
|
||||
{
|
||||
if (!IsEnable)
|
||||
{
|
||||
Singleton<UnityGraph>.Instance.ResetFade(255);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000164 RID: 356 RVA: 0x00006688 File Offset: 0x00004888
|
||||
internal static void Fade_Cross(int time_ms)
|
||||
{
|
||||
Singleton<UnityGraph>.Instance.SetEffect(string.Empty, (float)time_ms / 1000f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using Qoo.File;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Qoo.Graphics
|
||||
{
|
||||
// Token: 0x0200002C RID: 44
|
||||
public static class Movie
|
||||
{
|
||||
// Token: 0x06000165 RID: 357 RVA: 0x000066A4 File Offset: 0x000048A4
|
||||
internal static void Play(string name, bool IsSkip)
|
||||
{
|
||||
FileId fileId = new FileId(string.Empty);
|
||||
fileId.Set(name);
|
||||
NMB_FILEINFO fileInfo = Nmb.GetFileInfo(fileId.Name);
|
||||
string text = fileInfo.DirName + fileInfo.FileName;
|
||||
Debug.Print(string.Format("INFO:Start Movie({0} Skip={1})", text, IsSkip.ToString()));
|
||||
UnityTask.SetSubTask(MovieManager.PlayMovie(text, FullScreenMovieControlMode.CancelOnInput));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user