NWNFiles.GFFFieldTypes
Class FieldTypeStruct.StructDescriptor

java.lang.Object
  |
  +--NWNFiles.GFFFieldTypes.FieldTypeStruct.StructDescriptor
Enclosing class:
FieldTypeStruct

public final class FieldTypeStruct.StructDescriptor
extends Object

15 juil. 2003

Author:
Alexandre Brunel Describe a structure block from a GFF file.

Method Summary
 long getFieldNumber()
          Returns the number of field in this structure.
 long getOffset()
          Return the data offset of the field list or the index of the field in the field array.
 long getType()
          Returns the type of the strucutre.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getType

public long getType()
Returns the type of the strucutre.

Returns:
The structure type.

getOffset

public long getOffset()
Return the data offset of the field list or the index of the field in the field array.

Returns:
The offset or index.

getFieldNumber

public long getFieldNumber()
Returns the number of field in this structure.

Returns:
The field number.