Class: RPG::Event::Page::Condition

Inherits:
Object
  • Object
show all
Defined in:
docs/0_Dependencies.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#self_switch_ch

Returns the value of attribute self_switch_ch.



2300
2301
2302
# File 'docs/0_Dependencies.rb', line 2300

def self_switch_ch
  @self_switch_ch
end

#self_switch_valid

Returns the value of attribute self_switch_valid.



2295
2296
2297
# File 'docs/0_Dependencies.rb', line 2295

def self_switch_valid
  @self_switch_valid
end

#switch1_id

Returns the value of attribute switch1_id.



2296
2297
2298
# File 'docs/0_Dependencies.rb', line 2296

def switch1_id
  @switch1_id
end

#switch1_valid

Returns the value of attribute switch1_valid.



2292
2293
2294
# File 'docs/0_Dependencies.rb', line 2292

def switch1_valid
  @switch1_valid
end

#switch2_id

Returns the value of attribute switch2_id.



2297
2298
2299
# File 'docs/0_Dependencies.rb', line 2297

def switch2_id
  @switch2_id
end

#switch2_valid

Returns the value of attribute switch2_valid.



2293
2294
2295
# File 'docs/0_Dependencies.rb', line 2293

def switch2_valid
  @switch2_valid
end

#variable_id

Returns the value of attribute variable_id.



2298
2299
2300
# File 'docs/0_Dependencies.rb', line 2298

def variable_id
  @variable_id
end

#variable_valid

Returns the value of attribute variable_valid.



2294
2295
2296
# File 'docs/0_Dependencies.rb', line 2294

def variable_valid
  @variable_valid
end

#variable_value

Returns the value of attribute variable_value.



2299
2300
2301
# File 'docs/0_Dependencies.rb', line 2299

def variable_value
  @variable_value
end

Instance Method Details

#valid?(map_id, event_id) ⇒ Boolean

Return if the page condition is currently valid

Parameters:

  • map_id (Integer)

    ID of the map where the event is

  • event_id (Integer)

    ID of the event

Returns:

  • (Boolean)

    if the page is valid



2290
2291
# File 'docs/0_Dependencies.rb', line 2290

def valid?(map_id, event_id)
end