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: { PartnerId = input.ReadString(); break; } case 18: { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } input.ReadMessage(PoiDetails); break; } case 24: { PoiAccessibility = (global::WUProtos.Enums.PoiAccessibility)input.ReadEnum(); break; } } } }
public void MergeFrom(GetFortressDetailsResponse other) { if (other == null) { return; } if (other.FortressTemplateGmtId.Length != 0) { FortressTemplateGmtId = other.FortressTemplateGmtId; } chambers_.Add(other.chambers_); if (other.PartnerId.Length != 0) { PartnerId = other.PartnerId; } if (other.poiDetails_ != null) { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } PoiDetails.MergeFrom(other.PoiDetails); } if (other.PoiAccessibility != 0) { PoiAccessibility = other.PoiAccessibility; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }
public void MergeFrom(GetOutpostDetailsResponse other) { if (other == null) { return; } imageUrls_.Add(other.imageUrls_); if (other.currentMenu_ != null) { if (currentMenu_ == null) { CurrentMenu = new global::WUProtos.Data.OutpostMenu(); } CurrentMenu.MergeFrom(other.CurrentMenu); } if (other.PartnerId.Length != 0) { PartnerId = other.PartnerId; } if (other.poiDetails_ != null) { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } PoiDetails.MergeFrom(other.PoiDetails); } if (other.PoiAccessibility != 0) { PoiAccessibility = other.PoiAccessibility; } _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: { imageUrls_.AddEntriesFrom(input, _repeated_imageUrls_codec); break; } case 18: { if (currentMenu_ == null) { CurrentMenu = new global::WUProtos.Data.OutpostMenu(); } input.ReadMessage(CurrentMenu); break; } case 26: { PartnerId = input.ReadString(); break; } case 34: { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } input.ReadMessage(PoiDetails); break; } case 40: { PoiAccessibility = (global::WUProtos.Enums.PoiAccessibility)input.ReadEnum(); break; } } } }
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: { FortressTemplateGmtId = input.ReadString(); break; } case 18: { chambers_.AddEntriesFrom(input, _repeated_chambers_codec); break; } case 34: { PartnerId = input.ReadString(); break; } case 42: { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } input.ReadMessage(PoiDetails); break; } case 48: { PoiAccessibility = (global::WUProtos.Enums.PoiAccessibility)input.ReadEnum(); break; } } } }
public void MergeFrom(GetGreenhouseDetailsResponse other) { if (other == null) { return; } if (other.PartnerId.Length != 0) { PartnerId = other.PartnerId; } if (other.poiDetails_ != null) { if (poiDetails_ == null) { PoiDetails = new global::WUProtos.Data.PoiDetails(); } PoiDetails.MergeFrom(other.PoiDetails); } if (other.PoiAccessibility != 0) { PoiAccessibility = other.PoiAccessibility; } _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields); }