diff --git a/SteamKit2/Tests/Files/apisurface.txt b/SteamKit2/Tests/Files/apisurface.txt index 2963955ef..0d13eec74 100644 --- a/SteamKit2/Tests/Files/apisurface.txt +++ b/SteamKit2/Tests/Files/apisurface.txt @@ -87,6 +87,8 @@ public sealed class SteamKit2.CallbackManager public bool RunWaitCallbacks(TimeSpan timeout); public IDisposable Subscribe(Action`1[[SteamKit2.TCallback]] callbackFunc); public IDisposable Subscribe(SteamKit2.JobID jobID, Action`1[[SteamKit2.TCallback]] callbackFunc); + public IDisposable SubscribeServiceNotification(Action`1[[SteamKit2.ServiceMethodNotification`1[[SteamKit2.TNotification]]]] callbackFunc); + public IDisposable SubscribeServiceResponse(Action`1[[SteamKit2.ServiceMethodResponse`1[[SteamKit2.TResponse]]]] callbackFunc); public string ToString(); } @@ -320,9 +322,9 @@ public sealed class SteamKit2.ContentServerDirectoryService public int GetHashCode(); public Type GetType(); public static System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] LoadAsync(SteamKit2.SteamConfiguration configuration); - public static System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] LoadAsync(SteamKit2.SteamConfiguration configuration, int cellId, int maxNumServers, System.Threading.CancellationToken cancellationToken); - public static System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] LoadAsync(SteamKit2.SteamConfiguration configuration, int cellId, System.Threading.CancellationToken cancellationToken); public static System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] LoadAsync(SteamKit2.SteamConfiguration configuration, System.Threading.CancellationToken cancellationToken); + public static System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] LoadAsync(SteamKit2.SteamConfiguration configuration, uint cellId, System.Threading.CancellationToken cancellationToken); + public static System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] LoadAsync(SteamKit2.SteamConfiguration configuration, uint cellId, uint maxNumServers, System.Threading.CancellationToken cancellationToken); protected object MemberwiseClone(); public string ToString(); } @@ -391,6 +393,14 @@ public sealed class SteamKit2.DepotManifest protected object MemberwiseClone(); public void SaveToFile(string filename); public void Serialize(System.IO.Stream output); + public void set_CreationTime(DateTime value); + public void set_DepotID(uint value); + public void set_EncryptedCRC(uint value); + public void set_FilenamesEncrypted(bool value); + public void set_Files(System.Collections.Generic.List`1[[SteamKit2.FileData]] value); + public void set_ManifestGID(ulong value); + public void set_TotalCompressedSize(ulong value); + public void set_TotalUncompressedSize(ulong value); public string ToString(); } @@ -478,12 +488,6 @@ public sealed class SteamKit2.HttpClientFactory public string ToString(); } -public interface SteamKit2.ICallbackMsg -{ - public SteamKit2.JobID get_JobID(); - public void set_JobID(SteamKit2.JobID value); -} - public interface SteamKit2.IClientMsg { public bool get_IsProto(); @@ -929,7 +933,6 @@ public sealed class SteamKit2.SteamApps protected SteamKit2.SteamClient get_Client(); protected bool get_ExpectDisconnection(); public SteamKit2.AsyncJob`1[[SteamKit2.AppOwnershipTicketCallback]] GetAppOwnershipTicket(uint appid); - public SteamKit2.AsyncJob`1[[SteamKit2.CDNAuthTokenCallback]] GetCDNAuthToken(uint app, uint depot, string host_name); public SteamKit2.AsyncJob`1[[SteamKit2.DepotKeyCallback]] GetDepotDecryptionKey(uint depotid, uint appid); public int GetHashCode(); public SteamKit2.AsyncJob`1[[SteamKit2.LegacyGameKeyCallback]] GetLegacyGameKey(uint appid); @@ -947,6 +950,22 @@ public sealed class SteamKit2.SteamApps public string ToString(); } +public sealed class SteamKit2.SteamAuthTicket +{ + public .ctor(); + public bool Equals(object obj); + protected void Finalize(); + protected SteamKit2.SteamClient get_Client(); + protected bool get_ExpectDisconnection(); + public System.Threading.Tasks.Task`1[[SteamKit2.TicketInfo]] GetAuthSessionTicket(uint appid); + public int GetHashCode(); + public Type GetType(); + public void HandleMsg(SteamKit2.IPacketMsg packetMsg); + protected object MemberwiseClone(); + protected void set_ExpectDisconnection(bool value); + public string ToString(); +} + public sealed class SteamKit2.SteamClient { public .ctor(); @@ -974,7 +993,7 @@ public sealed class SteamKit2.SteamClient public ulong get_SessionToken(); public SteamKit2.SteamID get_SteamID(); public SteamKit2.EUniverse get_Universe(); - public SteamKit2.ICallbackMsg GetCallback(); + public SteamKit2.CallbackMsg GetCallback(); public SteamKit2.T GetHandler(); public int GetHashCode(); public SteamKit2.JobID GetNextJobID(); @@ -990,9 +1009,9 @@ public sealed class SteamKit2.SteamClient public void Send(SteamKit2.IClientMsg msg); public void set_DebugNetworkListener(SteamKit2.IDebugNetworkListener value); public string ToString(); - public SteamKit2.ICallbackMsg WaitForCallback(); - public SteamKit2.ICallbackMsg WaitForCallback(TimeSpan timeout); - public System.Threading.Tasks.Task`1[[SteamKit2.ICallbackMsg]] WaitForCallbackAsync(System.Threading.CancellationToken cancellationToken); + public SteamKit2.CallbackMsg WaitForCallback(); + public SteamKit2.CallbackMsg WaitForCallback(TimeSpan timeout); + public System.Threading.Tasks.Task`1[[SteamKit2.CallbackMsg]] WaitForCallbackAsync(System.Threading.CancellationToken cancellationToken); } public sealed class SteamKit2.SteamCloud @@ -1055,6 +1074,7 @@ public sealed class SteamKit2.SteamContent protected void Finalize(); protected SteamKit2.SteamClient get_Client(); protected bool get_ExpectDisconnection(); + public System.Threading.Tasks.Task`1[[SteamKit2.CDNAuthToken]] GetCDNAuthToken(uint app, uint depot, string host_name); public int GetHashCode(); public System.Threading.Tasks.Task`1[[ulong]] GetManifestRequestCode(uint depotId, uint appId, ulong manifestId, string branch, string branchPasswordHash); public System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] GetServersForSteamPipe(Nullable`1[[uint]] cellId, Nullable`1[[uint]] maxNumServers); @@ -1324,7 +1344,7 @@ public sealed class SteamKit2.SteamScreenshots public class SteamKit2.SteamUnifiedMessages { public .ctor(); - public SteamKit2.UnifiedService`1[[SteamKit2.TService]] CreateService(); + public SteamKit2.TService CreateService(); public bool Equals(object obj); protected void Finalize(); protected SteamKit2.SteamClient get_Client(); @@ -1333,7 +1353,8 @@ public class SteamKit2.SteamUnifiedMessages public Type GetType(); public void HandleMsg(SteamKit2.IPacketMsg packetMsg); protected object MemberwiseClone(); - public SteamKit2.AsyncJob`1[[SteamKit2.ServiceMethodResponse]] SendMessage(string name, SteamKit2.TRequest message); + public void RemoveService(); + public SteamKit2.AsyncJob`1[[SteamKit2.ServiceMethodResponse`1[[SteamKit2.TResult]]]] SendMessage(string name, SteamKit2.TRequest message); public void SendNotification(string name, SteamKit2.TRequest message); protected void set_ExpectDisconnection(bool value); public string ToString(); @@ -1722,6 +1743,7 @@ public class SteamKit2.Discovery.FileStorageServerListProvider public bool Equals(object obj); public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync(); protected void Finalize(); + public DateTime get_LastServerListRefresh(); public int GetHashCode(); public Type GetType(); protected object MemberwiseClone(); @@ -1732,6 +1754,7 @@ public class SteamKit2.Discovery.FileStorageServerListProvider public interface SteamKit2.Discovery.IServerListProvider { public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync(); + public DateTime get_LastServerListRefresh(); public System.Threading.Tasks.Task UpdateServerListAsync(System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]] endpoints); } @@ -1741,6 +1764,7 @@ public class SteamKit2.Discovery.IsolatedStorageServerListProvider public bool Equals(object obj); public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync(); protected void Finalize(); + public DateTime get_LastServerListRefresh(); public int GetHashCode(); public Type GetType(); protected object MemberwiseClone(); @@ -1754,6 +1778,7 @@ public class SteamKit2.Discovery.MemoryServerListProvider public bool Equals(object obj); public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync(); protected void Finalize(); + public DateTime get_LastServerListRefresh(); public int GetHashCode(); public Type GetType(); protected object MemberwiseClone(); @@ -1767,6 +1792,7 @@ public class SteamKit2.Discovery.NullServerListProvider public bool Equals(object obj); public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync(); protected void Finalize(); + public DateTime get_LastServerListRefresh(); public int GetHashCode(); public Type GetType(); protected object MemberwiseClone(); @@ -1776,6 +1802,7 @@ public class SteamKit2.Discovery.NullServerListProvider public class SteamKit2.Discovery.ServerRecord { + public static SteamKit2.Discovery.ServerRecord CreateDnsSocketServer(string address); public static SteamKit2.Discovery.ServerRecord CreateServer(string host, int port, SteamKit2.ProtocolTypes protocolTypes); public static SteamKit2.Discovery.ServerRecord CreateSocketServer(System.Net.IPEndPoint endPoint); public static SteamKit2.Discovery.ServerRecord CreateWebSocketServer(string address); @@ -1799,17 +1826,24 @@ public class SteamKit2.Discovery.SmartCMServerList public .ctor(SteamKit2.SteamConfiguration configuration); public bool Equals(object obj); protected void Finalize(); + public System.Threading.Tasks.Task ForceRefreshServerList(); public TimeSpan get_BadConnectionMemoryTimeSpan(); + public static string get_DefaultServerNetfilter(); + public static string get_DefaultServerWebsocket(); + public TimeSpan get_ServerListBeforeRefreshTimeSpan(); public SteamKit2.Discovery.ServerRecord[] GetAllEndPoints(); public int GetHashCode(); public SteamKit2.Discovery.ServerRecord GetNextServerCandidate(SteamKit2.ProtocolTypes supportedProtocolTypes); public System.Threading.Tasks.Task`1[[SteamKit2.Discovery.ServerRecord]] GetNextServerCandidateAsync(SteamKit2.ProtocolTypes supportedProtocolTypes); public Type GetType(); protected object MemberwiseClone(); - public void ReplaceList(System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]] endpointList); + public void ReplaceList(System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]] endpointList, bool writeProvider, Nullable`1[[DateTime]] serversTime); public void ResetBadServers(); public void ResetOldScores(); public void set_BadConnectionMemoryTimeSpan(TimeSpan value); + public static void set_DefaultServerNetfilter(string value); + public static void set_DefaultServerWebsocket(string value); + public void set_ServerListBeforeRefreshTimeSpan(TimeSpan value); public string ToString(); }