$imported = {} if $imported.nil?
if $imported["RuntimeDB"].nil?
$imported["RuntimeDB"] = true
module DataManager
class <<self
alias make_save_contents_runtimedb_zabing make_save_contents
alias extract_save_contents_runtimedb_zabing extract_save_contents
end
def self.make_save_contents
contents = make_save_contents_runtimedb_zabing
contents[:dataactorszabing] = $data_actors
contents[:dataclasseszabing] = $data_classes
contents[:dataskillszabing] = $data_skills
contents[:dataitemszabing] = $data_items
contents[:dataweaponszabing] = $data_weapons
contents[:dataarmorszabing] = $data_armors
contents[:dataenemieszabing] = $data_enemies
contents[:datatroopszabing] = $data_troops
contents[:datastateszabing] = $data_states
contents[:dataanimationszabing] = $data_animations
contents[:datatilesetszabing] = $data_tilesets
contents[:datacommoneventszabing] = $data_common_events
contents[:datasystemzabing] = $data_system
contents[:datamapinfoszabing] = $data_mapinfos
contents
end
def self.extract_save_contents(contents)
extract_save_contents_runtimedb_zabing(contents)
$data_actors = contents[:dataactorszabing]
$data_classes = contents[:dataclasseszabing]
$data_skills = contents[:dataskillszabing]
$data_items = contents[:dataitemszabing]
$data_weapons = contents[:dataweaponszabing]
$data_armors = contents[:dataarmorszabing]
$data_enemies = contents[:dataenemieszabing]
$data_troops = contents[:datatroopszabing]
$data_states = contents[:datastateszabing]
$data_animations = contents[:dataanimationszabing]
$data_tilesets = contents[:datatilesetszabing]
$data_common_events = contents[:datacommoneventszabing]
$data_system = contents[:datasystemzabing]
$data_mapinfos = contents[:datamapinfoszabing]
end
end
else
msgbox "请不要重复加载脚本。"
end