public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 8: { WorldId = input.ReadInt32(); break; } case 16: { WorldSn = input.ReadInt64(); break; } case 26: { if (position_ == null) { Position = new global::Proto.Vector3(); } input.ReadMessage(Position); break; } } } }
public void MergeFrom(LastWorld other) { if (other == null) { return; } if (other.WorldId != 0) { WorldId = other.WorldId; } if (other.WorldSn != 0L) { WorldSn = other.WorldSn; } if (other.position_ != null) { if (position_ == null) { Position = new global::Proto.Vector3(); } Position.MergeFrom(other.Position); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }