public void MergeFrom(ClientEncounterStagePicture other) { if (other == null) { return; } if (other.Id.Length != 0) { Id = other.Id; } if (other.SpawnScale != 0F) { SpawnScale = other.SpawnScale; } if (other.MinScale != 0F) { MinScale = other.MinScale; } if (other.MaxScale != 0F) { MaxScale = other.MaxScale; } if (other.simpleArPosOffset_ != null) { if (simpleArPosOffset_ == null) { SimpleArPosOffset = new global::WUProtos.Data.Client.ClientEncounterStagePicture.Types.Vector3(); } SimpleArPosOffset.MergeFrom(other.SimpleArPosOffset); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(pb::CodedInputStream input) { uint tag; while ((tag = input.ReadTag()) != 0) { switch (tag) { default: _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input); break; case 10: { Id = input.ReadString(); break; } case 21: { SpawnScale = input.ReadFloat(); break; } case 29: { MinScale = input.ReadFloat(); break; } case 37: { MaxScale = input.ReadFloat(); break; } case 42: { if (simpleArPosOffset_ == null) { SimpleArPosOffset = new global::WUProtos.Data.Client.ClientEncounterStagePicture.Types.Vector3(); } input.ReadMessage(SimpleArPosOffset); break; } } } }