Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
developers-guide [2019/02/02 11:16]
wolfmanjm [When to read configuration]
developers-guide [2019/02/02 11:17]
wolfmanjm [Checksums]
Line 26: Line 26:
  
 <code cpp> <code cpp>
-void MyModule::on_config_reload(void* argument){+void MyModule::on_config_loaded(void* argument){
  // Config does not actually work like that, this is just an hypothetical example to explain, Don't do it like this.  // Config does not actually work like that, this is just an hypothetical example to explain, Don't do it like this.
  this->​maximum_power = this->​kernel->​config->​value("​maximum_death_star_hourly_power_consumption"​)->​as_number();​  this->​maximum_power = this->​kernel->​config->​value("​maximum_death_star_hourly_power_consumption"​)->​as_number();​