Class EOS_Sanctions_PlayerSanction
java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.sanctions.EOS_Sanctions_PlayerSanction
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
EOS_Sanctions_PlayerSanction.ByReference
,EOS_Sanctions_PlayerSanction.ByValue
@FieldOrder({"ApiVersion","TimePlaced","Action","TimeExpires","ReferenceId"})
public class EOS_Sanctions_PlayerSanction
extends com.sun.jna.Structure
implements AutoCloseable
Contains information about a single player sanction.
- Since:
- 8/19/2023
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
Nested classes/interfaces inherited from class com.sun.jna.Structure
com.sun.jna.Structure.FieldOrder, com.sun.jna.Structure.StructField
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe action associated with this sanctionint
API Version: This will be set toEOS_SANCTIONS_PLAYERSANCTION_API_LATEST
.static final int
The most recent version of the EOS_Sanctions_PlayerSanction struct.A unique identifier for this specific sanctionlong
The POSIX timestamp when the sanction will expire.long
The POSIX timestamp when the sanction was placedFields 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_SANCTIONS_PLAYERSANCTION_API_LATEST
public static final int EOS_SANCTIONS_PLAYERSANCTION_API_LATESTThe most recent version of the EOS_Sanctions_PlayerSanction struct.- See Also:
-
ApiVersion
public int ApiVersionAPI Version: This will be set toEOS_SANCTIONS_PLAYERSANCTION_API_LATEST
. -
TimePlaced
public long TimePlacedThe POSIX timestamp when the sanction was placed -
Action
The action associated with this sanction -
TimeExpires
public long TimeExpiresThe POSIX timestamp when the sanction will expire. If the sanction is permanent, this will be 0. -
ReferenceId
A unique identifier for this specific sanction
-
-
Constructor Details
-
EOS_Sanctions_PlayerSanction
public EOS_Sanctions_PlayerSanction() -
EOS_Sanctions_PlayerSanction
public EOS_Sanctions_PlayerSanction(com.sun.jna.Pointer peer)
-
-
Method Details
-
release
public void release() -
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-