Module: Scene_Title::DataLoader

Included in:
Scene_Title
Defined in:
docs/4_Systems_001_Title.rb

Overview

Module to load RMXP data in a threaded way

Instance Method Summary collapse

Instance Method Details

#all_data_loaded? ⇒ Boolean

Function that tells if all data was loaded

Returns:

  • (Boolean)


69
70
# File 'docs/4_Systems_001_Title.rb', line 69

def all_data_loaded?
end

#auto_fix_animated_tiles

Function that autofixes the missing animated tiles files on RMXP projects



65
66
# File 'docs/4_Systems_001_Title.rb', line 65

def auto_fix_animated_tiles
end

#data_load

Load the RMXP Data



53
54
# File 'docs/4_Systems_001_Title.rb', line 53

def data_load
end

#start_loading_threads

Start all loading threads



56
57
# File 'docs/4_Systems_001_Title.rb', line 56

def start_loading_threads
end

#thread_load(filename, clean: true) {|data| ... }

Function that loads a data through a thread

Parameters:

  • filename (String) —

    name of the file to load

  • clean (Boolean) (defaults to: true) —

    if the utf-8 objects names should be cleaned

Yield Parameters:

  • data (Object) —

    the loaded data



62
63
# File 'docs/4_Systems_001_Title.rb', line 62

def thread_load(filename, clean: true)
end