Class EOS_Mods_ModInfo

java.lang.Object
com.sun.jna.Structure
host.anzo.eossdk.eos.sdk.mods.EOS_Mods_ModInfo
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
EOS_Mods_ModInfo.ByReference, EOS_Mods_ModInfo.ByValue

@FieldOrder({"ApiVersion","ModsCount","Mods","Type"}) public class EOS_Mods_ModInfo extends com.sun.jna.Structure implements AutoCloseable
Data for the EOS_Mods_CopyModInfo function.
Since:
8/15/2023
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    int
    API Version: Set this to EOS_MODS_MODINFO_API_LATEST.
    static int
    The most recent version of the EOS_Mods_ModInfo struct.
    The array of enumerated mods or NULL if no such type of mods were enumerated
    int
    The count of enumerated mods
    int
    Type of the mods

    Fields inherited from class com.sun.jna.Structure

    ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    EOS_Mods_ModInfo(com.sun.jna.Pointer peer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    Release the memory associated with an EOS_Mods_ModInfo structure and its sub-objects.

    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • EOS_MODS_MODINFO_API_LATEST

      public static int EOS_MODS_MODINFO_API_LATEST
      The most recent version of the EOS_Mods_ModInfo struct.
    • ApiVersion

      public int ApiVersion
      API Version: Set this to EOS_MODS_MODINFO_API_LATEST.
    • ModsCount

      public int ModsCount
      The count of enumerated mods
    • Mods

      The array of enumerated mods or NULL if no such type of mods were enumerated
    • Type

      public int Type
      Type of the mods
  • Constructor Details

    • EOS_Mods_ModInfo

      public EOS_Mods_ModInfo()
    • EOS_Mods_ModInfo

      public EOS_Mods_ModInfo(com.sun.jna.Pointer peer)
  • Method Details

    • release

      public void release()
      Release the memory associated with an EOS_Mods_ModInfo structure and its sub-objects. This must be called on data retrieved from EOS_Mods_CopyModInfo.
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception