docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Constants

    The Steamworks SDK's constants and interface-version strings.

    Inheritance
    object
    Constants
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Steamworks.Interop
    Assembly: Unity.Steamworks.Interop.dll
    Syntax
    public static class Constants

    Fields

    INVALID_HTTPREQUEST_HANDLE

    The Steamworks INVALID_HTTPREQUEST_HANDLE constant.

    Declaration
    public const int INVALID_HTTPREQUEST_HANDLE = 0
    Field Value
    Type Description
    int

    STEAMAPPS_INTERFACE_VERSION

    The Steamworks STEAMAPPS_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMAPPS_INTERFACE_VERSION = "STEAMAPPS_INTERFACE_VERSION009"
    Field Value
    Type Description
    string

    STEAMAPPTICKET_INTERFACE_VERSION

    The Steamworks STEAMAPPTICKET_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMAPPTICKET_INTERFACE_VERSION = "STEAMAPPTICKET_INTERFACE_VERSION001"
    Field Value
    Type Description
    string

    STEAMCLIENT_INTERFACE_VERSION

    The Steamworks STEAMCLIENT_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMCLIENT_INTERFACE_VERSION = "SteamClient023"
    Field Value
    Type Description
    string

    STEAMFRIENDS_INTERFACE_VERSION

    The Steamworks STEAMFRIENDS_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMFRIENDS_INTERFACE_VERSION = "SteamFriends018"
    Field Value
    Type Description
    string

    STEAMGAMECOORDINATOR_INTERFACE_VERSION

    The Steamworks STEAMGAMECOORDINATOR_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMGAMECOORDINATOR_INTERFACE_VERSION = "SteamGameCoordinator001"
    Field Value
    Type Description
    string

    STEAMGAMESERVERSTATS_INTERFACE_VERSION

    The Steamworks STEAMGAMESERVERSTATS_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMGAMESERVERSTATS_INTERFACE_VERSION = "SteamGameServerStats001"
    Field Value
    Type Description
    string

    STEAMGAMESERVER_INTERFACE_VERSION

    The Steamworks STEAMGAMESERVER_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMGAMESERVER_INTERFACE_VERSION = "SteamGameServer015"
    Field Value
    Type Description
    string

    STEAMGAMESERVER_QUERY_PORT_SHARED

    Pass to SteamGameServer_Init to indicate that the same UDP port will be used for game traffic UDP queries for server browser pings and LAN discovery. In this case, Steam will not open up a socket to handle server browser queries, and you must use ISteamGameServer::HandleIncomingPacket and ISteamGameServer::GetNextOutgoingPacket to handle packets related to server discovery on your socket.

    Declaration
    public const ushort STEAMGAMESERVER_QUERY_PORT_SHARED = 65535
    Field Value
    Type Description
    ushort

    STEAMHTMLSURFACE_INTERFACE_VERSION

    The Steamworks STEAMHTMLSURFACE_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMHTMLSURFACE_INTERFACE_VERSION = "STEAMHTMLSURFACE_INTERFACE_VERSION_005"
    Field Value
    Type Description
    string

    STEAMHTTP_INTERFACE_VERSION

    The Steamworks STEAMHTTP_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMHTTP_INTERFACE_VERSION = "STEAMHTTP_INTERFACE_VERSION003"
    Field Value
    Type Description
    string

    STEAMINPUT_INTERFACE_VERSION

    The Steamworks STEAMINPUT_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMINPUT_INTERFACE_VERSION = "SteamInput007"
    Field Value
    Type Description
    string

    STEAMINVENTORY_INTERFACE_VERSION

    The Steamworks STEAMINVENTORY_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMINVENTORY_INTERFACE_VERSION = "STEAMINVENTORY_INTERFACE_V003"
    Field Value
    Type Description
    string

    STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION

    The Steamworks STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMMATCHMAKINGSERVERS_INTERFACE_VERSION = "SteamMatchMakingServers003"
    Field Value
    Type Description
    string

    STEAMMATCHMAKING_INTERFACE_VERSION

    The Steamworks STEAMMATCHMAKING_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMMATCHMAKING_INTERFACE_VERSION = "SteamMatchMaking009"
    Field Value
    Type Description
    string

    STEAMMUSIC_INTERFACE_VERSION

    The Steamworks STEAMMUSIC_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMMUSIC_INTERFACE_VERSION = "STEAMMUSIC_INTERFACE_VERSION001"
    Field Value
    Type Description
    string

    STEAMNETWORKINGMESSAGES_INTERFACE_VERSION

    The Steamworks STEAMNETWORKINGMESSAGES_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMNETWORKINGMESSAGES_INTERFACE_VERSION = "SteamNetworkingMessages002"
    Field Value
    Type Description
    string

    STEAMNETWORKINGSOCKETS_INTERFACE_VERSION

    Silence some warnings

    Declaration
    public const string STEAMNETWORKINGSOCKETS_INTERFACE_VERSION = "SteamNetworkingSockets013"
    Field Value
    Type Description
    string

    STEAMNETWORKINGUTILS_INTERFACE_VERSION

    Silence some warnings

    Declaration
    public const string STEAMNETWORKINGUTILS_INTERFACE_VERSION = "SteamNetworkingUtils004"
    Field Value
    Type Description
    string

    STEAMNETWORKING_INTERFACE_VERSION

    The Steamworks STEAMNETWORKING_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMNETWORKING_INTERFACE_VERSION = "SteamNetworking006"
    Field Value
    Type Description
    string

    STEAMPARENTALSETTINGS_INTERFACE_VERSION

    The Steamworks STEAMPARENTALSETTINGS_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMPARENTALSETTINGS_INTERFACE_VERSION = "STEAMPARENTALSETTINGS_INTERFACE_VERSION001"
    Field Value
    Type Description
    string

    STEAMPARTIES_INTERFACE_VERSION

    The Steamworks STEAMPARTIES_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMPARTIES_INTERFACE_VERSION = "SteamParties002"
    Field Value
    Type Description
    string

    STEAMREMOTEPLAY_INTERFACE_VERSION

    The Steamworks STEAMREMOTEPLAY_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMREMOTEPLAY_INTERFACE_VERSION = "STEAMREMOTEPLAY_INTERFACE_VERSION004"
    Field Value
    Type Description
    string

    STEAMREMOTESTORAGE_INTERFACE_VERSION

    The Steamworks STEAMREMOTESTORAGE_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMREMOTESTORAGE_INTERFACE_VERSION = "STEAMREMOTESTORAGE_INTERFACE_VERSION016"
    Field Value
    Type Description
    string

    STEAMSCREENSHOTS_INTERFACE_VERSION

    The Steamworks STEAMSCREENSHOTS_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMSCREENSHOTS_INTERFACE_VERSION = "STEAMSCREENSHOTS_INTERFACE_VERSION003"
    Field Value
    Type Description
    string

    STEAMTIMELINE_INTERFACE_VERSION

    The Steamworks STEAMTIMELINE_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMTIMELINE_INTERFACE_VERSION = "STEAMTIMELINE_INTERFACE_V004"
    Field Value
    Type Description
    string

    STEAMUGC_INTERFACE_VERSION

    The Steamworks STEAMUGC_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMUGC_INTERFACE_VERSION = "STEAMUGC_INTERFACE_VERSION021"
    Field Value
    Type Description
    string

    STEAMUSERSTATS_INTERFACE_VERSION

    The Steamworks STEAMUSERSTATS_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMUSERSTATS_INTERFACE_VERSION = "STEAMUSERSTATS_INTERFACE_VERSION013"
    Field Value
    Type Description
    string

    STEAMUSER_INTERFACE_VERSION

    The Steamworks STEAMUSER_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMUSER_INTERFACE_VERSION = "SteamUser023"
    Field Value
    Type Description
    string

    STEAMUTILS_INTERFACE_VERSION

    The Steamworks STEAMUTILS_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMUTILS_INTERFACE_VERSION = "SteamUtils011"
    Field Value
    Type Description
    string

    STEAMVIDEO_INTERFACE_VERSION

    The Steamworks STEAMVIDEO_INTERFACE_VERSION constant.

    Declaration
    public const string STEAMVIDEO_INTERFACE_VERSION = "STEAMVIDEO_INTERFACE_V007"
    Field Value
    Type Description
    string

    STEAM_INPUT_HANDLE_ALL_CONTROLLERS

    When sending an option to a specific controller handle, you can send to all devices via this command

    Declaration
    public const ulong STEAM_INPUT_HANDLE_ALL_CONTROLLERS = 18446744073709551615
    Field Value
    Type Description
    ulong

    STEAM_INPUT_MAX_ACTIVE_LAYERS

    The Steamworks STEAM_INPUT_MAX_ACTIVE_LAYERS constant.

    Declaration
    public const int STEAM_INPUT_MAX_ACTIVE_LAYERS = 16
    Field Value
    Type Description
    int

    STEAM_INPUT_MAX_ANALOG_ACTIONS

    The Steamworks STEAM_INPUT_MAX_ANALOG_ACTIONS constant.

    Declaration
    public const int STEAM_INPUT_MAX_ANALOG_ACTIONS = 24
    Field Value
    Type Description
    int

    STEAM_INPUT_MAX_ANALOG_ACTION_DATA

    The Steamworks STEAM_INPUT_MAX_ANALOG_ACTION_DATA constant.

    Declaration
    public const float STEAM_INPUT_MAX_ANALOG_ACTION_DATA = 1
    Field Value
    Type Description
    float

    STEAM_INPUT_MAX_COUNT

    The Steamworks STEAM_INPUT_MAX_COUNT constant.

    Declaration
    public const int STEAM_INPUT_MAX_COUNT = 16
    Field Value
    Type Description
    int

    STEAM_INPUT_MAX_DIGITAL_ACTIONS

    The Steamworks STEAM_INPUT_MAX_DIGITAL_ACTIONS constant.

    Declaration
    public const int STEAM_INPUT_MAX_DIGITAL_ACTIONS = 256
    Field Value
    Type Description
    int

    STEAM_INPUT_MAX_ORIGINS

    The Steamworks STEAM_INPUT_MAX_ORIGINS constant.

    Declaration
    public const int STEAM_INPUT_MAX_ORIGINS = 8
    Field Value
    Type Description
    int

    STEAM_INPUT_MIN_ANALOG_ACTION_DATA

    The Steamworks STEAM_INPUT_MIN_ANALOG_ACTION_DATA constant.

    Declaration
    public const float STEAM_INPUT_MIN_ANALOG_ACTION_DATA = -1
    Field Value
    Type Description
    float

    kNumUGCResultsPerPage

    The Steamworks kNumUGCResultsPerPage constant.

    Declaration
    public const int kNumUGCResultsPerPage = 50
    Field Value
    Type Description
    int

    k_ISteamParentalSettingsCallbacks

    The Steamworks k_ISteamParentalSettingsCallbacks constant.

    Declaration
    public const int k_ISteamParentalSettingsCallbacks = 5000
    Field Value
    Type Description
    int

    k_ScreenshotThumbWidth

    Required with of a thumbnail provided to AddScreenshotToLibrary. If you do not provide a thumbnail one will be generated.

    Declaration
    public const int k_ScreenshotThumbWidth = 200
    Field Value
    Type Description
    int

    k_cEnumerateFollowersMax

    The Steamworks k_cEnumerateFollowersMax constant.

    Declaration
    public const int k_cEnumerateFollowersMax = 50
    Field Value
    Type Description
    int

    k_cFriendsGroupLimit

    maximum number of groups a single user is allowed

    Declaration
    public const int k_cFriendsGroupLimit = 100
    Field Value
    Type Description
    int

    k_cLeaderboardDetailsMax

    maximum number of details int32's storable for a single leaderboard entry

    Declaration
    public const int k_cLeaderboardDetailsMax = 64
    Field Value
    Type Description
    int

    k_cbMaxGameServerGameData

    The Steamworks k_cbMaxGameServerGameData constant.

    Declaration
    public const int k_cbMaxGameServerGameData = 2048
    Field Value
    Type Description
    int

    k_cbMaxGameServerGameDescription

    The Steamworks k_cbMaxGameServerGameDescription constant.

    Declaration
    public const int k_cbMaxGameServerGameDescription = 64
    Field Value
    Type Description
    int

    k_cbMaxGameServerGameDir

    Max size (in bytes of UTF-8 data, not in characters) of server fields, including null terminator. WARNING: These cannot be changed easily, without breaking clients using old interfaces.

    Declaration
    public const int k_cbMaxGameServerGameDir = 32
    Field Value
    Type Description
    int

    k_cbMaxGameServerMapName

    The Steamworks k_cbMaxGameServerMapName constant.

    Declaration
    public const int k_cbMaxGameServerMapName = 32
    Field Value
    Type Description
    int

    k_cbMaxGameServerName

    The Steamworks k_cbMaxGameServerName constant.

    Declaration
    public const int k_cbMaxGameServerName = 64
    Field Value
    Type Description
    int

    k_cbMaxGameServerTags

    The Steamworks k_cbMaxGameServerTags constant.

    Declaration
    public const int k_cbMaxGameServerTags = 128
    Field Value
    Type Description
    int

    k_cbMaxSteamDatagramGameCoordinatorServerLoginAppData

    The Steamworks k_cbMaxSteamDatagramGameCoordinatorServerLoginAppData constant.

    Declaration
    public const int k_cbMaxSteamDatagramGameCoordinatorServerLoginAppData = 2048
    Field Value
    Type Description
    int

    k_cbMaxSteamDatagramGameCoordinatorServerLoginSerialized

    The Steamworks k_cbMaxSteamDatagramGameCoordinatorServerLoginSerialized constant.

    Declaration
    public const int k_cbMaxSteamDatagramGameCoordinatorServerLoginSerialized = 4096
    Field Value
    Type Description
    int

    k_cbMaxSteamNetworkingSocketsMessageSizeSend

    Network messages Max size of a single message that we can SEND. Note: We might be wiling to receive larger messages, and our peer might, too.

    Declaration
    public const int k_cbMaxSteamNetworkingSocketsMessageSizeSend = 524288
    Field Value
    Type Description
    int

    k_cbSteamDatagramMaxSerializedTicket

    The Steamworks k_cbSteamDatagramMaxSerializedTicket constant.

    Declaration
    public const int k_cbSteamDatagramMaxSerializedTicket = 512
    Field Value
    Type Description
    int

    k_cbSteamNetworkingSocketsFakeUDPPortMaxMessageSize

    The Steamworks k_cbSteamNetworkingSocketsFakeUDPPortMaxMessageSize constant.

    Declaration
    public const int k_cbSteamNetworkingSocketsFakeUDPPortMaxMessageSize = 4096
    Field Value
    Type Description
    int

    k_cbSteamNetworkingSocketsFakeUDPPortRecommendedMTU

    The Steamworks k_cbSteamNetworkingSocketsFakeUDPPortRecommendedMTU constant.

    Declaration
    public const int k_cbSteamNetworkingSocketsFakeUDPPortRecommendedMTU = 1200
    Field Value
    Type Description
    int

    k_cchDeveloperMetadataMax

    The Steamworks k_cchDeveloperMetadataMax constant.

    Declaration
    public const int k_cchDeveloperMetadataMax = 10000
    Field Value
    Type Description
    int

    k_cchFilenameMax

    The Steamworks k_cchFilenameMax constant.

    Declaration
    public const int k_cchFilenameMax = 260
    Field Value
    Type Description
    int

    k_cchGameExtraInfoMax

    The Steamworks k_cchGameExtraInfoMax constant.

    Declaration
    public const int k_cchGameExtraInfoMax = 64
    Field Value
    Type Description
    int

    k_cchLeaderboardNameMax

    maximum number of bytes for a leaderboard name (UTF-8 encoded)

    Declaration
    public const int k_cchLeaderboardNameMax = 128
    Field Value
    Type Description
    int

    k_cchMaxFriendsGroupName

    maximum length of friend group name (not including terminating nul!)

    Declaration
    public const int k_cchMaxFriendsGroupName = 64
    Field Value
    Type Description
    int

    k_cchMaxPhaseIDLength

    The Steamworks k_cchMaxPhaseIDLength constant.

    Declaration
    public const int k_cchMaxPhaseIDLength = 64
    Field Value
    Type Description
    int

    k_cchMaxRichPresenceKeyLength

    The Steamworks k_cchMaxRichPresenceKeyLength constant.

    Declaration
    public const int k_cchMaxRichPresenceKeyLength = 64
    Field Value
    Type Description
    int

    k_cchMaxRichPresenceKeys

    size limits on Rich Presence data

    Declaration
    public const int k_cchMaxRichPresenceKeys = 30
    Field Value
    Type Description
    int

    k_cchMaxRichPresenceValueLength

    The Steamworks k_cchMaxRichPresenceValueLength constant.

    Declaration
    public const int k_cchMaxRichPresenceValueLength = 256
    Field Value
    Type Description
    int

    k_cchMaxSteamErrMsg

    A fixed size buffer to receive an error message that is returned by some API calls.

    Declaration
    public const int k_cchMaxSteamErrMsg = 1024
    Field Value
    Type Description
    int

    k_cchMaxSteamNetworkingErrMsg

    Max length of diagnostic error message

    Declaration
    public const int k_cchMaxSteamNetworkingErrMsg = 1024
    Field Value
    Type Description
    int

    k_cchMaxSteamNetworkingPingLocationString

    Max possible length of a ping location, in string format. This is an extremely conservative worst case value which leaves room for future syntax enhancements. Most strings in practice are a lot shorter. If you are storing many of these, you will very likely benefit from using dynamic memory.

    Declaration
    public const int k_cchMaxSteamNetworkingPingLocationString = 1024
    Field Value
    Type Description
    int

    k_cchPersonaNameMax

    maximum number of characters in a user's name. Two flavors; one for UTF-8 and one for UTF-16. The UTF-8 version has to be very generous to accomodate characters that get large when encoded in UTF-8.

    Declaration
    public const int k_cchPersonaNameMax = 128
    Field Value
    Type Description
    int

    k_cchPublishedDocumentChangeDescriptionMax

    The Steamworks k_cchPublishedDocumentChangeDescriptionMax constant.

    Declaration
    public const int k_cchPublishedDocumentChangeDescriptionMax = 8000
    Field Value
    Type Description
    int

    k_cchPublishedDocumentDescriptionMax

    The Steamworks k_cchPublishedDocumentDescriptionMax constant.

    Declaration
    public const int k_cchPublishedDocumentDescriptionMax = 8000
    Field Value
    Type Description
    int

    k_cchPublishedDocumentTitleMax

    The Steamworks k_cchPublishedDocumentTitleMax constant.

    Declaration
    public const int k_cchPublishedDocumentTitleMax = 129
    Field Value
    Type Description
    int

    k_cchPublishedFileURLMax

    The Steamworks k_cchPublishedFileURLMax constant.

    Declaration
    public const int k_cchPublishedFileURLMax = 256
    Field Value
    Type Description
    int

    k_cchStatNameMax

    size limit on stat or achievement name (UTF-8 encoded)

    Declaration
    public const int k_cchStatNameMax = 128
    Field Value
    Type Description
    int

    k_cchSteamNetworkingMaxConnectionAppName

    Max length of the app's part of the description

    Declaration
    public const int k_cchSteamNetworkingMaxConnectionAppName = 32
    Field Value
    Type Description
    int

    k_cchSteamNetworkingMaxConnectionCloseReason

    Max length, in bytes (including null terminator) of the reason string when a connection is closed.

    Declaration
    public const int k_cchSteamNetworkingMaxConnectionCloseReason = 128
    Field Value
    Type Description
    int

    k_cchSteamNetworkingMaxConnectionDescription

    Max length, in bytes (include null terminator) of debug description of a connection.

    Declaration
    public const int k_cchSteamNetworkingMaxConnectionDescription = 128
    Field Value
    Type Description
    int

    k_cchTagListMax

    The Steamworks k_cchTagListMax constant.

    Declaration
    public const int k_cchTagListMax = 1025
    Field Value
    Type Description
    int

    k_cubAppProofOfPurchaseKeyMax

    max supported length of a legacy cd key

    Declaration
    public const int k_cubAppProofOfPurchaseKeyMax = 240
    Field Value
    Type Description
    int

    k_cubChatMetadataMax

    size limit on chat room or member metadata

    Declaration
    public const int k_cubChatMetadataMax = 8192
    Field Value
    Type Description
    int

    k_cubUFSTagTypeMax

    The Steamworks k_cubUFSTagTypeMax constant.

    Declaration
    public const int k_cubUFSTagTypeMax = 255
    Field Value
    Type Description
    int

    k_cubUFSTagValueMax

    The Steamworks k_cubUFSTagValueMax constant.

    Declaration
    public const int k_cubUFSTagValueMax = 255
    Field Value
    Type Description
    int

    k_cwchPersonaNameMax

    The Steamworks k_cwchPersonaNameMax constant.

    Declaration
    public const int k_cwchPersonaNameMax = 32
    Field Value
    Type Description
    int

    k_flMaxTimelineEventDuration

    The Steamworks k_flMaxTimelineEventDuration constant.

    Declaration
    public const float k_flMaxTimelineEventDuration = 600
    Field Value
    Type Description
    float

    k_iSteam2AsyncCallbacks

    The Steamworks k_iSteam2AsyncCallbacks constant.

    Declaration
    public const int k_iSteam2AsyncCallbacks = 1900
    Field Value
    Type Description
    int

    k_iSteamAppsCallbacks

    The Steamworks k_iSteamAppsCallbacks constant.

    Declaration
    public const int k_iSteamAppsCallbacks = 1000
    Field Value
    Type Description
    int

    k_iSteamBillingCallbacks

    The Steamworks k_iSteamBillingCallbacks constant.

    Declaration
    public const int k_iSteamBillingCallbacks = 400
    Field Value
    Type Description
    int

    k_iSteamChatCallbacks

    The Steamworks k_iSteamChatCallbacks constant.

    Declaration
    public const int k_iSteamChatCallbacks = 5900
    Field Value
    Type Description
    int

    k_iSteamContentServerCallbacks

    The Steamworks k_iSteamContentServerCallbacks constant.

    Declaration
    public const int k_iSteamContentServerCallbacks = 600
    Field Value
    Type Description
    int

    k_iSteamControllerCallbacks

    The Steamworks k_iSteamControllerCallbacks constant.

    Declaration
    public const int k_iSteamControllerCallbacks = 2800
    Field Value
    Type Description
    int

    k_iSteamFriendsCallbacks

    The Steamworks k_iSteamFriendsCallbacks constant.

    Declaration
    public const int k_iSteamFriendsCallbacks = 300
    Field Value
    Type Description
    int

    k_iSteamGameCoordinatorCallbacks

    The Steamworks k_iSteamGameCoordinatorCallbacks constant.

    Declaration
    public const int k_iSteamGameCoordinatorCallbacks = 1700
    Field Value
    Type Description
    int

    k_iSteamGameNotificationCallbacks

    The Steamworks k_iSteamGameNotificationCallbacks constant.

    Declaration
    public const int k_iSteamGameNotificationCallbacks = 4400
    Field Value
    Type Description
    int

    k_iSteamGameSearchCallbacks

    The Steamworks k_iSteamGameSearchCallbacks constant.

    Declaration
    public const int k_iSteamGameSearchCallbacks = 5200
    Field Value
    Type Description
    int

    k_iSteamGameServerCallbacks

    The Steamworks k_iSteamGameServerCallbacks constant.

    Declaration
    public const int k_iSteamGameServerCallbacks = 200
    Field Value
    Type Description
    int

    k_iSteamGameServerItemsCallbacks

    The Steamworks k_iSteamGameServerItemsCallbacks constant.

    Declaration
    public const int k_iSteamGameServerItemsCallbacks = 1500
    Field Value
    Type Description
    int

    k_iSteamGameServerStatsCallbacks

    The Steamworks k_iSteamGameServerStatsCallbacks constant.

    Declaration
    public const int k_iSteamGameServerStatsCallbacks = 1800
    Field Value
    Type Description
    int

    k_iSteamGameStatsCallbacks

    The Steamworks k_iSteamGameStatsCallbacks constant.

    Declaration
    public const int k_iSteamGameStatsCallbacks = 2000
    Field Value
    Type Description
    int

    k_iSteamHTMLSurfaceCallbacks

    The Steamworks k_iSteamHTMLSurfaceCallbacks constant.

    Declaration
    public const int k_iSteamHTMLSurfaceCallbacks = 4500
    Field Value
    Type Description
    int

    k_iSteamHTTPCallbacks

    The Steamworks k_iSteamHTTPCallbacks constant.

    Declaration
    public const int k_iSteamHTTPCallbacks = 2100
    Field Value
    Type Description
    int

    k_iSteamInventoryCallbacks

    The Steamworks k_iSteamInventoryCallbacks constant.

    Declaration
    public const int k_iSteamInventoryCallbacks = 4700
    Field Value
    Type Description
    int

    k_iSteamMatchmakingCallbacks

    The Steamworks k_iSteamMatchmakingCallbacks constant.

    Declaration
    public const int k_iSteamMatchmakingCallbacks = 500
    Field Value
    Type Description
    int

    k_iSteamMusicCallbacks

    The Steamworks k_iSteamMusicCallbacks constant.

    Declaration
    public const int k_iSteamMusicCallbacks = 4000
    Field Value
    Type Description
    int

    k_iSteamNetworkingCallbacks

    The Steamworks k_iSteamNetworkingCallbacks constant.

    Declaration
    public const int k_iSteamNetworkingCallbacks = 1200
    Field Value
    Type Description
    int

    k_iSteamNetworkingMessagesCallbacks

    The Steamworks k_iSteamNetworkingMessagesCallbacks constant.

    Declaration
    public const int k_iSteamNetworkingMessagesCallbacks = 1250
    Field Value
    Type Description
    int

    k_iSteamNetworkingSocketsCallbacks

    The Steamworks k_iSteamNetworkingSocketsCallbacks constant.

    Declaration
    public const int k_iSteamNetworkingSocketsCallbacks = 1220
    Field Value
    Type Description
    int

    k_iSteamNetworkingUtilsCallbacks

    The Steamworks k_iSteamNetworkingUtilsCallbacks constant.

    Declaration
    public const int k_iSteamNetworkingUtilsCallbacks = 1280
    Field Value
    Type Description
    int

    k_iSteamPartiesCallbacks

    The Steamworks k_iSteamPartiesCallbacks constant.

    Declaration
    public const int k_iSteamPartiesCallbacks = 5300
    Field Value
    Type Description
    int

    k_iSteamRemotePlayCallbacks

    The Steamworks k_iSteamRemotePlayCallbacks constant.

    Declaration
    public const int k_iSteamRemotePlayCallbacks = 5700
    Field Value
    Type Description
    int

    k_iSteamRemoteStorageCallbacks

    The Steamworks k_iSteamRemoteStorageCallbacks constant.

    Declaration
    public const int k_iSteamRemoteStorageCallbacks = 1300
    Field Value
    Type Description
    int

    k_iSteamSTARCallbacks

    The Steamworks k_iSteamSTARCallbacks constant.

    Declaration
    public const int k_iSteamSTARCallbacks = 5500
    Field Value
    Type Description
    int

    k_iSteamScreenshotsCallbacks

    The Steamworks k_iSteamScreenshotsCallbacks constant.

    Declaration
    public const int k_iSteamScreenshotsCallbacks = 2300
    Field Value
    Type Description
    int

    k_iSteamStreamClientCallbacks

    The Steamworks k_iSteamStreamClientCallbacks constant.

    Declaration
    public const int k_iSteamStreamClientCallbacks = 3500
    Field Value
    Type Description
    int

    k_iSteamStreamLauncherCallbacks

    NOTE: 2500-2599 are reserved

    Declaration
    public const int k_iSteamStreamLauncherCallbacks = 2600
    Field Value
    Type Description
    int

    k_iSteamTimelineCallbacks

    The Steamworks k_iSteamTimelineCallbacks constant.

    Declaration
    public const int k_iSteamTimelineCallbacks = 6000
    Field Value
    Type Description
    int

    k_iSteamUGCCallbacks

    The Steamworks k_iSteamUGCCallbacks constant.

    Declaration
    public const int k_iSteamUGCCallbacks = 3400
    Field Value
    Type Description
    int

    k_iSteamUserCallbacks

    Forward declare types Purpose: Base values for callback identifiers, each callback must have a unique ID.

    Declaration
    public const int k_iSteamUserCallbacks = 100
    Field Value
    Type Description
    int

    k_iSteamUserStatsCallbacks

    The Steamworks k_iSteamUserStatsCallbacks constant.

    Declaration
    public const int k_iSteamUserStatsCallbacks = 1100
    Field Value
    Type Description
    int

    k_iSteamUtilsCallbacks

    The Steamworks k_iSteamUtilsCallbacks constant.

    Declaration
    public const int k_iSteamUtilsCallbacks = 700
    Field Value
    Type Description
    int

    k_iSteamVideoCallbacks

    The Steamworks k_iSteamVideoCallbacks constant.

    Declaration
    public const int k_iSteamVideoCallbacks = 4600
    Field Value
    Type Description
    int

    k_nCubTicketMaxLength

    The Steamworks k_nCubTicketMaxLength constant.

    Declaration
    public const int k_nCubTicketMaxLength = 2560
    Field Value
    Type Description
    int

    k_nMaxLobbyKeyLength

    maximum number of characters a lobby metadata key can be

    Declaration
    public const byte k_nMaxLobbyKeyLength = 255
    Field Value
    Type Description
    byte

    k_nMaxReturnPorts

    Port number(s) assigned to us. Only the first entries will contain nonzero values. Entries corresponding to ports beyond what was allocated for you will be zero. (NOTE: At the time of this writing, the maximum number of ports you may request is 4.)

    Declaration
    public const int k_nMaxReturnPorts = 8
    Field Value
    Type Description
    int

    k_nScreenshotMaxTaggedPublishedFiles

    The Steamworks k_nScreenshotMaxTaggedPublishedFiles constant.

    Declaration
    public const int k_nScreenshotMaxTaggedPublishedFiles = 32
    Field Value
    Type Description
    int

    k_nScreenshotMaxTaggedUsers

    The Steamworks k_nScreenshotMaxTaggedUsers constant.

    Declaration
    public const int k_nScreenshotMaxTaggedUsers = 32
    Field Value
    Type Description
    int

    k_nSteamEncryptedAppTicketSymmetricKeyLen

    The Steamworks k_nSteamEncryptedAppTicketSymmetricKeyLen constant.

    Declaration
    public const int k_nSteamEncryptedAppTicketSymmetricKeyLen = 32
    Field Value
    Type Description
    int

    k_nSteamNetworkConnectionInfoFlags_DualWifi

    We're taking advantage of dual-wifi multi-path

    Declaration
    public const int k_nSteamNetworkConnectionInfoFlags_DualWifi = 32
    Field Value
    Type Description
    int

    k_nSteamNetworkConnectionInfoFlags_Fast

    The connection is "fast" and "reliable". Either internal/localhost (check the address to find out), or the peer is on the same LAN. (Probably. It's based on the address and the ping time, this is actually hard to determine unambiguously).

    Declaration
    public const int k_nSteamNetworkConnectionInfoFlags_Fast = 8
    Field Value
    Type Description
    int

    k_nSteamNetworkConnectionInfoFlags_LoopbackBuffers

    Internal loopback buffers. Won't be true for localhost. (You can check the address to determine that.) This implies k_nSteamNetworkConnectionInfoFlags_FastLAN

    Declaration
    public const int k_nSteamNetworkConnectionInfoFlags_LoopbackBuffers = 4
    Field Value
    Type Description
    int

    k_nSteamNetworkConnectionInfoFlags_Relayed

    The connection is relayed somehow (SDR or TURN).

    Declaration
    public const int k_nSteamNetworkConnectionInfoFlags_Relayed = 16
    Field Value
    Type Description
    int

    k_nSteamNetworkConnectionInfoFlags_Unauthenticated

    We don't have a certificate for the remote host.

    Declaration
    public const int k_nSteamNetworkConnectionInfoFlags_Unauthenticated = 1
    Field Value
    Type Description
    int

    k_nSteamNetworkConnectionInfoFlags_Unencrypted

    Information is being sent out over a wire unencrypted (by this library)

    Declaration
    public const int k_nSteamNetworkConnectionInfoFlags_Unencrypted = 2
    Field Value
    Type Description
    int

    k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_All

    The Steamworks k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_All constant.

    Declaration
    public const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_All = 2147483647
    Field Value
    Type Description
    int

    k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Default

    Bitmask of types to share Special value - use user defaults

    Declaration
    public const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Default = -1
    Field Value
    Type Description
    int

    k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Disable

    Do not do any ICE work at all or share any IP addresses with peer

    Declaration
    public const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Disable = 0
    Field Value
    Type Description
    int

    k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Private

    host addresses that appear to be link-local or RFC1918 addresses

    Declaration
    public const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Private = 2
    Field Value
    Type Description
    int

    k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Public

    STUN reflexive addresses, or host address that isn't a "private" address

    Declaration
    public const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Public = 4
    Field Value
    Type Description
    int

    k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Relay

    Relayed connection via TURN server.

    Declaration
    public const int k_nSteamNetworkingConfig_P2P_Transport_ICE_Enable_Relay = 1
    Field Value
    Type Description
    int

    k_nSteamNetworkingPing_Failed

    Special values that are returned by some functions that return a ping.

    Declaration
    public const int k_nSteamNetworkingPing_Failed = -1
    Field Value
    Type Description
    int

    k_nSteamNetworkingPing_Unknown

    The Steamworks k_nSteamNetworkingPing_Unknown constant.

    Declaration
    public const int k_nSteamNetworkingPing_Unknown = -2
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_AutoRestartBrokenSession

    When sending a message using ISteamNetworkingMessages, automatically re-establish a broken session, without returning k_EResultNoConnection. Without this flag, if you attempt to send a message, and the session was proactively closed by the peer, or an error occurred that disrupted communications, then you must close the session using ISteamNetworkingMessages::CloseSessionWithUser before attempting to send another message. (Or you can simply add this flag and retry.) In this way, the disruption cannot go unnoticed, and a more clear order of events can be ascertained. This is especially important when reliable messages are used, since if the connection is disrupted, some of those messages will not have been delivered, and it is in general not possible to know which. Although a SteamNetworkingMessagesSessionFailed_t callback will be posted when an error occurs to notify you that a failure has happened, callbacks are asynchronous, so it is not possible to tell exactly when it happened. And because the primary purpose of ISteamNetworkingMessages is to be like UDP, there is no notification when a peer closes the session. If you are not using any reliable messages (e.g. you are using ISteamNetworkingMessages exactly as a transport replacement for UDP-style datagrams only), you may not need to know when an underlying connection fails, and so you may not need this notification.

    Declaration
    public const int k_nSteamNetworkingSend_AutoRestartBrokenSession = 32
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_NoDelay

    If the message cannot be sent very soon (because the connection is still doing some initial handshaking, route negotiations, etc), then just drop it. This is only applicable for unreliable messages. Using this flag on reliable messages is invalid.

    Declaration
    public const int k_nSteamNetworkingSend_NoDelay = 4
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_NoNagle

    Disable Nagle's algorithm. By default, Nagle's algorithm is applied to all outbound messages. This means that the message will NOT be sent immediately, in case further messages are sent soon after you send this, which can be grouped together. Any time there is enough buffered data to fill a packet, the packets will be pushed out immediately, but partially-full packets not be sent until the Nagle timer expires. See ISteamNetworkingSockets::FlushMessagesOnConnection, ISteamNetworkingMessages::FlushMessagesToUser NOTE: Don't just send every message without Nagle because you want packets to get there quicker. Make sure you understand the problem that Nagle is solving before disabling it. If you are sending small messages, often many at the same time, then it is very likely that it will be more efficient to leave Nagle enabled. A typical proper use of this flag is when you are sending what you know will be the last message sent for a while (e.g. the last in the server simulation tick to a particular client), and you use this flag to flush all messages.

    Declaration
    public const int k_nSteamNetworkingSend_NoNagle = 1
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_Reliable

    Reliable message send. Can send up to k_cbMaxSteamNetworkingSocketsMessageSizeSend bytes in a single message. Does fragmentation/re-assembly of messages under the hood, as well as a sliding window for efficient sends of large chunks of data. The Nagle algorithm is used. See notes on k_ESteamNetworkingSendType_Unreliable for more details. See k_ESteamNetworkingSendType_ReliableNoNagle, ISteamNetworkingSockets::FlushMessagesOnConnection, ISteamNetworkingMessages::FlushMessagesToUser Migration note: This is NOT the same as k_EP2PSendReliable, it's more like k_EP2PSendReliableWithBuffering

    Declaration
    public const int k_nSteamNetworkingSend_Reliable = 8
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_ReliableNoNagle

    Send a message reliably, but bypass Nagle's algorithm. Migration note: This is equivalent to k_EP2PSendReliable

    Declaration
    public const int k_nSteamNetworkingSend_ReliableNoNagle = 9
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_Unreliable

    Flags used to set options for message sending Send the message unreliably. Can be lost. Messages can be larger than a single MTU (UDP packet), but there is no retransmission, so if any piece of the message is lost, the entire message will be dropped. The sending API does have some knowledge of the underlying connection, so if there is no NAT-traversal accomplished or there is a recognized adjustment happening on the connection, the packet will be batched until the connection is open again. Migration note: This is not exactly the same as k_EP2PSendUnreliable! You probably want k_ESteamNetworkingSendType_UnreliableNoNagle

    Declaration
    public const int k_nSteamNetworkingSend_Unreliable = 0
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_UnreliableNoDelay

    Send an unreliable message, but if it cannot be sent relatively quickly, just drop it instead of queuing it. This is useful for messages that are not useful if they are excessively delayed, such as voice data. NOTE: The Nagle algorithm is not used, and if the message is not dropped, any messages waiting on the Nagle timer are immediately flushed. A message will be dropped under the following circumstances:

    • the connection is not fully connected. (E.g. the "Connecting" or "FindingRoute" states)
    • there is a sufficiently large number of messages queued up already such that the current message will not be placed on the wire in the next ~200ms or so. If a message is dropped for these reasons, k_EResultIgnored will be returned.
    Declaration
    public const int k_nSteamNetworkingSend_UnreliableNoDelay = 5
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_UnreliableNoNagle

    Send a message unreliably, bypassing Nagle's algorithm for this message and any messages currently pending on the Nagle timer. This is equivalent to using k_ESteamNetworkingSend_Unreliable and then immediately flushing the messages using ISteamNetworkingSockets::FlushMessagesOnConnection or ISteamNetworkingMessages::FlushMessagesToUser. (But using this flag is more efficient since you only make one API call.)

    Declaration
    public const int k_nSteamNetworkingSend_UnreliableNoNagle = 1
    Field Value
    Type Description
    int

    k_nSteamNetworkingSend_UseCurrentThread

    By default, message sending is queued, and the work of encryption and talking to the operating system sockets, etc is done on a service thread. This is usually a a performance win when messages are sent from the "main thread". However, if this flag is set, and data is ready to be sent immediately (either from this message or earlier queued data), then that work will be done in the current thread, before the current call returns. If data is not ready to be sent (due to rate limiting or Nagle), then this flag has no effect. This is an advanced flag used to control performance at a very low level. For most applications running on modern hardware with more than one CPU core, doing the work of sending on a service thread will yield the best performance. Only use this flag if you have a really good reason and understand what you are doing. Otherwise you will probably just make performance worse.

    Declaration
    public const int k_nSteamNetworkingSend_UseCurrentThread = 16
    Field Value
    Type Description
    int

    k_ulPartyBeaconIdInvalid

    The Steamworks k_ulPartyBeaconIdInvalid constant.

    Declaration
    public const ulong k_ulPartyBeaconIdInvalid = 0
    Field Value
    Type Description
    ulong

    k_unEnumeratePublishedFilesMaxResults

    The Steamworks k_unEnumeratePublishedFilesMaxResults constant.

    Declaration
    public const int k_unEnumeratePublishedFilesMaxResults = 50
    Field Value
    Type Description
    int

    k_unFavoriteFlagFavorite

    this game favorite entry is for the favorites list

    Declaration
    public const int k_unFavoriteFlagFavorite = 1
    Field Value
    Type Description
    int

    k_unFavoriteFlagHistory

    this game favorite entry is for the history list

    Declaration
    public const int k_unFavoriteFlagHistory = 2
    Field Value
    Type Description
    int

    k_unFavoriteFlagNone

    game server flags

    Declaration
    public const int k_unFavoriteFlagNone = 0
    Field Value
    Type Description
    int

    k_unMaxCloudFileChunkSize

    Purpose: Defines the largest allowed file size. Cloud files cannot be written in a single chunk over 100MB (and cannot be over 200MB total.)

    Declaration
    public const int k_unMaxCloudFileChunkSize = 104857600
    Field Value
    Type Description
    int

    k_unMaxTimelinePriority

    The Steamworks k_unMaxTimelinePriority constant.

    Declaration
    public const int k_unMaxTimelinePriority = 1000
    Field Value
    Type Description
    int

    k_unSteamAccountIDMask

    The Steamworks k_unSteamAccountIDMask constant.

    Declaration
    public const int k_unSteamAccountIDMask = -1
    Field Value
    Type Description
    int

    k_unSteamAccountInstanceMask

    The Steamworks k_unSteamAccountInstanceMask constant.

    Declaration
    public const int k_unSteamAccountInstanceMask = 1048575
    Field Value
    Type Description
    int

    k_unSteamUserDefaultInstance

    fixed instance for all individual users

    Declaration
    public const int k_unSteamUserDefaultInstance = 1
    Field Value
    Type Description
    int

    k_unTimelinePriority_KeepCurrentValue

    Use with UpdateRangeTimelineEvent to not change the priority

    Declaration
    public const int k_unTimelinePriority_KeepCurrentValue = 1000000
    Field Value
    Type Description
    int

    k_usFriendGameInfoQueryPort_Error

    We were unable to get the query port for this server. Was #define QUERY_PORT_ERROR in older versions of Steamworks SDK.

    Declaration
    public const ushort k_usFriendGameInfoQueryPort_Error = 65534
    Field Value
    Type Description
    ushort

    k_usFriendGameInfoQueryPort_NotInitialized

    special values for FriendGameInfo_t::m_usQueryPort We haven't asked the GS for this query port's actual value yet. Was #define QUERY_PORT_NOT_INITIALIZED in older versions of Steamworks SDK.

    Declaration
    public const ushort k_usFriendGameInfoQueryPort_NotInitialized = 65535
    Field Value
    Type Description
    ushort
    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)