87 lines
3.6 KiB
C#
87 lines
3.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020017B9 RID: 6073
|
|
[Token(Token = "0x20017B9")]
|
|
public static class SteamEncryptedAppTicket
|
|
{
|
|
// Token: 0x06008B4D RID: 35661 RVA: 0x001D6E2C File Offset: 0x001D502C
|
|
[Token(Token = "0x6008B4D")]
|
|
[Address(RVA = "0xF5CD90", Offset = "0xF5BD90", VA = "0x180F5CD90")]
|
|
public static bool BDecryptTicket(byte[] rgubTicketEncrypted, uint cubTicketEncrypted, byte[] rgubTicketDecrypted, ref uint pcubTicketDecrypted, byte[] rgubKey, int cubKey)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008B4E RID: 35662 RVA: 0x001D6E3C File Offset: 0x001D503C
|
|
[Token(Token = "0x6008B4E")]
|
|
[Address(RVA = "0xF5CDF0", Offset = "0xF5BDF0", VA = "0x180F5CDF0")]
|
|
public static bool BIsTicketForApp(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008B4F RID: 35663 RVA: 0x001D6E4C File Offset: 0x001D504C
|
|
[Token(Token = "0x6008B4F")]
|
|
[Address(RVA = "0xF5CF30", Offset = "0xF5BF30", VA = "0x180F5CF30")]
|
|
public static uint GetTicketIssueTime(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_GetTicketIssueTime(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x06008B50 RID: 35664 RVA: 0x001D6E64 File Offset: 0x001D5064
|
|
[Token(Token = "0x6008B50")]
|
|
[Address(RVA = "0xF5CF60", Offset = "0xF5BF60", VA = "0x180F5CF60")]
|
|
public static void GetTicketSteamID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, out CSteamID psteamID)
|
|
{
|
|
NativeMethods.SteamEncryptedAppTicket_GetTicketSteamID(rgubTicketDecrypted, cubTicketDecrypted, out psteamID);
|
|
}
|
|
|
|
// Token: 0x06008B51 RID: 35665 RVA: 0x001D6E7C File Offset: 0x001D507C
|
|
[Token(Token = "0x6008B51")]
|
|
[Address(RVA = "0xF5CF00", Offset = "0xF5BF00", VA = "0x180F5CF00")]
|
|
public static uint GetTicketAppID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_GetTicketAppID(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x06008B52 RID: 35666 RVA: 0x001D6E94 File Offset: 0x001D5094
|
|
[Token(Token = "0x6008B52")]
|
|
[Address(RVA = "0xF5CEC0", Offset = "0xF5BEC0", VA = "0x180F5CEC0")]
|
|
public static bool BUserOwnsAppInTicket(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008B53 RID: 35667 RVA: 0x001D6EA4 File Offset: 0x001D50A4
|
|
[Token(Token = "0x6008B53")]
|
|
[Address(RVA = "0xF5CE90", Offset = "0xF5BE90", VA = "0x180F5CE90")]
|
|
public static bool BUserIsVacBanned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_BUserIsVacBanned(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x06008B54 RID: 35668 RVA: 0x001D6EBC File Offset: 0x001D50BC
|
|
[Token(Token = "0x6008B54")]
|
|
[Address(RVA = "0xF5CFA0", Offset = "0xF5BFA0", VA = "0x180F5CFA0")]
|
|
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: 0x06008B55 RID: 35669 RVA: 0x001D6EDC File Offset: 0x001D50DC
|
|
[Token(Token = "0x6008B55")]
|
|
[Address(RVA = "0xF5CE30", Offset = "0xF5BE30", VA = "0x180F5CE30")]
|
|
public static bool BIsTicketSigned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, byte[] pubRSAKey, uint cubRSAKey)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_BIsTicketSigned(rgubTicketDecrypted, cubTicketDecrypted, pubRSAKey, cubRSAKey);
|
|
}
|
|
}
|
|
}
|