regAddressConfig<T extends OnAddressConfig> method

void regAddressConfig<T extends OnAddressConfig>(
  1. T? config
)

注册地址配置 OnAddressConfig实现类

Implementation

void regAddressConfig<T extends OnAddressConfig>(T? config) {
  if (config == null) {
    return;
  }
  ConfigManager.instance.addConfig(_addressConfigKey, config);
}