Module NWN::Gff::Cexolocstr

  1. lib/nwn/gff/cexolocstr.rb

Methods

public instance

  1. has_str_ref?
  2. str_ref
  3. str_ref=

Constants

DEFAULT_STR_REF = 0xffffffff

Public instance methods

has_str_ref? ()
[show source]
# File lib/nwn/gff/cexolocstr.rb, line 16
  def has_str_ref?
    str_ref != DEFAULT_STR_REF
  end
str_ref ()
[show source]
# File lib/nwn/gff/cexolocstr.rb, line 10
  def str_ref
    self['str_ref'] || DEFAULT_STR_REF
  end
str_ref= (s)
[show source]
# File lib/nwn/gff/cexolocstr.rb, line 13
  def str_ref= s
    self['str_ref'] = s.to_i
  end