コード例 #1
0
 public void MergeFrom(MapInfo other)
 {
     if (other == null)
     {
         return;
     }
     if (other.commonInfo_ != null)
     {
         if (commonInfo_ == null)
         {
             commonInfo_ = new global::Common.Protobuf.MapCommonInfo();
         }
         CommonInfo.MergeFrom(other.CommonInfo);
     }
     terrainMap_.Add(other.terrainMap_);
     buildMap_.Add(other.buildMap_);
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }