Example #1
0
 public Builder AddLocale(global::bnet.protocol.config.Locale.Builder builderForValue)
 {
     pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     PrepareBuilder();
     result.locale_.Add(builderForValue.Build());
     return(this);
 }
Example #2
0
 public Builder SetLocale(int index, global::bnet.protocol.config.Locale.Builder builderForValue)
 {
     pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     PrepareBuilder();
     result.locale_[index] = builderForValue.Build();
     return(this);
 }