mirror of
https://github.com/raphaeIl/Novaria.git
synced 2025-12-15 16:04:48 +01:00
429 lines
14 KiB
C#
429 lines
14 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: InteractiveAction.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 Nova.Client {
|
|
|
|
/// <summary>Holder for reflection information generated from InteractiveAction.proto</summary>
|
|
public static partial class InteractiveActionReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for InteractiveAction.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static InteractiveActionReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"ChdJbnRlcmFjdGl2ZUFjdGlvbi5wcm90byJxChFJbnRlcmFjdGl2ZUFjdGlv",
|
|
"bhIKCgJpZBgBIAEoBRISCgpwbGF5ZXJfYW5pGAIgASgIEg0KBWljb24wGAMg",
|
|
"ASgJEg4KBnRpdGxlMBgEIAEoCRINCgVpY29uMRgFIAEoCRIOCgZ0aXRsZTEY",
|
|
"BiABKAlCDqoCC05vdmEuQ2xpZW50YgZwcm90bzM="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.InteractiveAction), global::Nova.Client.InteractiveAction.Parser, new[]{ "Id", "PlayerAni", "Icon0", "Title0", "Icon1", "Title1" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class InteractiveAction : pb::IMessage<InteractiveAction>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<InteractiveAction> _parser = new pb::MessageParser<InteractiveAction>(() => new InteractiveAction());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<InteractiveAction> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::Nova.Client.InteractiveActionReflection.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 InteractiveAction() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public InteractiveAction(InteractiveAction other) : this() {
|
|
id_ = other.id_;
|
|
playerAni_ = other.playerAni_;
|
|
icon0_ = other.icon0_;
|
|
title0_ = other.title0_;
|
|
icon1_ = other.icon1_;
|
|
title1_ = other.title1_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public InteractiveAction Clone() {
|
|
return new InteractiveAction(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "id" field.</summary>
|
|
public const int IdFieldNumber = 1;
|
|
private int id_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int Id {
|
|
get { return id_; }
|
|
set {
|
|
id_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "player_ani" field.</summary>
|
|
public const int PlayerAniFieldNumber = 2;
|
|
private bool playerAni_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool PlayerAni {
|
|
get { return playerAni_; }
|
|
set {
|
|
playerAni_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "icon0" field.</summary>
|
|
public const int Icon0FieldNumber = 3;
|
|
private string icon0_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Icon0 {
|
|
get { return icon0_; }
|
|
set {
|
|
icon0_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "title0" field.</summary>
|
|
public const int Title0FieldNumber = 4;
|
|
private string title0_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Title0 {
|
|
get { return title0_; }
|
|
set {
|
|
title0_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "icon1" field.</summary>
|
|
public const int Icon1FieldNumber = 5;
|
|
private string icon1_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Icon1 {
|
|
get { return icon1_; }
|
|
set {
|
|
icon1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "title1" field.</summary>
|
|
public const int Title1FieldNumber = 6;
|
|
private string title1_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string Title1 {
|
|
get { return title1_; }
|
|
set {
|
|
title1_ = 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 InteractiveAction);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(InteractiveAction other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (Id != other.Id) return false;
|
|
if (PlayerAni != other.PlayerAni) return false;
|
|
if (Icon0 != other.Icon0) return false;
|
|
if (Title0 != other.Title0) return false;
|
|
if (Icon1 != other.Icon1) return false;
|
|
if (Title1 != other.Title1) 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 (Id != 0) hash ^= Id.GetHashCode();
|
|
if (PlayerAni != false) hash ^= PlayerAni.GetHashCode();
|
|
if (Icon0.Length != 0) hash ^= Icon0.GetHashCode();
|
|
if (Title0.Length != 0) hash ^= Title0.GetHashCode();
|
|
if (Icon1.Length != 0) hash ^= Icon1.GetHashCode();
|
|
if (Title1.Length != 0) hash ^= Title1.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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (PlayerAni != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(PlayerAni);
|
|
}
|
|
if (Icon0.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Icon0);
|
|
}
|
|
if (Title0.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Title0);
|
|
}
|
|
if (Icon1.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Icon1);
|
|
}
|
|
if (Title1.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Title1);
|
|
}
|
|
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 (Id != 0) {
|
|
output.WriteRawTag(8);
|
|
output.WriteInt32(Id);
|
|
}
|
|
if (PlayerAni != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(PlayerAni);
|
|
}
|
|
if (Icon0.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(Icon0);
|
|
}
|
|
if (Title0.Length != 0) {
|
|
output.WriteRawTag(34);
|
|
output.WriteString(Title0);
|
|
}
|
|
if (Icon1.Length != 0) {
|
|
output.WriteRawTag(42);
|
|
output.WriteString(Icon1);
|
|
}
|
|
if (Title1.Length != 0) {
|
|
output.WriteRawTag(50);
|
|
output.WriteString(Title1);
|
|
}
|
|
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 (Id != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
|
|
}
|
|
if (PlayerAni != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (Icon0.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon0);
|
|
}
|
|
if (Title0.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title0);
|
|
}
|
|
if (Icon1.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Icon1);
|
|
}
|
|
if (Title1.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title1);
|
|
}
|
|
if (_unknownFields != null) {
|
|
size += _unknownFields.CalculateSize();
|
|
}
|
|
return size;
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(InteractiveAction other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.Id != 0) {
|
|
Id = other.Id;
|
|
}
|
|
if (other.PlayerAni != false) {
|
|
PlayerAni = other.PlayerAni;
|
|
}
|
|
if (other.Icon0.Length != 0) {
|
|
Icon0 = other.Icon0;
|
|
}
|
|
if (other.Title0.Length != 0) {
|
|
Title0 = other.Title0;
|
|
}
|
|
if (other.Icon1.Length != 0) {
|
|
Icon1 = other.Icon1;
|
|
}
|
|
if (other.Title1.Length != 0) {
|
|
Title1 = other.Title1;
|
|
}
|
|
_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 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
PlayerAni = input.ReadBool();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Icon0 = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Title0 = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Icon1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Title1 = 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 8: {
|
|
Id = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 16: {
|
|
PlayerAni = input.ReadBool();
|
|
break;
|
|
}
|
|
case 26: {
|
|
Icon0 = input.ReadString();
|
|
break;
|
|
}
|
|
case 34: {
|
|
Title0 = input.ReadString();
|
|
break;
|
|
}
|
|
case 42: {
|
|
Icon1 = input.ReadString();
|
|
break;
|
|
}
|
|
case 50: {
|
|
Title1 = input.ReadString();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|