685 lines
25 KiB
C#
685 lines
25 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: rec_room/persistence/ugc_storefront_data.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace RecRoom.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from rec_room/persistence/ugc_storefront_data.proto</summary>
|
|
public static partial class UgcStorefrontDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for rec_room/persistence/ugc_storefront_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static UgcStorefrontDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"Ci5yZWNfcm9vbS9wZXJzaXN0ZW5jZS91Z2Nfc3RvcmVmcm9udF9kYXRhLnBy",
|
|
"b3RvEghyZWNfcm9vbSJFChlVR0NTdG9yZWZyb250Q2Fyb3VzZWxEYXRhEgwK",
|
|
"BG5hbWUYASABKAkSGgoScHVyY2hhc2FibGVJdGVtSWRzGAIgAygJIvEBChFV",
|
|
"R0NTdG9yZWZyb250RGF0YRI2CgljYXJvdXNlbHMYASADKAsyIy5yZWNfcm9v",
|
|
"bS5VR0NTdG9yZWZyb250Q2Fyb3VzZWxEYXRhEiAKGGZlYXR1cmVkQ2Fyb3Vz",
|
|
"ZWxSb3dDb3VudBgCIAEoBRIjChtmZWF0dXJlZENhcm91c2VsQ29sdW1uQ291",
|
|
"bnQYAyABKAUSHAoUaXNUaGlzUm9vbVN0b3JlZnJvbnQYBCABKAgSGgoSaXNC",
|
|
"YWNrZ3JvdW5kSGlkZGVuGAUgASgIEhEKCWlzRW5hYmxlZBgGIAEoCBIQCghp",
|
|
"c1N5bmNlZBgHIAEoCEITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.UGCStorefrontCarouselData), global::RecRoom.Protobuf.UGCStorefrontCarouselData.Parser, new[]{ "Name", "PurchasableItemIds" }, null, null, null, null),
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.UGCStorefrontData), global::RecRoom.Protobuf.UGCStorefrontData.Parser, new[]{ "Carousels", "FeaturedCarouselRowCount", "FeaturedCarouselColumnCount", "IsThisRoomStorefront", "IsBackgroundHidden", "IsEnabled", "IsSynced" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class UGCStorefrontCarouselData : pb::IMessage<UGCStorefrontCarouselData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<UGCStorefrontCarouselData> _parser = new pb::MessageParser<UGCStorefrontCarouselData>(() => new UGCStorefrontCarouselData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<UGCStorefrontCarouselData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RecRoom.Protobuf.UgcStorefrontDataReflection.Descriptor.MessageTypes[0]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public UGCStorefrontCarouselData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public UGCStorefrontCarouselData(UGCStorefrontCarouselData other) : this() {
|
|
name_ = other.name_;
|
|
purchasableItemIds_ = other.purchasableItemIds_.Clone();
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public UGCStorefrontCarouselData Clone() {
|
|
return new UGCStorefrontCarouselData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "name" field.</summary>
|
|
public const int NameFieldNumber = 1;
|
|
private string name_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Name {
|
|
get { return name_; }
|
|
set {
|
|
name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "purchasableItemIds" field.</summary>
|
|
public const int PurchasableItemIdsFieldNumber = 2;
|
|
private static readonly pb::FieldCodec<string> _repeated_purchasableItemIds_codec
|
|
= pb::FieldCodec.ForString(18);
|
|
private readonly pbc::RepeatedField<string> purchasableItemIds_ = new pbc::RepeatedField<string>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<string> PurchasableItemIds {
|
|
get { return purchasableItemIds_; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as UGCStorefrontCarouselData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(UGCStorefrontCarouselData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Name != other.Name) return false;
|
|
if(!purchasableItemIds_.Equals(other.purchasableItemIds_)) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
if (Name.Length != 0) hash ^= Name.GetHashCode();
|
|
hash ^= purchasableItemIds_.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Name);
|
|
}
|
|
purchasableItemIds_.WriteTo(output, _repeated_purchasableItemIds_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
if (Name.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(Name);
|
|
}
|
|
purchasableItemIds_.WriteTo(ref output, _repeated_purchasableItemIds_codec);
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
if (Name.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
|
}
|
|
size += purchasableItemIds_.CalculateSize(_repeated_purchasableItemIds_codec);
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(UGCStorefrontCarouselData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Name.Length != 0) {
|
|
Name = other.Name;
|
|
}
|
|
purchasableItemIds_.Add(other.purchasableItemIds_);
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
purchasableItemIds_.AddEntriesFrom(input, _repeated_purchasableItemIds_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
Name = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
purchasableItemIds_.AddEntriesFrom(ref input, _repeated_purchasableItemIds_codec);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class UGCStorefrontData : pb::IMessage<UGCStorefrontData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<UGCStorefrontData> _parser = new pb::MessageParser<UGCStorefrontData>(() => new UGCStorefrontData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<UGCStorefrontData> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RecRoom.Protobuf.UgcStorefrontDataReflection.Descriptor.MessageTypes[1]; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
|
get { return Descriptor; }
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public UGCStorefrontData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public UGCStorefrontData(UGCStorefrontData other) : this() {
|
|
carousels_ = other.carousels_.Clone();
|
|
featuredCarouselRowCount_ = other.featuredCarouselRowCount_;
|
|
featuredCarouselColumnCount_ = other.featuredCarouselColumnCount_;
|
|
isThisRoomStorefront_ = other.isThisRoomStorefront_;
|
|
isBackgroundHidden_ = other.isBackgroundHidden_;
|
|
isEnabled_ = other.isEnabled_;
|
|
isSynced_ = other.isSynced_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public UGCStorefrontData Clone() {
|
|
return new UGCStorefrontData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "carousels" field.</summary>
|
|
public const int CarouselsFieldNumber = 1;
|
|
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.UGCStorefrontCarouselData> _repeated_carousels_codec
|
|
= pb::FieldCodec.ForMessage(10, global::RecRoom.Protobuf.UGCStorefrontCarouselData.Parser);
|
|
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.UGCStorefrontCarouselData> carousels_ = new pbc::RepeatedField<global::RecRoom.Protobuf.UGCStorefrontCarouselData>();
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public pbc::RepeatedField<global::RecRoom.Protobuf.UGCStorefrontCarouselData> Carousels {
|
|
get { return carousels_; }
|
|
}
|
|
|
|
/// <summary>Field number for the "featuredCarouselRowCount" field.</summary>
|
|
public const int FeaturedCarouselRowCountFieldNumber = 2;
|
|
private int featuredCarouselRowCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int FeaturedCarouselRowCount {
|
|
get { return featuredCarouselRowCount_; }
|
|
set {
|
|
featuredCarouselRowCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "featuredCarouselColumnCount" field.</summary>
|
|
public const int FeaturedCarouselColumnCountFieldNumber = 3;
|
|
private int featuredCarouselColumnCount_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int FeaturedCarouselColumnCount {
|
|
get { return featuredCarouselColumnCount_; }
|
|
set {
|
|
featuredCarouselColumnCount_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "isThisRoomStorefront" field.</summary>
|
|
public const int IsThisRoomStorefrontFieldNumber = 4;
|
|
private bool isThisRoomStorefront_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsThisRoomStorefront {
|
|
get { return isThisRoomStorefront_; }
|
|
set {
|
|
isThisRoomStorefront_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "isBackgroundHidden" field.</summary>
|
|
public const int IsBackgroundHiddenFieldNumber = 5;
|
|
private bool isBackgroundHidden_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsBackgroundHidden {
|
|
get { return isBackgroundHidden_; }
|
|
set {
|
|
isBackgroundHidden_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "isEnabled" field.</summary>
|
|
public const int IsEnabledFieldNumber = 6;
|
|
private bool isEnabled_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsEnabled {
|
|
get { return isEnabled_; }
|
|
set {
|
|
isEnabled_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "isSynced" field.</summary>
|
|
public const int IsSyncedFieldNumber = 7;
|
|
private bool isSynced_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool IsSynced {
|
|
get { return isSynced_; }
|
|
set {
|
|
isSynced_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as UGCStorefrontData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(UGCStorefrontData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if(!carousels_.Equals(other.carousels_)) return false;
|
|
if (FeaturedCarouselRowCount != other.FeaturedCarouselRowCount) return false;
|
|
if (FeaturedCarouselColumnCount != other.FeaturedCarouselColumnCount) return false;
|
|
if (IsThisRoomStorefront != other.IsThisRoomStorefront) return false;
|
|
if (IsBackgroundHidden != other.IsBackgroundHidden) return false;
|
|
if (IsEnabled != other.IsEnabled) return false;
|
|
if (IsSynced != other.IsSynced) return false;
|
|
return Equals(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override int GetHashCode() {
|
|
int hash = 1;
|
|
hash ^= carousels_.GetHashCode();
|
|
if (FeaturedCarouselRowCount != 0) hash ^= FeaturedCarouselRowCount.GetHashCode();
|
|
if (FeaturedCarouselColumnCount != 0) hash ^= FeaturedCarouselColumnCount.GetHashCode();
|
|
if (IsThisRoomStorefront != false) hash ^= IsThisRoomStorefront.GetHashCode();
|
|
if (IsBackgroundHidden != false) hash ^= IsBackgroundHidden.GetHashCode();
|
|
if (IsEnabled != false) hash ^= IsEnabled.GetHashCode();
|
|
if (IsSynced != false) hash ^= IsSynced.GetHashCode();
|
|
if (_unknownFields != null) {
|
|
hash ^= _unknownFields.GetHashCode();
|
|
}
|
|
return hash;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override string ToString() {
|
|
return pb::JsonFormatter.ToDiagnosticString(this);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void WriteTo(pb::CodedOutputStream output) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
output.WriteRawMessage(this);
|
|
#else
|
|
carousels_.WriteTo(output, _repeated_carousels_codec);
|
|
if (FeaturedCarouselRowCount != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(FeaturedCarouselRowCount);
|
|
}
|
|
if (FeaturedCarouselColumnCount != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(FeaturedCarouselColumnCount);
|
|
}
|
|
if (IsThisRoomStorefront != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(IsThisRoomStorefront);
|
|
}
|
|
if (IsBackgroundHidden != false) {
|
|
output.WriteRawTag(40);
|
|
output.WriteBool(IsBackgroundHidden);
|
|
}
|
|
if (IsEnabled != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(IsEnabled);
|
|
}
|
|
if (IsSynced != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(IsSynced);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(output);
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
|
carousels_.WriteTo(ref output, _repeated_carousels_codec);
|
|
if (FeaturedCarouselRowCount != 0) {
|
|
output.WriteRawTag(16);
|
|
output.WriteInt32(FeaturedCarouselRowCount);
|
|
}
|
|
if (FeaturedCarouselColumnCount != 0) {
|
|
output.WriteRawTag(24);
|
|
output.WriteInt32(FeaturedCarouselColumnCount);
|
|
}
|
|
if (IsThisRoomStorefront != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(IsThisRoomStorefront);
|
|
}
|
|
if (IsBackgroundHidden != false) {
|
|
output.WriteRawTag(40);
|
|
output.WriteBool(IsBackgroundHidden);
|
|
}
|
|
if (IsEnabled != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(IsEnabled);
|
|
}
|
|
if (IsSynced != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(IsSynced);
|
|
}
|
|
if (_unknownFields != null) {
|
|
_unknownFields.WriteTo(ref output);
|
|
}
|
|
}
|
|
#endif
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int CalculateSize() {
|
|
int size = 0;
|
|
size += carousels_.CalculateSize(_repeated_carousels_codec);
|
|
if (FeaturedCarouselRowCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeaturedCarouselRowCount);
|
|
}
|
|
if (FeaturedCarouselColumnCount != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(FeaturedCarouselColumnCount);
|
|
}
|
|
if (IsThisRoomStorefront != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (IsBackgroundHidden != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (IsEnabled != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (IsSynced != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(UGCStorefrontData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
carousels_.Add(other.carousels_);
|
|
if (other.FeaturedCarouselRowCount != 0) {
|
|
FeaturedCarouselRowCount = other.FeaturedCarouselRowCount;
|
|
}
|
|
if (other.FeaturedCarouselColumnCount != 0) {
|
|
FeaturedCarouselColumnCount = other.FeaturedCarouselColumnCount;
|
|
}
|
|
if (other.IsThisRoomStorefront != false) {
|
|
IsThisRoomStorefront = other.IsThisRoomStorefront;
|
|
}
|
|
if (other.IsBackgroundHidden != false) {
|
|
IsBackgroundHidden = other.IsBackgroundHidden;
|
|
}
|
|
if (other.IsEnabled != false) {
|
|
IsEnabled = other.IsEnabled;
|
|
}
|
|
if (other.IsSynced != false) {
|
|
IsSynced = other.IsSynced;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
carousels_.AddEntriesFrom(input, _repeated_carousels_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
FeaturedCarouselRowCount = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
FeaturedCarouselColumnCount = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
IsThisRoomStorefront = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
IsBackgroundHidden = input.ReadBool();
|
|
break;
|
|
}
|
|
case 48: {
|
|
IsEnabled = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
IsSynced = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
}
|
|
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
carousels_.AddEntriesFrom(ref input, _repeated_carousels_codec);
|
|
break;
|
|
}
|
|
case 16: {
|
|
FeaturedCarouselRowCount = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 24: {
|
|
FeaturedCarouselColumnCount = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 32: {
|
|
IsThisRoomStorefront = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
IsBackgroundHidden = input.ReadBool();
|
|
break;
|
|
}
|
|
case 48: {
|
|
IsEnabled = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
IsSynced = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|