Class: R3EXS::Item
- Inherits:
-
UsableItem
- Object
- BaseItem
- UsableItem
- R3EXS::Item
- Defined in:
- lib/R3EXS/RGSS3_R3EXS.rb
Overview
物品类
Instance Attribute Summary
Attributes inherited from BaseItem
#description, #index, #name, #note
Instance Method Summary collapse
-
#empty? ⇒ Boolean
判断是否为空.
-
#ex_strings ⇒ Array<String>
提取所有的字符串.
-
#in_strings(hash) ⇒ void
将所有的字符串替换为指定的字符串.
-
#initialize(item, index, with_note) ⇒ R3EXS::Item
constructor
用 RPG::Item 初始化.
-
#inject_to(item) ⇒ void
注入到 RPG::Item 对象.
Constructor Details
#initialize(item, index, with_note) ⇒ R3EXS::Item
用 RPG::Item 初始化
939 940 941 |
# File 'lib/R3EXS/RGSS3_R3EXS.rb', line 939 def initialize(item, index, with_note) super(item, index, with_note) end |
Instance Method Details
#empty? ⇒ Boolean
判断是否为空
968 969 970 |
# File 'lib/R3EXS/RGSS3_R3EXS.rb', line 968 def empty? super end |
#ex_strings ⇒ Array<String>
提取所有的字符串
953 954 955 |
# File 'lib/R3EXS/RGSS3_R3EXS.rb', line 953 def ex_strings super end |
#in_strings(hash) ⇒ void
This method returns an undefined value.
将所有的字符串替换为指定的字符串
961 962 963 |
# File 'lib/R3EXS/RGSS3_R3EXS.rb', line 961 def in_strings(hash) super(hash) end |
#inject_to(item) ⇒ void
This method returns an undefined value.
注入到 RPG::Item 对象
946 947 948 |
# File 'lib/R3EXS/RGSS3_R3EXS.rb', line 946 def inject_to(item) super end |