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

ESteamNetworkingIdentityType

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

Describing network hosts Different methods of describing the identity of a network host

View source
k_ESteamNetworkingIdentityType_GenericBytes
3
k_ESteamNetworkingIdentityType_GenericString

Generic string/binary blobs. It's up to your app to interpret this. This library can tell you if the remote host presented a certificate signed by somebody you have chosen to trust, with this identity on it. It's up to you to ultimately decide what this identity means.

2
k_ESteamNetworkingIdentityType_IPAddress

Special identifiers. Use their IP address (and port) as their "identity". These types of identities are always unauthenticated. They are useful for porting plain sockets code, and other situations where you don't care about authentication. In this case, the local identity will be "localhost", and the remote address will be their network address. We use the same type for either IPv4 or IPv6, and the address is always store as IPv6. We use IPv4 mapped addresses to handle IPv4.

1
k_ESteamNetworkingIdentityType_Invalid

Dummy/empty/invalid. Please note that if we parse a string that we don't recognize but that appears reasonable, we will NOT use this type. Instead we'll use k_ESteamNetworkingIdentityType_UnknownType.

0
k_ESteamNetworkingIdentityType_SonyPSN

64-bit ID

18
k_ESteamNetworkingIdentityType_SteamID

Basic platform-specific identifiers. 64-bit CSteamID

16
k_ESteamNetworkingIdentityType_UnknownType

This identity type is used when we parse a string that looks like is a valid identity, just of a kind that we don't recognize. In this case, we can often still communicate with the peer! Allowing such identities for types we do not recognize useful is very useful for forward compatibility.

4
k_ESteamNetworkingIdentityType_XboxPairwiseID

Publisher-specific user identity, as string

17
k_ESteamNetworkingIdentityType__Force32bit

Make sure this enum is stored in an int.

2147483647