Skip to content

Commit 9473c00

Browse files
committed
Update apisurface.txt
1 parent 29035d0 commit 9473c00

File tree

1 file changed

+32
-63
lines changed

1 file changed

+32
-63
lines changed

SteamKit2/Tests/Files/apisurface.txt

+32-63
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,11 @@ public sealed class SteamKit2.CallbackManager
8080
public int GetHashCode();
8181
public Type GetType();
8282
protected object MemberwiseClone();
83-
public void RunCallbacks();
83+
public bool RunCallbacks();
8484
public void RunWaitAllCallbacks(TimeSpan timeout);
85+
public System.Threading.Tasks.Task RunWaitCallbackAsync(System.Threading.CancellationToken cancellationToken);
8586
public void RunWaitCallbacks();
86-
public void RunWaitCallbacks(TimeSpan timeout);
87+
public bool RunWaitCallbacks(TimeSpan timeout);
8788
public IDisposable Subscribe<SteamKit2.TCallback>(Action`1[[SteamKit2.TCallback]] callbackFunc);
8889
public IDisposable Subscribe<SteamKit2.TCallback>(SteamKit2.JobID jobID, Action`1[[SteamKit2.TCallback]] callbackFunc);
8990
public string ToString();
@@ -328,25 +329,13 @@ public sealed class SteamKit2.ContentServerDirectoryService
328329

329330
public sealed class SteamKit2.CryptoHelper
330331
{
331-
public static byte[] AdlerHash(byte[] input);
332-
public static byte[] AESDecrypt(byte[] input, byte[] key, byte[] iv);
333-
public static byte[] AESEncrypt(byte[] input, byte[] key, byte[] iv);
334-
public static byte[] CRCHash(byte[] input);
335332
public bool Equals(object obj);
336333
protected void Finalize();
337-
public static byte[] GenerateRandomBlock(int size);
338334
public int GetHashCode();
339335
public Type GetType();
340336
protected object MemberwiseClone();
341-
public static byte[] SHAHash(byte[] input);
342-
public static byte[] SymmetricDecrypt(byte[] input, byte[] key);
343-
public static byte[] SymmetricDecryptECB(byte[] input, byte[] key);
344-
public static byte[] SymmetricDecryptHMACIV(byte[] input, byte[] key, byte[] hmacSecret);
345-
public static byte[] SymmetricEncrypt(byte[] input, byte[] key);
346-
public static byte[] SymmetricEncryptWithHMACIV(byte[] input, byte[] key, byte[] hmacSecret);
347-
public static byte[] SymmetricEncryptWithIV(byte[] input, byte[] key, byte[] iv);
337+
public static byte[] SymmetricDecrypt(ReadOnlySpan`1[[byte]] input, byte[] key);
348338
public string ToString();
349-
public static byte[] VerifyAndDecryptPassword(byte[] input, string password);
350339
}
351340

352341
public sealed class SteamKit2.DateUtils
@@ -382,8 +371,10 @@ public sealed class SteamKit2.DebugLog
382371

383372
public sealed class SteamKit2.DepotManifest
384373
{
374+
public .ctor();
385375
public bool DecryptFilenames(byte[] encryptionKey);
386376
public static SteamKit2.DepotManifest Deserialize(byte[] data);
377+
public static SteamKit2.DepotManifest Deserialize(System.IO.Stream stream);
387378
public bool Equals(object obj);
388379
protected void Finalize();
389380
public DateTime get_CreationTime();
@@ -398,7 +389,8 @@ public sealed class SteamKit2.DepotManifest
398389
public Type GetType();
399390
public static SteamKit2.DepotManifest LoadFromFile(string filename);
400391
protected object MemberwiseClone();
401-
public bool SaveToFile(string filename);
392+
public void SaveToFile(string filename);
393+
public void Serialize(System.IO.Stream output);
402394
public string ToString();
403395
}
404396

@@ -916,19 +908,6 @@ public sealed class SteamKit2.PublishedFileID
916908
public string ToString();
917909
}
918910

919-
public class SteamKit2.RSACrypto
920-
{
921-
public .ctor(byte[] key);
922-
public void Dispose();
923-
public byte[] Encrypt(byte[] input);
924-
public bool Equals(object obj);
925-
protected void Finalize();
926-
public int GetHashCode();
927-
public Type GetType();
928-
protected object MemberwiseClone();
929-
public string ToString();
930-
}
931-
932911
public sealed class SteamKit2.SimpleConsoleDebugListener
933912
{
934913
public .ctor();
@@ -943,6 +922,7 @@ public sealed class SteamKit2.SimpleConsoleDebugListener
943922

944923
public sealed class SteamKit2.SteamApps
945924
{
925+
public .ctor();
946926
public SteamKit2.AsyncJob`1[[SteamKit2.CheckAppBetaPasswordCallback]] CheckAppBetaPassword(uint app, string password);
947927
public bool Equals(object obj);
948928
protected void Finalize();
@@ -978,7 +958,6 @@ public sealed class SteamKit2.SteamClient
978958
public void Disconnect();
979959
public bool Equals(object obj);
980960
protected void Finalize();
981-
public void FreeLastCallback();
982961
public SteamKit2.Authentication.SteamAuthentication get_Authentication();
983962
public Nullable`1[[uint]] get_CellID();
984963
public SteamKit2.SteamConfiguration get_Configuration();
@@ -995,9 +974,7 @@ public sealed class SteamKit2.SteamClient
995974
public ulong get_SessionToken();
996975
public SteamKit2.SteamID get_SteamID();
997976
public SteamKit2.EUniverse get_Universe();
998-
public System.Collections.Generic.IEnumerable`1[[SteamKit2.ICallbackMsg]] GetAllCallbacks(bool freeLast, TimeSpan timeout);
999977
public SteamKit2.ICallbackMsg GetCallback();
1000-
public SteamKit2.ICallbackMsg GetCallback(bool freeLast);
1001978
public SteamKit2.T GetHandler<SteamKit2.T>();
1002979
public int GetHashCode();
1003980
public SteamKit2.JobID GetNextJobID();
@@ -1014,13 +991,13 @@ public sealed class SteamKit2.SteamClient
1014991
public void set_DebugNetworkListener(SteamKit2.IDebugNetworkListener value);
1015992
public string ToString();
1016993
public SteamKit2.ICallbackMsg WaitForCallback();
1017-
public SteamKit2.ICallbackMsg WaitForCallback(bool freeLast);
1018-
public SteamKit2.ICallbackMsg WaitForCallback(bool freeLast, TimeSpan timeout);
1019994
public SteamKit2.ICallbackMsg WaitForCallback(TimeSpan timeout);
995+
public System.Threading.Tasks.Task`1[[SteamKit2.ICallbackMsg]] WaitForCallbackAsync(System.Threading.CancellationToken cancellationToken);
1020996
}
1021997

1022998
public sealed class SteamKit2.SteamCloud
1023999
{
1000+
public .ctor();
10241001
public bool Equals(object obj);
10251002
protected void Finalize();
10261003
protected SteamKit2.SteamClient get_Client();
@@ -1151,6 +1128,7 @@ public sealed class SteamKit2.SteamFriends
11511128

11521129
public sealed class SteamKit2.SteamGameCoordinator
11531130
{
1131+
public .ctor();
11541132
public bool Equals(object obj);
11551133
protected void Finalize();
11561134
protected SteamKit2.SteamClient get_Client();
@@ -1166,6 +1144,7 @@ public sealed class SteamKit2.SteamGameCoordinator
11661144

11671145
public sealed class SteamKit2.SteamGameServer
11681146
{
1147+
public .ctor();
11691148
public bool Equals(object obj);
11701149
protected void Finalize();
11711150
protected SteamKit2.SteamClient get_Client();
@@ -1236,6 +1215,9 @@ public class SteamKit2.SteamID
12361215

12371216
public class SteamKit2.SteamKitWebRequestException
12381217
{
1218+
public .ctor();
1219+
public .ctor(string message);
1220+
public .ctor(string message, Exception innerException);
12391221
public .ctor(string message, System.Net.Http.HttpResponseMessage response);
12401222
protected void add_SerializeObjectState(EventHandler`1[[System.Runtime.Serialization.SafeSerializationEventArgs]] value);
12411223
public bool Equals(object obj);
@@ -1267,6 +1249,7 @@ public class SteamKit2.SteamKitWebRequestException
12671249

12681250
public sealed class SteamKit2.SteamMasterServer
12691251
{
1252+
public .ctor();
12701253
public bool Equals(object obj);
12711254
protected void Finalize();
12721255
protected SteamKit2.SteamClient get_Client();
@@ -1282,6 +1265,7 @@ public sealed class SteamKit2.SteamMasterServer
12821265

12831266
public class SteamKit2.SteamMatchmaking
12841267
{
1268+
public .ctor();
12851269
public SteamKit2.AsyncJob`1[[SteamKit2.CreateLobbyCallback]] CreateLobby(uint appId, SteamKit2.ELobbyType lobbyType, int maxMembers, int lobbyFlags, System.Collections.Generic.IReadOnlyDictionary`2[[string, string]] metadata);
12861270
public bool Equals(object obj);
12871271
protected void Finalize();
@@ -1307,6 +1291,7 @@ public class SteamKit2.SteamMatchmaking
13071291

13081292
public sealed class SteamKit2.SteamNetworking
13091293
{
1294+
public .ctor();
13101295
public bool Equals(object obj);
13111296
protected void Finalize();
13121297
protected SteamKit2.SteamClient get_Client();
@@ -1322,6 +1307,7 @@ public sealed class SteamKit2.SteamNetworking
13221307

13231308
public sealed class SteamKit2.SteamScreenshots
13241309
{
1310+
public .ctor();
13251311
public SteamKit2.AsyncJob`1[[SteamKit2.ScreenshotAddedCallback]] AddScreenshot(SteamKit2.ScreenshotDetails details);
13261312
public bool Equals(object obj);
13271313
protected void Finalize();
@@ -1335,25 +1321,9 @@ public sealed class SteamKit2.SteamScreenshots
13351321
public string ToString();
13361322
}
13371323

1338-
public sealed class SteamKit2.SteamTrading
1339-
{
1340-
public void CancelTrade(SteamKit2.SteamID user);
1341-
public bool Equals(object obj);
1342-
protected void Finalize();
1343-
protected SteamKit2.SteamClient get_Client();
1344-
protected bool get_ExpectDisconnection();
1345-
public int GetHashCode();
1346-
public Type GetType();
1347-
public void HandleMsg(SteamKit2.IPacketMsg packetMsg);
1348-
protected object MemberwiseClone();
1349-
public void RespondToTrade(uint tradeId, bool acceptTrade);
1350-
protected void set_ExpectDisconnection(bool value);
1351-
public string ToString();
1352-
public void Trade(SteamKit2.SteamID user);
1353-
}
1354-
13551324
public class SteamKit2.SteamUnifiedMessages
13561325
{
1326+
public .ctor();
13571327
public SteamKit2.UnifiedService`1[[SteamKit2.TService]] CreateService<SteamKit2.TService>();
13581328
public bool Equals(object obj);
13591329
protected void Finalize();
@@ -1364,15 +1334,14 @@ public class SteamKit2.SteamUnifiedMessages
13641334
public void HandleMsg(SteamKit2.IPacketMsg packetMsg);
13651335
protected object MemberwiseClone();
13661336
public SteamKit2.AsyncJob`1[[SteamKit2.ServiceMethodResponse]] SendMessage<SteamKit2.TRequest>(string name, SteamKit2.TRequest message);
1367-
public SteamKit2.AsyncJob`1[[SteamKit2.ServiceMethodResponse]] SendMessage<SteamKit2.TRequest>(string name, SteamKit2.TRequest message, bool isNotification);
13681337
public void SendNotification<SteamKit2.TRequest>(string name, SteamKit2.TRequest message);
13691338
protected void set_ExpectDisconnection(bool value);
13701339
public string ToString();
13711340
}
13721341

13731342
public sealed class SteamKit2.SteamUser
13741343
{
1375-
public void AcceptNewLoginKey(SteamKit2.LoginKeyCallback callback);
1344+
public .ctor();
13761345
public bool Equals(object obj);
13771346
protected void Finalize();
13781347
protected SteamKit2.SteamClient get_Client();
@@ -1386,14 +1355,13 @@ public sealed class SteamKit2.SteamUser
13861355
public void LogOnAnonymous();
13871356
public void LogOnAnonymous(SteamKit2.AnonymousLogOnDetails details);
13881357
protected object MemberwiseClone();
1389-
public SteamKit2.AsyncJob`1[[SteamKit2.WebAPIUserNonceCallback]] RequestWebAPIUserNonce();
1390-
public void SendMachineAuthResponse(SteamKit2.MachineAuthDetails details);
13911358
protected void set_ExpectDisconnection(bool value);
13921359
public string ToString();
13931360
}
13941361

13951362
public sealed class SteamKit2.SteamUserStats
13961363
{
1364+
public .ctor();
13971365
public SteamKit2.AsyncJob`1[[SteamKit2.FindOrCreateLeaderboardCallback]] CreateLeaderboard(uint appId, string name, SteamKit2.ELeaderboardSortMethod sortMethod, SteamKit2.ELeaderboardDisplayType displayType);
13981366
public bool Equals(object obj);
13991367
protected void Finalize();
@@ -1412,6 +1380,7 @@ public sealed class SteamKit2.SteamUserStats
14121380

14131381
public sealed class SteamKit2.SteamWorkshop
14141382
{
1383+
public .ctor();
14151384
public SteamKit2.AsyncJob`1[[SteamKit2.UserActionPublishedFilesCallback]] EnumeratePublishedFilesByUserAction(SteamKit2.EnumerationUserDetails details);
14161385
public bool Equals(object obj);
14171386
protected void Finalize();
@@ -1483,6 +1452,9 @@ public sealed class SteamKit2.WebAPI
14831452

14841453
public sealed class SteamKit2.WebAPIRequestException
14851454
{
1455+
public .ctor();
1456+
public .ctor(string message);
1457+
public .ctor(string message, Exception innerException);
14861458
public .ctor(string message, System.Net.Http.HttpResponseMessage response);
14871459
protected void add_SerializeObjectState(EventHandler`1[[System.Runtime.Serialization.SafeSerializationEventArgs]] value);
14881460
public bool Equals(object obj);
@@ -1527,6 +1499,8 @@ public sealed class SteamKit2.Authentication.AccessTokenGenerateResult
15271499
public sealed class SteamKit2.Authentication.AuthenticationException
15281500
{
15291501
public .ctor();
1502+
public .ctor(string message);
1503+
public .ctor(string message, Exception innerException);
15301504
public .ctor(string message, SteamKit2.EResult result);
15311505
protected void add_SerializeObjectState(EventHandler`1[[System.Runtime.Serialization.SafeSerializationEventArgs]] value);
15321506
public bool Equals(object obj);
@@ -1690,8 +1664,8 @@ public sealed class SteamKit2.CDN.Client
16901664
{
16911665
public .ctor(SteamKit2.SteamClient steamClient);
16921666
public void Dispose();
1693-
public System.Threading.Tasks.Task`1[[SteamKit2.CDN.DepotChunk]] DownloadDepotChunkAsync(uint depotId, SteamKit2.ChunkData chunk, SteamKit2.CDN.Server server, byte[] depotKey, SteamKit2.CDN.Server proxyServer);
1694-
public System.Threading.Tasks.Task`1[[SteamKit2.DepotManifest]] DownloadManifestAsync(uint depotId, ulong manifestId, ulong manifestRequestCode, SteamKit2.CDN.Server server, byte[] depotKey, SteamKit2.CDN.Server proxyServer);
1667+
public System.Threading.Tasks.Task`1[[int]] DownloadDepotChunkAsync(uint depotId, SteamKit2.ChunkData chunk, SteamKit2.CDN.Server server, byte[] destination, byte[] depotKey, SteamKit2.CDN.Server proxyServer, string cdnAuthToken);
1668+
public System.Threading.Tasks.Task`1[[SteamKit2.DepotManifest]] DownloadManifestAsync(uint depotId, ulong manifestId, ulong manifestRequestCode, SteamKit2.CDN.Server server, byte[] depotKey, SteamKit2.CDN.Server proxyServer, string cdnAuthToken);
16951669
public bool Equals(object obj);
16961670
protected void Finalize();
16971671
public static TimeSpan get_RequestTimeout();
@@ -1706,16 +1680,12 @@ public sealed class SteamKit2.CDN.Client
17061680

17071681
public sealed class SteamKit2.CDN.DepotChunk
17081682
{
1709-
public .ctor(SteamKit2.ChunkData info, byte[] data);
17101683
public bool Equals(object obj);
17111684
protected void Finalize();
1712-
public SteamKit2.ChunkData get_ChunkInfo();
1713-
public byte[] get_Data();
1714-
public bool get_IsProcessed();
17151685
public int GetHashCode();
17161686
public Type GetType();
17171687
protected object MemberwiseClone();
1718-
public void Process(byte[] depotKey);
1688+
public static int Process(SteamKit2.ChunkData info, ReadOnlySpan`1[[byte]] data, byte[] destination, byte[] depotKey);
17191689
public string ToString();
17201690
}
17211691

@@ -1730,7 +1700,6 @@ public sealed class SteamKit2.CDN.Server
17301700
public int get_Load();
17311701
public int get_NumEntries();
17321702
public int get_Port();
1733-
public bool get_PreferredServer();
17341703
public SteamKit2.CDN.ConnectionProtocol get_Protocol();
17351704
public string get_ProxyRequestPathTemplate();
17361705
public int get_SourceID();

0 commit comments

Comments
 (0)