752 lines
25 KiB
C#

// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Newbie_Design.proto
// </auto-generated>
#pragma warning disable 1591, 0612, 3021
#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 XmlNewbieDesign {
/// <summary>Holder for reflection information generated from Newbie_Design.proto</summary>
public static partial class NewbieDesignReflection {
#region Descriptor
/// <summary>File descriptor for Newbie_Design.proto</summary>
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static NewbieDesignReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChNOZXdiaWVfRGVzaWduLnByb3RvEhFYbWxfTmV3YmllX0Rlc2lnbiKIAQoN",
"R2xvYmFsVHJpZ2dlchJBChN0cmlnZ2VyX3NwYXduX2dyb3VwGAEgASgLMiQu",
"WG1sX05ld2JpZV9EZXNpZ24uVHJpZ2dlclNwYXduR3JvdXASNAoMZWZmZWN0",
"X2dyb3VwGAIgASgLMh4uWG1sX05ld2JpZV9EZXNpZ24uRWZmZWN0R3JvdXAi",
"PQoRVHJpZ2dlclNwYXduR3JvdXASKAoGc3Bhd25zGAEgAygLMhguWG1sX05l",
"d2JpZV9EZXNpZ24uU3Bhd24iJwoFU3Bhd24SEgoKYWN0b3JfdHlwZRgBIAEo",
"BRIKCgJpZBgCIAEoBSI5CgtFZmZlY3RHcm91cBIqCgdlZmZlY3RzGAEgAygL",
"MhkuWG1sX05ld2JpZV9EZXNpZ24uRWZmZWN0IhQKBkVmZmVjdBIKCgJpZBgB",
"IAEoBWIGcHJvdG8z"));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::XmlNewbieDesign.GlobalTrigger), global::XmlNewbieDesign.GlobalTrigger.Parser, new[]{ "TriggerSpawnGroup", "EffectGroup" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::XmlNewbieDesign.TriggerSpawnGroup), global::XmlNewbieDesign.TriggerSpawnGroup.Parser, new[]{ "Spawns" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::XmlNewbieDesign.Spawn), global::XmlNewbieDesign.Spawn.Parser, new[]{ "ActorType", "Id" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::XmlNewbieDesign.EffectGroup), global::XmlNewbieDesign.EffectGroup.Parser, new[]{ "Effects" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::XmlNewbieDesign.Effect), global::XmlNewbieDesign.Effect.Parser, new[]{ "Id" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class GlobalTrigger : pb::IMessage<GlobalTrigger> {
private static readonly pb::MessageParser<GlobalTrigger> _parser = new pb::MessageParser<GlobalTrigger>(() => new GlobalTrigger());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<GlobalTrigger> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::XmlNewbieDesign.NewbieDesignReflection.Descriptor.MessageTypes[0]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GlobalTrigger() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GlobalTrigger(GlobalTrigger other) : this() {
triggerSpawnGroup_ = other.triggerSpawnGroup_ != null ? other.triggerSpawnGroup_.Clone() : null;
effectGroup_ = other.effectGroup_ != null ? other.effectGroup_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public GlobalTrigger Clone() {
return new GlobalTrigger(this);
}
/// <summary>Field number for the "trigger_spawn_group" field.</summary>
public const int TriggerSpawnGroupFieldNumber = 1;
private global::XmlNewbieDesign.TriggerSpawnGroup triggerSpawnGroup_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::XmlNewbieDesign.TriggerSpawnGroup TriggerSpawnGroup {
get { return triggerSpawnGroup_; }
set {
triggerSpawnGroup_ = value;
}
}
/// <summary>Field number for the "effect_group" field.</summary>
public const int EffectGroupFieldNumber = 2;
private global::XmlNewbieDesign.EffectGroup effectGroup_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public global::XmlNewbieDesign.EffectGroup EffectGroup {
get { return effectGroup_; }
set {
effectGroup_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as GlobalTrigger);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(GlobalTrigger other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(TriggerSpawnGroup, other.TriggerSpawnGroup)) return false;
if (!object.Equals(EffectGroup, other.EffectGroup)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (triggerSpawnGroup_ != null) hash ^= TriggerSpawnGroup.GetHashCode();
if (effectGroup_ != null) hash ^= EffectGroup.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (triggerSpawnGroup_ != null) {
output.WriteRawTag(10);
output.WriteMessage(TriggerSpawnGroup);
}
if (effectGroup_ != null) {
output.WriteRawTag(18);
output.WriteMessage(EffectGroup);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (triggerSpawnGroup_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TriggerSpawnGroup);
}
if (effectGroup_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(EffectGroup);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(GlobalTrigger other) {
if (other == null) {
return;
}
if (other.triggerSpawnGroup_ != null) {
if (triggerSpawnGroup_ == null) {
TriggerSpawnGroup = new global::XmlNewbieDesign.TriggerSpawnGroup();
}
TriggerSpawnGroup.MergeFrom(other.TriggerSpawnGroup);
}
if (other.effectGroup_ != null) {
if (effectGroup_ == null) {
EffectGroup = new global::XmlNewbieDesign.EffectGroup();
}
EffectGroup.MergeFrom(other.EffectGroup);
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
if (triggerSpawnGroup_ == null) {
TriggerSpawnGroup = new global::XmlNewbieDesign.TriggerSpawnGroup();
}
input.ReadMessage(TriggerSpawnGroup);
break;
}
case 18: {
if (effectGroup_ == null) {
EffectGroup = new global::XmlNewbieDesign.EffectGroup();
}
input.ReadMessage(EffectGroup);
break;
}
}
}
}
}
public sealed partial class TriggerSpawnGroup : pb::IMessage<TriggerSpawnGroup> {
private static readonly pb::MessageParser<TriggerSpawnGroup> _parser = new pb::MessageParser<TriggerSpawnGroup>(() => new TriggerSpawnGroup());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<TriggerSpawnGroup> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::XmlNewbieDesign.NewbieDesignReflection.Descriptor.MessageTypes[1]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TriggerSpawnGroup() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TriggerSpawnGroup(TriggerSpawnGroup other) : this() {
spawns_ = other.spawns_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public TriggerSpawnGroup Clone() {
return new TriggerSpawnGroup(this);
}
/// <summary>Field number for the "spawns" field.</summary>
public const int SpawnsFieldNumber = 1;
private static readonly pb::FieldCodec<global::XmlNewbieDesign.Spawn> _repeated_spawns_codec
= pb::FieldCodec.ForMessage(10, global::XmlNewbieDesign.Spawn.Parser);
private readonly pbc::RepeatedField<global::XmlNewbieDesign.Spawn> spawns_ = new pbc::RepeatedField<global::XmlNewbieDesign.Spawn>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::XmlNewbieDesign.Spawn> Spawns {
get { return spawns_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as TriggerSpawnGroup);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(TriggerSpawnGroup other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!spawns_.Equals(other.spawns_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= spawns_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
spawns_.WriteTo(output, _repeated_spawns_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += spawns_.CalculateSize(_repeated_spawns_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(TriggerSpawnGroup other) {
if (other == null) {
return;
}
spawns_.Add(other.spawns_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
spawns_.AddEntriesFrom(input, _repeated_spawns_codec);
break;
}
}
}
}
}
public sealed partial class Spawn : pb::IMessage<Spawn> {
private static readonly pb::MessageParser<Spawn> _parser = new pb::MessageParser<Spawn>(() => new Spawn());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Spawn> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::XmlNewbieDesign.NewbieDesignReflection.Descriptor.MessageTypes[2]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Spawn() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Spawn(Spawn other) : this() {
actorType_ = other.actorType_;
id_ = other.id_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Spawn Clone() {
return new Spawn(this);
}
/// <summary>Field number for the "actor_type" field.</summary>
public const int ActorTypeFieldNumber = 1;
private int actorType_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int ActorType {
get { return actorType_; }
set {
actorType_ = value;
}
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 2;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Spawn);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Spawn other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ActorType != other.ActorType) return false;
if (Id != other.Id) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (ActorType != 0) hash ^= ActorType.GetHashCode();
if (Id != 0) hash ^= Id.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (ActorType != 0) {
output.WriteRawTag(8);
output.WriteInt32(ActorType);
}
if (Id != 0) {
output.WriteRawTag(16);
output.WriteInt32(Id);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (ActorType != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ActorType);
}
if (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Spawn other) {
if (other == null) {
return;
}
if (other.ActorType != 0) {
ActorType = other.ActorType;
}
if (other.Id != 0) {
Id = other.Id;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
ActorType = input.ReadInt32();
break;
}
case 16: {
Id = input.ReadInt32();
break;
}
}
}
}
}
public sealed partial class EffectGroup : pb::IMessage<EffectGroup> {
private static readonly pb::MessageParser<EffectGroup> _parser = new pb::MessageParser<EffectGroup>(() => new EffectGroup());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<EffectGroup> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::XmlNewbieDesign.NewbieDesignReflection.Descriptor.MessageTypes[3]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public EffectGroup() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public EffectGroup(EffectGroup other) : this() {
effects_ = other.effects_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public EffectGroup Clone() {
return new EffectGroup(this);
}
/// <summary>Field number for the "effects" field.</summary>
public const int EffectsFieldNumber = 1;
private static readonly pb::FieldCodec<global::XmlNewbieDesign.Effect> _repeated_effects_codec
= pb::FieldCodec.ForMessage(10, global::XmlNewbieDesign.Effect.Parser);
private readonly pbc::RepeatedField<global::XmlNewbieDesign.Effect> effects_ = new pbc::RepeatedField<global::XmlNewbieDesign.Effect>();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public pbc::RepeatedField<global::XmlNewbieDesign.Effect> Effects {
get { return effects_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as EffectGroup);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(EffectGroup other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!effects_.Equals(other.effects_)) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
hash ^= effects_.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
effects_.WriteTo(output, _repeated_effects_codec);
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
size += effects_.CalculateSize(_repeated_effects_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(EffectGroup other) {
if (other == null) {
return;
}
effects_.Add(other.effects_);
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 10: {
effects_.AddEntriesFrom(input, _repeated_effects_codec);
break;
}
}
}
}
}
public sealed partial class Effect : pb::IMessage<Effect> {
private static readonly pb::MessageParser<Effect> _parser = new pb::MessageParser<Effect>(() => new Effect());
private pb::UnknownFieldSet _unknownFields;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pb::MessageParser<Effect> Parser { get { return _parser; } }
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public static pbr::MessageDescriptor Descriptor {
get { return global::XmlNewbieDesign.NewbieDesignReflection.Descriptor.MessageTypes[4]; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
pbr::MessageDescriptor pb::IMessage.Descriptor {
get { return Descriptor; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Effect() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Effect(Effect other) : this() {
id_ = other.id_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public Effect Clone() {
return new Effect(this);
}
/// <summary>Field number for the "id" field.</summary>
public const int IdFieldNumber = 1;
private int id_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int Id {
get { return id_; }
set {
id_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override bool Equals(object other) {
return Equals(other as Effect);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public bool Equals(Effect other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Id != other.Id) return false;
return Equals(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override int GetHashCode() {
int hash = 1;
if (Id != 0) hash ^= Id.GetHashCode();
if (_unknownFields != null) {
hash ^= _unknownFields.GetHashCode();
}
return hash;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public override string ToString() {
return pb::JsonFormatter.ToDiagnosticString(this);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void WriteTo(pb::CodedOutputStream output) {
if (Id != 0) {
output.WriteRawTag(8);
output.WriteInt32(Id);
}
if (_unknownFields != null) {
_unknownFields.WriteTo(output);
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public int CalculateSize() {
int size = 0;
if (Id != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(Effect other) {
if (other == null) {
return;
}
if (other.Id != 0) {
Id = other.Id;
}
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
public void MergeFrom(pb::CodedInputStream input) {
uint tag;
while ((tag = input.ReadTag()) != 0) {
switch(tag) {
default:
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
break;
case 8: {
Id = input.ReadInt32();
break;
}
}
}
}
}
#endregion
}
#endregion Designer generated code