class << DataManager
Extract = Win32API.new('extract', 'extract', ['P', 'I'], 'v')
alias :make_save_contents_2020120300 :make_save_contents
def make_save_contents
data = make_save_contents_2020120300
data = Marshal.dump(data)
Extract.call(data, data.bytesize)
data
end
alias :extract_save_contents_2020120300 :extract_save_contents
def extract_save_contents(contents)
Extract.call(contents, contents.bytesize)
contents = Marshal.load(contents)
extract_save_contents_2020120300 contents
contents
end
end
class << DataManager
Extract = Win32API.new('extract', 'extract', ['P', 'I'], 'v')
alias :make_save_contents_2020120300 :make_save_contents
def make_save_contents
data = make_save_contents_2020120300
data = Marshal.dump(data)
Extract.call(data, data.bytesize)
data
end
alias :extract_save_contents_2020120300 :extract_save_contents
def extract_save_contents(contents)
Extract.call(contents, contents.bytesize)
contents = Marshal.load(contents)
extract_save_contents_2020120300 contents
contents
end
end