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
16:   def has_str_ref?
17:     str_ref != DEFAULT_STR_REF
18:   end
str_ref ()
[show source]
    # File lib/nwn/gff/cexolocstr.rb, line 10
10:   def str_ref
11:     self['str_ref'] || DEFAULT_STR_REF
12:   end
str_ref= (s)
[show source]
    # File lib/nwn/gff/cexolocstr.rb, line 13
13:   def str_ref= s
14:     self['str_ref'] = s.to_i
15:   end