swiftlys2/docs/api/releases/features/ai/
API Reference › SteamAPI

ESteamNetworkingAvailability

Enum
Namespace: SwiftlyS2.Shared.SteamAPI · Assembly: SwiftlyS2.CS2.dll
public enum ESteamNetworkingAvailability

Describe the status of a particular network resource

View source
k_ESteamNetworkingAvailability_Attempting

We're actively trying now, but are not yet successful.

3
k_ESteamNetworkingAvailability_CannotTry

Negative values indicate a problem. In general, we will not automatically retry unless you take some action that depends on of requests this resource, such as querying the status, attempting to initiate a connection, receive a connection, etc. If you do not take any action at all, we do not automatically retry in the background. A dependent resource is missing, so this service is unavailable. (E.g. we cannot talk to routers because Internet is down or we don't have the network config.)

-102
k_ESteamNetworkingAvailability_Current

Resource is online/available

100
k_ESteamNetworkingAvailability_Failed

We have tried for enough time that we would expect to have been successful by now. We have never been successful

-101
k_ESteamNetworkingAvailability_NeverTried

Not a problem, but not ready either We don't know because we haven't ever checked/tried

1
k_ESteamNetworkingAvailability_Previously

We tried and were successful at one time, but now it looks like we have a problem

-100
k_ESteamNetworkingAvailability_Retrying

We previously failed and are currently retrying

-10
k_ESteamNetworkingAvailability_Unknown

Internal dummy/sentinel, or value is not applicable in this context

0
k_ESteamNetworkingAvailability_Waiting

We're waiting on a dependent resource to be acquired. (E.g. we cannot obtain a cert until we are logged into Steam. We cannot measure latency to relays until we have the network config.)

2
k_ESteamNetworkingAvailability__Force32bit
2147483647