public void MergeFrom(ClientEnvironmentTags other) { if (other == null) { return; } if (other.DayNight != 0) { DayNight = other.DayNight; } if (other.MoonPhase != 0) { MoonPhase = other.MoonPhase; } _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 8: { DayNight = (global::WUProtos.Enums.DayNightTag)input.ReadEnum(); break; } case 16: { MoonPhase = (global::WUProtos.Enums.MoonPhaseTag)input.ReadEnum(); break; } } } }