41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020001EE RID: 494
|
|
[Token(Token = "0x20001EE")]
|
|
public class ScreenShotTool : MonoBehaviour
|
|
{
|
|
// Token: 0x060013F8 RID: 5112 RVA: 0x0002DA34 File Offset: 0x0002BC34
|
|
[Token(Token = "0x60013F8")]
|
|
[Address(RVA = "0x47CCE0", Offset = "0x47B4E0", VA = "0x18047CCE0")]
|
|
private void Update()
|
|
{
|
|
if (Input.GetKeyDownInt((KeyCode)((uint)278)))
|
|
{
|
|
DateTime now = DateTime.Now;
|
|
string text = string.Format("Nobeta_{0:yyyyMMddHHmmss}.png", now);
|
|
ScreenCapture.CaptureScreenshot(text, 10);
|
|
Debug.Log("Capture: " + text);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060013F9 RID: 5113 RVA: 0x0002DA7C File Offset: 0x0002BC7C
|
|
[Token(Token = "0x60013F9")]
|
|
[Address(RVA = "0x47CBF0", Offset = "0x47B3F0", VA = "0x18047CBF0")]
|
|
private void TakeScreenShot()
|
|
{
|
|
DateTime now = DateTime.Now;
|
|
string text = string.Format("Nobeta_{0:yyyyMMddHHmmss}.png", now);
|
|
ScreenCapture.CaptureScreenshot(text, 10);
|
|
Debug.Log("Capture: " + text);
|
|
}
|
|
|
|
// Token: 0x060013FA RID: 5114 RVA: 0x0002DAB8 File Offset: 0x0002BCB8
|
|
[Token(Token = "0x60013FA")]
|
|
[Address(RVA = "0x33E460", Offset = "0x33CC60", VA = "0x18033E460")]
|
|
public ScreenShotTool()
|
|
{
|
|
}
|
|
}
|