87 lines
3.6 KiB
C#
87 lines
3.6 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace Steamworks
|
|
{
|
|
// Token: 0x020016D9 RID: 5849
|
|
[Token(Token = "0x20016D9")]
|
|
public static class SteamEncryptedAppTicket
|
|
{
|
|
// Token: 0x0600877F RID: 34687 RVA: 0x001CDD34 File Offset: 0x001CBF34
|
|
[Token(Token = "0x600877F")]
|
|
[Address(RVA = "0x2DBD120", Offset = "0x2DBBF20", VA = "0x182DBD120")]
|
|
public static bool BDecryptTicket(byte[] rgubTicketEncrypted, uint cubTicketEncrypted, byte[] rgubTicketDecrypted, ref uint pcubTicketDecrypted, byte[] rgubKey, int cubKey)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008780 RID: 34688 RVA: 0x001CDD44 File Offset: 0x001CBF44
|
|
[Token(Token = "0x6008780")]
|
|
[Address(RVA = "0x2DBD180", Offset = "0x2DBBF80", VA = "0x182DBD180")]
|
|
public static bool BIsTicketForApp(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008781 RID: 34689 RVA: 0x001CDD54 File Offset: 0x001CBF54
|
|
[Token(Token = "0x6008781")]
|
|
[Address(RVA = "0x2DBD2C0", Offset = "0x2DBC0C0", VA = "0x182DBD2C0")]
|
|
public static uint GetTicketIssueTime(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_GetTicketIssueTime(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x06008782 RID: 34690 RVA: 0x001CDD6C File Offset: 0x001CBF6C
|
|
[Token(Token = "0x6008782")]
|
|
[Address(RVA = "0x2DBD2F0", Offset = "0x2DBC0F0", VA = "0x182DBD2F0")]
|
|
public static void GetTicketSteamID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, out CSteamID psteamID)
|
|
{
|
|
NativeMethods.SteamEncryptedAppTicket_GetTicketSteamID(rgubTicketDecrypted, cubTicketDecrypted, out psteamID);
|
|
}
|
|
|
|
// Token: 0x06008783 RID: 34691 RVA: 0x001CDD84 File Offset: 0x001CBF84
|
|
[Token(Token = "0x6008783")]
|
|
[Address(RVA = "0x2DBD290", Offset = "0x2DBC090", VA = "0x182DBD290")]
|
|
public static uint GetTicketAppID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_GetTicketAppID(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x06008784 RID: 34692 RVA: 0x001CDD9C File Offset: 0x001CBF9C
|
|
[Token(Token = "0x6008784")]
|
|
[Address(RVA = "0x2DBD250", Offset = "0x2DBC050", VA = "0x182DBD250")]
|
|
public static bool BUserOwnsAppInTicket(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID)
|
|
{
|
|
bool flag;
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06008785 RID: 34693 RVA: 0x001CDDAC File Offset: 0x001CBFAC
|
|
[Token(Token = "0x6008785")]
|
|
[Address(RVA = "0x2DBD220", Offset = "0x2DBC020", VA = "0x182DBD220")]
|
|
public static bool BUserIsVacBanned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_BUserIsVacBanned(rgubTicketDecrypted, cubTicketDecrypted);
|
|
}
|
|
|
|
// Token: 0x06008786 RID: 34694 RVA: 0x001CDDC4 File Offset: 0x001CBFC4
|
|
[Token(Token = "0x6008786")]
|
|
[Address(RVA = "0x2DBD330", Offset = "0x2DBC130", VA = "0x182DBD330")]
|
|
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: 0x06008787 RID: 34695 RVA: 0x001CDDE4 File Offset: 0x001CBFE4
|
|
[Token(Token = "0x6008787")]
|
|
[Address(RVA = "0x2DBD1C0", Offset = "0x2DBBFC0", VA = "0x182DBD1C0")]
|
|
public static bool BIsTicketSigned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, byte[] pubRSAKey, uint cubRSAKey)
|
|
{
|
|
return NativeMethods.SteamEncryptedAppTicket_BIsTicketSigned(rgubTicketDecrypted, cubTicketDecrypted, pubRSAKey, cubRSAKey);
|
|
}
|
|
}
|
|
}
|