@Structure.FieldOrder(value={"ApiVersion","OverrideLibraryPath","SteamMajorVersion","SteamMinorVersion","SteamApiInterfaceVersionsArray","SteamApiInterfaceVersionsArrayBytes"})
public class EOS_IntegratedPlatform_Steam_Options
extends com.sun.jna.Structure
EOS_IntegratedPlatform_Options| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_IntegratedPlatform_Steam_Options.ByReference |
static class |
EOS_IntegratedPlatform_Steam_Options.ByValue |
| Modifier and Type | Field and Description |
|---|---|
int |
ApiVersion
API Version: Set this to
EOS_INTEGRATEDPLATFORM_STEAM_OPTIONS_API_LATEST. |
static int |
EOS_INTEGRATEDPLATFORM_STEAM_OPTIONS_API_LATEST
The most recent version of the EOS_IntegratedPlatform_Steam_Options API.
|
java.lang.String |
OverrideLibraryPath
Usage of this parameter is dependent on the specified EOS_EIntegratedPlatformManagementFlags.
|
com.sun.jna.Pointer |
SteamApiInterfaceVersionsArray
A pointer to a series of null terminated steam interface version names supported by the current steam dll.
|
int |
SteamApiInterfaceVersionsArrayBytes
Size of the SteamApiInterfaceVersionsArray in bytes.
|
int |
SteamMajorVersion
Used to specify the major version of the Steam SDK your game is compiled against, e.g.:
Options.SteamMajorVersion = 1;
|
int |
SteamMinorVersion
Used to specify the minor version of the Steam SDK your game is compiled against, e.g.:
Options.SteamMinorVersion = 58;
|
| Constructor and Description |
|---|
EOS_IntegratedPlatform_Steam_Options() |
EOS_IntegratedPlatform_Steam_Options(com.sun.jna.Pointer peer) |
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, writeFieldpublic static final int EOS_INTEGRATEDPLATFORM_STEAM_OPTIONS_API_LATEST
public int ApiVersion
EOS_INTEGRATEDPLATFORM_STEAM_OPTIONS_API_LATEST.public java.lang.String OverrideLibraryPath
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.
public int SteamMajorVersion
Options.SteamMajorVersion = 1;
public int SteamMinorVersion
Options.SteamMinorVersion = 58;
public com.sun.jna.Pointer SteamApiInterfaceVersionsArray
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";
public int SteamApiInterfaceVersionsArrayBytes
EOS_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;