Skip to content

Commit

Permalink
Update apisurface.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Aug 26, 2024
1 parent 29035d0 commit 9473c00
Showing 1 changed file with 32 additions and 63 deletions.
95 changes: 32 additions & 63 deletions SteamKit2/Tests/Files/apisurface.txt
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,11 @@ public sealed class SteamKit2.CallbackManager
public int GetHashCode();
public Type GetType();
protected object MemberwiseClone();
public void RunCallbacks();
public bool RunCallbacks();
public void RunWaitAllCallbacks(TimeSpan timeout);
public System.Threading.Tasks.Task RunWaitCallbackAsync(System.Threading.CancellationToken cancellationToken);
public void RunWaitCallbacks();
public void RunWaitCallbacks(TimeSpan timeout);
public bool RunWaitCallbacks(TimeSpan timeout);
public IDisposable Subscribe<SteamKit2.TCallback>(Action`1[[SteamKit2.TCallback]] callbackFunc);
public IDisposable Subscribe<SteamKit2.TCallback>(SteamKit2.JobID jobID, Action`1[[SteamKit2.TCallback]] callbackFunc);
public string ToString();
Expand Down Expand Up @@ -328,25 +329,13 @@ public sealed class SteamKit2.ContentServerDirectoryService

public sealed class SteamKit2.CryptoHelper
{
public static byte[] AdlerHash(byte[] input);
public static byte[] AESDecrypt(byte[] input, byte[] key, byte[] iv);
public static byte[] AESEncrypt(byte[] input, byte[] key, byte[] iv);
public static byte[] CRCHash(byte[] input);
public bool Equals(object obj);
protected void Finalize();
public static byte[] GenerateRandomBlock(int size);
public int GetHashCode();
public Type GetType();
protected object MemberwiseClone();
public static byte[] SHAHash(byte[] input);
public static byte[] SymmetricDecrypt(byte[] input, byte[] key);
public static byte[] SymmetricDecryptECB(byte[] input, byte[] key);
public static byte[] SymmetricDecryptHMACIV(byte[] input, byte[] key, byte[] hmacSecret);
public static byte[] SymmetricEncrypt(byte[] input, byte[] key);
public static byte[] SymmetricEncryptWithHMACIV(byte[] input, byte[] key, byte[] hmacSecret);
public static byte[] SymmetricEncryptWithIV(byte[] input, byte[] key, byte[] iv);
public static byte[] SymmetricDecrypt(ReadOnlySpan`1[[byte]] input, byte[] key);
public string ToString();
public static byte[] VerifyAndDecryptPassword(byte[] input, string password);
}

public sealed class SteamKit2.DateUtils
Expand Down Expand Up @@ -382,8 +371,10 @@ public sealed class SteamKit2.DebugLog

public sealed class SteamKit2.DepotManifest
{
public .ctor();
public bool DecryptFilenames(byte[] encryptionKey);
public static SteamKit2.DepotManifest Deserialize(byte[] data);
public static SteamKit2.DepotManifest Deserialize(System.IO.Stream stream);
public bool Equals(object obj);
protected void Finalize();
public DateTime get_CreationTime();
Expand All @@ -398,7 +389,8 @@ public sealed class SteamKit2.DepotManifest
public Type GetType();
public static SteamKit2.DepotManifest LoadFromFile(string filename);
protected object MemberwiseClone();
public bool SaveToFile(string filename);
public void SaveToFile(string filename);
public void Serialize(System.IO.Stream output);
public string ToString();
}

Expand Down Expand Up @@ -916,19 +908,6 @@ public sealed class SteamKit2.PublishedFileID
public string ToString();
}

public class SteamKit2.RSACrypto
{
public .ctor(byte[] key);
public void Dispose();
public byte[] Encrypt(byte[] input);
public bool Equals(object obj);
protected void Finalize();
public int GetHashCode();
public Type GetType();
protected object MemberwiseClone();
public string ToString();
}

public sealed class SteamKit2.SimpleConsoleDebugListener
{
public .ctor();
Expand All @@ -943,6 +922,7 @@ public sealed class SteamKit2.SimpleConsoleDebugListener

public sealed class SteamKit2.SteamApps
{
public .ctor();
public SteamKit2.AsyncJob`1[[SteamKit2.CheckAppBetaPasswordCallback]] CheckAppBetaPassword(uint app, string password);
public bool Equals(object obj);
protected void Finalize();
Expand Down Expand Up @@ -978,7 +958,6 @@ public sealed class SteamKit2.SteamClient
public void Disconnect();
public bool Equals(object obj);
protected void Finalize();
public void FreeLastCallback();
public SteamKit2.Authentication.SteamAuthentication get_Authentication();
public Nullable`1[[uint]] get_CellID();
public SteamKit2.SteamConfiguration get_Configuration();
Expand All @@ -995,9 +974,7 @@ public sealed class SteamKit2.SteamClient
public ulong get_SessionToken();
public SteamKit2.SteamID get_SteamID();
public SteamKit2.EUniverse get_Universe();
public System.Collections.Generic.IEnumerable`1[[SteamKit2.ICallbackMsg]] GetAllCallbacks(bool freeLast, TimeSpan timeout);
public SteamKit2.ICallbackMsg GetCallback();
public SteamKit2.ICallbackMsg GetCallback(bool freeLast);
public SteamKit2.T GetHandler<SteamKit2.T>();
public int GetHashCode();
public SteamKit2.JobID GetNextJobID();
Expand All @@ -1014,13 +991,13 @@ public sealed class SteamKit2.SteamClient
public void set_DebugNetworkListener(SteamKit2.IDebugNetworkListener value);
public string ToString();
public SteamKit2.ICallbackMsg WaitForCallback();
public SteamKit2.ICallbackMsg WaitForCallback(bool freeLast);
public SteamKit2.ICallbackMsg WaitForCallback(bool freeLast, TimeSpan timeout);
public SteamKit2.ICallbackMsg WaitForCallback(TimeSpan timeout);
public System.Threading.Tasks.Task`1[[SteamKit2.ICallbackMsg]] WaitForCallbackAsync(System.Threading.CancellationToken cancellationToken);
}

public sealed class SteamKit2.SteamCloud
{
public .ctor();
public bool Equals(object obj);
protected void Finalize();
protected SteamKit2.SteamClient get_Client();
Expand Down Expand Up @@ -1151,6 +1128,7 @@ public sealed class SteamKit2.SteamFriends

public sealed class SteamKit2.SteamGameCoordinator
{
public .ctor();
public bool Equals(object obj);
protected void Finalize();
protected SteamKit2.SteamClient get_Client();
Expand All @@ -1166,6 +1144,7 @@ public sealed class SteamKit2.SteamGameCoordinator

public sealed class SteamKit2.SteamGameServer
{
public .ctor();
public bool Equals(object obj);
protected void Finalize();
protected SteamKit2.SteamClient get_Client();
Expand Down Expand Up @@ -1236,6 +1215,9 @@ public class SteamKit2.SteamID

public class SteamKit2.SteamKitWebRequestException
{
public .ctor();
public .ctor(string message);
public .ctor(string message, Exception innerException);
public .ctor(string message, System.Net.Http.HttpResponseMessage response);
protected void add_SerializeObjectState(EventHandler`1[[System.Runtime.Serialization.SafeSerializationEventArgs]] value);
public bool Equals(object obj);
Expand Down Expand Up @@ -1267,6 +1249,7 @@ public class SteamKit2.SteamKitWebRequestException

public sealed class SteamKit2.SteamMasterServer
{
public .ctor();
public bool Equals(object obj);
protected void Finalize();
protected SteamKit2.SteamClient get_Client();
Expand All @@ -1282,6 +1265,7 @@ public sealed class SteamKit2.SteamMasterServer

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

public sealed class SteamKit2.SteamNetworking
{
public .ctor();
public bool Equals(object obj);
protected void Finalize();
protected SteamKit2.SteamClient get_Client();
Expand All @@ -1322,6 +1307,7 @@ public sealed class SteamKit2.SteamNetworking

public sealed class SteamKit2.SteamScreenshots
{
public .ctor();
public SteamKit2.AsyncJob`1[[SteamKit2.ScreenshotAddedCallback]] AddScreenshot(SteamKit2.ScreenshotDetails details);
public bool Equals(object obj);
protected void Finalize();
Expand All @@ -1335,25 +1321,9 @@ public sealed class SteamKit2.SteamScreenshots
public string ToString();
}

public sealed class SteamKit2.SteamTrading
{
public void CancelTrade(SteamKit2.SteamID user);
public bool Equals(object obj);
protected void Finalize();
protected SteamKit2.SteamClient get_Client();
protected bool get_ExpectDisconnection();
public int GetHashCode();
public Type GetType();
public void HandleMsg(SteamKit2.IPacketMsg packetMsg);
protected object MemberwiseClone();
public void RespondToTrade(uint tradeId, bool acceptTrade);
protected void set_ExpectDisconnection(bool value);
public string ToString();
public void Trade(SteamKit2.SteamID user);
}

public class SteamKit2.SteamUnifiedMessages
{
public .ctor();
public SteamKit2.UnifiedService`1[[SteamKit2.TService]] CreateService<SteamKit2.TService>();
public bool Equals(object obj);
protected void Finalize();
Expand All @@ -1364,15 +1334,14 @@ public class SteamKit2.SteamUnifiedMessages
public void HandleMsg(SteamKit2.IPacketMsg packetMsg);
protected object MemberwiseClone();
public SteamKit2.AsyncJob`1[[SteamKit2.ServiceMethodResponse]] SendMessage<SteamKit2.TRequest>(string name, SteamKit2.TRequest message);
public SteamKit2.AsyncJob`1[[SteamKit2.ServiceMethodResponse]] SendMessage<SteamKit2.TRequest>(string name, SteamKit2.TRequest message, bool isNotification);
public void SendNotification<SteamKit2.TRequest>(string name, SteamKit2.TRequest message);
protected void set_ExpectDisconnection(bool value);
public string ToString();
}

public sealed class SteamKit2.SteamUser
{
public void AcceptNewLoginKey(SteamKit2.LoginKeyCallback callback);
public .ctor();
public bool Equals(object obj);
protected void Finalize();
protected SteamKit2.SteamClient get_Client();
Expand All @@ -1386,14 +1355,13 @@ public sealed class SteamKit2.SteamUser
public void LogOnAnonymous();
public void LogOnAnonymous(SteamKit2.AnonymousLogOnDetails details);
protected object MemberwiseClone();
public SteamKit2.AsyncJob`1[[SteamKit2.WebAPIUserNonceCallback]] RequestWebAPIUserNonce();
public void SendMachineAuthResponse(SteamKit2.MachineAuthDetails details);
protected void set_ExpectDisconnection(bool value);
public string ToString();
}

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

public sealed class SteamKit2.SteamWorkshop
{
public .ctor();
public SteamKit2.AsyncJob`1[[SteamKit2.UserActionPublishedFilesCallback]] EnumeratePublishedFilesByUserAction(SteamKit2.EnumerationUserDetails details);
public bool Equals(object obj);
protected void Finalize();
Expand Down Expand Up @@ -1483,6 +1452,9 @@ public sealed class SteamKit2.WebAPI

public sealed class SteamKit2.WebAPIRequestException
{
public .ctor();
public .ctor(string message);
public .ctor(string message, Exception innerException);
public .ctor(string message, System.Net.Http.HttpResponseMessage response);
protected void add_SerializeObjectState(EventHandler`1[[System.Runtime.Serialization.SafeSerializationEventArgs]] value);
public bool Equals(object obj);
Expand Down Expand Up @@ -1527,6 +1499,8 @@ public sealed class SteamKit2.Authentication.AccessTokenGenerateResult
public sealed class SteamKit2.Authentication.AuthenticationException
{
public .ctor();
public .ctor(string message);
public .ctor(string message, Exception innerException);
public .ctor(string message, SteamKit2.EResult result);
protected void add_SerializeObjectState(EventHandler`1[[System.Runtime.Serialization.SafeSerializationEventArgs]] value);
public bool Equals(object obj);
Expand Down Expand Up @@ -1690,8 +1664,8 @@ public sealed class SteamKit2.CDN.Client
{
public .ctor(SteamKit2.SteamClient steamClient);
public void Dispose();
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);
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);
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);
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);
public bool Equals(object obj);
protected void Finalize();
public static TimeSpan get_RequestTimeout();
Expand All @@ -1706,16 +1680,12 @@ public sealed class SteamKit2.CDN.Client

public sealed class SteamKit2.CDN.DepotChunk
{
public .ctor(SteamKit2.ChunkData info, byte[] data);
public bool Equals(object obj);
protected void Finalize();
public SteamKit2.ChunkData get_ChunkInfo();
public byte[] get_Data();
public bool get_IsProcessed();
public int GetHashCode();
public Type GetType();
protected object MemberwiseClone();
public void Process(byte[] depotKey);
public static int Process(SteamKit2.ChunkData info, ReadOnlySpan`1[[byte]] data, byte[] destination, byte[] depotKey);
public string ToString();
}

Expand All @@ -1730,7 +1700,6 @@ public sealed class SteamKit2.CDN.Server
public int get_Load();
public int get_NumEntries();
public int get_Port();
public bool get_PreferredServer();
public SteamKit2.CDN.ConnectionProtocol get_Protocol();
public string get_ProxyRequestPathTemplate();
public int get_SourceID();
Expand Down

0 comments on commit 9473c00

Please sign in to comment.