Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
developers-guide [2019/02/02 11:17]
wolfmanjm [Checksums]
developers-guide [2019/02/02 11:18]
wolfmanjm [Checksums]
Line 60: Line 60:
 #define maximum_death_star_hourly_power_consumption_checksum CHECKSUM("​maximum_death_star_hourly_power_consumption"​) ​ #define maximum_death_star_hourly_power_consumption_checksum CHECKSUM("​maximum_death_star_hourly_power_consumption"​) ​
  
-void MyModule::on_config_reload(void* argument){+void MyModule::on_config_loaded(void* argument){
  // Config works more like this  // Config works more like this
  this->​maximum_power = this->​kernel->​config->​value(maximum_death_star_hourly_power_consumption_checksum)->​as_number();​  this->​maximum_power = this->​kernel->​config->​value(maximum_death_star_hourly_power_consumption_checksum)->​as_number();​