//
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: Message2Clients.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 Protobuf {
/// Holder for reflection information generated from Message2Clients.proto
public static partial class Message2ClientsReflection {
#region Descriptor
/// File descriptor for Message2Clients.proto
public static pbr::FileDescriptor Descriptor {
get { return descriptor; }
}
private static pbr::FileDescriptor descriptor;
static Message2ClientsReflection() {
byte[] descriptorData = global::System.Convert.FromBase64String(
string.Concat(
"ChVNZXNzYWdlMkNsaWVudHMucHJvdG8SCHByb3RvYnVmGhFNZXNzYWdlVHlw",
"ZS5wcm90byLbBAoQTWVzc2FnZU9mU3R1ZGVudBIJCgF4GAEgASgFEgkKAXkY",
"AiABKAUSDQoFc3BlZWQYAyABKAUSFQoNZGV0ZXJtaW5hdGlvbhgEIAEoBRIR",
"CglhZGRpY3Rpb24YBSABKAUSIgoadGltZV91bnRpbF9za2lsbF9hdmFpbGFi",
"bGUYBiADKAESIgoFcGxhY2UYByABKA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUS",
"IAoEcHJvcBgIIAMoDjISLnByb3RvYnVmLlByb3BUeXBlEisKDHBsYXllcl9z",
"dGF0ZRgJIAEoDjIVLnByb3RvYnVmLlBsYXllclN0YXRlEgwKBGd1aWQYCiAB",
"KAMSKQoLYnVsbGV0X3R5cGUYDCABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBl",
"EhYKDmxlYXJuaW5nX3NwZWVkGA0gASgFEhMKC3RyZWF0X3NwZWVkGA4gASgF",
"EhEKCXBsYXllcl9pZBgPIAEoAxISCgp2aWV3X3JhbmdlGBAgASgFEg4KBnJh",
"ZGl1cxgRIAEoBRIUCgxkYW5nZXJfYWxlcnQYEyABKAESDQoFc2NvcmUYFCAB",
"KAUSFgoOdHJlYXRfcHJvZ3Jlc3MYFSABKAUSFwoPcmVzY3VlX3Byb2dyZXNz",
"GBYgASgFEisKDHN0dWRlbnRfdHlwZRgXIAEoDjIVLnByb3RvYnVmLlN0dWRl",
"bnRUeXBlEhgKEGZhY2luZ19kaXJlY3Rpb24YGCABKAESJwoEYnVmZhgZIAMo",
"DjIZLnByb3RvYnVmLlN0dWRlbnRCdWZmVHlwZSLpAwoQTWVzc2FnZU9mVHJp",
"Y2tlchIJCgF4GAEgASgFEgkKAXkYAiABKAUSDQoFc3BlZWQYAyABKAUSIgoa",
"dGltZV91bnRpbF9za2lsbF9hdmFpbGFibGUYBSADKAESIgoFcGxhY2UYBiAB",
"KA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUSIAoEcHJvcBgHIAMoDjISLnByb3Rv",
"YnVmLlByb3BUeXBlEisKDHRyaWNrZXJfdHlwZRgIIAEoDjIVLnByb3RvYnVm",
"LlRyaWNrZXJUeXBlEgwKBGd1aWQYCSABKAMSDQoFc2NvcmUYCiABKAUSEQoJ",
"cGxheWVyX2lkGAsgASgDEhIKCnZpZXdfcmFuZ2UYDCABKAUSDgoGcmFkaXVz",
"GA0gASgFEisKDHBsYXllcl9zdGF0ZRgOIAEoDjIVLnByb3RvYnVmLlBsYXll",
"clN0YXRlEhQKDHRyaWNrX2Rlc2lyZRgPIAEoARIUCgxjbGFzc192b2x1bWUY",
"ECABKAESGAoQZmFjaW5nX2RpcmVjdGlvbhgRIAEoARIpCgtidWxsZXRfdHlw",
"ZRgSIAEoDjIULnByb3RvYnVmLkJ1bGxldFR5cGUSJwoEYnVmZhgTIAMoDjIZ",
"LnByb3RvYnVmLlRyaWNrZXJCdWZmVHlwZSLeAQoPTWVzc2FnZU9mQnVsbGV0",
"EiIKBHR5cGUYASABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBlEgkKAXgYAiAB",
"KAUSCQoBeRgDIAEoBRIYChBmYWNpbmdfZGlyZWN0aW9uGAQgASgBEgwKBGd1",
"aWQYBSABKAMSIgoEdGVhbRgGIAEoDjIULnByb3RvYnVmLlBsYXllclR5cGUS",
"IgoFcGxhY2UYByABKA4yEy5wcm90b2J1Zi5QbGFjZVR5cGUSEgoKYm9tYl9y",
"YW5nZRgIIAEoARINCgVzcGVlZBgJIAEoBSKTAQoVTWVzc2FnZU9mQm9tYmVk",
"QnVsbGV0EiIKBHR5cGUYASABKA4yFC5wcm90b2J1Zi5CdWxsZXRUeXBlEgkK",
"AXgYAiABKAUSCQoBeRgDIAEoBRIYChBmYWNpbmdfZGlyZWN0aW9uGAQgASgB",
"EhIKCm1hcHBpbmdfaWQYBSABKAMSEgoKYm9tYl9yYW5nZRgGIAEoASKTAQoN",
"TWVzc2FnZU9mUHJvcBIgCgR0eXBlGAEgASgOMhIucHJvdG9idWYuUHJvcFR5",
"cGUSCQoBeBgCIAEoBRIJCgF5GAMgASgFEhgKEGZhY2luZ19kaXJlY3Rpb24Y",
"BCABKAESDAoEZ3VpZBgFIAEoAxIiCgVwbGFjZRgGIAEoDjITLnByb3RvYnVm",
"LlBsYWNlVHlwZSJ7ChNNZXNzYWdlT2ZQaWNrZWRQcm9wEiAKBHR5cGUYASAB",
"KA4yEi5wcm90b2J1Zi5Qcm9wVHlwZRIJCgF4GAIgASgFEgkKAXkYAyABKAUS",
"GAoQZmFjaW5nX2RpcmVjdGlvbhgEIAEoARISCgptYXBwaW5nX2lkGAUgASgD",
"IjwKEk1lc3NhZ2VPZkNsYXNzcm9vbRIJCgF4GAEgASgFEgkKAXkYAiABKAUS",
"EAoIcHJvZ3Jlc3MYAyABKAUiNwoNTWVzc2FnZU9mR2F0ZRIJCgF4GAEgASgF",
"EgkKAXkYAiABKAUSEAoIcHJvZ3Jlc3MYAyABKAUiOwoTTWVzc2FnZU9mSGlk",
"ZGVuR2F0ZRIJCgF4GAEgASgFEgkKAXkYAiABKAUSDgoGb3BlbmVkGAMgASgI",
"IkgKDU1lc3NhZ2VPZkRvb3ISCQoBeBgBIAEoBRIJCgF5GAIgASgFEg8KB2lz",
"X29wZW4YAyABKAgSEAoIcHJvZ3Jlc3MYBCABKAUiOAoOTWVzc2FnZU9mQ2hl",
"c3QSCQoBeBgBIAEoBRIJCgF5GAIgASgFEhAKCHByb2dyZXNzGAMgASgFImAK",
"DE1lc3NhZ2VPZk1hcBInCgNyb3cYAiADKAsyGi5wcm90b2J1Zi5NZXNzYWdl",
"T2ZNYXAuUm93GicKA1JvdxIgCgNjb2wYASADKA4yEy5wcm90b2J1Zi5QbGFj",
"ZVR5cGUiPQoNTWVzc2FnZU9mTmV3cxIMCgRuZXdzGAEgASgJEg8KB2Zyb21f",
"aWQYAiABKAMSDQoFdG9faWQYAyABKAMipAUKDE1lc3NhZ2VPZk9iahI1Cg9z",
"dHVkZW50X21lc3NhZ2UYASABKAsyGi5wcm90b2J1Zi5NZXNzYWdlT2ZTdHVk",
"ZW50SAASNQoPdHJpY2tlcl9tZXNzYWdlGAIgASgLMhoucHJvdG9idWYuTWVz",
"c2FnZU9mVHJpY2tlckgAEi8KDHByb3BfbWVzc2FnZRgDIAEoCzIXLnByb3Rv",
"YnVmLk1lc3NhZ2VPZlByb3BIABIzCg5idWxsZXRfbWVzc2FnZRgEIAEoCzIZ",
"LnByb3RvYnVmLk1lc3NhZ2VPZkJ1bGxldEgAEkAKFWJvbWJlZF9idWxsZXRf",
"bWVzc2FnZRgFIAEoCzIfLnByb3RvYnVmLk1lc3NhZ2VPZkJvbWJlZEJ1bGxl",
"dEgAEjkKEWNsYXNzcm9vbV9tZXNzYWdlGAYgASgLMhwucHJvdG9idWYuTWVz",
"c2FnZU9mQ2xhc3Nyb29tSAASLwoMZG9vcl9tZXNzYWdlGAcgASgLMhcucHJv",
"dG9idWYuTWVzc2FnZU9mRG9vckgAEi8KDGdhdGVfbWVzc2FnZRgIIAEoCzIX",
"LnByb3RvYnVmLk1lc3NhZ2VPZkdhdGVIABIxCg1jaGVzdF9tZXNzYWdlGAkg",
"ASgLMhgucHJvdG9idWYuTWVzc2FnZU9mQ2hlc3RIABI8ChNoaWRkZW5fZ2F0",
"ZV9tZXNzYWdlGAogASgLMh0ucHJvdG9idWYuTWVzc2FnZU9mSGlkZGVuR2F0",
"ZUgAEi8KDG5ld3NfbWVzc2FnZRgLIAEoCzIXLnByb3RvYnVmLk1lc3NhZ2VP",
"Zk5ld3NIABItCgttYXBfbWVzc2FnZRgMIAEoCzIWLnByb3RvYnVmLk1lc3Nh",
"Z2VPZk1hcEgAQhAKDm1lc3NhZ2Vfb2Zfb2JqIugBCgxNZXNzYWdlT2ZBbGwS",
"EQoJZ2FtZV90aW1lGAEgASgFEhQKDHN1YmplY3RfbGVmdBgCIAEoBRIZChFz",
"dHVkZW50X2dyYWR1YXRlZBgDIAEoBRIWCg5zdHVkZW50X3F1aXRlZBgEIAEo",
"BRIVCg1zdHVkZW50X3Njb3JlGAUgASgFEhUKDXRyaWNrZXJfc2NvcmUYBiAB",
"KAUSEwoLZ2F0ZV9vcGVuZWQYByABKAgSHQoVaGlkZGVuX2dhdGVfcmVmcmVz",
"aGVkGAggASgIEhoKEmhpZGRlbl9nYXRlX29wZW5lZBgJIAEoCCKUAQoPTWVz",
"c2FnZVRvQ2xpZW50EisKC29ial9tZXNzYWdlGAEgAygLMhYucHJvdG9idWYu",
"TWVzc2FnZU9mT2JqEicKCmdhbWVfc3RhdGUYAiABKA4yEy5wcm90b2J1Zi5H",
"YW1lU3RhdGUSKwoLYWxsX21lc3NhZ2UYAyABKAsyFi5wcm90b2J1Zi5NZXNz",
"YWdlT2ZBbGwiSgoHTW92ZVJlcxIUCgxhY3R1YWxfc3BlZWQYASABKAMSFAoM",
"YWN0dWFsX2FuZ2xlGAIgASgBEhMKC2FjdF9zdWNjZXNzGAMgASgIIh4KB0Jv",
"b2xSZXMSEwoLYWN0X3N1Y2Nlc3MYASABKAhiBnByb3RvMw=="));
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
new pbr::FileDescriptor[] { global::Protobuf.MessageTypeReflection.Descriptor, },
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfStudent), global::Protobuf.MessageOfStudent.Parser, new[]{ "X", "Y", "Speed", "Determination", "Addiction", "TimeUntilSkillAvailable", "Place", "Prop", "PlayerState", "Guid", "BulletType", "LearningSpeed", "TreatSpeed", "PlayerId", "ViewRange", "Radius", "DangerAlert", "Score", "TreatProgress", "RescueProgress", "StudentType", "FacingDirection", "Buff" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfTricker), global::Protobuf.MessageOfTricker.Parser, new[]{ "X", "Y", "Speed", "TimeUntilSkillAvailable", "Place", "Prop", "TrickerType", "Guid", "Score", "PlayerId", "ViewRange", "Radius", "PlayerState", "TrickDesire", "ClassVolume", "FacingDirection", "BulletType", "Buff" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfBullet), global::Protobuf.MessageOfBullet.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "Guid", "Team", "Place", "BombRange", "Speed" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfBombedBullet), global::Protobuf.MessageOfBombedBullet.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "MappingId", "BombRange" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfProp), global::Protobuf.MessageOfProp.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "Guid", "Place" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfPickedProp), global::Protobuf.MessageOfPickedProp.Parser, new[]{ "Type", "X", "Y", "FacingDirection", "MappingId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfClassroom), global::Protobuf.MessageOfClassroom.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfGate), global::Protobuf.MessageOfGate.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfHiddenGate), global::Protobuf.MessageOfHiddenGate.Parser, new[]{ "X", "Y", "Opened" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfDoor), global::Protobuf.MessageOfDoor.Parser, new[]{ "X", "Y", "IsOpen", "Progress" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfChest), global::Protobuf.MessageOfChest.Parser, new[]{ "X", "Y", "Progress" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfMap), global::Protobuf.MessageOfMap.Parser, new[]{ "Row" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfMap.Types.Row), global::Protobuf.MessageOfMap.Types.Row.Parser, new[]{ "Col" }, null, null, null, null)}),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfNews), global::Protobuf.MessageOfNews.Parser, new[]{ "News", "FromId", "ToId" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfObj), global::Protobuf.MessageOfObj.Parser, new[]{ "StudentMessage", "TrickerMessage", "PropMessage", "BulletMessage", "BombedBulletMessage", "ClassroomMessage", "DoorMessage", "GateMessage", "ChestMessage", "HiddenGateMessage", "NewsMessage", "MapMessage" }, new[]{ "MessageOfObj" }, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageOfAll), global::Protobuf.MessageOfAll.Parser, new[]{ "GameTime", "SubjectLeft", "StudentGraduated", "StudentQuited", "StudentScore", "TrickerScore", "GateOpened", "HiddenGateRefreshed", "HiddenGateOpened" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MessageToClient), global::Protobuf.MessageToClient.Parser, new[]{ "ObjMessage", "GameState", "AllMessage" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.MoveRes), global::Protobuf.MoveRes.Parser, new[]{ "ActualSpeed", "ActualAngle", "ActSuccess" }, null, null, null, null),
new pbr::GeneratedClrTypeInfo(typeof(global::Protobuf.BoolRes), global::Protobuf.BoolRes.Parser, new[]{ "ActSuccess" }, null, null, null, null)
}));
}
#endregion
}
#region Messages
public sealed partial class MessageOfStudent : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfStudent());
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::Protobuf.Message2ClientsReflection.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 MessageOfStudent() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfStudent(MessageOfStudent other) : this() {
x_ = other.x_;
y_ = other.y_;
speed_ = other.speed_;
determination_ = other.determination_;
addiction_ = other.addiction_;
timeUntilSkillAvailable_ = other.timeUntilSkillAvailable_.Clone();
place_ = other.place_;
prop_ = other.prop_.Clone();
playerState_ = other.playerState_;
guid_ = other.guid_;
bulletType_ = other.bulletType_;
learningSpeed_ = other.learningSpeed_;
treatSpeed_ = other.treatSpeed_;
playerId_ = other.playerId_;
viewRange_ = other.viewRange_;
radius_ = other.radius_;
dangerAlert_ = other.dangerAlert_;
score_ = other.score_;
treatProgress_ = other.treatProgress_;
rescueProgress_ = other.rescueProgress_;
studentType_ = other.studentType_;
facingDirection_ = other.facingDirection_;
buff_ = other.buff_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfStudent Clone() {
return new MessageOfStudent(this);
}
/// Field number for the "x" field.
public const int XFieldNumber = 1;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 2;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "speed" field.
public const int SpeedFieldNumber = 3;
private int speed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Speed {
get { return speed_; }
set {
speed_ = value;
}
}
/// Field number for the "determination" field.
public const int DeterminationFieldNumber = 4;
private int determination_;
///
/// 剩余的学习毅力,相当于血量
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Determination {
get { return determination_; }
set {
determination_ = value;
}
}
/// Field number for the "addiction" field.
public const int AddictionFieldNumber = 5;
private int addiction_;
///
/// 沉迷程度,相当于淘汰进度
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Addiction {
get { return addiction_; }
set {
addiction_ = value;
}
}
/// Field number for the "time_until_skill_available" field.
public const int TimeUntilSkillAvailableFieldNumber = 6;
private static readonly pb::FieldCodec _repeated_timeUntilSkillAvailable_codec
= pb::FieldCodec.ForDouble(50);
private readonly pbc::RepeatedField timeUntilSkillAvailable_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField TimeUntilSkillAvailable {
get { return timeUntilSkillAvailable_; }
}
/// Field number for the "place" field.
public const int PlaceFieldNumber = 7;
private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PlaceType Place {
get { return place_; }
set {
place_ = value;
}
}
/// Field number for the "prop" field.
public const int PropFieldNumber = 8;
private static readonly pb::FieldCodec _repeated_prop_codec
= pb::FieldCodec.ForEnum(66, x => (int) x, x => (global::Protobuf.PropType) x);
private readonly pbc::RepeatedField prop_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Prop {
get { return prop_; }
}
/// Field number for the "player_state" field.
public const int PlayerStateFieldNumber = 9;
private global::Protobuf.PlayerState playerState_ = global::Protobuf.PlayerState.NullStatus;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PlayerState PlayerState {
get { return playerState_; }
set {
playerState_ = value;
}
}
/// Field number for the "guid" field.
public const int GuidFieldNumber = 10;
private long guid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Guid {
get { return guid_; }
set {
guid_ = value;
}
}
/// Field number for the "bullet_type" field.
public const int BulletTypeFieldNumber = 12;
private global::Protobuf.BulletType bulletType_ = global::Protobuf.BulletType.NullBulletType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.BulletType BulletType {
get { return bulletType_; }
set {
bulletType_ = value;
}
}
/// Field number for the "learning_speed" field.
public const int LearningSpeedFieldNumber = 13;
private int learningSpeed_;
///
/// 修理电机的速度
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int LearningSpeed {
get { return learningSpeed_; }
set {
learningSpeed_ = value;
}
}
/// Field number for the "treat_speed" field.
public const int TreatSpeedFieldNumber = 14;
private int treatSpeed_;
///
/// 治疗的速度
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TreatSpeed {
get { return treatSpeed_; }
set {
treatSpeed_ = value;
}
}
/// Field number for the "player_id" field.
public const int PlayerIdFieldNumber = 15;
private long playerId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long PlayerId {
get { return playerId_; }
set {
playerId_ = value;
}
}
/// Field number for the "view_range" field.
public const int ViewRangeFieldNumber = 16;
private int viewRange_;
///
/// 视野距离
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ViewRange {
get { return viewRange_; }
set {
viewRange_ = value;
}
}
/// Field number for the "radius" field.
public const int RadiusFieldNumber = 17;
private int radius_;
///
/// 半径
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Radius {
get { return radius_; }
set {
radius_ = value;
}
}
/// Field number for the "danger_alert" field.
public const int DangerAlertFieldNumber = 19;
private double dangerAlert_;
///
/// 危险警报,在捣蛋鬼靠近时会有预警
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double DangerAlert {
get { return dangerAlert_; }
set {
dangerAlert_ = value;
}
}
/// Field number for the "score" field.
public const int ScoreFieldNumber = 20;
private int score_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Score {
get { return score_; }
set {
score_ = value;
}
}
/// Field number for the "treat_progress" field.
public const int TreatProgressFieldNumber = 21;
private int treatProgress_;
///
/// 治疗进度
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TreatProgress {
get { return treatProgress_; }
set {
treatProgress_ = value;
}
}
/// Field number for the "rescue_progress" field.
public const int RescueProgressFieldNumber = 22;
private int rescueProgress_;
///
/// 救援进度
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int RescueProgress {
get { return rescueProgress_; }
set {
rescueProgress_ = value;
}
}
/// Field number for the "student_type" field.
public const int StudentTypeFieldNumber = 23;
private global::Protobuf.StudentType studentType_ = global::Protobuf.StudentType.NullStudentType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.StudentType StudentType {
get { return studentType_; }
set {
studentType_ = value;
}
}
/// Field number for the "facing_direction" field.
public const int FacingDirectionFieldNumber = 24;
private double facingDirection_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double FacingDirection {
get { return facingDirection_; }
set {
facingDirection_ = value;
}
}
/// Field number for the "buff" field.
public const int BuffFieldNumber = 25;
private static readonly pb::FieldCodec _repeated_buff_codec
= pb::FieldCodec.ForEnum(202, x => (int) x, x => (global::Protobuf.StudentBuffType) x);
private readonly pbc::RepeatedField buff_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Buff {
get { return buff_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfStudent);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfStudent other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (X != other.X) return false;
if (Y != other.Y) return false;
if (Speed != other.Speed) return false;
if (Determination != other.Determination) return false;
if (Addiction != other.Addiction) return false;
if(!timeUntilSkillAvailable_.Equals(other.timeUntilSkillAvailable_)) return false;
if (Place != other.Place) return false;
if(!prop_.Equals(other.prop_)) return false;
if (PlayerState != other.PlayerState) return false;
if (Guid != other.Guid) return false;
if (BulletType != other.BulletType) return false;
if (LearningSpeed != other.LearningSpeed) return false;
if (TreatSpeed != other.TreatSpeed) return false;
if (PlayerId != other.PlayerId) return false;
if (ViewRange != other.ViewRange) return false;
if (Radius != other.Radius) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DangerAlert, other.DangerAlert)) return false;
if (Score != other.Score) return false;
if (TreatProgress != other.TreatProgress) return false;
if (RescueProgress != other.RescueProgress) return false;
if (StudentType != other.StudentType) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
if(!buff_.Equals(other.buff_)) 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 (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (Speed != 0) hash ^= Speed.GetHashCode();
if (Determination != 0) hash ^= Determination.GetHashCode();
if (Addiction != 0) hash ^= Addiction.GetHashCode();
hash ^= timeUntilSkillAvailable_.GetHashCode();
if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
hash ^= prop_.GetHashCode();
if (PlayerState != global::Protobuf.PlayerState.NullStatus) hash ^= PlayerState.GetHashCode();
if (Guid != 0L) hash ^= Guid.GetHashCode();
if (BulletType != global::Protobuf.BulletType.NullBulletType) hash ^= BulletType.GetHashCode();
if (LearningSpeed != 0) hash ^= LearningSpeed.GetHashCode();
if (TreatSpeed != 0) hash ^= TreatSpeed.GetHashCode();
if (PlayerId != 0L) hash ^= PlayerId.GetHashCode();
if (ViewRange != 0) hash ^= ViewRange.GetHashCode();
if (Radius != 0) hash ^= Radius.GetHashCode();
if (DangerAlert != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DangerAlert);
if (Score != 0) hash ^= Score.GetHashCode();
if (TreatProgress != 0) hash ^= TreatProgress.GetHashCode();
if (RescueProgress != 0) hash ^= RescueProgress.GetHashCode();
if (StudentType != global::Protobuf.StudentType.NullStudentType) hash ^= StudentType.GetHashCode();
if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
hash ^= buff_.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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Speed != 0) {
output.WriteRawTag(24);
output.WriteInt32(Speed);
}
if (Determination != 0) {
output.WriteRawTag(32);
output.WriteInt32(Determination);
}
if (Addiction != 0) {
output.WriteRawTag(40);
output.WriteInt32(Addiction);
}
timeUntilSkillAvailable_.WriteTo(output, _repeated_timeUntilSkillAvailable_codec);
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
output.WriteRawTag(56);
output.WriteEnum((int) Place);
}
prop_.WriteTo(output, _repeated_prop_codec);
if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
output.WriteRawTag(72);
output.WriteEnum((int) PlayerState);
}
if (Guid != 0L) {
output.WriteRawTag(80);
output.WriteInt64(Guid);
}
if (BulletType != global::Protobuf.BulletType.NullBulletType) {
output.WriteRawTag(96);
output.WriteEnum((int) BulletType);
}
if (LearningSpeed != 0) {
output.WriteRawTag(104);
output.WriteInt32(LearningSpeed);
}
if (TreatSpeed != 0) {
output.WriteRawTag(112);
output.WriteInt32(TreatSpeed);
}
if (PlayerId != 0L) {
output.WriteRawTag(120);
output.WriteInt64(PlayerId);
}
if (ViewRange != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(ViewRange);
}
if (Radius != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(Radius);
}
if (DangerAlert != 0D) {
output.WriteRawTag(153, 1);
output.WriteDouble(DangerAlert);
}
if (Score != 0) {
output.WriteRawTag(160, 1);
output.WriteInt32(Score);
}
if (TreatProgress != 0) {
output.WriteRawTag(168, 1);
output.WriteInt32(TreatProgress);
}
if (RescueProgress != 0) {
output.WriteRawTag(176, 1);
output.WriteInt32(RescueProgress);
}
if (StudentType != global::Protobuf.StudentType.NullStudentType) {
output.WriteRawTag(184, 1);
output.WriteEnum((int) StudentType);
}
if (FacingDirection != 0D) {
output.WriteRawTag(193, 1);
output.WriteDouble(FacingDirection);
}
buff_.WriteTo(output, _repeated_buff_codec);
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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Speed != 0) {
output.WriteRawTag(24);
output.WriteInt32(Speed);
}
if (Determination != 0) {
output.WriteRawTag(32);
output.WriteInt32(Determination);
}
if (Addiction != 0) {
output.WriteRawTag(40);
output.WriteInt32(Addiction);
}
timeUntilSkillAvailable_.WriteTo(ref output, _repeated_timeUntilSkillAvailable_codec);
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
output.WriteRawTag(56);
output.WriteEnum((int) Place);
}
prop_.WriteTo(ref output, _repeated_prop_codec);
if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
output.WriteRawTag(72);
output.WriteEnum((int) PlayerState);
}
if (Guid != 0L) {
output.WriteRawTag(80);
output.WriteInt64(Guid);
}
if (BulletType != global::Protobuf.BulletType.NullBulletType) {
output.WriteRawTag(96);
output.WriteEnum((int) BulletType);
}
if (LearningSpeed != 0) {
output.WriteRawTag(104);
output.WriteInt32(LearningSpeed);
}
if (TreatSpeed != 0) {
output.WriteRawTag(112);
output.WriteInt32(TreatSpeed);
}
if (PlayerId != 0L) {
output.WriteRawTag(120);
output.WriteInt64(PlayerId);
}
if (ViewRange != 0) {
output.WriteRawTag(128, 1);
output.WriteInt32(ViewRange);
}
if (Radius != 0) {
output.WriteRawTag(136, 1);
output.WriteInt32(Radius);
}
if (DangerAlert != 0D) {
output.WriteRawTag(153, 1);
output.WriteDouble(DangerAlert);
}
if (Score != 0) {
output.WriteRawTag(160, 1);
output.WriteInt32(Score);
}
if (TreatProgress != 0) {
output.WriteRawTag(168, 1);
output.WriteInt32(TreatProgress);
}
if (RescueProgress != 0) {
output.WriteRawTag(176, 1);
output.WriteInt32(RescueProgress);
}
if (StudentType != global::Protobuf.StudentType.NullStudentType) {
output.WriteRawTag(184, 1);
output.WriteEnum((int) StudentType);
}
if (FacingDirection != 0D) {
output.WriteRawTag(193, 1);
output.WriteDouble(FacingDirection);
}
buff_.WriteTo(ref output, _repeated_buff_codec);
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 (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (Speed != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
}
if (Determination != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Determination);
}
if (Addiction != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Addiction);
}
size += timeUntilSkillAvailable_.CalculateSize(_repeated_timeUntilSkillAvailable_codec);
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
}
size += prop_.CalculateSize(_repeated_prop_codec);
if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerState);
}
if (Guid != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
}
if (BulletType != global::Protobuf.BulletType.NullBulletType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) BulletType);
}
if (LearningSpeed != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(LearningSpeed);
}
if (TreatSpeed != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TreatSpeed);
}
if (PlayerId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId);
}
if (ViewRange != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(ViewRange);
}
if (Radius != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Radius);
}
if (DangerAlert != 0D) {
size += 2 + 8;
}
if (Score != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(Score);
}
if (TreatProgress != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(TreatProgress);
}
if (RescueProgress != 0) {
size += 2 + pb::CodedOutputStream.ComputeInt32Size(RescueProgress);
}
if (StudentType != global::Protobuf.StudentType.NullStudentType) {
size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) StudentType);
}
if (FacingDirection != 0D) {
size += 2 + 8;
}
size += buff_.CalculateSize(_repeated_buff_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfStudent other) {
if (other == null) {
return;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.Speed != 0) {
Speed = other.Speed;
}
if (other.Determination != 0) {
Determination = other.Determination;
}
if (other.Addiction != 0) {
Addiction = other.Addiction;
}
timeUntilSkillAvailable_.Add(other.timeUntilSkillAvailable_);
if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
Place = other.Place;
}
prop_.Add(other.prop_);
if (other.PlayerState != global::Protobuf.PlayerState.NullStatus) {
PlayerState = other.PlayerState;
}
if (other.Guid != 0L) {
Guid = other.Guid;
}
if (other.BulletType != global::Protobuf.BulletType.NullBulletType) {
BulletType = other.BulletType;
}
if (other.LearningSpeed != 0) {
LearningSpeed = other.LearningSpeed;
}
if (other.TreatSpeed != 0) {
TreatSpeed = other.TreatSpeed;
}
if (other.PlayerId != 0L) {
PlayerId = other.PlayerId;
}
if (other.ViewRange != 0) {
ViewRange = other.ViewRange;
}
if (other.Radius != 0) {
Radius = other.Radius;
}
if (other.DangerAlert != 0D) {
DangerAlert = other.DangerAlert;
}
if (other.Score != 0) {
Score = other.Score;
}
if (other.TreatProgress != 0) {
TreatProgress = other.TreatProgress;
}
if (other.RescueProgress != 0) {
RescueProgress = other.RescueProgress;
}
if (other.StudentType != global::Protobuf.StudentType.NullStudentType) {
StudentType = other.StudentType;
}
if (other.FacingDirection != 0D) {
FacingDirection = other.FacingDirection;
}
buff_.Add(other.buff_);
_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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Speed = input.ReadInt32();
break;
}
case 32: {
Determination = input.ReadInt32();
break;
}
case 40: {
Addiction = input.ReadInt32();
break;
}
case 50:
case 49: {
timeUntilSkillAvailable_.AddEntriesFrom(input, _repeated_timeUntilSkillAvailable_codec);
break;
}
case 56: {
Place = (global::Protobuf.PlaceType) input.ReadEnum();
break;
}
case 66:
case 64: {
prop_.AddEntriesFrom(input, _repeated_prop_codec);
break;
}
case 72: {
PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
break;
}
case 80: {
Guid = input.ReadInt64();
break;
}
case 96: {
BulletType = (global::Protobuf.BulletType) input.ReadEnum();
break;
}
case 104: {
LearningSpeed = input.ReadInt32();
break;
}
case 112: {
TreatSpeed = input.ReadInt32();
break;
}
case 120: {
PlayerId = input.ReadInt64();
break;
}
case 128: {
ViewRange = input.ReadInt32();
break;
}
case 136: {
Radius = input.ReadInt32();
break;
}
case 153: {
DangerAlert = input.ReadDouble();
break;
}
case 160: {
Score = input.ReadInt32();
break;
}
case 168: {
TreatProgress = input.ReadInt32();
break;
}
case 176: {
RescueProgress = input.ReadInt32();
break;
}
case 184: {
StudentType = (global::Protobuf.StudentType) input.ReadEnum();
break;
}
case 193: {
FacingDirection = input.ReadDouble();
break;
}
case 202:
case 200: {
buff_.AddEntriesFrom(input, _repeated_buff_codec);
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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Speed = input.ReadInt32();
break;
}
case 32: {
Determination = input.ReadInt32();
break;
}
case 40: {
Addiction = input.ReadInt32();
break;
}
case 50:
case 49: {
timeUntilSkillAvailable_.AddEntriesFrom(ref input, _repeated_timeUntilSkillAvailable_codec);
break;
}
case 56: {
Place = (global::Protobuf.PlaceType) input.ReadEnum();
break;
}
case 66:
case 64: {
prop_.AddEntriesFrom(ref input, _repeated_prop_codec);
break;
}
case 72: {
PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
break;
}
case 80: {
Guid = input.ReadInt64();
break;
}
case 96: {
BulletType = (global::Protobuf.BulletType) input.ReadEnum();
break;
}
case 104: {
LearningSpeed = input.ReadInt32();
break;
}
case 112: {
TreatSpeed = input.ReadInt32();
break;
}
case 120: {
PlayerId = input.ReadInt64();
break;
}
case 128: {
ViewRange = input.ReadInt32();
break;
}
case 136: {
Radius = input.ReadInt32();
break;
}
case 153: {
DangerAlert = input.ReadDouble();
break;
}
case 160: {
Score = input.ReadInt32();
break;
}
case 168: {
TreatProgress = input.ReadInt32();
break;
}
case 176: {
RescueProgress = input.ReadInt32();
break;
}
case 184: {
StudentType = (global::Protobuf.StudentType) input.ReadEnum();
break;
}
case 193: {
FacingDirection = input.ReadDouble();
break;
}
case 202:
case 200: {
buff_.AddEntriesFrom(ref input, _repeated_buff_codec);
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfTricker : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfTricker());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[1]; }
}
[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 MessageOfTricker() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfTricker(MessageOfTricker other) : this() {
x_ = other.x_;
y_ = other.y_;
speed_ = other.speed_;
timeUntilSkillAvailable_ = other.timeUntilSkillAvailable_.Clone();
place_ = other.place_;
prop_ = other.prop_.Clone();
trickerType_ = other.trickerType_;
guid_ = other.guid_;
score_ = other.score_;
playerId_ = other.playerId_;
viewRange_ = other.viewRange_;
radius_ = other.radius_;
playerState_ = other.playerState_;
trickDesire_ = other.trickDesire_;
classVolume_ = other.classVolume_;
facingDirection_ = other.facingDirection_;
bulletType_ = other.bulletType_;
buff_ = other.buff_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfTricker Clone() {
return new MessageOfTricker(this);
}
/// Field number for the "x" field.
public const int XFieldNumber = 1;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 2;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "speed" field.
public const int SpeedFieldNumber = 3;
private int speed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Speed {
get { return speed_; }
set {
speed_ = value;
}
}
/// Field number for the "time_until_skill_available" field.
public const int TimeUntilSkillAvailableFieldNumber = 5;
private static readonly pb::FieldCodec _repeated_timeUntilSkillAvailable_codec
= pb::FieldCodec.ForDouble(42);
private readonly pbc::RepeatedField timeUntilSkillAvailable_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField TimeUntilSkillAvailable {
get { return timeUntilSkillAvailable_; }
}
/// Field number for the "place" field.
public const int PlaceFieldNumber = 6;
private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PlaceType Place {
get { return place_; }
set {
place_ = value;
}
}
/// Field number for the "prop" field.
public const int PropFieldNumber = 7;
private static readonly pb::FieldCodec _repeated_prop_codec
= pb::FieldCodec.ForEnum(58, x => (int) x, x => (global::Protobuf.PropType) x);
private readonly pbc::RepeatedField prop_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Prop {
get { return prop_; }
}
/// Field number for the "tricker_type" field.
public const int TrickerTypeFieldNumber = 8;
private global::Protobuf.TrickerType trickerType_ = global::Protobuf.TrickerType.NullTrickerType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.TrickerType TrickerType {
get { return trickerType_; }
set {
trickerType_ = value;
}
}
/// Field number for the "guid" field.
public const int GuidFieldNumber = 9;
private long guid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Guid {
get { return guid_; }
set {
guid_ = value;
}
}
/// Field number for the "score" field.
public const int ScoreFieldNumber = 10;
private int score_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Score {
get { return score_; }
set {
score_ = value;
}
}
/// Field number for the "player_id" field.
public const int PlayerIdFieldNumber = 11;
private long playerId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long PlayerId {
get { return playerId_; }
set {
playerId_ = value;
}
}
/// Field number for the "view_range" field.
public const int ViewRangeFieldNumber = 12;
private int viewRange_;
///
/// 视野距离
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int ViewRange {
get { return viewRange_; }
set {
viewRange_ = value;
}
}
/// Field number for the "radius" field.
public const int RadiusFieldNumber = 13;
private int radius_;
///
/// 半径
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Radius {
get { return radius_; }
set {
radius_ = value;
}
}
/// Field number for the "player_state" field.
public const int PlayerStateFieldNumber = 14;
private global::Protobuf.PlayerState playerState_ = global::Protobuf.PlayerState.NullStatus;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PlayerState PlayerState {
get { return playerState_; }
set {
playerState_ = value;
}
}
/// Field number for the "trick_desire" field.
public const int TrickDesireFieldNumber = 15;
private double trickDesire_;
///
///bgm
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double TrickDesire {
get { return trickDesire_; }
set {
trickDesire_ = value;
}
}
/// Field number for the "class_volume" field.
public const int ClassVolumeFieldNumber = 16;
private double classVolume_;
///
///bgm
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double ClassVolume {
get { return classVolume_; }
set {
classVolume_ = value;
}
}
/// Field number for the "facing_direction" field.
public const int FacingDirectionFieldNumber = 17;
private double facingDirection_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double FacingDirection {
get { return facingDirection_; }
set {
facingDirection_ = value;
}
}
/// Field number for the "bullet_type" field.
public const int BulletTypeFieldNumber = 18;
private global::Protobuf.BulletType bulletType_ = global::Protobuf.BulletType.NullBulletType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.BulletType BulletType {
get { return bulletType_; }
set {
bulletType_ = value;
}
}
/// Field number for the "buff" field.
public const int BuffFieldNumber = 19;
private static readonly pb::FieldCodec _repeated_buff_codec
= pb::FieldCodec.ForEnum(154, x => (int) x, x => (global::Protobuf.TrickerBuffType) x);
private readonly pbc::RepeatedField buff_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Buff {
get { return buff_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfTricker);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfTricker other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (X != other.X) return false;
if (Y != other.Y) return false;
if (Speed != other.Speed) return false;
if(!timeUntilSkillAvailable_.Equals(other.timeUntilSkillAvailable_)) return false;
if (Place != other.Place) return false;
if(!prop_.Equals(other.prop_)) return false;
if (TrickerType != other.TrickerType) return false;
if (Guid != other.Guid) return false;
if (Score != other.Score) return false;
if (PlayerId != other.PlayerId) return false;
if (ViewRange != other.ViewRange) return false;
if (Radius != other.Radius) return false;
if (PlayerState != other.PlayerState) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(TrickDesire, other.TrickDesire)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ClassVolume, other.ClassVolume)) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
if (BulletType != other.BulletType) return false;
if(!buff_.Equals(other.buff_)) 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 (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (Speed != 0) hash ^= Speed.GetHashCode();
hash ^= timeUntilSkillAvailable_.GetHashCode();
if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
hash ^= prop_.GetHashCode();
if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) hash ^= TrickerType.GetHashCode();
if (Guid != 0L) hash ^= Guid.GetHashCode();
if (Score != 0) hash ^= Score.GetHashCode();
if (PlayerId != 0L) hash ^= PlayerId.GetHashCode();
if (ViewRange != 0) hash ^= ViewRange.GetHashCode();
if (Radius != 0) hash ^= Radius.GetHashCode();
if (PlayerState != global::Protobuf.PlayerState.NullStatus) hash ^= PlayerState.GetHashCode();
if (TrickDesire != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(TrickDesire);
if (ClassVolume != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ClassVolume);
if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
if (BulletType != global::Protobuf.BulletType.NullBulletType) hash ^= BulletType.GetHashCode();
hash ^= buff_.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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Speed != 0) {
output.WriteRawTag(24);
output.WriteInt32(Speed);
}
timeUntilSkillAvailable_.WriteTo(output, _repeated_timeUntilSkillAvailable_codec);
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
output.WriteRawTag(48);
output.WriteEnum((int) Place);
}
prop_.WriteTo(output, _repeated_prop_codec);
if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
output.WriteRawTag(64);
output.WriteEnum((int) TrickerType);
}
if (Guid != 0L) {
output.WriteRawTag(72);
output.WriteInt64(Guid);
}
if (Score != 0) {
output.WriteRawTag(80);
output.WriteInt32(Score);
}
if (PlayerId != 0L) {
output.WriteRawTag(88);
output.WriteInt64(PlayerId);
}
if (ViewRange != 0) {
output.WriteRawTag(96);
output.WriteInt32(ViewRange);
}
if (Radius != 0) {
output.WriteRawTag(104);
output.WriteInt32(Radius);
}
if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
output.WriteRawTag(112);
output.WriteEnum((int) PlayerState);
}
if (TrickDesire != 0D) {
output.WriteRawTag(121);
output.WriteDouble(TrickDesire);
}
if (ClassVolume != 0D) {
output.WriteRawTag(129, 1);
output.WriteDouble(ClassVolume);
}
if (FacingDirection != 0D) {
output.WriteRawTag(137, 1);
output.WriteDouble(FacingDirection);
}
if (BulletType != global::Protobuf.BulletType.NullBulletType) {
output.WriteRawTag(144, 1);
output.WriteEnum((int) BulletType);
}
buff_.WriteTo(output, _repeated_buff_codec);
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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Speed != 0) {
output.WriteRawTag(24);
output.WriteInt32(Speed);
}
timeUntilSkillAvailable_.WriteTo(ref output, _repeated_timeUntilSkillAvailable_codec);
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
output.WriteRawTag(48);
output.WriteEnum((int) Place);
}
prop_.WriteTo(ref output, _repeated_prop_codec);
if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
output.WriteRawTag(64);
output.WriteEnum((int) TrickerType);
}
if (Guid != 0L) {
output.WriteRawTag(72);
output.WriteInt64(Guid);
}
if (Score != 0) {
output.WriteRawTag(80);
output.WriteInt32(Score);
}
if (PlayerId != 0L) {
output.WriteRawTag(88);
output.WriteInt64(PlayerId);
}
if (ViewRange != 0) {
output.WriteRawTag(96);
output.WriteInt32(ViewRange);
}
if (Radius != 0) {
output.WriteRawTag(104);
output.WriteInt32(Radius);
}
if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
output.WriteRawTag(112);
output.WriteEnum((int) PlayerState);
}
if (TrickDesire != 0D) {
output.WriteRawTag(121);
output.WriteDouble(TrickDesire);
}
if (ClassVolume != 0D) {
output.WriteRawTag(129, 1);
output.WriteDouble(ClassVolume);
}
if (FacingDirection != 0D) {
output.WriteRawTag(137, 1);
output.WriteDouble(FacingDirection);
}
if (BulletType != global::Protobuf.BulletType.NullBulletType) {
output.WriteRawTag(144, 1);
output.WriteEnum((int) BulletType);
}
buff_.WriteTo(ref output, _repeated_buff_codec);
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 (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (Speed != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
}
size += timeUntilSkillAvailable_.CalculateSize(_repeated_timeUntilSkillAvailable_codec);
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
}
size += prop_.CalculateSize(_repeated_prop_codec);
if (TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) TrickerType);
}
if (Guid != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
}
if (Score != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Score);
}
if (PlayerId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(PlayerId);
}
if (ViewRange != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(ViewRange);
}
if (Radius != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Radius);
}
if (PlayerState != global::Protobuf.PlayerState.NullStatus) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) PlayerState);
}
if (TrickDesire != 0D) {
size += 1 + 8;
}
if (ClassVolume != 0D) {
size += 2 + 8;
}
if (FacingDirection != 0D) {
size += 2 + 8;
}
if (BulletType != global::Protobuf.BulletType.NullBulletType) {
size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) BulletType);
}
size += buff_.CalculateSize(_repeated_buff_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfTricker other) {
if (other == null) {
return;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.Speed != 0) {
Speed = other.Speed;
}
timeUntilSkillAvailable_.Add(other.timeUntilSkillAvailable_);
if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
Place = other.Place;
}
prop_.Add(other.prop_);
if (other.TrickerType != global::Protobuf.TrickerType.NullTrickerType) {
TrickerType = other.TrickerType;
}
if (other.Guid != 0L) {
Guid = other.Guid;
}
if (other.Score != 0) {
Score = other.Score;
}
if (other.PlayerId != 0L) {
PlayerId = other.PlayerId;
}
if (other.ViewRange != 0) {
ViewRange = other.ViewRange;
}
if (other.Radius != 0) {
Radius = other.Radius;
}
if (other.PlayerState != global::Protobuf.PlayerState.NullStatus) {
PlayerState = other.PlayerState;
}
if (other.TrickDesire != 0D) {
TrickDesire = other.TrickDesire;
}
if (other.ClassVolume != 0D) {
ClassVolume = other.ClassVolume;
}
if (other.FacingDirection != 0D) {
FacingDirection = other.FacingDirection;
}
if (other.BulletType != global::Protobuf.BulletType.NullBulletType) {
BulletType = other.BulletType;
}
buff_.Add(other.buff_);
_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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Speed = input.ReadInt32();
break;
}
case 42:
case 41: {
timeUntilSkillAvailable_.AddEntriesFrom(input, _repeated_timeUntilSkillAvailable_codec);
break;
}
case 48: {
Place = (global::Protobuf.PlaceType) input.ReadEnum();
break;
}
case 58:
case 56: {
prop_.AddEntriesFrom(input, _repeated_prop_codec);
break;
}
case 64: {
TrickerType = (global::Protobuf.TrickerType) input.ReadEnum();
break;
}
case 72: {
Guid = input.ReadInt64();
break;
}
case 80: {
Score = input.ReadInt32();
break;
}
case 88: {
PlayerId = input.ReadInt64();
break;
}
case 96: {
ViewRange = input.ReadInt32();
break;
}
case 104: {
Radius = input.ReadInt32();
break;
}
case 112: {
PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
break;
}
case 121: {
TrickDesire = input.ReadDouble();
break;
}
case 129: {
ClassVolume = input.ReadDouble();
break;
}
case 137: {
FacingDirection = input.ReadDouble();
break;
}
case 144: {
BulletType = (global::Protobuf.BulletType) input.ReadEnum();
break;
}
case 154:
case 152: {
buff_.AddEntriesFrom(input, _repeated_buff_codec);
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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Speed = input.ReadInt32();
break;
}
case 42:
case 41: {
timeUntilSkillAvailable_.AddEntriesFrom(ref input, _repeated_timeUntilSkillAvailable_codec);
break;
}
case 48: {
Place = (global::Protobuf.PlaceType) input.ReadEnum();
break;
}
case 58:
case 56: {
prop_.AddEntriesFrom(ref input, _repeated_prop_codec);
break;
}
case 64: {
TrickerType = (global::Protobuf.TrickerType) input.ReadEnum();
break;
}
case 72: {
Guid = input.ReadInt64();
break;
}
case 80: {
Score = input.ReadInt32();
break;
}
case 88: {
PlayerId = input.ReadInt64();
break;
}
case 96: {
ViewRange = input.ReadInt32();
break;
}
case 104: {
Radius = input.ReadInt32();
break;
}
case 112: {
PlayerState = (global::Protobuf.PlayerState) input.ReadEnum();
break;
}
case 121: {
TrickDesire = input.ReadDouble();
break;
}
case 129: {
ClassVolume = input.ReadDouble();
break;
}
case 137: {
FacingDirection = input.ReadDouble();
break;
}
case 144: {
BulletType = (global::Protobuf.BulletType) input.ReadEnum();
break;
}
case 154:
case 152: {
buff_.AddEntriesFrom(ref input, _repeated_buff_codec);
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfBullet : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfBullet());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[2]; }
}
[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 MessageOfBullet() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfBullet(MessageOfBullet other) : this() {
type_ = other.type_;
x_ = other.x_;
y_ = other.y_;
facingDirection_ = other.facingDirection_;
guid_ = other.guid_;
team_ = other.team_;
place_ = other.place_;
bombRange_ = other.bombRange_;
speed_ = other.speed_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfBullet Clone() {
return new MessageOfBullet(this);
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 1;
private global::Protobuf.BulletType type_ = global::Protobuf.BulletType.NullBulletType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.BulletType Type {
get { return type_; }
set {
type_ = value;
}
}
/// Field number for the "x" field.
public const int XFieldNumber = 2;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 3;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "facing_direction" field.
public const int FacingDirectionFieldNumber = 4;
private double facingDirection_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double FacingDirection {
get { return facingDirection_; }
set {
facingDirection_ = value;
}
}
/// Field number for the "guid" field.
public const int GuidFieldNumber = 5;
private long guid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Guid {
get { return guid_; }
set {
guid_ = value;
}
}
/// Field number for the "team" field.
public const int TeamFieldNumber = 6;
private global::Protobuf.PlayerType team_ = global::Protobuf.PlayerType.NullPlayerType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PlayerType Team {
get { return team_; }
set {
team_ = value;
}
}
/// Field number for the "place" field.
public const int PlaceFieldNumber = 7;
private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PlaceType Place {
get { return place_; }
set {
place_ = value;
}
}
/// Field number for the "bomb_range" field.
public const int BombRangeFieldNumber = 8;
private double bombRange_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double BombRange {
get { return bombRange_; }
set {
bombRange_ = value;
}
}
/// Field number for the "speed" field.
public const int SpeedFieldNumber = 9;
private int speed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Speed {
get { return speed_; }
set {
speed_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfBullet);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfBullet other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
if (X != other.X) return false;
if (Y != other.Y) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
if (Guid != other.Guid) return false;
if (Team != other.Team) return false;
if (Place != other.Place) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BombRange, other.BombRange)) return false;
if (Speed != other.Speed) 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 (Type != global::Protobuf.BulletType.NullBulletType) hash ^= Type.GetHashCode();
if (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
if (Guid != 0L) hash ^= Guid.GetHashCode();
if (Team != global::Protobuf.PlayerType.NullPlayerType) hash ^= Team.GetHashCode();
if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.GetHashCode();
if (BombRange != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BombRange);
if (Speed != 0) hash ^= Speed.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 (Type != global::Protobuf.BulletType.NullBulletType) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
if (X != 0) {
output.WriteRawTag(16);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(24);
output.WriteInt32(Y);
}
if (FacingDirection != 0D) {
output.WriteRawTag(33);
output.WriteDouble(FacingDirection);
}
if (Guid != 0L) {
output.WriteRawTag(40);
output.WriteInt64(Guid);
}
if (Team != global::Protobuf.PlayerType.NullPlayerType) {
output.WriteRawTag(48);
output.WriteEnum((int) Team);
}
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
output.WriteRawTag(56);
output.WriteEnum((int) Place);
}
if (BombRange != 0D) {
output.WriteRawTag(65);
output.WriteDouble(BombRange);
}
if (Speed != 0) {
output.WriteRawTag(72);
output.WriteInt32(Speed);
}
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 (Type != global::Protobuf.BulletType.NullBulletType) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
if (X != 0) {
output.WriteRawTag(16);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(24);
output.WriteInt32(Y);
}
if (FacingDirection != 0D) {
output.WriteRawTag(33);
output.WriteDouble(FacingDirection);
}
if (Guid != 0L) {
output.WriteRawTag(40);
output.WriteInt64(Guid);
}
if (Team != global::Protobuf.PlayerType.NullPlayerType) {
output.WriteRawTag(48);
output.WriteEnum((int) Team);
}
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
output.WriteRawTag(56);
output.WriteEnum((int) Place);
}
if (BombRange != 0D) {
output.WriteRawTag(65);
output.WriteDouble(BombRange);
}
if (Speed != 0) {
output.WriteRawTag(72);
output.WriteInt32(Speed);
}
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 (Type != global::Protobuf.BulletType.NullBulletType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
}
if (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (FacingDirection != 0D) {
size += 1 + 8;
}
if (Guid != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
}
if (Team != global::Protobuf.PlayerType.NullPlayerType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Team);
}
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
}
if (BombRange != 0D) {
size += 1 + 8;
}
if (Speed != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Speed);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfBullet other) {
if (other == null) {
return;
}
if (other.Type != global::Protobuf.BulletType.NullBulletType) {
Type = other.Type;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.FacingDirection != 0D) {
FacingDirection = other.FacingDirection;
}
if (other.Guid != 0L) {
Guid = other.Guid;
}
if (other.Team != global::Protobuf.PlayerType.NullPlayerType) {
Team = other.Team;
}
if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
Place = other.Place;
}
if (other.BombRange != 0D) {
BombRange = other.BombRange;
}
if (other.Speed != 0) {
Speed = other.Speed;
}
_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 8: {
Type = (global::Protobuf.BulletType) input.ReadEnum();
break;
}
case 16: {
X = input.ReadInt32();
break;
}
case 24: {
Y = input.ReadInt32();
break;
}
case 33: {
FacingDirection = input.ReadDouble();
break;
}
case 40: {
Guid = input.ReadInt64();
break;
}
case 48: {
Team = (global::Protobuf.PlayerType) input.ReadEnum();
break;
}
case 56: {
Place = (global::Protobuf.PlaceType) input.ReadEnum();
break;
}
case 65: {
BombRange = input.ReadDouble();
break;
}
case 72: {
Speed = input.ReadInt32();
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 8: {
Type = (global::Protobuf.BulletType) input.ReadEnum();
break;
}
case 16: {
X = input.ReadInt32();
break;
}
case 24: {
Y = input.ReadInt32();
break;
}
case 33: {
FacingDirection = input.ReadDouble();
break;
}
case 40: {
Guid = input.ReadInt64();
break;
}
case 48: {
Team = (global::Protobuf.PlayerType) input.ReadEnum();
break;
}
case 56: {
Place = (global::Protobuf.PlaceType) input.ReadEnum();
break;
}
case 65: {
BombRange = input.ReadDouble();
break;
}
case 72: {
Speed = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfBombedBullet : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfBombedBullet());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[3]; }
}
[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 MessageOfBombedBullet() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfBombedBullet(MessageOfBombedBullet other) : this() {
type_ = other.type_;
x_ = other.x_;
y_ = other.y_;
facingDirection_ = other.facingDirection_;
mappingId_ = other.mappingId_;
bombRange_ = other.bombRange_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfBombedBullet Clone() {
return new MessageOfBombedBullet(this);
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 1;
private global::Protobuf.BulletType type_ = global::Protobuf.BulletType.NullBulletType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.BulletType Type {
get { return type_; }
set {
type_ = value;
}
}
/// Field number for the "x" field.
public const int XFieldNumber = 2;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 3;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "facing_direction" field.
public const int FacingDirectionFieldNumber = 4;
private double facingDirection_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double FacingDirection {
get { return facingDirection_; }
set {
facingDirection_ = value;
}
}
/// Field number for the "mapping_id" field.
public const int MappingIdFieldNumber = 5;
private long mappingId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long MappingId {
get { return mappingId_; }
set {
mappingId_ = value;
}
}
/// Field number for the "bomb_range" field.
public const int BombRangeFieldNumber = 6;
private double bombRange_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double BombRange {
get { return bombRange_; }
set {
bombRange_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfBombedBullet);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfBombedBullet other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
if (X != other.X) return false;
if (Y != other.Y) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
if (MappingId != other.MappingId) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(BombRange, other.BombRange)) 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 (Type != global::Protobuf.BulletType.NullBulletType) hash ^= Type.GetHashCode();
if (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
if (MappingId != 0L) hash ^= MappingId.GetHashCode();
if (BombRange != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(BombRange);
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 (Type != global::Protobuf.BulletType.NullBulletType) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
if (X != 0) {
output.WriteRawTag(16);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(24);
output.WriteInt32(Y);
}
if (FacingDirection != 0D) {
output.WriteRawTag(33);
output.WriteDouble(FacingDirection);
}
if (MappingId != 0L) {
output.WriteRawTag(40);
output.WriteInt64(MappingId);
}
if (BombRange != 0D) {
output.WriteRawTag(49);
output.WriteDouble(BombRange);
}
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 (Type != global::Protobuf.BulletType.NullBulletType) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
if (X != 0) {
output.WriteRawTag(16);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(24);
output.WriteInt32(Y);
}
if (FacingDirection != 0D) {
output.WriteRawTag(33);
output.WriteDouble(FacingDirection);
}
if (MappingId != 0L) {
output.WriteRawTag(40);
output.WriteInt64(MappingId);
}
if (BombRange != 0D) {
output.WriteRawTag(49);
output.WriteDouble(BombRange);
}
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 (Type != global::Protobuf.BulletType.NullBulletType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
}
if (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (FacingDirection != 0D) {
size += 1 + 8;
}
if (MappingId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(MappingId);
}
if (BombRange != 0D) {
size += 1 + 8;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfBombedBullet other) {
if (other == null) {
return;
}
if (other.Type != global::Protobuf.BulletType.NullBulletType) {
Type = other.Type;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.FacingDirection != 0D) {
FacingDirection = other.FacingDirection;
}
if (other.MappingId != 0L) {
MappingId = other.MappingId;
}
if (other.BombRange != 0D) {
BombRange = other.BombRange;
}
_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 8: {
Type = (global::Protobuf.BulletType) input.ReadEnum();
break;
}
case 16: {
X = input.ReadInt32();
break;
}
case 24: {
Y = input.ReadInt32();
break;
}
case 33: {
FacingDirection = input.ReadDouble();
break;
}
case 40: {
MappingId = input.ReadInt64();
break;
}
case 49: {
BombRange = input.ReadDouble();
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 8: {
Type = (global::Protobuf.BulletType) input.ReadEnum();
break;
}
case 16: {
X = input.ReadInt32();
break;
}
case 24: {
Y = input.ReadInt32();
break;
}
case 33: {
FacingDirection = input.ReadDouble();
break;
}
case 40: {
MappingId = input.ReadInt64();
break;
}
case 49: {
BombRange = input.ReadDouble();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfProp : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfProp());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[4]; }
}
[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 MessageOfProp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfProp(MessageOfProp other) : this() {
type_ = other.type_;
x_ = other.x_;
y_ = other.y_;
facingDirection_ = other.facingDirection_;
guid_ = other.guid_;
place_ = other.place_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfProp Clone() {
return new MessageOfProp(this);
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 1;
private global::Protobuf.PropType type_ = global::Protobuf.PropType.NullPropType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PropType Type {
get { return type_; }
set {
type_ = value;
}
}
/// Field number for the "x" field.
public const int XFieldNumber = 2;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 3;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "facing_direction" field.
public const int FacingDirectionFieldNumber = 4;
private double facingDirection_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double FacingDirection {
get { return facingDirection_; }
set {
facingDirection_ = value;
}
}
/// Field number for the "guid" field.
public const int GuidFieldNumber = 5;
private long guid_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long Guid {
get { return guid_; }
set {
guid_ = value;
}
}
/// Field number for the "place" field.
public const int PlaceFieldNumber = 6;
private global::Protobuf.PlaceType place_ = global::Protobuf.PlaceType.NullPlaceType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PlaceType Place {
get { return place_; }
set {
place_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfProp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfProp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
if (X != other.X) return false;
if (Y != other.Y) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
if (Guid != other.Guid) return false;
if (Place != other.Place) 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 (Type != global::Protobuf.PropType.NullPropType) hash ^= Type.GetHashCode();
if (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
if (Guid != 0L) hash ^= Guid.GetHashCode();
if (Place != global::Protobuf.PlaceType.NullPlaceType) hash ^= Place.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 (Type != global::Protobuf.PropType.NullPropType) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
if (X != 0) {
output.WriteRawTag(16);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(24);
output.WriteInt32(Y);
}
if (FacingDirection != 0D) {
output.WriteRawTag(33);
output.WriteDouble(FacingDirection);
}
if (Guid != 0L) {
output.WriteRawTag(40);
output.WriteInt64(Guid);
}
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
output.WriteRawTag(48);
output.WriteEnum((int) Place);
}
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 (Type != global::Protobuf.PropType.NullPropType) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
if (X != 0) {
output.WriteRawTag(16);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(24);
output.WriteInt32(Y);
}
if (FacingDirection != 0D) {
output.WriteRawTag(33);
output.WriteDouble(FacingDirection);
}
if (Guid != 0L) {
output.WriteRawTag(40);
output.WriteInt64(Guid);
}
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
output.WriteRawTag(48);
output.WriteEnum((int) Place);
}
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 (Type != global::Protobuf.PropType.NullPropType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
}
if (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (FacingDirection != 0D) {
size += 1 + 8;
}
if (Guid != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Guid);
}
if (Place != global::Protobuf.PlaceType.NullPlaceType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Place);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfProp other) {
if (other == null) {
return;
}
if (other.Type != global::Protobuf.PropType.NullPropType) {
Type = other.Type;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.FacingDirection != 0D) {
FacingDirection = other.FacingDirection;
}
if (other.Guid != 0L) {
Guid = other.Guid;
}
if (other.Place != global::Protobuf.PlaceType.NullPlaceType) {
Place = other.Place;
}
_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 8: {
Type = (global::Protobuf.PropType) input.ReadEnum();
break;
}
case 16: {
X = input.ReadInt32();
break;
}
case 24: {
Y = input.ReadInt32();
break;
}
case 33: {
FacingDirection = input.ReadDouble();
break;
}
case 40: {
Guid = input.ReadInt64();
break;
}
case 48: {
Place = (global::Protobuf.PlaceType) input.ReadEnum();
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 8: {
Type = (global::Protobuf.PropType) input.ReadEnum();
break;
}
case 16: {
X = input.ReadInt32();
break;
}
case 24: {
Y = input.ReadInt32();
break;
}
case 33: {
FacingDirection = input.ReadDouble();
break;
}
case 40: {
Guid = input.ReadInt64();
break;
}
case 48: {
Place = (global::Protobuf.PlaceType) input.ReadEnum();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfPickedProp : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfPickedProp());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[5]; }
}
[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 MessageOfPickedProp() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfPickedProp(MessageOfPickedProp other) : this() {
type_ = other.type_;
x_ = other.x_;
y_ = other.y_;
facingDirection_ = other.facingDirection_;
mappingId_ = other.mappingId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfPickedProp Clone() {
return new MessageOfPickedProp(this);
}
/// Field number for the "type" field.
public const int TypeFieldNumber = 1;
private global::Protobuf.PropType type_ = global::Protobuf.PropType.NullPropType;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.PropType Type {
get { return type_; }
set {
type_ = value;
}
}
/// Field number for the "x" field.
public const int XFieldNumber = 2;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 3;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "facing_direction" field.
public const int FacingDirectionFieldNumber = 4;
private double facingDirection_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double FacingDirection {
get { return facingDirection_; }
set {
facingDirection_ = value;
}
}
/// Field number for the "mapping_id" field.
public const int MappingIdFieldNumber = 5;
private long mappingId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long MappingId {
get { return mappingId_; }
set {
mappingId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfPickedProp);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfPickedProp other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (Type != other.Type) return false;
if (X != other.X) return false;
if (Y != other.Y) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(FacingDirection, other.FacingDirection)) return false;
if (MappingId != other.MappingId) 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 (Type != global::Protobuf.PropType.NullPropType) hash ^= Type.GetHashCode();
if (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (FacingDirection != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(FacingDirection);
if (MappingId != 0L) hash ^= MappingId.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 (Type != global::Protobuf.PropType.NullPropType) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
if (X != 0) {
output.WriteRawTag(16);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(24);
output.WriteInt32(Y);
}
if (FacingDirection != 0D) {
output.WriteRawTag(33);
output.WriteDouble(FacingDirection);
}
if (MappingId != 0L) {
output.WriteRawTag(40);
output.WriteInt64(MappingId);
}
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 (Type != global::Protobuf.PropType.NullPropType) {
output.WriteRawTag(8);
output.WriteEnum((int) Type);
}
if (X != 0) {
output.WriteRawTag(16);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(24);
output.WriteInt32(Y);
}
if (FacingDirection != 0D) {
output.WriteRawTag(33);
output.WriteDouble(FacingDirection);
}
if (MappingId != 0L) {
output.WriteRawTag(40);
output.WriteInt64(MappingId);
}
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 (Type != global::Protobuf.PropType.NullPropType) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
}
if (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (FacingDirection != 0D) {
size += 1 + 8;
}
if (MappingId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(MappingId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfPickedProp other) {
if (other == null) {
return;
}
if (other.Type != global::Protobuf.PropType.NullPropType) {
Type = other.Type;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.FacingDirection != 0D) {
FacingDirection = other.FacingDirection;
}
if (other.MappingId != 0L) {
MappingId = other.MappingId;
}
_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 8: {
Type = (global::Protobuf.PropType) input.ReadEnum();
break;
}
case 16: {
X = input.ReadInt32();
break;
}
case 24: {
Y = input.ReadInt32();
break;
}
case 33: {
FacingDirection = input.ReadDouble();
break;
}
case 40: {
MappingId = input.ReadInt64();
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 8: {
Type = (global::Protobuf.PropType) input.ReadEnum();
break;
}
case 16: {
X = input.ReadInt32();
break;
}
case 24: {
Y = input.ReadInt32();
break;
}
case 33: {
FacingDirection = input.ReadDouble();
break;
}
case 40: {
MappingId = input.ReadInt64();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfClassroom : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfClassroom());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[6]; }
}
[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 MessageOfClassroom() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfClassroom(MessageOfClassroom other) : this() {
x_ = other.x_;
y_ = other.y_;
progress_ = other.progress_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfClassroom Clone() {
return new MessageOfClassroom(this);
}
/// Field number for the "x" field.
public const int XFieldNumber = 1;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 2;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "progress" field.
public const int ProgressFieldNumber = 3;
private int progress_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Progress {
get { return progress_; }
set {
progress_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfClassroom);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfClassroom other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (X != other.X) return false;
if (Y != other.Y) return false;
if (Progress != other.Progress) 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 (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (Progress != 0) hash ^= Progress.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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteInt32(Progress);
}
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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteInt32(Progress);
}
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 (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (Progress != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfClassroom other) {
if (other == null) {
return;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.Progress != 0) {
Progress = other.Progress;
}
_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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Progress = input.ReadInt32();
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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Progress = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfGate : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfGate());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[7]; }
}
[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 MessageOfGate() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfGate(MessageOfGate other) : this() {
x_ = other.x_;
y_ = other.y_;
progress_ = other.progress_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfGate Clone() {
return new MessageOfGate(this);
}
/// Field number for the "x" field.
public const int XFieldNumber = 1;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 2;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "progress" field.
public const int ProgressFieldNumber = 3;
private int progress_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Progress {
get { return progress_; }
set {
progress_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfGate);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfGate other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (X != other.X) return false;
if (Y != other.Y) return false;
if (Progress != other.Progress) 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 (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (Progress != 0) hash ^= Progress.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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteInt32(Progress);
}
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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteInt32(Progress);
}
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 (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (Progress != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfGate other) {
if (other == null) {
return;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.Progress != 0) {
Progress = other.Progress;
}
_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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Progress = input.ReadInt32();
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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Progress = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfHiddenGate : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfHiddenGate());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[8]; }
}
[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 MessageOfHiddenGate() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfHiddenGate(MessageOfHiddenGate other) : this() {
x_ = other.x_;
y_ = other.y_;
opened_ = other.opened_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfHiddenGate Clone() {
return new MessageOfHiddenGate(this);
}
/// Field number for the "x" field.
public const int XFieldNumber = 1;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 2;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "opened" field.
public const int OpenedFieldNumber = 3;
private bool opened_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Opened {
get { return opened_; }
set {
opened_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfHiddenGate);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfHiddenGate other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (X != other.X) return false;
if (Y != other.Y) return false;
if (Opened != other.Opened) 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 (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (Opened != false) hash ^= Opened.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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Opened != false) {
output.WriteRawTag(24);
output.WriteBool(Opened);
}
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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Opened != false) {
output.WriteRawTag(24);
output.WriteBool(Opened);
}
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 (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (Opened != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfHiddenGate other) {
if (other == null) {
return;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.Opened != false) {
Opened = other.Opened;
}
_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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Opened = input.ReadBool();
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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Opened = input.ReadBool();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfDoor : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfDoor());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[9]; }
}
[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 MessageOfDoor() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfDoor(MessageOfDoor other) : this() {
x_ = other.x_;
y_ = other.y_;
isOpen_ = other.isOpen_;
progress_ = other.progress_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfDoor Clone() {
return new MessageOfDoor(this);
}
/// Field number for the "x" field.
public const int XFieldNumber = 1;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 2;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "is_open" field.
public const int IsOpenFieldNumber = 3;
private bool isOpen_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool IsOpen {
get { return isOpen_; }
set {
isOpen_ = value;
}
}
/// Field number for the "progress" field.
public const int ProgressFieldNumber = 4;
private int progress_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Progress {
get { return progress_; }
set {
progress_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfDoor);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfDoor other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (X != other.X) return false;
if (Y != other.Y) return false;
if (IsOpen != other.IsOpen) return false;
if (Progress != other.Progress) 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 (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (IsOpen != false) hash ^= IsOpen.GetHashCode();
if (Progress != 0) hash ^= Progress.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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (IsOpen != false) {
output.WriteRawTag(24);
output.WriteBool(IsOpen);
}
if (Progress != 0) {
output.WriteRawTag(32);
output.WriteInt32(Progress);
}
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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (IsOpen != false) {
output.WriteRawTag(24);
output.WriteBool(IsOpen);
}
if (Progress != 0) {
output.WriteRawTag(32);
output.WriteInt32(Progress);
}
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 (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (IsOpen != false) {
size += 1 + 1;
}
if (Progress != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfDoor other) {
if (other == null) {
return;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.IsOpen != false) {
IsOpen = other.IsOpen;
}
if (other.Progress != 0) {
Progress = other.Progress;
}
_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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
IsOpen = input.ReadBool();
break;
}
case 32: {
Progress = input.ReadInt32();
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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
IsOpen = input.ReadBool();
break;
}
case 32: {
Progress = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfChest : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfChest());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[10]; }
}
[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 MessageOfChest() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfChest(MessageOfChest other) : this() {
x_ = other.x_;
y_ = other.y_;
progress_ = other.progress_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfChest Clone() {
return new MessageOfChest(this);
}
/// Field number for the "x" field.
public const int XFieldNumber = 1;
private int x_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int X {
get { return x_; }
set {
x_ = value;
}
}
/// Field number for the "y" field.
public const int YFieldNumber = 2;
private int y_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Y {
get { return y_; }
set {
y_ = value;
}
}
/// Field number for the "progress" field.
public const int ProgressFieldNumber = 3;
private int progress_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int Progress {
get { return progress_; }
set {
progress_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfChest);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfChest other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (X != other.X) return false;
if (Y != other.Y) return false;
if (Progress != other.Progress) 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 (X != 0) hash ^= X.GetHashCode();
if (Y != 0) hash ^= Y.GetHashCode();
if (Progress != 0) hash ^= Progress.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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteInt32(Progress);
}
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 (X != 0) {
output.WriteRawTag(8);
output.WriteInt32(X);
}
if (Y != 0) {
output.WriteRawTag(16);
output.WriteInt32(Y);
}
if (Progress != 0) {
output.WriteRawTag(24);
output.WriteInt32(Progress);
}
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 (X != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(X);
}
if (Y != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Y);
}
if (Progress != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(Progress);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfChest other) {
if (other == null) {
return;
}
if (other.X != 0) {
X = other.X;
}
if (other.Y != 0) {
Y = other.Y;
}
if (other.Progress != 0) {
Progress = other.Progress;
}
_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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Progress = input.ReadInt32();
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 8: {
X = input.ReadInt32();
break;
}
case 16: {
Y = input.ReadInt32();
break;
}
case 24: {
Progress = input.ReadInt32();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfMap : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfMap());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[11]; }
}
[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 MessageOfMap() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfMap(MessageOfMap other) : this() {
row_ = other.row_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfMap Clone() {
return new MessageOfMap(this);
}
/// Field number for the "row" field.
public const int RowFieldNumber = 2;
private static readonly pb::FieldCodec _repeated_row_codec
= pb::FieldCodec.ForMessage(18, global::Protobuf.MessageOfMap.Types.Row.Parser);
private readonly pbc::RepeatedField row_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Row {
get { return row_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfMap);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfMap other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!row_.Equals(other.row_)) 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;
hash ^= row_.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
row_.WriteTo(output, _repeated_row_codec);
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) {
row_.WriteTo(ref output, _repeated_row_codec);
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;
size += row_.CalculateSize(_repeated_row_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfMap other) {
if (other == null) {
return;
}
row_.Add(other.row_);
_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 18: {
row_.AddEntriesFrom(input, _repeated_row_codec);
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 18: {
row_.AddEntriesFrom(ref input, _repeated_row_codec);
break;
}
}
}
}
#endif
#region Nested types
/// Container for nested types declared in the MessageOfMap message type.
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public static partial class Types {
public sealed partial class Row : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new Row());
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::Protobuf.MessageOfMap.Descriptor.NestedTypes[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 Row() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Row(Row other) : this() {
col_ = other.col_.Clone();
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public Row Clone() {
return new Row(this);
}
/// Field number for the "col" field.
public const int ColFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_col_codec
= pb::FieldCodec.ForEnum(10, x => (int) x, x => (global::Protobuf.PlaceType) x);
private readonly pbc::RepeatedField col_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField Col {
get { return col_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as Row);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(Row other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!col_.Equals(other.col_)) 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;
hash ^= col_.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
col_.WriteTo(output, _repeated_col_codec);
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) {
col_.WriteTo(ref output, _repeated_col_codec);
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;
size += col_.CalculateSize(_repeated_col_codec);
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(Row other) {
if (other == null) {
return;
}
col_.Add(other.col_);
_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 10:
case 8: {
col_.AddEntriesFrom(input, _repeated_col_codec);
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 10:
case 8: {
col_.AddEntriesFrom(ref input, _repeated_col_codec);
break;
}
}
}
}
#endif
}
}
#endregion
}
public sealed partial class MessageOfNews : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfNews());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[12]; }
}
[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 MessageOfNews() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfNews(MessageOfNews other) : this() {
news_ = other.news_;
fromId_ = other.fromId_;
toId_ = other.toId_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfNews Clone() {
return new MessageOfNews(this);
}
/// Field number for the "news" field.
public const int NewsFieldNumber = 1;
private string news_ = "";
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public string News {
get { return news_; }
set {
news_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
}
}
/// Field number for the "from_id" field.
public const int FromIdFieldNumber = 2;
private long fromId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long FromId {
get { return fromId_; }
set {
fromId_ = value;
}
}
/// Field number for the "to_id" field.
public const int ToIdFieldNumber = 3;
private long toId_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long ToId {
get { return toId_; }
set {
toId_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfNews);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfNews other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (News != other.News) return false;
if (FromId != other.FromId) return false;
if (ToId != other.ToId) 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 (News.Length != 0) hash ^= News.GetHashCode();
if (FromId != 0L) hash ^= FromId.GetHashCode();
if (ToId != 0L) hash ^= ToId.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 (News.Length != 0) {
output.WriteRawTag(10);
output.WriteString(News);
}
if (FromId != 0L) {
output.WriteRawTag(16);
output.WriteInt64(FromId);
}
if (ToId != 0L) {
output.WriteRawTag(24);
output.WriteInt64(ToId);
}
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 (News.Length != 0) {
output.WriteRawTag(10);
output.WriteString(News);
}
if (FromId != 0L) {
output.WriteRawTag(16);
output.WriteInt64(FromId);
}
if (ToId != 0L) {
output.WriteRawTag(24);
output.WriteInt64(ToId);
}
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 (News.Length != 0) {
size += 1 + pb::CodedOutputStream.ComputeStringSize(News);
}
if (FromId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(FromId);
}
if (ToId != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(ToId);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfNews other) {
if (other == null) {
return;
}
if (other.News.Length != 0) {
News = other.News;
}
if (other.FromId != 0L) {
FromId = other.FromId;
}
if (other.ToId != 0L) {
ToId = other.ToId;
}
_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 10: {
News = input.ReadString();
break;
}
case 16: {
FromId = input.ReadInt64();
break;
}
case 24: {
ToId = input.ReadInt64();
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 10: {
News = input.ReadString();
break;
}
case 16: {
FromId = input.ReadInt64();
break;
}
case 24: {
ToId = input.ReadInt64();
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfObj : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfObj());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[13]; }
}
[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 MessageOfObj() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfObj(MessageOfObj other) : this() {
switch (other.MessageOfObjCase) {
case MessageOfObjOneofCase.StudentMessage:
StudentMessage = other.StudentMessage.Clone();
break;
case MessageOfObjOneofCase.TrickerMessage:
TrickerMessage = other.TrickerMessage.Clone();
break;
case MessageOfObjOneofCase.PropMessage:
PropMessage = other.PropMessage.Clone();
break;
case MessageOfObjOneofCase.BulletMessage:
BulletMessage = other.BulletMessage.Clone();
break;
case MessageOfObjOneofCase.BombedBulletMessage:
BombedBulletMessage = other.BombedBulletMessage.Clone();
break;
case MessageOfObjOneofCase.ClassroomMessage:
ClassroomMessage = other.ClassroomMessage.Clone();
break;
case MessageOfObjOneofCase.DoorMessage:
DoorMessage = other.DoorMessage.Clone();
break;
case MessageOfObjOneofCase.GateMessage:
GateMessage = other.GateMessage.Clone();
break;
case MessageOfObjOneofCase.ChestMessage:
ChestMessage = other.ChestMessage.Clone();
break;
case MessageOfObjOneofCase.HiddenGateMessage:
HiddenGateMessage = other.HiddenGateMessage.Clone();
break;
case MessageOfObjOneofCase.NewsMessage:
NewsMessage = other.NewsMessage.Clone();
break;
case MessageOfObjOneofCase.MapMessage:
MapMessage = other.MapMessage.Clone();
break;
}
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfObj Clone() {
return new MessageOfObj(this);
}
/// Field number for the "student_message" field.
public const int StudentMessageFieldNumber = 1;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfStudent StudentMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage ? (global::Protobuf.MessageOfStudent) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.StudentMessage;
}
}
/// Field number for the "tricker_message" field.
public const int TrickerMessageFieldNumber = 2;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfTricker TrickerMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage ? (global::Protobuf.MessageOfTricker) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.TrickerMessage;
}
}
/// Field number for the "prop_message" field.
public const int PropMessageFieldNumber = 3;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfProp PropMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.PropMessage ? (global::Protobuf.MessageOfProp) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.PropMessage;
}
}
/// Field number for the "bullet_message" field.
public const int BulletMessageFieldNumber = 4;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfBullet BulletMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage ? (global::Protobuf.MessageOfBullet) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.BulletMessage;
}
}
/// Field number for the "bombed_bullet_message" field.
public const int BombedBulletMessageFieldNumber = 5;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfBombedBullet BombedBulletMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage ? (global::Protobuf.MessageOfBombedBullet) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.BombedBulletMessage;
}
}
/// Field number for the "classroom_message" field.
public const int ClassroomMessageFieldNumber = 6;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfClassroom ClassroomMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage ? (global::Protobuf.MessageOfClassroom) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.ClassroomMessage;
}
}
/// Field number for the "door_message" field.
public const int DoorMessageFieldNumber = 7;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfDoor DoorMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage ? (global::Protobuf.MessageOfDoor) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.DoorMessage;
}
}
/// Field number for the "gate_message" field.
public const int GateMessageFieldNumber = 8;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfGate GateMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.GateMessage ? (global::Protobuf.MessageOfGate) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.GateMessage;
}
}
/// Field number for the "chest_message" field.
public const int ChestMessageFieldNumber = 9;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfChest ChestMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage ? (global::Protobuf.MessageOfChest) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.ChestMessage;
}
}
/// Field number for the "hidden_gate_message" field.
public const int HiddenGateMessageFieldNumber = 10;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfHiddenGate HiddenGateMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage ? (global::Protobuf.MessageOfHiddenGate) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.HiddenGateMessage;
}
}
/// Field number for the "news_message" field.
public const int NewsMessageFieldNumber = 11;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfNews NewsMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage ? (global::Protobuf.MessageOfNews) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.NewsMessage;
}
}
/// Field number for the "map_message" field.
public const int MapMessageFieldNumber = 12;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfMap MapMessage {
get { return messageOfObjCase_ == MessageOfObjOneofCase.MapMessage ? (global::Protobuf.MessageOfMap) messageOfObj_ : null; }
set {
messageOfObj_ = value;
messageOfObjCase_ = value == null ? MessageOfObjOneofCase.None : MessageOfObjOneofCase.MapMessage;
}
}
private object messageOfObj_;
/// Enum of possible cases for the "message_of_obj" oneof.
public enum MessageOfObjOneofCase {
None = 0,
StudentMessage = 1,
TrickerMessage = 2,
PropMessage = 3,
BulletMessage = 4,
BombedBulletMessage = 5,
ClassroomMessage = 6,
DoorMessage = 7,
GateMessage = 8,
ChestMessage = 9,
HiddenGateMessage = 10,
NewsMessage = 11,
MapMessage = 12,
}
private MessageOfObjOneofCase messageOfObjCase_ = MessageOfObjOneofCase.None;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfObjOneofCase MessageOfObjCase {
get { return messageOfObjCase_; }
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void ClearMessageOfObj() {
messageOfObjCase_ = MessageOfObjOneofCase.None;
messageOfObj_ = null;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfObj);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfObj other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (!object.Equals(StudentMessage, other.StudentMessage)) return false;
if (!object.Equals(TrickerMessage, other.TrickerMessage)) return false;
if (!object.Equals(PropMessage, other.PropMessage)) return false;
if (!object.Equals(BulletMessage, other.BulletMessage)) return false;
if (!object.Equals(BombedBulletMessage, other.BombedBulletMessage)) return false;
if (!object.Equals(ClassroomMessage, other.ClassroomMessage)) return false;
if (!object.Equals(DoorMessage, other.DoorMessage)) return false;
if (!object.Equals(GateMessage, other.GateMessage)) return false;
if (!object.Equals(ChestMessage, other.ChestMessage)) return false;
if (!object.Equals(HiddenGateMessage, other.HiddenGateMessage)) return false;
if (!object.Equals(NewsMessage, other.NewsMessage)) return false;
if (!object.Equals(MapMessage, other.MapMessage)) return false;
if (MessageOfObjCase != other.MessageOfObjCase) 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 (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) hash ^= StudentMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) hash ^= TrickerMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) hash ^= PropMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) hash ^= BulletMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) hash ^= BombedBulletMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) hash ^= ClassroomMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) hash ^= DoorMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) hash ^= GateMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) hash ^= ChestMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) hash ^= HiddenGateMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) hash ^= NewsMessage.GetHashCode();
if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) hash ^= MapMessage.GetHashCode();
hash ^= (int) messageOfObjCase_;
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 (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
output.WriteRawTag(10);
output.WriteMessage(StudentMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
output.WriteRawTag(18);
output.WriteMessage(TrickerMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
output.WriteRawTag(26);
output.WriteMessage(PropMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
output.WriteRawTag(34);
output.WriteMessage(BulletMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
output.WriteRawTag(42);
output.WriteMessage(BombedBulletMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
output.WriteRawTag(50);
output.WriteMessage(ClassroomMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
output.WriteRawTag(58);
output.WriteMessage(DoorMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
output.WriteRawTag(66);
output.WriteMessage(GateMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
output.WriteRawTag(74);
output.WriteMessage(ChestMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
output.WriteRawTag(82);
output.WriteMessage(HiddenGateMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
output.WriteRawTag(90);
output.WriteMessage(NewsMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
output.WriteRawTag(98);
output.WriteMessage(MapMessage);
}
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 (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
output.WriteRawTag(10);
output.WriteMessage(StudentMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
output.WriteRawTag(18);
output.WriteMessage(TrickerMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
output.WriteRawTag(26);
output.WriteMessage(PropMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
output.WriteRawTag(34);
output.WriteMessage(BulletMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
output.WriteRawTag(42);
output.WriteMessage(BombedBulletMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
output.WriteRawTag(50);
output.WriteMessage(ClassroomMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
output.WriteRawTag(58);
output.WriteMessage(DoorMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
output.WriteRawTag(66);
output.WriteMessage(GateMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
output.WriteRawTag(74);
output.WriteMessage(ChestMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
output.WriteRawTag(82);
output.WriteMessage(HiddenGateMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
output.WriteRawTag(90);
output.WriteMessage(NewsMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
output.WriteRawTag(98);
output.WriteMessage(MapMessage);
}
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 (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(StudentMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(TrickerMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(PropMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BulletMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(BombedBulletMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ClassroomMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(DoorMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(GateMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(ChestMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(HiddenGateMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(NewsMessage);
}
if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(MapMessage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfObj other) {
if (other == null) {
return;
}
switch (other.MessageOfObjCase) {
case MessageOfObjOneofCase.StudentMessage:
if (StudentMessage == null) {
StudentMessage = new global::Protobuf.MessageOfStudent();
}
StudentMessage.MergeFrom(other.StudentMessage);
break;
case MessageOfObjOneofCase.TrickerMessage:
if (TrickerMessage == null) {
TrickerMessage = new global::Protobuf.MessageOfTricker();
}
TrickerMessage.MergeFrom(other.TrickerMessage);
break;
case MessageOfObjOneofCase.PropMessage:
if (PropMessage == null) {
PropMessage = new global::Protobuf.MessageOfProp();
}
PropMessage.MergeFrom(other.PropMessage);
break;
case MessageOfObjOneofCase.BulletMessage:
if (BulletMessage == null) {
BulletMessage = new global::Protobuf.MessageOfBullet();
}
BulletMessage.MergeFrom(other.BulletMessage);
break;
case MessageOfObjOneofCase.BombedBulletMessage:
if (BombedBulletMessage == null) {
BombedBulletMessage = new global::Protobuf.MessageOfBombedBullet();
}
BombedBulletMessage.MergeFrom(other.BombedBulletMessage);
break;
case MessageOfObjOneofCase.ClassroomMessage:
if (ClassroomMessage == null) {
ClassroomMessage = new global::Protobuf.MessageOfClassroom();
}
ClassroomMessage.MergeFrom(other.ClassroomMessage);
break;
case MessageOfObjOneofCase.DoorMessage:
if (DoorMessage == null) {
DoorMessage = new global::Protobuf.MessageOfDoor();
}
DoorMessage.MergeFrom(other.DoorMessage);
break;
case MessageOfObjOneofCase.GateMessage:
if (GateMessage == null) {
GateMessage = new global::Protobuf.MessageOfGate();
}
GateMessage.MergeFrom(other.GateMessage);
break;
case MessageOfObjOneofCase.ChestMessage:
if (ChestMessage == null) {
ChestMessage = new global::Protobuf.MessageOfChest();
}
ChestMessage.MergeFrom(other.ChestMessage);
break;
case MessageOfObjOneofCase.HiddenGateMessage:
if (HiddenGateMessage == null) {
HiddenGateMessage = new global::Protobuf.MessageOfHiddenGate();
}
HiddenGateMessage.MergeFrom(other.HiddenGateMessage);
break;
case MessageOfObjOneofCase.NewsMessage:
if (NewsMessage == null) {
NewsMessage = new global::Protobuf.MessageOfNews();
}
NewsMessage.MergeFrom(other.NewsMessage);
break;
case MessageOfObjOneofCase.MapMessage:
if (MapMessage == null) {
MapMessage = new global::Protobuf.MessageOfMap();
}
MapMessage.MergeFrom(other.MapMessage);
break;
}
_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 10: {
global::Protobuf.MessageOfStudent subBuilder = new global::Protobuf.MessageOfStudent();
if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
subBuilder.MergeFrom(StudentMessage);
}
input.ReadMessage(subBuilder);
StudentMessage = subBuilder;
break;
}
case 18: {
global::Protobuf.MessageOfTricker subBuilder = new global::Protobuf.MessageOfTricker();
if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
subBuilder.MergeFrom(TrickerMessage);
}
input.ReadMessage(subBuilder);
TrickerMessage = subBuilder;
break;
}
case 26: {
global::Protobuf.MessageOfProp subBuilder = new global::Protobuf.MessageOfProp();
if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
subBuilder.MergeFrom(PropMessage);
}
input.ReadMessage(subBuilder);
PropMessage = subBuilder;
break;
}
case 34: {
global::Protobuf.MessageOfBullet subBuilder = new global::Protobuf.MessageOfBullet();
if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
subBuilder.MergeFrom(BulletMessage);
}
input.ReadMessage(subBuilder);
BulletMessage = subBuilder;
break;
}
case 42: {
global::Protobuf.MessageOfBombedBullet subBuilder = new global::Protobuf.MessageOfBombedBullet();
if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
subBuilder.MergeFrom(BombedBulletMessage);
}
input.ReadMessage(subBuilder);
BombedBulletMessage = subBuilder;
break;
}
case 50: {
global::Protobuf.MessageOfClassroom subBuilder = new global::Protobuf.MessageOfClassroom();
if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
subBuilder.MergeFrom(ClassroomMessage);
}
input.ReadMessage(subBuilder);
ClassroomMessage = subBuilder;
break;
}
case 58: {
global::Protobuf.MessageOfDoor subBuilder = new global::Protobuf.MessageOfDoor();
if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
subBuilder.MergeFrom(DoorMessage);
}
input.ReadMessage(subBuilder);
DoorMessage = subBuilder;
break;
}
case 66: {
global::Protobuf.MessageOfGate subBuilder = new global::Protobuf.MessageOfGate();
if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
subBuilder.MergeFrom(GateMessage);
}
input.ReadMessage(subBuilder);
GateMessage = subBuilder;
break;
}
case 74: {
global::Protobuf.MessageOfChest subBuilder = new global::Protobuf.MessageOfChest();
if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
subBuilder.MergeFrom(ChestMessage);
}
input.ReadMessage(subBuilder);
ChestMessage = subBuilder;
break;
}
case 82: {
global::Protobuf.MessageOfHiddenGate subBuilder = new global::Protobuf.MessageOfHiddenGate();
if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
subBuilder.MergeFrom(HiddenGateMessage);
}
input.ReadMessage(subBuilder);
HiddenGateMessage = subBuilder;
break;
}
case 90: {
global::Protobuf.MessageOfNews subBuilder = new global::Protobuf.MessageOfNews();
if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
subBuilder.MergeFrom(NewsMessage);
}
input.ReadMessage(subBuilder);
NewsMessage = subBuilder;
break;
}
case 98: {
global::Protobuf.MessageOfMap subBuilder = new global::Protobuf.MessageOfMap();
if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
subBuilder.MergeFrom(MapMessage);
}
input.ReadMessage(subBuilder);
MapMessage = subBuilder;
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 10: {
global::Protobuf.MessageOfStudent subBuilder = new global::Protobuf.MessageOfStudent();
if (messageOfObjCase_ == MessageOfObjOneofCase.StudentMessage) {
subBuilder.MergeFrom(StudentMessage);
}
input.ReadMessage(subBuilder);
StudentMessage = subBuilder;
break;
}
case 18: {
global::Protobuf.MessageOfTricker subBuilder = new global::Protobuf.MessageOfTricker();
if (messageOfObjCase_ == MessageOfObjOneofCase.TrickerMessage) {
subBuilder.MergeFrom(TrickerMessage);
}
input.ReadMessage(subBuilder);
TrickerMessage = subBuilder;
break;
}
case 26: {
global::Protobuf.MessageOfProp subBuilder = new global::Protobuf.MessageOfProp();
if (messageOfObjCase_ == MessageOfObjOneofCase.PropMessage) {
subBuilder.MergeFrom(PropMessage);
}
input.ReadMessage(subBuilder);
PropMessage = subBuilder;
break;
}
case 34: {
global::Protobuf.MessageOfBullet subBuilder = new global::Protobuf.MessageOfBullet();
if (messageOfObjCase_ == MessageOfObjOneofCase.BulletMessage) {
subBuilder.MergeFrom(BulletMessage);
}
input.ReadMessage(subBuilder);
BulletMessage = subBuilder;
break;
}
case 42: {
global::Protobuf.MessageOfBombedBullet subBuilder = new global::Protobuf.MessageOfBombedBullet();
if (messageOfObjCase_ == MessageOfObjOneofCase.BombedBulletMessage) {
subBuilder.MergeFrom(BombedBulletMessage);
}
input.ReadMessage(subBuilder);
BombedBulletMessage = subBuilder;
break;
}
case 50: {
global::Protobuf.MessageOfClassroom subBuilder = new global::Protobuf.MessageOfClassroom();
if (messageOfObjCase_ == MessageOfObjOneofCase.ClassroomMessage) {
subBuilder.MergeFrom(ClassroomMessage);
}
input.ReadMessage(subBuilder);
ClassroomMessage = subBuilder;
break;
}
case 58: {
global::Protobuf.MessageOfDoor subBuilder = new global::Protobuf.MessageOfDoor();
if (messageOfObjCase_ == MessageOfObjOneofCase.DoorMessage) {
subBuilder.MergeFrom(DoorMessage);
}
input.ReadMessage(subBuilder);
DoorMessage = subBuilder;
break;
}
case 66: {
global::Protobuf.MessageOfGate subBuilder = new global::Protobuf.MessageOfGate();
if (messageOfObjCase_ == MessageOfObjOneofCase.GateMessage) {
subBuilder.MergeFrom(GateMessage);
}
input.ReadMessage(subBuilder);
GateMessage = subBuilder;
break;
}
case 74: {
global::Protobuf.MessageOfChest subBuilder = new global::Protobuf.MessageOfChest();
if (messageOfObjCase_ == MessageOfObjOneofCase.ChestMessage) {
subBuilder.MergeFrom(ChestMessage);
}
input.ReadMessage(subBuilder);
ChestMessage = subBuilder;
break;
}
case 82: {
global::Protobuf.MessageOfHiddenGate subBuilder = new global::Protobuf.MessageOfHiddenGate();
if (messageOfObjCase_ == MessageOfObjOneofCase.HiddenGateMessage) {
subBuilder.MergeFrom(HiddenGateMessage);
}
input.ReadMessage(subBuilder);
HiddenGateMessage = subBuilder;
break;
}
case 90: {
global::Protobuf.MessageOfNews subBuilder = new global::Protobuf.MessageOfNews();
if (messageOfObjCase_ == MessageOfObjOneofCase.NewsMessage) {
subBuilder.MergeFrom(NewsMessage);
}
input.ReadMessage(subBuilder);
NewsMessage = subBuilder;
break;
}
case 98: {
global::Protobuf.MessageOfMap subBuilder = new global::Protobuf.MessageOfMap();
if (messageOfObjCase_ == MessageOfObjOneofCase.MapMessage) {
subBuilder.MergeFrom(MapMessage);
}
input.ReadMessage(subBuilder);
MapMessage = subBuilder;
break;
}
}
}
}
#endif
}
public sealed partial class MessageOfAll : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageOfAll());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[14]; }
}
[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 MessageOfAll() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfAll(MessageOfAll other) : this() {
gameTime_ = other.gameTime_;
subjectLeft_ = other.subjectLeft_;
studentGraduated_ = other.studentGraduated_;
studentQuited_ = other.studentQuited_;
studentScore_ = other.studentScore_;
trickerScore_ = other.trickerScore_;
gateOpened_ = other.gateOpened_;
hiddenGateRefreshed_ = other.hiddenGateRefreshed_;
hiddenGateOpened_ = other.hiddenGateOpened_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageOfAll Clone() {
return new MessageOfAll(this);
}
/// Field number for the "game_time" field.
public const int GameTimeFieldNumber = 1;
private int gameTime_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int GameTime {
get { return gameTime_; }
set {
gameTime_ = value;
}
}
/// Field number for the "subject_left" field.
public const int SubjectLeftFieldNumber = 2;
private int subjectLeft_;
///
/// 剩余的科目数
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int SubjectLeft {
get { return subjectLeft_; }
set {
subjectLeft_ = value;
}
}
/// Field number for the "student_graduated" field.
public const int StudentGraduatedFieldNumber = 3;
private int studentGraduated_;
///
/// 已经毕业的学生数
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int StudentGraduated {
get { return studentGraduated_; }
set {
studentGraduated_ = value;
}
}
/// Field number for the "student_quited" field.
public const int StudentQuitedFieldNumber = 4;
private int studentQuited_;
///
/// 已经退学的学生数
///
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int StudentQuited {
get { return studentQuited_; }
set {
studentQuited_ = value;
}
}
/// Field number for the "student_score" field.
public const int StudentScoreFieldNumber = 5;
private int studentScore_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int StudentScore {
get { return studentScore_; }
set {
studentScore_ = value;
}
}
/// Field number for the "tricker_score" field.
public const int TrickerScoreFieldNumber = 6;
private int trickerScore_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public int TrickerScore {
get { return trickerScore_; }
set {
trickerScore_ = value;
}
}
/// Field number for the "gate_opened" field.
public const int GateOpenedFieldNumber = 7;
private bool gateOpened_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool GateOpened {
get { return gateOpened_; }
set {
gateOpened_ = value;
}
}
/// Field number for the "hidden_gate_refreshed" field.
public const int HiddenGateRefreshedFieldNumber = 8;
private bool hiddenGateRefreshed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HiddenGateRefreshed {
get { return hiddenGateRefreshed_; }
set {
hiddenGateRefreshed_ = value;
}
}
/// Field number for the "hidden_gate_opened" field.
public const int HiddenGateOpenedFieldNumber = 9;
private bool hiddenGateOpened_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool HiddenGateOpened {
get { return hiddenGateOpened_; }
set {
hiddenGateOpened_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageOfAll);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageOfAll other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (GameTime != other.GameTime) return false;
if (SubjectLeft != other.SubjectLeft) return false;
if (StudentGraduated != other.StudentGraduated) return false;
if (StudentQuited != other.StudentQuited) return false;
if (StudentScore != other.StudentScore) return false;
if (TrickerScore != other.TrickerScore) return false;
if (GateOpened != other.GateOpened) return false;
if (HiddenGateRefreshed != other.HiddenGateRefreshed) return false;
if (HiddenGateOpened != other.HiddenGateOpened) 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 (GameTime != 0) hash ^= GameTime.GetHashCode();
if (SubjectLeft != 0) hash ^= SubjectLeft.GetHashCode();
if (StudentGraduated != 0) hash ^= StudentGraduated.GetHashCode();
if (StudentQuited != 0) hash ^= StudentQuited.GetHashCode();
if (StudentScore != 0) hash ^= StudentScore.GetHashCode();
if (TrickerScore != 0) hash ^= TrickerScore.GetHashCode();
if (GateOpened != false) hash ^= GateOpened.GetHashCode();
if (HiddenGateRefreshed != false) hash ^= HiddenGateRefreshed.GetHashCode();
if (HiddenGateOpened != false) hash ^= HiddenGateOpened.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 (GameTime != 0) {
output.WriteRawTag(8);
output.WriteInt32(GameTime);
}
if (SubjectLeft != 0) {
output.WriteRawTag(16);
output.WriteInt32(SubjectLeft);
}
if (StudentGraduated != 0) {
output.WriteRawTag(24);
output.WriteInt32(StudentGraduated);
}
if (StudentQuited != 0) {
output.WriteRawTag(32);
output.WriteInt32(StudentQuited);
}
if (StudentScore != 0) {
output.WriteRawTag(40);
output.WriteInt32(StudentScore);
}
if (TrickerScore != 0) {
output.WriteRawTag(48);
output.WriteInt32(TrickerScore);
}
if (GateOpened != false) {
output.WriteRawTag(56);
output.WriteBool(GateOpened);
}
if (HiddenGateRefreshed != false) {
output.WriteRawTag(64);
output.WriteBool(HiddenGateRefreshed);
}
if (HiddenGateOpened != false) {
output.WriteRawTag(72);
output.WriteBool(HiddenGateOpened);
}
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 (GameTime != 0) {
output.WriteRawTag(8);
output.WriteInt32(GameTime);
}
if (SubjectLeft != 0) {
output.WriteRawTag(16);
output.WriteInt32(SubjectLeft);
}
if (StudentGraduated != 0) {
output.WriteRawTag(24);
output.WriteInt32(StudentGraduated);
}
if (StudentQuited != 0) {
output.WriteRawTag(32);
output.WriteInt32(StudentQuited);
}
if (StudentScore != 0) {
output.WriteRawTag(40);
output.WriteInt32(StudentScore);
}
if (TrickerScore != 0) {
output.WriteRawTag(48);
output.WriteInt32(TrickerScore);
}
if (GateOpened != false) {
output.WriteRawTag(56);
output.WriteBool(GateOpened);
}
if (HiddenGateRefreshed != false) {
output.WriteRawTag(64);
output.WriteBool(HiddenGateRefreshed);
}
if (HiddenGateOpened != false) {
output.WriteRawTag(72);
output.WriteBool(HiddenGateOpened);
}
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 (GameTime != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(GameTime);
}
if (SubjectLeft != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(SubjectLeft);
}
if (StudentGraduated != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentGraduated);
}
if (StudentQuited != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentQuited);
}
if (StudentScore != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(StudentScore);
}
if (TrickerScore != 0) {
size += 1 + pb::CodedOutputStream.ComputeInt32Size(TrickerScore);
}
if (GateOpened != false) {
size += 1 + 1;
}
if (HiddenGateRefreshed != false) {
size += 1 + 1;
}
if (HiddenGateOpened != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageOfAll other) {
if (other == null) {
return;
}
if (other.GameTime != 0) {
GameTime = other.GameTime;
}
if (other.SubjectLeft != 0) {
SubjectLeft = other.SubjectLeft;
}
if (other.StudentGraduated != 0) {
StudentGraduated = other.StudentGraduated;
}
if (other.StudentQuited != 0) {
StudentQuited = other.StudentQuited;
}
if (other.StudentScore != 0) {
StudentScore = other.StudentScore;
}
if (other.TrickerScore != 0) {
TrickerScore = other.TrickerScore;
}
if (other.GateOpened != false) {
GateOpened = other.GateOpened;
}
if (other.HiddenGateRefreshed != false) {
HiddenGateRefreshed = other.HiddenGateRefreshed;
}
if (other.HiddenGateOpened != false) {
HiddenGateOpened = other.HiddenGateOpened;
}
_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 8: {
GameTime = input.ReadInt32();
break;
}
case 16: {
SubjectLeft = input.ReadInt32();
break;
}
case 24: {
StudentGraduated = input.ReadInt32();
break;
}
case 32: {
StudentQuited = input.ReadInt32();
break;
}
case 40: {
StudentScore = input.ReadInt32();
break;
}
case 48: {
TrickerScore = input.ReadInt32();
break;
}
case 56: {
GateOpened = input.ReadBool();
break;
}
case 64: {
HiddenGateRefreshed = input.ReadBool();
break;
}
case 72: {
HiddenGateOpened = input.ReadBool();
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 8: {
GameTime = input.ReadInt32();
break;
}
case 16: {
SubjectLeft = input.ReadInt32();
break;
}
case 24: {
StudentGraduated = input.ReadInt32();
break;
}
case 32: {
StudentQuited = input.ReadInt32();
break;
}
case 40: {
StudentScore = input.ReadInt32();
break;
}
case 48: {
TrickerScore = input.ReadInt32();
break;
}
case 56: {
GateOpened = input.ReadBool();
break;
}
case 64: {
HiddenGateRefreshed = input.ReadBool();
break;
}
case 72: {
HiddenGateOpened = input.ReadBool();
break;
}
}
}
}
#endif
}
public sealed partial class MessageToClient : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MessageToClient());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[15]; }
}
[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 MessageToClient() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageToClient(MessageToClient other) : this() {
objMessage_ = other.objMessage_.Clone();
gameState_ = other.gameState_;
allMessage_ = other.allMessage_ != null ? other.allMessage_.Clone() : null;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MessageToClient Clone() {
return new MessageToClient(this);
}
/// Field number for the "obj_message" field.
public const int ObjMessageFieldNumber = 1;
private static readonly pb::FieldCodec _repeated_objMessage_codec
= pb::FieldCodec.ForMessage(10, global::Protobuf.MessageOfObj.Parser);
private readonly pbc::RepeatedField objMessage_ = new pbc::RepeatedField();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public pbc::RepeatedField ObjMessage {
get { return objMessage_; }
}
/// Field number for the "game_state" field.
public const int GameStateFieldNumber = 2;
private global::Protobuf.GameState gameState_ = global::Protobuf.GameState.NullGameState;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.GameState GameState {
get { return gameState_; }
set {
gameState_ = value;
}
}
/// Field number for the "all_message" field.
public const int AllMessageFieldNumber = 3;
private global::Protobuf.MessageOfAll allMessage_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public global::Protobuf.MessageOfAll AllMessage {
get { return allMessage_; }
set {
allMessage_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MessageToClient);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MessageToClient other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if(!objMessage_.Equals(other.objMessage_)) return false;
if (GameState != other.GameState) return false;
if (!object.Equals(AllMessage, other.AllMessage)) 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;
hash ^= objMessage_.GetHashCode();
if (GameState != global::Protobuf.GameState.NullGameState) hash ^= GameState.GetHashCode();
if (allMessage_ != null) hash ^= AllMessage.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
objMessage_.WriteTo(output, _repeated_objMessage_codec);
if (GameState != global::Protobuf.GameState.NullGameState) {
output.WriteRawTag(16);
output.WriteEnum((int) GameState);
}
if (allMessage_ != null) {
output.WriteRawTag(26);
output.WriteMessage(AllMessage);
}
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) {
objMessage_.WriteTo(ref output, _repeated_objMessage_codec);
if (GameState != global::Protobuf.GameState.NullGameState) {
output.WriteRawTag(16);
output.WriteEnum((int) GameState);
}
if (allMessage_ != null) {
output.WriteRawTag(26);
output.WriteMessage(AllMessage);
}
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;
size += objMessage_.CalculateSize(_repeated_objMessage_codec);
if (GameState != global::Protobuf.GameState.NullGameState) {
size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) GameState);
}
if (allMessage_ != null) {
size += 1 + pb::CodedOutputStream.ComputeMessageSize(AllMessage);
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MessageToClient other) {
if (other == null) {
return;
}
objMessage_.Add(other.objMessage_);
if (other.GameState != global::Protobuf.GameState.NullGameState) {
GameState = other.GameState;
}
if (other.allMessage_ != null) {
if (allMessage_ == null) {
AllMessage = new global::Protobuf.MessageOfAll();
}
AllMessage.MergeFrom(other.AllMessage);
}
_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 10: {
objMessage_.AddEntriesFrom(input, _repeated_objMessage_codec);
break;
}
case 16: {
GameState = (global::Protobuf.GameState) input.ReadEnum();
break;
}
case 26: {
if (allMessage_ == null) {
AllMessage = new global::Protobuf.MessageOfAll();
}
input.ReadMessage(AllMessage);
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 10: {
objMessage_.AddEntriesFrom(ref input, _repeated_objMessage_codec);
break;
}
case 16: {
GameState = (global::Protobuf.GameState) input.ReadEnum();
break;
}
case 26: {
if (allMessage_ == null) {
AllMessage = new global::Protobuf.MessageOfAll();
}
input.ReadMessage(AllMessage);
break;
}
}
}
}
#endif
}
public sealed partial class MoveRes : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new MoveRes());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[16]; }
}
[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 MoveRes() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MoveRes(MoveRes other) : this() {
actualSpeed_ = other.actualSpeed_;
actualAngle_ = other.actualAngle_;
actSuccess_ = other.actSuccess_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public MoveRes Clone() {
return new MoveRes(this);
}
/// Field number for the "actual_speed" field.
public const int ActualSpeedFieldNumber = 1;
private long actualSpeed_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public long ActualSpeed {
get { return actualSpeed_; }
set {
actualSpeed_ = value;
}
}
/// Field number for the "actual_angle" field.
public const int ActualAngleFieldNumber = 2;
private double actualAngle_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public double ActualAngle {
get { return actualAngle_; }
set {
actualAngle_ = value;
}
}
/// Field number for the "act_success" field.
public const int ActSuccessFieldNumber = 3;
private bool actSuccess_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool ActSuccess {
get { return actSuccess_; }
set {
actSuccess_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as MoveRes);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(MoveRes other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ActualSpeed != other.ActualSpeed) return false;
if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(ActualAngle, other.ActualAngle)) return false;
if (ActSuccess != other.ActSuccess) 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 (ActualSpeed != 0L) hash ^= ActualSpeed.GetHashCode();
if (ActualAngle != 0D) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(ActualAngle);
if (ActSuccess != false) hash ^= ActSuccess.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 (ActualSpeed != 0L) {
output.WriteRawTag(8);
output.WriteInt64(ActualSpeed);
}
if (ActualAngle != 0D) {
output.WriteRawTag(17);
output.WriteDouble(ActualAngle);
}
if (ActSuccess != false) {
output.WriteRawTag(24);
output.WriteBool(ActSuccess);
}
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 (ActualSpeed != 0L) {
output.WriteRawTag(8);
output.WriteInt64(ActualSpeed);
}
if (ActualAngle != 0D) {
output.WriteRawTag(17);
output.WriteDouble(ActualAngle);
}
if (ActSuccess != false) {
output.WriteRawTag(24);
output.WriteBool(ActSuccess);
}
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 (ActualSpeed != 0L) {
size += 1 + pb::CodedOutputStream.ComputeInt64Size(ActualSpeed);
}
if (ActualAngle != 0D) {
size += 1 + 8;
}
if (ActSuccess != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(MoveRes other) {
if (other == null) {
return;
}
if (other.ActualSpeed != 0L) {
ActualSpeed = other.ActualSpeed;
}
if (other.ActualAngle != 0D) {
ActualAngle = other.ActualAngle;
}
if (other.ActSuccess != false) {
ActSuccess = other.ActSuccess;
}
_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 8: {
ActualSpeed = input.ReadInt64();
break;
}
case 17: {
ActualAngle = input.ReadDouble();
break;
}
case 24: {
ActSuccess = input.ReadBool();
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 8: {
ActualSpeed = input.ReadInt64();
break;
}
case 17: {
ActualAngle = input.ReadDouble();
break;
}
case 24: {
ActSuccess = input.ReadBool();
break;
}
}
}
}
#endif
}
public sealed partial class BoolRes : pb::IMessage
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
, pb::IBufferMessage
#endif
{
private static readonly pb::MessageParser _parser = new pb::MessageParser(() => new BoolRes());
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::Protobuf.Message2ClientsReflection.Descriptor.MessageTypes[17]; }
}
[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 BoolRes() {
OnConstruction();
}
partial void OnConstruction();
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BoolRes(BoolRes other) : this() {
actSuccess_ = other.actSuccess_;
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public BoolRes Clone() {
return new BoolRes(this);
}
/// Field number for the "act_success" field.
public const int ActSuccessFieldNumber = 1;
private bool actSuccess_;
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool ActSuccess {
get { return actSuccess_; }
set {
actSuccess_ = value;
}
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public override bool Equals(object other) {
return Equals(other as BoolRes);
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public bool Equals(BoolRes other) {
if (ReferenceEquals(other, null)) {
return false;
}
if (ReferenceEquals(other, this)) {
return true;
}
if (ActSuccess != other.ActSuccess) 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 (ActSuccess != false) hash ^= ActSuccess.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 (ActSuccess != false) {
output.WriteRawTag(8);
output.WriteBool(ActSuccess);
}
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 (ActSuccess != false) {
output.WriteRawTag(8);
output.WriteBool(ActSuccess);
}
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 (ActSuccess != false) {
size += 1 + 1;
}
if (_unknownFields != null) {
size += _unknownFields.CalculateSize();
}
return size;
}
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
public void MergeFrom(BoolRes other) {
if (other == null) {
return;
}
if (other.ActSuccess != false) {
ActSuccess = other.ActSuccess;
}
_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 8: {
ActSuccess = input.ReadBool();
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 8: {
ActSuccess = input.ReadBool();
break;
}
}
}
}
#endif
}
#endregion
}
#endregion Designer generated code