89 lines
3.7 KiB
C#
89 lines
3.7 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020010BA RID: 4282
|
|
[Token(Token = "0x20010BA")]
|
|
[StructLayout(3)]
|
|
public static class SteamEncryptedAppTicket
|
|
{
|
|
// Token: 0x06006806 RID: 26630 RVA: 0x0016C454 File Offset: 0x0016A654
|
|
[Token(Token = "0x6006806")]
|
|
[Address(RVA = "0x2A1D2C0", Offset = "0x2A1BCC0", VA = "0x182A1D2C0")]
|
|
public static bool BDecryptTicket(byte[] rgubTicketEncrypted, uint cubTicketEncrypted, byte[] rgubTicketDecrypted, ref uint pcubTicketDecrypted, byte[] rgubKey, int cubKey)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006807 RID: 26631 RVA: 0x0016C464 File Offset: 0x0016A664
|
|
[Token(Token = "0x6006807")]
|
|
[Address(RVA = "0x2A1D320", Offset = "0x2A1BD20", VA = "0x182A1D320")]
|
|
public static bool BIsTicketForApp(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06006808 RID: 26632 RVA: 0x0016C474 File Offset: 0x0016A674
|
|
[Token(Token = "0x6006808")]
|
|
[Address(RVA = "0x2A1D460", Offset = "0x2A1BE60", VA = "0x182A1D460")]
|
|
public static uint GetTicketIssueTime(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_GetTicketIssueTime(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x06006809 RID: 26633 RVA: 0x0016C48C File Offset: 0x0016A68C
|
|
[Token(Token = "0x6006809")]
|
|
[Address(RVA = "0x2A1D490", Offset = "0x2A1BE90", VA = "0x182A1D490")]
|
|
public static void GetTicketSteamID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, out CSteamID psteamID)
|
|
{
|
|
NativeMethods.SteamEncryptedAppTicket_GetTicketSteamID(rgubTicketDecrypted, cubTicketDecrypted, out psteamID);
|
|
}
|
|
|
|
// Token: 0x0600680A RID: 26634 RVA: 0x0016C4A4 File Offset: 0x0016A6A4
|
|
[Token(Token = "0x600680A")]
|
|
[Address(RVA = "0x2A1D430", Offset = "0x2A1BE30", VA = "0x182A1D430")]
|
|
public static uint GetTicketAppID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_GetTicketAppID(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x0600680B RID: 26635 RVA: 0x0016C4BC File Offset: 0x0016A6BC
|
|
[Token(Token = "0x600680B")]
|
|
[Address(RVA = "0x2A1D3F0", Offset = "0x2A1BDF0", VA = "0x182A1D3F0")]
|
|
public static bool BUserOwnsAppInTicket(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0600680C RID: 26636 RVA: 0x0016C4CC File Offset: 0x0016A6CC
|
|
[Token(Token = "0x600680C")]
|
|
[Address(RVA = "0x2A1D3C0", Offset = "0x2A1BDC0", VA = "0x182A1D3C0")]
|
|
public static bool BUserIsVacBanned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_BUserIsVacBanned(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x0600680D RID: 26637 RVA: 0x0016C4E4 File Offset: 0x0016A6E4
|
|
[Token(Token = "0x600680D")]
|
|
[Address(RVA = "0x2A1D4D0", Offset = "0x2A1BED0", VA = "0x182A1D4D0")]
|
|
public static byte[] GetUserVariableData(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, out uint pcubUserData)
|
|
{
|
|
IntPtr intPtr = NativeMethods.SteamEncryptedAppTicket_GetUserVariableData(rgubTicketDecrypted, cubTicketDecrypted, out pcubUserData);
|
|
return new byte[0];
|
|
}
|
|
|
|
// Token: 0x0600680E RID: 26638 RVA: 0x0016C504 File Offset: 0x0016A704
|
|
[Token(Token = "0x600680E")]
|
|
[Address(RVA = "0x2A1D360", Offset = "0x2A1BD60", VA = "0x182A1D360")]
|
|
public static bool BIsTicketSigned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, byte[] pubRSAKey, uint cubRSAKey)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_BIsTicketSigned(rgubTicketDecrypted, cubTicketDecrypted, pubRSAKey, cubRSAKey);
|
|
}
|
|
}
|
|
}
|