Protobuf...
This commit is contained in:
520
CircuitStudioUnitySubAssetUsageData.cs
Normal file
520
CircuitStudioUnitySubAssetUsageData.cs
Normal file
@@ -0,0 +1,520 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/circuit_studio_unity_sub_asset_usage_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 CircuitsV2.Protobuf {
|
||||
|
||||
/// <summary>Holder for reflection information generated from circuits_v2/circuit_studio_unity_sub_asset_usage_data.proto</summary>
|
||||
public static partial class CircuitStudioUnitySubAssetUsageDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/circuit_studio_unity_sub_asset_usage_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static CircuitStudioUnitySubAssetUsageDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CjtjaXJjdWl0c192Mi9jaXJjdWl0X3N0dWRpb191bml0eV9zdWJfYXNzZXRf",
|
||||
"dXNhZ2VfZGF0YS5wcm90bxILY2lyY3VpdHNfdjIaFGNvcmUvZ3VpZF9kYXRh",
|
||||
"LnByb3RvInIKI0NpcmN1aXRTdHVkaW9Vbml0eVN1YkFzc2V0VXNhZ2VEYXRh",
|
||||
"EksKDHVuaXR5X2Fzc2V0cxgBIAMoCzI1LmNpcmN1aXRzX3YyLkNpcmN1aXRT",
|
||||
"dHVkaW9Vbml0eVN1YkFzc2V0VXNhZ2VFbnRyeURhdGEizQEKKENpcmN1aXRT",
|
||||
"dHVkaW9Vbml0eVN1YkFzc2V0VXNhZ2VFbnRyeURhdGESJgoOdW5pdHlfYXNz",
|
||||
"ZXRfaWQYASABKAsyDi5jb3JlLkd1aWREYXRhEjIKGnJlZmVyZW5jZWRfdW5p",
|
||||
"dHlfYXNzZXRfaWRzGAIgAygLMg4uY29yZS5HdWlkRGF0YRJFChB1bml0eV9h",
|
||||
"c3NldF9raW5kGAMgASgOMisuY2lyY3VpdHNfdjIuQ2lyY3VpdFN0dWRpb1Vu",
|
||||
"aXR5U3ViQXNzZXRLaW5kKlAKHkNpcmN1aXRTdHVkaW9Vbml0eVN1YkFzc2V0",
|
||||
"S2luZBINCglBdWRpb0NsaXAQABIOCgpQcm9qZWN0aWxlEAESDwoLUGFydGlj",
|
||||
"bGVWZngQAkIWqgITQ2lyY3VpdHNWMi5Qcm90b2J1ZmIGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::RecRoom.Protobuf.Core.GuidDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(new[] {typeof(global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind), }, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageData), global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageData.Parser, new[]{ "UnityAssets" }, null, null, null, null),
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData), global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData.Parser, new[]{ "UnityAssetId", "ReferencedUnityAssetIds", "UnityAssetKind" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Enums
|
||||
public enum CircuitStudioUnitySubAssetKind {
|
||||
[pbr::OriginalName("AudioClip")] AudioClip = 0,
|
||||
[pbr::OriginalName("Projectile")] Projectile = 1,
|
||||
[pbr::OriginalName("ParticleVfx")] ParticleVfx = 2,
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitStudioUnitySubAssetUsageData : pb::IMessage<CircuitStudioUnitySubAssetUsageData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitStudioUnitySubAssetUsageData> _parser = new pb::MessageParser<CircuitStudioUnitySubAssetUsageData>(() => new CircuitStudioUnitySubAssetUsageData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitStudioUnitySubAssetUsageData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageDataReflection.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 CircuitStudioUnitySubAssetUsageData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitStudioUnitySubAssetUsageData(CircuitStudioUnitySubAssetUsageData other) : this() {
|
||||
unityAssets_ = other.unityAssets_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitStudioUnitySubAssetUsageData Clone() {
|
||||
return new CircuitStudioUnitySubAssetUsageData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unity_assets" field.</summary>
|
||||
public const int UnityAssetsFieldNumber = 1;
|
||||
private static readonly pb::FieldCodec<global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData> _repeated_unityAssets_codec
|
||||
= pb::FieldCodec.ForMessage(10, global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData.Parser);
|
||||
private readonly pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData> unityAssets_ = new pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageEntryData> UnityAssets {
|
||||
get { return unityAssets_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitStudioUnitySubAssetUsageData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitStudioUnitySubAssetUsageData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if(!unityAssets_.Equals(other.unityAssets_)) 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 ^= unityAssets_.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
|
||||
unityAssets_.WriteTo(output, _repeated_unityAssets_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) {
|
||||
unityAssets_.WriteTo(ref output, _repeated_unityAssets_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;
|
||||
size += unityAssets_.CalculateSize(_repeated_unityAssets_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitStudioUnitySubAssetUsageData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
unityAssets_.Add(other.unityAssets_);
|
||||
_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: {
|
||||
unityAssets_.AddEntriesFrom(input, _repeated_unityAssets_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: {
|
||||
unityAssets_.AddEntriesFrom(ref input, _repeated_unityAssets_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class CircuitStudioUnitySubAssetUsageEntryData : pb::IMessage<CircuitStudioUnitySubAssetUsageEntryData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<CircuitStudioUnitySubAssetUsageEntryData> _parser = new pb::MessageParser<CircuitStudioUnitySubAssetUsageEntryData>(() => new CircuitStudioUnitySubAssetUsageEntryData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<CircuitStudioUnitySubAssetUsageEntryData> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetUsageDataReflection.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 CircuitStudioUnitySubAssetUsageEntryData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitStudioUnitySubAssetUsageEntryData(CircuitStudioUnitySubAssetUsageEntryData other) : this() {
|
||||
unityAssetId_ = other.unityAssetId_ != null ? other.unityAssetId_.Clone() : null;
|
||||
referencedUnityAssetIds_ = other.referencedUnityAssetIds_.Clone();
|
||||
unityAssetKind_ = other.unityAssetKind_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public CircuitStudioUnitySubAssetUsageEntryData Clone() {
|
||||
return new CircuitStudioUnitySubAssetUsageEntryData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unity_asset_id" field.</summary>
|
||||
public const int UnityAssetIdFieldNumber = 1;
|
||||
private global::RecRoom.Protobuf.Core.GuidData unityAssetId_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::RecRoom.Protobuf.Core.GuidData UnityAssetId {
|
||||
get { return unityAssetId_; }
|
||||
set {
|
||||
unityAssetId_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "referenced_unity_asset_ids" field.</summary>
|
||||
public const int ReferencedUnityAssetIdsFieldNumber = 2;
|
||||
private static readonly pb::FieldCodec<global::RecRoom.Protobuf.Core.GuidData> _repeated_referencedUnityAssetIds_codec
|
||||
= pb::FieldCodec.ForMessage(18, global::RecRoom.Protobuf.Core.GuidData.Parser);
|
||||
private readonly pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> referencedUnityAssetIds_ = new pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::RepeatedField<global::RecRoom.Protobuf.Core.GuidData> ReferencedUnityAssetIds {
|
||||
get { return referencedUnityAssetIds_; }
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "unity_asset_kind" field.</summary>
|
||||
public const int UnityAssetKindFieldNumber = 3;
|
||||
private global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind unityAssetKind_ = global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind UnityAssetKind {
|
||||
get { return unityAssetKind_; }
|
||||
set {
|
||||
unityAssetKind_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as CircuitStudioUnitySubAssetUsageEntryData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(CircuitStudioUnitySubAssetUsageEntryData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(UnityAssetId, other.UnityAssetId)) return false;
|
||||
if(!referencedUnityAssetIds_.Equals(other.referencedUnityAssetIds_)) return false;
|
||||
if (UnityAssetKind != other.UnityAssetKind) 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 (unityAssetId_ != null) hash ^= UnityAssetId.GetHashCode();
|
||||
hash ^= referencedUnityAssetIds_.GetHashCode();
|
||||
if (UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) hash ^= UnityAssetKind.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 (unityAssetId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(UnityAssetId);
|
||||
}
|
||||
referencedUnityAssetIds_.WriteTo(output, _repeated_referencedUnityAssetIds_codec);
|
||||
if (UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteEnum((int) UnityAssetKind);
|
||||
}
|
||||
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 (unityAssetId_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(UnityAssetId);
|
||||
}
|
||||
referencedUnityAssetIds_.WriteTo(ref output, _repeated_referencedUnityAssetIds_codec);
|
||||
if (UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) {
|
||||
output.WriteRawTag(24);
|
||||
output.WriteEnum((int) UnityAssetKind);
|
||||
}
|
||||
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 (unityAssetId_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(UnityAssetId);
|
||||
}
|
||||
size += referencedUnityAssetIds_.CalculateSize(_repeated_referencedUnityAssetIds_codec);
|
||||
if (UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) UnityAssetKind);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(CircuitStudioUnitySubAssetUsageEntryData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.unityAssetId_ != null) {
|
||||
if (unityAssetId_ == null) {
|
||||
UnityAssetId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
UnityAssetId.MergeFrom(other.UnityAssetId);
|
||||
}
|
||||
referencedUnityAssetIds_.Add(other.referencedUnityAssetIds_);
|
||||
if (other.UnityAssetKind != global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind.AudioClip) {
|
||||
UnityAssetKind = other.UnityAssetKind;
|
||||
}
|
||||
_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: {
|
||||
if (unityAssetId_ == null) {
|
||||
UnityAssetId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(UnityAssetId);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
referencedUnityAssetIds_.AddEntriesFrom(input, _repeated_referencedUnityAssetIds_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
UnityAssetKind = (global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind) input.ReadEnum();
|
||||
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: {
|
||||
if (unityAssetId_ == null) {
|
||||
UnityAssetId = new global::RecRoom.Protobuf.Core.GuidData();
|
||||
}
|
||||
input.ReadMessage(UnityAssetId);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
referencedUnityAssetIds_.AddEntriesFrom(ref input, _repeated_referencedUnityAssetIds_codec);
|
||||
break;
|
||||
}
|
||||
case 24: {
|
||||
UnityAssetKind = (global::CircuitsV2.Protobuf.CircuitStudioUnitySubAssetKind) input.ReadEnum();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user