NWNFiles.GFFFieldTypes
Class FieldTypeCExoLocString.CExoLocString

java.lang.Object
  |
  +--NWNFiles.GFFFieldTypes.FieldTypeCExoLocString.CExoLocString
Enclosing class:
FieldTypeCExoLocString

public static class FieldTypeCExoLocString.CExoLocString
extends Object

Represents a CExoLocString data


Constructor Summary
FieldTypeCExoLocString.CExoLocString(long _stringRef, StringListElement[] _subStrings)
          Construct a CExoLocString containing the localized strings.
 
Method Summary
 StringListElement getString(int index)
          Returns the (index+1)th string
 StringListElement getString(long languageId, int gender)
           
 int getStringCount()
          Returns the string count
 long getStringRef()
          Returns the stringRef
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldTypeCExoLocString.CExoLocString

public FieldTypeCExoLocString.CExoLocString(long _stringRef,
                                            StringListElement[] _subStrings)
Construct a CExoLocString containing the localized strings.

Parameters:
_subStrings - The strings to store.
_stringRef - stringRef.
Method Detail

getStringRef

public long getStringRef()
Returns the stringRef


getStringCount

public int getStringCount()
Returns the string count


getString

public StringListElement getString(int index)
Returns the (index+1)th string

Parameters:
index - index of the stringth

toString

public String toString()
Overrides:
toString in class Object

getString

public StringListElement getString(long languageId,
                                   int gender)