Protobuf...
This commit is contained in:
472
PlayerWorldUiData.cs
Normal file
472
PlayerWorldUiData.cs
Normal file
@@ -0,0 +1,472 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: circuits_v2/player_world_ui_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/player_world_ui_data.proto</summary>
|
||||
public static partial class PlayerWorldUiDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for circuits_v2/player_world_ui_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static PlayerWorldUiDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CiZjaXJjdWl0c192Mi9wbGF5ZXJfd29ybGRfdWlfZGF0YS5wcm90bxILY2ly",
|
||||
"Y3VpdHNfdjIaMWNpcmN1aXRzX3YyL2NpcmN1aXRfaW50ZXJhY3Rpb25fZmls",
|
||||
"dGVyX2RhdGEucHJvdG8aJ2NpcmN1aXRzX3YyL3BsYXllcl93b3JsZF9iYXJf",
|
||||
"ZGF0YS5wcm90bxooY2lyY3VpdHNfdjIvcGxheWVyX3dvcmxkX3RleHRfZGF0",
|
||||
"YS5wcm90byKWAgoRUGxheWVyV29ybGRVSURhdGESNAoLcHJpbWFyeV9iYXIY",
|
||||
"ASABKAsyHy5jaXJjdWl0c192Mi5QbGF5ZXJXb3JsZEJhckRhdGESNgoNc2Vj",
|
||||
"b25kYXJ5X2JhchgCIAEoCzIfLmNpcmN1aXRzX3YyLlBsYXllcldvcmxkQmFy",
|
||||
"RGF0YRIuCgR0ZXh0GAMgASgLMiAuY2lyY3VpdHNfdjIuUGxheWVyV29ybGRU",
|
||||
"ZXh0RGF0YRIOCgZzeW5jZWQYBCABKAgSRQoSaW50ZXJhY3Rpb25fZmlsdGVy",
|
||||
"GAUgASgLMikuY2lyY3VpdHNfdjIuQ2lyY3VpdEludGVyYWN0aW9uRmlsdGVy",
|
||||
"RGF0YRIMCgRuYW1lGAYgASgJQhaqAhNDaXJjdWl0c1YyLlByb3RvYnVmYgZw",
|
||||
"cm90bzM="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { global::CircuitsV2.Protobuf.CircuitInteractionFilterDataReflection.Descriptor, global::CircuitsV2.Protobuf.PlayerWorldBarDataReflection.Descriptor, global::CircuitsV2.Protobuf.PlayerWorldTextDataReflection.Descriptor, },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::CircuitsV2.Protobuf.PlayerWorldUIData), global::CircuitsV2.Protobuf.PlayerWorldUIData.Parser, new[]{ "PrimaryBar", "SecondaryBar", "Text", "Synced", "InteractionFilter", "Name" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class PlayerWorldUIData : pb::IMessage<PlayerWorldUIData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<PlayerWorldUIData> _parser = new pb::MessageParser<PlayerWorldUIData>(() => new PlayerWorldUIData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<PlayerWorldUIData> 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.PlayerWorldUiDataReflection.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 PlayerWorldUIData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public PlayerWorldUIData(PlayerWorldUIData other) : this() {
|
||||
primaryBar_ = other.primaryBar_ != null ? other.primaryBar_.Clone() : null;
|
||||
secondaryBar_ = other.secondaryBar_ != null ? other.secondaryBar_.Clone() : null;
|
||||
text_ = other.text_ != null ? other.text_.Clone() : null;
|
||||
synced_ = other.synced_;
|
||||
interactionFilter_ = other.interactionFilter_ != null ? other.interactionFilter_.Clone() : null;
|
||||
name_ = other.name_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public PlayerWorldUIData Clone() {
|
||||
return new PlayerWorldUIData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "primary_bar" field.</summary>
|
||||
public const int PrimaryBarFieldNumber = 1;
|
||||
private global::CircuitsV2.Protobuf.PlayerWorldBarData primaryBar_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.PlayerWorldBarData PrimaryBar {
|
||||
get { return primaryBar_; }
|
||||
set {
|
||||
primaryBar_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "secondary_bar" field.</summary>
|
||||
public const int SecondaryBarFieldNumber = 2;
|
||||
private global::CircuitsV2.Protobuf.PlayerWorldBarData secondaryBar_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.PlayerWorldBarData SecondaryBar {
|
||||
get { return secondaryBar_; }
|
||||
set {
|
||||
secondaryBar_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "text" field.</summary>
|
||||
public const int TextFieldNumber = 3;
|
||||
private global::CircuitsV2.Protobuf.PlayerWorldTextData text_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.PlayerWorldTextData Text {
|
||||
get { return text_; }
|
||||
set {
|
||||
text_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "synced" field.</summary>
|
||||
public const int SyncedFieldNumber = 4;
|
||||
private bool synced_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Synced {
|
||||
get { return synced_; }
|
||||
set {
|
||||
synced_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "interaction_filter" field.</summary>
|
||||
public const int InteractionFilterFieldNumber = 5;
|
||||
private global::CircuitsV2.Protobuf.CircuitInteractionFilterData interactionFilter_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public global::CircuitsV2.Protobuf.CircuitInteractionFilterData InteractionFilter {
|
||||
get { return interactionFilter_; }
|
||||
set {
|
||||
interactionFilter_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "name" field.</summary>
|
||||
public const int NameFieldNumber = 6;
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as PlayerWorldUIData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(PlayerWorldUIData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (!object.Equals(PrimaryBar, other.PrimaryBar)) return false;
|
||||
if (!object.Equals(SecondaryBar, other.SecondaryBar)) return false;
|
||||
if (!object.Equals(Text, other.Text)) return false;
|
||||
if (Synced != other.Synced) return false;
|
||||
if (!object.Equals(InteractionFilter, other.InteractionFilter)) return false;
|
||||
if (Name != other.Name) 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 (primaryBar_ != null) hash ^= PrimaryBar.GetHashCode();
|
||||
if (secondaryBar_ != null) hash ^= SecondaryBar.GetHashCode();
|
||||
if (text_ != null) hash ^= Text.GetHashCode();
|
||||
if (Synced != false) hash ^= Synced.GetHashCode();
|
||||
if (interactionFilter_ != null) hash ^= InteractionFilter.GetHashCode();
|
||||
if (Name.Length != 0) hash ^= Name.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 (primaryBar_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(PrimaryBar);
|
||||
}
|
||||
if (secondaryBar_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(SecondaryBar);
|
||||
}
|
||||
if (text_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(Text);
|
||||
}
|
||||
if (Synced != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(Synced);
|
||||
}
|
||||
if (interactionFilter_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(InteractionFilter);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
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 (primaryBar_ != null) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteMessage(PrimaryBar);
|
||||
}
|
||||
if (secondaryBar_ != null) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteMessage(SecondaryBar);
|
||||
}
|
||||
if (text_ != null) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteMessage(Text);
|
||||
}
|
||||
if (Synced != false) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteBool(Synced);
|
||||
}
|
||||
if (interactionFilter_ != null) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteMessage(InteractionFilter);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(Name);
|
||||
}
|
||||
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 (primaryBar_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PrimaryBar);
|
||||
}
|
||||
if (secondaryBar_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(SecondaryBar);
|
||||
}
|
||||
if (text_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(Text);
|
||||
}
|
||||
if (Synced != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (interactionFilter_ != null) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeMessageSize(InteractionFilter);
|
||||
}
|
||||
if (Name.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(PlayerWorldUIData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.primaryBar_ != null) {
|
||||
if (primaryBar_ == null) {
|
||||
PrimaryBar = new global::CircuitsV2.Protobuf.PlayerWorldBarData();
|
||||
}
|
||||
PrimaryBar.MergeFrom(other.PrimaryBar);
|
||||
}
|
||||
if (other.secondaryBar_ != null) {
|
||||
if (secondaryBar_ == null) {
|
||||
SecondaryBar = new global::CircuitsV2.Protobuf.PlayerWorldBarData();
|
||||
}
|
||||
SecondaryBar.MergeFrom(other.SecondaryBar);
|
||||
}
|
||||
if (other.text_ != null) {
|
||||
if (text_ == null) {
|
||||
Text = new global::CircuitsV2.Protobuf.PlayerWorldTextData();
|
||||
}
|
||||
Text.MergeFrom(other.Text);
|
||||
}
|
||||
if (other.Synced != false) {
|
||||
Synced = other.Synced;
|
||||
}
|
||||
if (other.interactionFilter_ != null) {
|
||||
if (interactionFilter_ == null) {
|
||||
InteractionFilter = new global::CircuitsV2.Protobuf.CircuitInteractionFilterData();
|
||||
}
|
||||
InteractionFilter.MergeFrom(other.InteractionFilter);
|
||||
}
|
||||
if (other.Name.Length != 0) {
|
||||
Name = other.Name;
|
||||
}
|
||||
_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 (primaryBar_ == null) {
|
||||
PrimaryBar = new global::CircuitsV2.Protobuf.PlayerWorldBarData();
|
||||
}
|
||||
input.ReadMessage(PrimaryBar);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (secondaryBar_ == null) {
|
||||
SecondaryBar = new global::CircuitsV2.Protobuf.PlayerWorldBarData();
|
||||
}
|
||||
input.ReadMessage(SecondaryBar);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (text_ == null) {
|
||||
Text = new global::CircuitsV2.Protobuf.PlayerWorldTextData();
|
||||
}
|
||||
input.ReadMessage(Text);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Synced = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (interactionFilter_ == null) {
|
||||
InteractionFilter = new global::CircuitsV2.Protobuf.CircuitInteractionFilterData();
|
||||
}
|
||||
input.ReadMessage(InteractionFilter);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
Name = input.ReadString();
|
||||
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 (primaryBar_ == null) {
|
||||
PrimaryBar = new global::CircuitsV2.Protobuf.PlayerWorldBarData();
|
||||
}
|
||||
input.ReadMessage(PrimaryBar);
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
if (secondaryBar_ == null) {
|
||||
SecondaryBar = new global::CircuitsV2.Protobuf.PlayerWorldBarData();
|
||||
}
|
||||
input.ReadMessage(SecondaryBar);
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
if (text_ == null) {
|
||||
Text = new global::CircuitsV2.Protobuf.PlayerWorldTextData();
|
||||
}
|
||||
input.ReadMessage(Text);
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Synced = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
if (interactionFilter_ == null) {
|
||||
InteractionFilter = new global::CircuitsV2.Protobuf.CircuitInteractionFilterData();
|
||||
}
|
||||
input.ReadMessage(InteractionFilter);
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
Name = input.ReadString();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user