@Structure.FieldOrder(value={"ApiVersion","LocalUserId","RemoteUserId","SocketId","Channel","DataLengthBytes","Data","IsAllowDelayedDelivery","Reliability","IsDisableAutoAcceptConnection"})
public class EOS_P2P_SendPacketOptions
extends com.sun.jna.Structure
| Modifier and Type | Class and Description |
|---|---|
static class |
EOS_P2P_SendPacketOptions.ByReference |
static class |
EOS_P2P_SendPacketOptions.ByValue |
| Modifier and Type | Field and Description |
|---|---|
int |
ApiVersion
API Version: Set this to
EOS_P2P_SENDPACKET_API_LATEST. |
byte |
Channel
Channel associated with this data
|
com.sun.jna.Pointer |
Data
The data to be sent to the RemoteUser
|
int |
DataLengthBytes
The size of the data to be sent to the RemoteUser
|
static int |
EOS_P2P_SENDPACKET_API_LATEST
The most recent version of the EOS_P2P_SendPacket API.
|
EOS_Bool |
IsAllowDelayedDelivery
If false and we do not already have an established connection to the peer, this data will be dropped
|
EOS_Bool |
IsDisableAutoAcceptConnection
If set to EOS_TRUE, EOS_P2P_SendPacket will not automatically establish a connection with the RemoteUserId and will require explicit calls to
EOS_P2P_AcceptConnection first whenever the connection is closed.
|
EOS_ProductUserId |
LocalUserId
The Product User ID of the local user who is sending this packet
|
EOS_EPacketReliability |
Reliability
Setting to control the delivery reliability of this packet
|
EOS_ProductUserId |
RemoteUserId
The Product User ID of the Peer you would like to send a packet to
|
EOS_P2P_SocketId.ByReference |
SocketId
The socket ID for data you are sending in this packet
|
| Constructor and Description |
|---|
EOS_P2P_SendPacketOptions() |
EOS_P2P_SendPacketOptions(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_P2P_SENDPACKET_API_LATEST
public int ApiVersion
EOS_P2P_SENDPACKET_API_LATEST.public EOS_ProductUserId LocalUserId
public EOS_ProductUserId RemoteUserId
public EOS_P2P_SocketId.ByReference SocketId
public byte Channel
public int DataLengthBytes
public com.sun.jna.Pointer Data
public EOS_Bool IsAllowDelayedDelivery
public EOS_EPacketReliability Reliability
public EOS_Bool IsDisableAutoAcceptConnection