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: { EncounterId = input.ReadBytes(); break; } case 18: { if (stageOptions_ == null) { StageOptions = new global::WUProtos.Data.Encounter.EncounterInteractStageOptions(); } input.ReadMessage(StageOptions); break; } } } }
public void MergeFrom(EncounterInteractMessage other) { if (other == null) { return; } if (other.EncounterId.Length != 0) { EncounterId = other.EncounterId; } if (other.stageOptions_ != null) { if (stageOptions_ == null) { StageOptions = new global::WUProtos.Data.Encounter.EncounterInteractStageOptions(); } StageOptions.MergeFrom(other.StageOptions); } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }