Class EOS_IntegratedPlatform_Steam_Options
- Direct Known Subclasses:
EOS_IntegratedPlatform_Steam_Options.ByReference,EOS_IntegratedPlatform_Steam_Options.ByValue
- Since:
- 8/19/2023
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField -
Field Summary
FieldsModifier and TypeFieldDescriptionintAPI Version: Set this toEOS_INTEGRATEDPLATFORM_STEAM_OPTIONS_API_LATEST.static final intThe most recent version of the EOS_IntegratedPlatform_Steam_Options API.Usage of this parameter is dependent on the specified EOS_EIntegratedPlatformManagementFlags.com.sun.jna.PointerA pointer to a series of null terminated steam interface version names supported by the current steam dll.intSize of the SteamApiInterfaceVersionsArray in bytes.intUsed to specify the major version of the Steam SDK your game is compiled against, e.g.:intUsed to specify the minor version of the Steam SDK your game is compiled against, e.g.:Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFieldOrder, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
Field Details
-
EOS_INTEGRATEDPLATFORM_STEAM_OPTIONS_API_LATEST
public static final int EOS_INTEGRATEDPLATFORM_STEAM_OPTIONS_API_LATESTThe most recent version of the EOS_IntegratedPlatform_Steam_Options API.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: Set this toEOS_INTEGRATEDPLATFORM_STEAM_OPTIONS_API_LATEST. -
OverrideLibraryPath
Usage of this parameter is dependent on the specified EOS_EIntegratedPlatformManagementFlags.Optional with EOS_IPMF_LibraryManagedByApplication. Set to override the loaded library basename, or use NULL to assume the default basename by platform:
- Linux: libsteam_api.so,
- macOS: libsteam_api.dylib,
- Windows 32-bit: steam_api.dll,
- Windows 64-bit: steam_api64.dll.Required with EOS_IPMF_LibraryManagedBySDK. Set to a fully qualified file path to the Steamworks SDK runtime library on disk.
-
SteamMajorVersion
public int SteamMajorVersionUsed to specify the major version of the Steam SDK your game is compiled against, e.g.:Options.SteamMajorVersion = 1;
-
SteamMinorVersion
public int SteamMinorVersionUsed to specify the minor version of the Steam SDK your game is compiled against, e.g.:Options.SteamMinorVersion = 58;
-
SteamApiInterfaceVersionsArray
public com.sun.jna.Pointer SteamApiInterfaceVersionsArrayA pointer to a series of null terminated steam interface version names supported by the current steam dll.This field is only required when the Integrated Platform Management flags has EOS_IPMF_LibraryManagedBySDK set. Else must be set to NULL.
Starting v1.58 the Steam initialization API requires this new field during initialization for version check validations.
Note: The pointer must be valid until after the execution of the EOS_IntegratedPlatformOptionsContainer_Add method.
This value must be constructed from the corresponding steam_api.h header of the steam dll version that is shipped with the game. In the steam_api.h header, look for SteamAPI_InitEx() and copy the value of pszInternalCheckInterfaceVersions as it is.
For example in v1.58a its this: const char SteamInterfaceVersionsArray[] = STEAMUTILS_INTERFACE_VERSION "\0" STEAMNETWORKINGUTILS_INTERFACE_VERSION "\0" ... STEAMUSER_INTERFACE_VERSION "\0" STEAMVIDEO_INTERFACE_VERSION "\0" "\0";
-
SteamApiInterfaceVersionsArrayBytes
public int SteamApiInterfaceVersionsArrayBytesSize of the SteamApiInterfaceVersionsArray in bytes. Cannot exceedEOS_Defines.EOS_INTEGRATEDPLATFORM_STEAM_MAX_STEAMAPIINTERFACEVERSIONSARRAY_SIZE.This field is only required when the Integrated Platform Management flags has EOS_IPMF_LibraryManagedBySDK set. Else must be set to 0.
Note: Since SteamInterfaceVersionsArray contains a series of null terminated strings, please ensure that strlen() is NOT used to calculate this field. For instance, you can use the following to get the array length: const char SteamInterfaceVersionsArray[] = STEAMUTILS_INTERFACE_VERSION "\0" STEAMNETWORKINGUTILS_INTERFACE_VERSION "\0" ... STEAMVIDEO_INTERFACE_VERSION "\0" "\0";
uint32_t SteamApiInterfaceVersionsArrayBytes = sizeof(SteamApiInterfaceVersionsArray) // Note: sizeof() takes into account the last "\0" of the string literal;
-
-
Constructor Details
-
EOS_IntegratedPlatform_Steam_Options
public EOS_IntegratedPlatform_Steam_Options() -
EOS_IntegratedPlatform_Steam_Options
public EOS_IntegratedPlatform_Steam_Options(com.sun.jna.Pointer peer)
-