Class EOS_Platform_Options
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.platform.options.EOS_Platform_Options
- Direct Known Subclasses:
EOS_Platform_Options.ByReference,EOS_Platform_Options.ByValue
@FieldOrder({"ApiVersion","Reserved","ProductId","SandboxId","ClientCredentials","IsServer","EncryptionKey","OverrideCountryCode","OverrideLocaleCode","DeploymentId","Flags","CacheDirectory","TickBudgetInMilliseconds","RTCOptions","IntegratedPlatformOptionsContainerHandle","SystemSpecificOptions"})
public class EOS_Platform_Options
extends com.sun.jna.Structure
- Since:
- 8/5/2023
-
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 to EOS_PLATFORM_OPTIONS_API_LATEST.Used by Player Data Storage and Title Storage.Set of service permissions associated with the running applicationThe deployment ID for the running application, found on the dev portal.Used by Player Data Storage and Title Storage.static intstatic intstatic intstatic intstatic intstatic intMax length of a deployment id, not including the terminating null.static intLength of an encryption key, not including the terminating null.static intMax length of a product id, not including the terminating null.static intMax length of a sandbox id, not including the terminating null.Platform creation flags, e.g.A handle that contains all the options for setting up integrated platforms.Set this toEOS_Bool.EOS_FALSEif the application is running as a client with a local user, otherwise set toEOS_Bool.EOS_TRUE(e.g.The override country code to use for the logged in user.The override locale code to use for the logged in user.The product ID for the running application, found on the dev portal.com.sun.jna.PointerA reserved field that should always be nulled.RTC options.The sandbox ID for the running application, found on the dev portal.com.sun.jna.PointerPointer to EOS_Platform_SystemSpecificOptions.intA budget, measured in milliseconds, for EOS_Platform_Tick to do its work.Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionEOS_Platform_Options(@NotNull EOSBaseOptions options) EOS_Platform_Options(com.sun.jna.Pointer peer) -
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_COUNTRYCODE_MAX_LENGTH
public static int EOS_COUNTRYCODE_MAX_LENGTH -
EOS_COUNTRYCODE_MAX_BUFFER_LEN
public static int EOS_COUNTRYCODE_MAX_BUFFER_LEN -
EOS_LOCALECODE_MAX_LENGTH
public static int EOS_LOCALECODE_MAX_LENGTH -
EOS_LOCALECODE_MAX_BUFFER_LEN
public static int EOS_LOCALECODE_MAX_BUFFER_LEN -
EOS_PLATFORM_OPTIONS_PRODUCTID_MAX_LENGTH
public static int EOS_PLATFORM_OPTIONS_PRODUCTID_MAX_LENGTHMax length of a product id, not including the terminating null. -
EOS_PLATFORM_OPTIONS_SANDBOXID_MAX_LENGTH
public static int EOS_PLATFORM_OPTIONS_SANDBOXID_MAX_LENGTHMax length of a sandbox id, not including the terminating null. -
EOS_PLATFORM_OPTIONS_ENCRYPTIONKEY_LENGTH
public static int EOS_PLATFORM_OPTIONS_ENCRYPTIONKEY_LENGTHLength of an encryption key, not including the terminating null. -
EOS_PLATFORM_OPTIONS_DEPLOYMENTID_MAX_LENGTH
public static int EOS_PLATFORM_OPTIONS_DEPLOYMENTID_MAX_LENGTHMax length of a deployment id, not including the terminating null. -
EOS_PLATFORM_OPTIONS_API_LATEST
public static int EOS_PLATFORM_OPTIONS_API_LATEST -
ApiVersion
public int ApiVersionAPI Version: Set this to EOS_PLATFORM_OPTIONS_API_LATEST. -
Reserved
public com.sun.jna.Pointer ReservedA reserved field that should always be nulled. -
ProductId
The product ID for the running application, found on the dev portal. Max length is EOS_PLATFORM_OPTIONS_PRODUCTID_MAX_LENGTH. -
SandboxId
The sandbox ID for the running application, found on the dev portal. Max length is EOS_PLATFORM_OPTIONS_SANDBOXID_MAX_LENGTH. -
ClientCredentials
Set of service permissions associated with the running application -
IsServer
Set this toEOS_Bool.EOS_FALSEif the application is running as a client with a local user, otherwise set toEOS_Bool.EOS_TRUE(e.g. for a dedicated game server) -
EncryptionKey
Used by Player Data Storage and Title Storage. Must be null initialized if unused. 256-bit Encryption Key for file encryption in hexadecimal format; EOS_PLATFORM_OPTIONS_ENCRYPTIONKEY_LENGTH hex chars. -
OverrideCountryCode
The override country code to use for the logged in user. (EOS_COUNTRYCODE_MAX_LENGTH) -
OverrideLocaleCode
The override locale code to use for the logged in user. This follows ISO 639. (EOS_LOCALECODE_MAX_LENGTH) -
DeploymentId
The deployment ID for the running application, found on the dev portal. Max length is EOS_PLATFORM_OPTIONS_DEPLOYMENTID_MAX_LENGTH. -
Flags
Platform creation flags, e.g. EOS_PF_LOADING_IN_EDITOR. This is a bitwise-or union of the defined flags. -
CacheDirectory
Used by Player Data Storage and Title Storage. Must be null initialized if unused. Cache directory path. Absolute path to the folder that is going to be used for caching temporary data. The path is created if it's missing. -
TickBudgetInMilliseconds
public int TickBudgetInMillisecondsA budget, measured in milliseconds, for EOS_Platform_Tick to do its work. When the budget is met or exceeded (or if no work is available), EOS_Platform_Tick will return. This allows your game to amortize the cost of SDK work across multiple frames in the event that a lot of work is queued for processing. Zero is interpreted as "perform all available work". -
RTCOptions
RTC options. Setting to NULL will disable RTC features (e.g. voice) -
IntegratedPlatformOptionsContainerHandle
A handle that contains all the options for setting up integrated platforms. When set to NULL, the EOS Integrated Platform behavior for the host platform will be disabled. -
SystemSpecificOptions
public com.sun.jna.Pointer SystemSpecificOptionsPointer to EOS_Platform_SystemSpecificOptions. This structure will be located in Platform/eos_Platform.h
-
-
Constructor Details
-
EOS_Platform_Options
public EOS_Platform_Options() -
EOS_Platform_Options
public EOS_Platform_Options(com.sun.jna.Pointer peer) -
EOS_Platform_Options
-