|
8 | 8 |
|
9 | 9 | namespace Steamworks { |
10 | 10 | public static class Version { |
11 | | - public const string SteamworksNETVersion = "9.0.0"; |
| 11 | + public const string SteamworksNETVersion = "9.1.0"; |
12 | 12 | public const string SteamworksSDKVersion = "1.39"; |
13 | 13 | public const string SteamAPIDLLVersion = "03.75.32.07"; |
14 | 14 | public const int SteamAPIDLLSize = 219424; |
@@ -192,42 +192,42 @@ public static HSteamUser GetHSteamUser() { |
192 | 192 | public static class SteamEncryptedAppTicket { |
193 | 193 | public static bool BDecryptTicket(byte[] rgubTicketEncrypted, uint cubTicketEncrypted, byte[] rgubTicketDecrypted, ref uint pcubTicketDecrypted, byte[] rgubKey, int cubKey) { |
194 | 194 | InteropHelp.TestIfPlatformSupported(); |
195 | | - return NativeMethods.BDecryptTicket(rgubTicketEncrypted, cubTicketEncrypted, rgubTicketDecrypted, ref pcubTicketDecrypted, rgubKey, cubKey); |
| 195 | + return NativeMethods.SteamEncryptedAppTicket_BDecryptTicket(rgubTicketEncrypted, cubTicketEncrypted, rgubTicketDecrypted, ref pcubTicketDecrypted, rgubKey, cubKey); |
196 | 196 | } |
197 | 197 |
|
198 | 198 | public static bool BIsTicketForApp(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID) { |
199 | 199 | InteropHelp.TestIfPlatformSupported(); |
200 | | - return NativeMethods.BIsTicketForApp(rgubTicketDecrypted, cubTicketDecrypted, nAppID); |
| 200 | + return NativeMethods.SteamEncryptedAppTicket_BIsTicketForApp(rgubTicketDecrypted, cubTicketDecrypted, nAppID); |
201 | 201 | } |
202 | 202 |
|
203 | 203 | public static uint GetTicketIssueTime(byte[] rgubTicketDecrypted, uint cubTicketDecrypted) { |
204 | 204 | InteropHelp.TestIfPlatformSupported(); |
205 | | - return NativeMethods.GetTicketIssueTime(rgubTicketDecrypted, cubTicketDecrypted); |
| 205 | + return NativeMethods.SteamEncryptedAppTicket_GetTicketIssueTime(rgubTicketDecrypted, cubTicketDecrypted); |
206 | 206 | } |
207 | 207 |
|
208 | 208 | public static void GetTicketSteamID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, out CSteamID psteamID) { |
209 | 209 | InteropHelp.TestIfPlatformSupported(); |
210 | | - NativeMethods.GetTicketSteamID(rgubTicketDecrypted, cubTicketDecrypted, out psteamID); |
| 210 | + NativeMethods.SteamEncryptedAppTicket_GetTicketSteamID(rgubTicketDecrypted, cubTicketDecrypted, out psteamID); |
211 | 211 | } |
212 | 212 |
|
213 | 213 | public static uint GetTicketAppID(byte[] rgubTicketDecrypted, uint cubTicketDecrypted) { |
214 | 214 | InteropHelp.TestIfPlatformSupported(); |
215 | | - return NativeMethods.GetTicketAppID(rgubTicketDecrypted, cubTicketDecrypted); |
| 215 | + return NativeMethods.SteamEncryptedAppTicket_GetTicketAppID(rgubTicketDecrypted, cubTicketDecrypted); |
216 | 216 | } |
217 | 217 |
|
218 | 218 | public static bool BUserOwnsAppInTicket(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, AppId_t nAppID) { |
219 | 219 | InteropHelp.TestIfPlatformSupported(); |
220 | | - return NativeMethods.BUserOwnsAppInTicket(rgubTicketDecrypted, cubTicketDecrypted, nAppID); |
| 220 | + return NativeMethods.SteamEncryptedAppTicket_BUserOwnsAppInTicket(rgubTicketDecrypted, cubTicketDecrypted, nAppID); |
221 | 221 | } |
222 | 222 |
|
223 | 223 | public static bool BUserIsVacBanned(byte[] rgubTicketDecrypted, uint cubTicketDecrypted) { |
224 | 224 | InteropHelp.TestIfPlatformSupported(); |
225 | | - return NativeMethods.BUserIsVacBanned(rgubTicketDecrypted, cubTicketDecrypted); |
| 225 | + return NativeMethods.SteamEncryptedAppTicket_BUserIsVacBanned(rgubTicketDecrypted, cubTicketDecrypted); |
226 | 226 | } |
227 | 227 |
|
228 | 228 | public static byte[] GetUserVariableData(byte[] rgubTicketDecrypted, uint cubTicketDecrypted, out uint pcubUserData) { |
229 | 229 | InteropHelp.TestIfPlatformSupported(); |
230 | | - System.IntPtr punSecretData = NativeMethods.GetUserVariableData(rgubTicketDecrypted, cubTicketDecrypted, out pcubUserData); |
| 230 | + System.IntPtr punSecretData = NativeMethods.SteamEncryptedAppTicket_GetUserVariableData(rgubTicketDecrypted, cubTicketDecrypted, out pcubUserData); |
231 | 231 | byte[] ret = new byte[pcubUserData]; |
232 | 232 | System.Runtime.InteropServices.Marshal.Copy(punSecretData, ret, 0, (int)pcubUserData); |
233 | 233 | return ret; |
|
0 commit comments