public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: input.SkipLastField(); break; case 10: { if (p0_ == null) { p0_ = new global::ProxyStarcraft.Proto.PointI(); } input.ReadMessage(p0_); break; } case 18: { if (p1_ == null) { p1_ = new global::ProxyStarcraft.Proto.PointI(); } input.ReadMessage(p1_); break; } } } }
public void MergeFrom(RectangleI other) { if (other == null) { return; } if (other.p0_ != null) { if (p0_ == null) { p0_ = new global::ProxyStarcraft.Proto.PointI(); } P0.MergeFrom(other.P0); } if (other.p1_ != null) { if (p1_ == null) { p1_ = new global::ProxyStarcraft.Proto.PointI(); } P1.MergeFrom(other.P1); } }