Skip to content

Commit f82e814

Browse files
committed
Update apisurface.txt
1 parent 24cb50a commit f82e814

File tree

1 file changed

+50
-16
lines changed

1 file changed

+50
-16
lines changed

SteamKit2/Tests/Files/apisurface.txt

Lines changed: 50 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ public sealed class SteamKit2.CallbackManager
8787
public bool RunWaitCallbacks(TimeSpan timeout);
8888
public IDisposable Subscribe<SteamKit2.TCallback>(Action`1[[SteamKit2.TCallback]] callbackFunc);
8989
public IDisposable Subscribe<SteamKit2.TCallback>(SteamKit2.JobID jobID, Action`1[[SteamKit2.TCallback]] callbackFunc);
90+
public IDisposable SubscribeServiceNotification<SteamKit2.TService, SteamKit2.TNotification>(Action`1[[SteamKit2.ServiceMethodNotification`1[[SteamKit2.TNotification]]]] callbackFunc);
91+
public IDisposable SubscribeServiceResponse<SteamKit2.TService, SteamKit2.TResponse>(Action`1[[SteamKit2.ServiceMethodResponse`1[[SteamKit2.TResponse]]]] callbackFunc);
9092
public string ToString();
9193
}
9294

@@ -320,9 +322,9 @@ public sealed class SteamKit2.ContentServerDirectoryService
320322
public int GetHashCode();
321323
public Type GetType();
322324
public static System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] LoadAsync(SteamKit2.SteamConfiguration configuration);
323-
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);
324-
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);
325325
public static System.Threading.Tasks.Task`1[[System.Collections.Generic.IReadOnlyCollection`1[[SteamKit2.CDN.Server]]]] LoadAsync(SteamKit2.SteamConfiguration configuration, System.Threading.CancellationToken cancellationToken);
326+
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);
327+
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);
326328
protected object MemberwiseClone();
327329
public string ToString();
328330
}
@@ -391,6 +393,14 @@ public sealed class SteamKit2.DepotManifest
391393
protected object MemberwiseClone();
392394
public void SaveToFile(string filename);
393395
public void Serialize(System.IO.Stream output);
396+
public void set_CreationTime(DateTime value);
397+
public void set_DepotID(uint value);
398+
public void set_EncryptedCRC(uint value);
399+
public void set_FilenamesEncrypted(bool value);
400+
public void set_Files(System.Collections.Generic.List`1[[SteamKit2.FileData]] value);
401+
public void set_ManifestGID(ulong value);
402+
public void set_TotalCompressedSize(ulong value);
403+
public void set_TotalUncompressedSize(ulong value);
394404
public string ToString();
395405
}
396406

@@ -478,12 +488,6 @@ public sealed class SteamKit2.HttpClientFactory
478488
public string ToString();
479489
}
480490

481-
public interface SteamKit2.ICallbackMsg
482-
{
483-
public SteamKit2.JobID get_JobID();
484-
public void set_JobID(SteamKit2.JobID value);
485-
}
486-
487491
public interface SteamKit2.IClientMsg
488492
{
489493
public bool get_IsProto();
@@ -929,7 +933,6 @@ public sealed class SteamKit2.SteamApps
929933
protected SteamKit2.SteamClient get_Client();
930934
protected bool get_ExpectDisconnection();
931935
public SteamKit2.AsyncJob`1[[SteamKit2.AppOwnershipTicketCallback]] GetAppOwnershipTicket(uint appid);
932-
public SteamKit2.AsyncJob`1[[SteamKit2.CDNAuthTokenCallback]] GetCDNAuthToken(uint app, uint depot, string host_name);
933936
public SteamKit2.AsyncJob`1[[SteamKit2.DepotKeyCallback]] GetDepotDecryptionKey(uint depotid, uint appid);
934937
public int GetHashCode();
935938
public SteamKit2.AsyncJob`1[[SteamKit2.LegacyGameKeyCallback]] GetLegacyGameKey(uint appid);
@@ -947,6 +950,22 @@ public sealed class SteamKit2.SteamApps
947950
public string ToString();
948951
}
949952

953+
public sealed class SteamKit2.SteamAuthTicket
954+
{
955+
public .ctor();
956+
public bool Equals(object obj);
957+
protected void Finalize();
958+
protected SteamKit2.SteamClient get_Client();
959+
protected bool get_ExpectDisconnection();
960+
public System.Threading.Tasks.Task`1[[SteamKit2.TicketInfo]] GetAuthSessionTicket(uint appid);
961+
public int GetHashCode();
962+
public Type GetType();
963+
public void HandleMsg(SteamKit2.IPacketMsg packetMsg);
964+
protected object MemberwiseClone();
965+
protected void set_ExpectDisconnection(bool value);
966+
public string ToString();
967+
}
968+
950969
public sealed class SteamKit2.SteamClient
951970
{
952971
public .ctor();
@@ -974,7 +993,7 @@ public sealed class SteamKit2.SteamClient
974993
public ulong get_SessionToken();
975994
public SteamKit2.SteamID get_SteamID();
976995
public SteamKit2.EUniverse get_Universe();
977-
public SteamKit2.ICallbackMsg GetCallback();
996+
public SteamKit2.CallbackMsg GetCallback();
978997
public SteamKit2.T GetHandler<SteamKit2.T>();
979998
public int GetHashCode();
980999
public SteamKit2.JobID GetNextJobID();
@@ -990,9 +1009,9 @@ public sealed class SteamKit2.SteamClient
9901009
public void Send(SteamKit2.IClientMsg msg);
9911010
public void set_DebugNetworkListener(SteamKit2.IDebugNetworkListener value);
9921011
public string ToString();
993-
public SteamKit2.ICallbackMsg WaitForCallback();
994-
public SteamKit2.ICallbackMsg WaitForCallback(TimeSpan timeout);
995-
public System.Threading.Tasks.Task`1[[SteamKit2.ICallbackMsg]] WaitForCallbackAsync(System.Threading.CancellationToken cancellationToken);
1012+
public SteamKit2.CallbackMsg WaitForCallback();
1013+
public SteamKit2.CallbackMsg WaitForCallback(TimeSpan timeout);
1014+
public System.Threading.Tasks.Task`1[[SteamKit2.CallbackMsg]] WaitForCallbackAsync(System.Threading.CancellationToken cancellationToken);
9961015
}
9971016

9981017
public sealed class SteamKit2.SteamCloud
@@ -1055,6 +1074,7 @@ public sealed class SteamKit2.SteamContent
10551074
protected void Finalize();
10561075
protected SteamKit2.SteamClient get_Client();
10571076
protected bool get_ExpectDisconnection();
1077+
public System.Threading.Tasks.Task`1[[SteamKit2.CDNAuthToken]] GetCDNAuthToken(uint app, uint depot, string host_name);
10581078
public int GetHashCode();
10591079
public System.Threading.Tasks.Task`1[[ulong]] GetManifestRequestCode(uint depotId, uint appId, ulong manifestId, string branch, string branchPasswordHash);
10601080
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
13241344
public class SteamKit2.SteamUnifiedMessages
13251345
{
13261346
public .ctor();
1327-
public SteamKit2.UnifiedService`1[[SteamKit2.TService]] CreateService<SteamKit2.TService>();
1347+
public SteamKit2.TService CreateService<SteamKit2.TService>();
13281348
public bool Equals(object obj);
13291349
protected void Finalize();
13301350
protected SteamKit2.SteamClient get_Client();
@@ -1333,7 +1353,8 @@ public class SteamKit2.SteamUnifiedMessages
13331353
public Type GetType();
13341354
public void HandleMsg(SteamKit2.IPacketMsg packetMsg);
13351355
protected object MemberwiseClone();
1336-
public SteamKit2.AsyncJob`1[[SteamKit2.ServiceMethodResponse]] SendMessage<SteamKit2.TRequest>(string name, SteamKit2.TRequest message);
1356+
public void RemoveService<SteamKit2.TService>();
1357+
public SteamKit2.AsyncJob`1[[SteamKit2.ServiceMethodResponse`1[[SteamKit2.TResult]]]] SendMessage<SteamKit2.TRequest, SteamKit2.TResult>(string name, SteamKit2.TRequest message);
13371358
public void SendNotification<SteamKit2.TRequest>(string name, SteamKit2.TRequest message);
13381359
protected void set_ExpectDisconnection(bool value);
13391360
public string ToString();
@@ -1722,6 +1743,7 @@ public class SteamKit2.Discovery.FileStorageServerListProvider
17221743
public bool Equals(object obj);
17231744
public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync();
17241745
protected void Finalize();
1746+
public DateTime get_LastServerListRefresh();
17251747
public int GetHashCode();
17261748
public Type GetType();
17271749
protected object MemberwiseClone();
@@ -1732,6 +1754,7 @@ public class SteamKit2.Discovery.FileStorageServerListProvider
17321754
public interface SteamKit2.Discovery.IServerListProvider
17331755
{
17341756
public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync();
1757+
public DateTime get_LastServerListRefresh();
17351758
public System.Threading.Tasks.Task UpdateServerListAsync(System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]] endpoints);
17361759
}
17371760

@@ -1741,6 +1764,7 @@ public class SteamKit2.Discovery.IsolatedStorageServerListProvider
17411764
public bool Equals(object obj);
17421765
public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync();
17431766
protected void Finalize();
1767+
public DateTime get_LastServerListRefresh();
17441768
public int GetHashCode();
17451769
public Type GetType();
17461770
protected object MemberwiseClone();
@@ -1754,6 +1778,7 @@ public class SteamKit2.Discovery.MemoryServerListProvider
17541778
public bool Equals(object obj);
17551779
public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync();
17561780
protected void Finalize();
1781+
public DateTime get_LastServerListRefresh();
17571782
public int GetHashCode();
17581783
public Type GetType();
17591784
protected object MemberwiseClone();
@@ -1767,6 +1792,7 @@ public class SteamKit2.Discovery.NullServerListProvider
17671792
public bool Equals(object obj);
17681793
public System.Threading.Tasks.Task`1[[System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]]]] FetchServerListAsync();
17691794
protected void Finalize();
1795+
public DateTime get_LastServerListRefresh();
17701796
public int GetHashCode();
17711797
public Type GetType();
17721798
protected object MemberwiseClone();
@@ -1776,6 +1802,7 @@ public class SteamKit2.Discovery.NullServerListProvider
17761802

17771803
public class SteamKit2.Discovery.ServerRecord
17781804
{
1805+
public static SteamKit2.Discovery.ServerRecord CreateDnsSocketServer(string address);
17791806
public static SteamKit2.Discovery.ServerRecord CreateServer(string host, int port, SteamKit2.ProtocolTypes protocolTypes);
17801807
public static SteamKit2.Discovery.ServerRecord CreateSocketServer(System.Net.IPEndPoint endPoint);
17811808
public static SteamKit2.Discovery.ServerRecord CreateWebSocketServer(string address);
@@ -1799,17 +1826,24 @@ public class SteamKit2.Discovery.SmartCMServerList
17991826
public .ctor(SteamKit2.SteamConfiguration configuration);
18001827
public bool Equals(object obj);
18011828
protected void Finalize();
1829+
public System.Threading.Tasks.Task ForceRefreshServerList();
18021830
public TimeSpan get_BadConnectionMemoryTimeSpan();
1831+
public static string get_DefaultServerNetfilter();
1832+
public static string get_DefaultServerWebsocket();
1833+
public TimeSpan get_ServerListBeforeRefreshTimeSpan();
18031834
public SteamKit2.Discovery.ServerRecord[] GetAllEndPoints();
18041835
public int GetHashCode();
18051836
public SteamKit2.Discovery.ServerRecord GetNextServerCandidate(SteamKit2.ProtocolTypes supportedProtocolTypes);
18061837
public System.Threading.Tasks.Task`1[[SteamKit2.Discovery.ServerRecord]] GetNextServerCandidateAsync(SteamKit2.ProtocolTypes supportedProtocolTypes);
18071838
public Type GetType();
18081839
protected object MemberwiseClone();
1809-
public void ReplaceList(System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]] endpointList);
1840+
public void ReplaceList(System.Collections.Generic.IEnumerable`1[[SteamKit2.Discovery.ServerRecord]] endpointList, bool writeProvider, Nullable`1[[DateTime]] serversTime);
18101841
public void ResetBadServers();
18111842
public void ResetOldScores();
18121843
public void set_BadConnectionMemoryTimeSpan(TimeSpan value);
1844+
public static void set_DefaultServerNetfilter(string value);
1845+
public static void set_DefaultServerWebsocket(string value);
1846+
public void set_ServerListBeforeRefreshTimeSpan(TimeSpan value);
18131847
public string ToString();
18141848
}
18151849

0 commit comments

Comments
 (0)