@Structure.FieldOrder(value={"ResultCode","ClientData","RegisteredPlayers","RegisteredPlayersCount","SanctionedPlayers","SanctionedPlayersCount"})
public class EOS_Sessions_RegisterPlayersCallbackInfo
extends com.sun.jna.Structure
EOSLibrary.EOS_Sessions_RegisterPlayers(host.anzo.eossdk.eos.sdk.EOS_Sessions_Interface, host.anzo.eossdk.eos.sdk.sessions.options.EOS_Sessions_RegisterPlayersOptions, com.sun.jna.Pointer, host.anzo.eossdk.eos.sdk.sessions.callbacks.EOS_Sessions_OnRegisterPlayersCallback) function.| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_Sessions_RegisterPlayersCallbackInfo.ByReference |
static class |
EOS_Sessions_RegisterPlayersCallbackInfo.ByValue |
| Modifier and Type | Field and Description |
|---|---|
com.sun.jna.Pointer |
ClientData
Context that was passed into EOS_Sessions_RegisterPlayers
|
com.sun.jna.Pointer |
RegisteredPlayers
The players that were successfully registered
|
int |
RegisteredPlayersCount
The number of players successfully registered
|
EOS_EResult |
ResultCode
The EOS_EResult code for the operation.
|
com.sun.jna.Pointer |
SanctionedPlayers
The players that failed to register because they are sanctioned
|
int |
SanctionedPlayersCount
The number of players that failed to register because they are sanctioned
|
| Constructor and Description |
|---|
EOS_Sessions_RegisterPlayersCallbackInfo() |
EOS_Sessions_RegisterPlayersCallbackInfo(com.sun.jna.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<EOS_ProductUserId> |
getRegisteredPlayers() |
java.util.List<EOS_ProductUserId> |
getSanctionedPlayers() |
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 EOS_EResult ResultCode
EOS_EResult.EOS_Success if the register completes successfullyEOS_EResult.EOS_NoChange if the players to register registered previouslyEOS_EResult.EOS_InvalidParameters if any of the options are incorrectEOS_EResult.EOS_Sessions_OutOfSync if the session is out of sync and will be updated on the next connection with the backendEOS_EResult.EOS_NotFound if a session to register players does not existEOS_EResult.EOS_LimitExceeded if registering the requested players would drive the total number of registered players beyond EOS_SESSIONS_MAXREGISTEREDPLAYERS (API Version <= 2)EOS_EResult.EOS_Sessions_TooManyPlayers if registering the requested players would drive the total number of registered players beyond EOS_SESSIONS_MAXREGISTEREDPLAYERS (API Version > 2)public com.sun.jna.Pointer ClientData
public com.sun.jna.Pointer RegisteredPlayers
public int RegisteredPlayersCount
public com.sun.jna.Pointer SanctionedPlayers
public int SanctionedPlayersCount
public EOS_Sessions_RegisterPlayersCallbackInfo()
public EOS_Sessions_RegisterPlayersCallbackInfo(com.sun.jna.Pointer peer)
public java.util.List<EOS_ProductUserId> getRegisteredPlayers()
public java.util.List<EOS_ProductUserId> getSanctionedPlayers()