Files
Novaria/Novaria.Common/Protos/AI.cs

504 lines
16 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: AI.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 AI.proto</summary>
public static partial class AIReflection {
#region Descriptor
/// <summary>File descriptor for AI.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static AIReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CghBSS5wcm90byKjAQoCQUkSCgoCaWQYASABKAUSEQoJZl9jX3NwYXduGAIg",
"ASgJEhAKCGZfY19pZGxlGAMgASgJEhIKCmZfY19hY3Rpb24YBCABKAkSGAoQ",
"Zl9jX2xvc3RfY29udHJvbBgFIAEoCRIRCglmX2NfZGVhdGgYBiABKAkSEgoK",
"Zl9jX2dsb2JhbBgHIAEoCRIXCg9mX2NfY29tYm9fZ3JvdXAYCCABKAlCDqoC",
"C05vdmEuQ2xpZW50YgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Nova.Client.AI), global::Nova.Client.AI.Parser, new[]{ "Id", "FCSpawn", "FCIdle", "FCAction", "FCLostControl", "FCDeath", "FCGlobal", "FCComboGroup" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class AI : pb::IMessage<AI>
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser<AI> _parser = new pb::MessageParser<AI>(() => new AI());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser<AI> 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.AIReflection.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 AI() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AI(AI other) : this() {
id_ = other.id_;
fCSpawn_ = other.fCSpawn_;
fCIdle_ = other.fCIdle_;
fCAction_ = other.fCAction_;
fCLostControl_ = other.fCLostControl_;
fCDeath_ = other.fCDeath_;
fCGlobal_ = other.fCGlobal_;
fCComboGroup_ = other.fCComboGroup_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public AI Clone() {
return new AI(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 "f_c_spawn" field.</summary>
public const int FCSpawnFieldNumber = 2;
private string fCSpawn_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FCSpawn {
get { return fCSpawn_; }
set {
fCSpawn_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "f_c_idle" field.</summary>
public const int FCIdleFieldNumber = 3;
private string fCIdle_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FCIdle {
get { return fCIdle_; }
set {
fCIdle_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "f_c_action" field.</summary>
public const int FCActionFieldNumber = 4;
private string fCAction_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FCAction {
get { return fCAction_; }
set {
fCAction_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "f_c_lost_control" field.</summary>
public const int FCLostControlFieldNumber = 5;
private string fCLostControl_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FCLostControl {
get { return fCLostControl_; }
set {
fCLostControl_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "f_c_death" field.</summary>
public const int FCDeathFieldNumber = 6;
private string fCDeath_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FCDeath {
get { return fCDeath_; }
set {
fCDeath_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "f_c_global" field.</summary>
public const int FCGlobalFieldNumber = 7;
private string fCGlobal_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FCGlobal {
get { return fCGlobal_; }
set {
fCGlobal_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// <summary>Field number for the "f_c_combo_group" field.</summary>
public const int FCComboGroupFieldNumber = 8;
private string fCComboGroup_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FCComboGroup {
get { return fCComboGroup_; }
set {
fCComboGroup_ = 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 AI);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(AI other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
if (FCSpawn != other.FCSpawn) return false;
if (FCIdle != other.FCIdle) return false;
if (FCAction != other.FCAction) return false;
if (FCLostControl != other.FCLostControl) return false;
if (FCDeath != other.FCDeath) return false;
if (FCGlobal != other.FCGlobal) return false;
if (FCComboGroup != other.FCComboGroup) 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 (FCSpawn.Length != 0) hash ^= FCSpawn.GetHashCode();
if (FCIdle.Length != 0) hash ^= FCIdle.GetHashCode();
if (FCAction.Length != 0) hash ^= FCAction.GetHashCode();
if (FCLostControl.Length != 0) hash ^= FCLostControl.GetHashCode();
if (FCDeath.Length != 0) hash ^= FCDeath.GetHashCode();
if (FCGlobal.Length != 0) hash ^= FCGlobal.GetHashCode();
if (FCComboGroup.Length != 0) hash ^= FCComboGroup.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 (FCSpawn.Length != 0) {
output.WriteRawTag(18);
output.WriteString(FCSpawn);
}
if (FCIdle.Length != 0) {
output.WriteRawTag(26);
output.WriteString(FCIdle);
}
if (FCAction.Length != 0) {
output.WriteRawTag(34);
output.WriteString(FCAction);
}
if (FCLostControl.Length != 0) {
output.WriteRawTag(42);
output.WriteString(FCLostControl);
}
if (FCDeath.Length != 0) {
output.WriteRawTag(50);
output.WriteString(FCDeath);
}
if (FCGlobal.Length != 0) {
output.WriteRawTag(58);
output.WriteString(FCGlobal);
}
if (FCComboGroup.Length != 0) {
output.WriteRawTag(66);
output.WriteString(FCComboGroup);
}
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 (FCSpawn.Length != 0) {
output.WriteRawTag(18);
output.WriteString(FCSpawn);
}
if (FCIdle.Length != 0) {
output.WriteRawTag(26);
output.WriteString(FCIdle);
}
if (FCAction.Length != 0) {
output.WriteRawTag(34);
output.WriteString(FCAction);
}
if (FCLostControl.Length != 0) {
output.WriteRawTag(42);
output.WriteString(FCLostControl);
}
if (FCDeath.Length != 0) {
output.WriteRawTag(50);
output.WriteString(FCDeath);
}
if (FCGlobal.Length != 0) {
output.WriteRawTag(58);
output.WriteString(FCGlobal);
}
if (FCComboGroup.Length != 0) {
output.WriteRawTag(66);
output.WriteString(FCComboGroup);
}
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 (FCSpawn.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FCSpawn);
}
if (FCIdle.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FCIdle);
}
if (FCAction.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FCAction);
}
if (FCLostControl.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FCLostControl);
}
if (FCDeath.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FCDeath);
}
if (FCGlobal.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FCGlobal);
}
if (FCComboGroup.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FCComboGroup);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(AI other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
if (other.FCSpawn.Length != 0) {
FCSpawn = other.FCSpawn;
}
if (other.FCIdle.Length != 0) {
FCIdle = other.FCIdle;
}
if (other.FCAction.Length != 0) {
FCAction = other.FCAction;
}
if (other.FCLostControl.Length != 0) {
FCLostControl = other.FCLostControl;
}
if (other.FCDeath.Length != 0) {
FCDeath = other.FCDeath;
}
if (other.FCGlobal.Length != 0) {
FCGlobal = other.FCGlobal;
}
if (other.FCComboGroup.Length != 0) {
FCComboGroup = other.FCComboGroup;
}
_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 18: {
FCSpawn = input.ReadString();
break;
}
case 26: {
FCIdle = input.ReadString();
break;
}
case 34: {
FCAction = input.ReadString();
break;
}
case 42: {
FCLostControl = input.ReadString();
break;
}
case 50: {
FCDeath = input.ReadString();
break;
}
case 58: {
FCGlobal = input.ReadString();
break;
}
case 66: {
FCComboGroup = 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 18: {
FCSpawn = input.ReadString();
break;
}
case 26: {
FCIdle = input.ReadString();
break;
}
case 34: {
FCAction = input.ReadString();
break;
}
case 42: {
FCLostControl = input.ReadString();
break;
}
case 50: {
FCDeath = input.ReadString();
break;
}
case 58: {
FCGlobal = input.ReadString();
break;
}
case 66: {
FCComboGroup = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code