コード例 #1
0
 public Builder mergeFrom(
     com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig other) {
   if (other
       == com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig
           .getDefaultInstance()) return this;
   if (other.hasHideHat()) {
     setHideHat(other.getHideHat());
   }
   if (other.hasHideGlass()) {
     setHideGlass(other.getHideGlass());
   }
   if (other.hasHideSuit()) {
     setHideSuit(other.getHideSuit());
   }
   if (other.hasLeadFinished()) {
     setLeadFinished(other.getLeadFinished());
   }
   if (other.hasMusicSwitch()) {
     setMusicSwitch(other.getMusicSwitch());
   }
   if (other.hasEffectSwitch()) {
     setEffectSwitch(other.getEffectSwitch());
   }
   if (other.hasMusicVolume()) {
     setMusicVolume(other.getMusicVolume());
   }
   if (other.hasEffectVolume()) {
     setEffectVolume(other.getEffectVolume());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
コード例 #2
0
 public com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig
     getDefaultInstanceForType() {
   return com.xinqihd.sns.gameserver.proto.XinqiBceUserConfig.BceUserConfig
       .getDefaultInstance();
 }