//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GridFightAddFormationCsReq.proto
//
#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 EggLink.DanhengServer.Proto {
/// Holder for reflection information generated from GridFightAddFormationCsReq.proto
public static partial class GridFightAddFormationCsReqReflection {
#region Descriptor
/// File descriptor for GridFightAddFormationCsReq.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static GridFightAddFormationCsReqReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"CiBHcmlkRmlnaHRBZGRGb3JtYXRpb25Dc1JlcS5wcm90bxoXR3JpZEZpZ2h0",
"Um9sZUluZm8ucHJvdG8ihgEKGkdyaWRGaWdodEFkZEZvcm1hdGlvbkNzUmVx",
"EhMKC0ZIS0JKTkNNRUtGGAMgASgJEi8KE2Zvcm1hdGlvbl9yb2xlX2xpc3QY",
"ByADKAsyEi5HcmlkRmlnaHRSb2xlSW5mbxIUCgxkaWNlX3Nsb3RfaWQYBSAB",
"KA0SDAoEbmFtZRgKIAEoCUIeqgIbRWdnTGluay5EYW5oZW5nU2VydmVyLlBy",
"b3RvYgZwcm90bzM="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::EggLink.DanhengServer.Proto.GridFightRoleInfoReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::EggLink.DanhengServer.Proto.GridFightAddFormationCsReq), global::EggLink.DanhengServer.Proto.GridFightAddFormationCsReq.Parser, new[]{ "FHKBJNCMEKF", "FormationRoleList", "DiceSlotId", "Name" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
public sealed partial class GridFightAddFormationCsReq : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new GridFightAddFormationCsReq());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pb::MessageParser Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static pbr::MessageDescriptor Descriptor {
get { return global::EggLink.DanhengServer.Proto.GridFightAddFormationCsReqReflection.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 GridFightAddFormationCsReq() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightAddFormationCsReq(GridFightAddFormationCsReq other) : this() {
fHKBJNCMEKF_ = other.fHKBJNCMEKF_;
formationRoleList_ = other.formationRoleList_.Clone();
diceSlotId_ = other.diceSlotId_;
name_ = other.name_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public GridFightAddFormationCsReq Clone() {
return new GridFightAddFormationCsReq(this);
}
/// Field number for the "FHKBJNCMEKF" field.
public const int FHKBJNCMEKFFieldNumber = 3;
private string fHKBJNCMEKF_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string FHKBJNCMEKF {
get { return fHKBJNCMEKF_; }
set {
fHKBJNCMEKF_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "formation_role_list" field.
public const int FormationRoleListFieldNumber = 7;
private static readonly pb::FieldCodec _repeated_formationRoleList_codec
= pb::FieldCodec.ForMessage(58, global::EggLink.DanhengServer.Proto.GridFightRoleInfo.Parser);
private readonly pbc::RepeatedField formationRoleList_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField FormationRoleList {
get { return formationRoleList_; }
}
/// Field number for the "dice_slot_id" field.
public const int DiceSlotIdFieldNumber = 5;
private uint diceSlotId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public uint DiceSlotId {
get { return diceSlotId_; }
set {
diceSlotId_ = value;
}
}
/// Field number for the "name" field.
public const int NameFieldNumber = 10;
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 GridFightAddFormationCsReq);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(GridFightAddFormationCsReq other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (FHKBJNCMEKF != other.FHKBJNCMEKF) return false;
if(!formationRoleList_.Equals(other.formationRoleList_)) return false;
if (DiceSlotId != other.DiceSlotId) 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 (FHKBJNCMEKF.Length != 0) hash ^= FHKBJNCMEKF.GetHashCode();
hash ^= formationRoleList_.GetHashCode();
if (DiceSlotId != 0) hash ^= DiceSlotId.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 (FHKBJNCMEKF.Length != 0) {
output.WriteRawTag(26);
output.WriteString(FHKBJNCMEKF);
}
if (DiceSlotId != 0) {
output.WriteRawTag(40);
output.WriteUInt32(DiceSlotId);
}
formationRoleList_.WriteTo(output, _repeated_formationRoleList_codec);
if (Name.Length != 0) {
output.WriteRawTag(82);
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 (FHKBJNCMEKF.Length != 0) {
output.WriteRawTag(26);
output.WriteString(FHKBJNCMEKF);
}
if (DiceSlotId != 0) {
output.WriteRawTag(40);
output.WriteUInt32(DiceSlotId);
}
formationRoleList_.WriteTo(ref output, _repeated_formationRoleList_codec);
if (Name.Length != 0) {
output.WriteRawTag(82);
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 (FHKBJNCMEKF.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(FHKBJNCMEKF);
}
size += formationRoleList_.CalculateSize(_repeated_formationRoleList_codec);
if (DiceSlotId != 0) {
size += 1 + pb::CodedOutputStream.ComputeUInt32Size(DiceSlotId);
}
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(GridFightAddFormationCsReq other) {
if (other == null) {
return;
}
if (other.FHKBJNCMEKF.Length != 0) {
FHKBJNCMEKF = other.FHKBJNCMEKF;
}
formationRoleList_.Add(other.formationRoleList_);
if (other.DiceSlotId != 0) {
DiceSlotId = other.DiceSlotId;
}
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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 26: {
FHKBJNCMEKF = input.ReadString();
break;
}
case 40: {
DiceSlotId = input.ReadUInt32();
break;
}
case 58: {
formationRoleList_.AddEntriesFrom(input, _repeated_formationRoleList_codec);
break;
}
case 82: {
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) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
break;
case 26: {
FHKBJNCMEKF = input.ReadString();
break;
}
case 40: {
DiceSlotId = input.ReadUInt32();
break;
}
case 58: {
formationRoleList_.AddEntriesFrom(ref input, _repeated_formationRoleList_codec);
break;
}
case 82: {
Name = input.ReadString();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code