Class: RPG::Event::Page::Condition
- Inherits:
-
Object
- Object
- RPG::Event::Page::Condition
- Extended by:
- RgssDb::JsonableConstructor
- Includes:
- RgssDb::Jsonable
- Defined in:
- lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb,
lib/rgss_db/model/rpg_maker_data/xp/rpg/event_page_condition.rb,
lib/rgss_db/model/rpg_maker_data/vx_ace/rpg/event_page_condition.rb
Overview
The data class for the event page conditions.
Instance Attribute Summary collapse
-
#actor_id ⇒ Object
Returns the value of attribute actor_id.
-
#actor_valid ⇒ Object
Returns the value of attribute actor_valid.
-
#item_id ⇒ Object
Returns the value of attribute item_id.
-
#item_valid ⇒ Object
Returns the value of attribute item_valid.
-
#self_switch_ch ⇒ Object
Returns the value of attribute self_switch_ch.
-
#self_switch_valid ⇒ Object
Returns the value of attribute self_switch_valid.
-
#switch1_id ⇒ Object
Returns the value of attribute switch1_id.
-
#switch1_valid ⇒ Object
Returns the value of attribute switch1_valid.
-
#switch2_id ⇒ Object
Returns the value of attribute switch2_id.
-
#switch2_valid ⇒ Object
Returns the value of attribute switch2_valid.
-
#variable_id ⇒ Object
Returns the value of attribute variable_id.
-
#variable_valid ⇒ Object
Returns the value of attribute variable_valid.
-
#variable_value ⇒ Object
Returns the value of attribute variable_value.
Instance Method Summary collapse
-
#initialize ⇒ Condition
constructor
A new instance of Condition.
Methods included from RgssDb::JsonableConstructor
Methods included from RgssDb::Jsonable
Constructor Details
#initialize ⇒ Condition
Returns a new instance of Condition.
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 13 def initialize @switch1_valid = false @switch2_valid = false @variable_valid = false @self_switch_valid = false @item_valid = false @actor_valid = false @switch1_id = 1 @switch2_id = 1 @variable_id = 1 @variable_value = 0 @self_switch_ch = "A" @item_id = 1 @actor_id = 1 end |
Instance Attribute Details
#actor_id ⇒ Object
Returns the value of attribute actor_id.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def actor_id @actor_id end |
#actor_valid ⇒ Object
Returns the value of attribute actor_valid.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def actor_valid @actor_valid end |
#item_id ⇒ Object
Returns the value of attribute item_id.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def item_id @item_id end |
#item_valid ⇒ Object
Returns the value of attribute item_valid.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def item_valid @item_valid end |
#self_switch_ch ⇒ Object
Returns the value of attribute self_switch_ch.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def self_switch_ch @self_switch_ch end |
#self_switch_valid ⇒ Object
Returns the value of attribute self_switch_valid.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def self_switch_valid @self_switch_valid end |
#switch1_id ⇒ Object
Returns the value of attribute switch1_id.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def switch1_id @switch1_id end |
#switch1_valid ⇒ Object
Returns the value of attribute switch1_valid.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def switch1_valid @switch1_valid end |
#switch2_id ⇒ Object
Returns the value of attribute switch2_id.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def switch2_id @switch2_id end |
#switch2_valid ⇒ Object
Returns the value of attribute switch2_valid.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def switch2_valid @switch2_valid end |
#variable_id ⇒ Object
Returns the value of attribute variable_id.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def variable_id @variable_id end |
#variable_valid ⇒ Object
Returns the value of attribute variable_valid.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def variable_valid @variable_valid end |
#variable_value ⇒ Object
Returns the value of attribute variable_value.
29 30 31 |
# File 'lib/rgss_db/model/rpg_maker_data/vx/rpg/event_page_condition.rb', line 29 def variable_value @variable_value end |