470 lines
17 KiB
C#
470 lines
17 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: rec_room/persistence/room_door_v2_data.proto
|
|
// </auto-generated>
|
|
#pragma warning disable 1591, 0612, 3021, 8981
|
|
#region Designer generated code
|
|
|
|
using pb = global::Google.Protobuf;
|
|
using pbc = global::Google.Protobuf.Collections;
|
|
using pbr = global::Google.Protobuf.Reflection;
|
|
using scg = global::System.Collections.Generic;
|
|
namespace RecRoom.Protobuf {
|
|
|
|
/// <summary>Holder for reflection information generated from rec_room/persistence/room_door_v2_data.proto</summary>
|
|
public static partial class RoomDoorV2DataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for rec_room/persistence/room_door_v2_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static RoomDoorV2DataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CixyZWNfcm9vbS9wZXJzaXN0ZW5jZS9yb29tX2Rvb3JfdjJfZGF0YS5wcm90",
|
|
"bxIIcmVjX3Jvb20i8AEKDlJvb21Eb29yVjJEYXRhEh0KFWRlc3RpbmF0aW9u",
|
|
"X3Jvb21fbmFtZRgBIAEoCRIgChhkZXN0aW5hdGlvbl9zdWJyb29tX25hbWUY",
|
|
"AiABKAkSJAocZGVzdGluYXRpb25fd2VsY29tZV9tYXRfbmFtZRgDIAEoCRIp",
|
|
"CiFkZXN0aW5hdGlvbl9yb29tX2Rvb3JfaW52aXRlX21vZGUYBCABKAUSJgoe",
|
|
"ZGVzdGluYXRpb25fZm9yY2VfbmV3X2luc3RhbmNlGAUgASgIEhEKCWhpZGVf",
|
|
"c2lnbhgGIAEoCBIRCgloaWRlX2Rvb3IYByABKAhCE6oCEFJlY1Jvb20uUHJv",
|
|
"dG9idWZiBnByb3RvMw=="));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.RoomDoorV2Data), global::RecRoom.Protobuf.RoomDoorV2Data.Parser, new[]{ "DestinationRoomName", "DestinationSubroomName", "DestinationWelcomeMatName", "DestinationRoomDoorInviteMode", "DestinationForceNewInstance", "HideSign", "HideDoor" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class RoomDoorV2Data : pb::IMessage<RoomDoorV2Data>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<RoomDoorV2Data> _parser = new pb::MessageParser<RoomDoorV2Data>(() => new RoomDoorV2Data());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<RoomDoorV2Data> Parser { get { return _parser; } }
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pbr::MessageDescriptor Descriptor {
|
|
get { return global::RecRoom.Protobuf.RoomDoorV2DataReflection.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 RoomDoorV2Data() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RoomDoorV2Data(RoomDoorV2Data other) : this() {
|
|
destinationRoomName_ = other.destinationRoomName_;
|
|
destinationSubroomName_ = other.destinationSubroomName_;
|
|
destinationWelcomeMatName_ = other.destinationWelcomeMatName_;
|
|
destinationRoomDoorInviteMode_ = other.destinationRoomDoorInviteMode_;
|
|
destinationForceNewInstance_ = other.destinationForceNewInstance_;
|
|
hideSign_ = other.hideSign_;
|
|
hideDoor_ = other.hideDoor_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public RoomDoorV2Data Clone() {
|
|
return new RoomDoorV2Data(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "destination_room_name" field.</summary>
|
|
public const int DestinationRoomNameFieldNumber = 1;
|
|
private string destinationRoomName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string DestinationRoomName {
|
|
get { return destinationRoomName_; }
|
|
set {
|
|
destinationRoomName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "destination_subroom_name" field.</summary>
|
|
public const int DestinationSubroomNameFieldNumber = 2;
|
|
private string destinationSubroomName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string DestinationSubroomName {
|
|
get { return destinationSubroomName_; }
|
|
set {
|
|
destinationSubroomName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "destination_welcome_mat_name" field.</summary>
|
|
public const int DestinationWelcomeMatNameFieldNumber = 3;
|
|
private string destinationWelcomeMatName_ = "";
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public string DestinationWelcomeMatName {
|
|
get { return destinationWelcomeMatName_; }
|
|
set {
|
|
destinationWelcomeMatName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "destination_room_door_invite_mode" field.</summary>
|
|
public const int DestinationRoomDoorInviteModeFieldNumber = 4;
|
|
private int destinationRoomDoorInviteMode_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public int DestinationRoomDoorInviteMode {
|
|
get { return destinationRoomDoorInviteMode_; }
|
|
set {
|
|
destinationRoomDoorInviteMode_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "destination_force_new_instance" field.</summary>
|
|
public const int DestinationForceNewInstanceFieldNumber = 5;
|
|
private bool destinationForceNewInstance_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool DestinationForceNewInstance {
|
|
get { return destinationForceNewInstance_; }
|
|
set {
|
|
destinationForceNewInstance_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "hide_sign" field.</summary>
|
|
public const int HideSignFieldNumber = 6;
|
|
private bool hideSign_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool HideSign {
|
|
get { return hideSign_; }
|
|
set {
|
|
hideSign_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "hide_door" field.</summary>
|
|
public const int HideDoorFieldNumber = 7;
|
|
private bool hideDoor_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool HideDoor {
|
|
get { return hideDoor_; }
|
|
set {
|
|
hideDoor_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as RoomDoorV2Data);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(RoomDoorV2Data other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (DestinationRoomName != other.DestinationRoomName) return false;
|
|
if (DestinationSubroomName != other.DestinationSubroomName) return false;
|
|
if (DestinationWelcomeMatName != other.DestinationWelcomeMatName) return false;
|
|
if (DestinationRoomDoorInviteMode != other.DestinationRoomDoorInviteMode) return false;
|
|
if (DestinationForceNewInstance != other.DestinationForceNewInstance) return false;
|
|
if (HideSign != other.HideSign) return false;
|
|
if (HideDoor != other.HideDoor) 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 (DestinationRoomName.Length != 0) hash ^= DestinationRoomName.GetHashCode();
|
|
if (DestinationSubroomName.Length != 0) hash ^= DestinationSubroomName.GetHashCode();
|
|
if (DestinationWelcomeMatName.Length != 0) hash ^= DestinationWelcomeMatName.GetHashCode();
|
|
if (DestinationRoomDoorInviteMode != 0) hash ^= DestinationRoomDoorInviteMode.GetHashCode();
|
|
if (DestinationForceNewInstance != false) hash ^= DestinationForceNewInstance.GetHashCode();
|
|
if (HideSign != false) hash ^= HideSign.GetHashCode();
|
|
if (HideDoor != false) hash ^= HideDoor.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 (DestinationRoomName.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(DestinationRoomName);
|
|
}
|
|
if (DestinationSubroomName.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(DestinationSubroomName);
|
|
}
|
|
if (DestinationWelcomeMatName.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(DestinationWelcomeMatName);
|
|
}
|
|
if (DestinationRoomDoorInviteMode != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(DestinationRoomDoorInviteMode);
|
|
}
|
|
if (DestinationForceNewInstance != false) {
|
|
output.WriteRawTag(40);
|
|
output.WriteBool(DestinationForceNewInstance);
|
|
}
|
|
if (HideSign != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(HideSign);
|
|
}
|
|
if (HideDoor != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(HideDoor);
|
|
}
|
|
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 (DestinationRoomName.Length != 0) {
|
|
output.WriteRawTag(10);
|
|
output.WriteString(DestinationRoomName);
|
|
}
|
|
if (DestinationSubroomName.Length != 0) {
|
|
output.WriteRawTag(18);
|
|
output.WriteString(DestinationSubroomName);
|
|
}
|
|
if (DestinationWelcomeMatName.Length != 0) {
|
|
output.WriteRawTag(26);
|
|
output.WriteString(DestinationWelcomeMatName);
|
|
}
|
|
if (DestinationRoomDoorInviteMode != 0) {
|
|
output.WriteRawTag(32);
|
|
output.WriteInt32(DestinationRoomDoorInviteMode);
|
|
}
|
|
if (DestinationForceNewInstance != false) {
|
|
output.WriteRawTag(40);
|
|
output.WriteBool(DestinationForceNewInstance);
|
|
}
|
|
if (HideSign != false) {
|
|
output.WriteRawTag(48);
|
|
output.WriteBool(HideSign);
|
|
}
|
|
if (HideDoor != false) {
|
|
output.WriteRawTag(56);
|
|
output.WriteBool(HideDoor);
|
|
}
|
|
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 (DestinationRoomName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(DestinationRoomName);
|
|
}
|
|
if (DestinationSubroomName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(DestinationSubroomName);
|
|
}
|
|
if (DestinationWelcomeMatName.Length != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeStringSize(DestinationWelcomeMatName);
|
|
}
|
|
if (DestinationRoomDoorInviteMode != 0) {
|
|
size += 1 + pb::CodedOutputStream.ComputeInt32Size(DestinationRoomDoorInviteMode);
|
|
}
|
|
if (DestinationForceNewInstance != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (HideSign != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (HideDoor != 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(RoomDoorV2Data other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.DestinationRoomName.Length != 0) {
|
|
DestinationRoomName = other.DestinationRoomName;
|
|
}
|
|
if (other.DestinationSubroomName.Length != 0) {
|
|
DestinationSubroomName = other.DestinationSubroomName;
|
|
}
|
|
if (other.DestinationWelcomeMatName.Length != 0) {
|
|
DestinationWelcomeMatName = other.DestinationWelcomeMatName;
|
|
}
|
|
if (other.DestinationRoomDoorInviteMode != 0) {
|
|
DestinationRoomDoorInviteMode = other.DestinationRoomDoorInviteMode;
|
|
}
|
|
if (other.DestinationForceNewInstance != false) {
|
|
DestinationForceNewInstance = other.DestinationForceNewInstance;
|
|
}
|
|
if (other.HideSign != false) {
|
|
HideSign = other.HideSign;
|
|
}
|
|
if (other.HideDoor != false) {
|
|
HideDoor = other.HideDoor;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 10: {
|
|
DestinationRoomName = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
DestinationSubroomName = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
DestinationWelcomeMatName = input.ReadString();
|
|
break;
|
|
}
|
|
case 32: {
|
|
DestinationRoomDoorInviteMode = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
DestinationForceNewInstance = input.ReadBool();
|
|
break;
|
|
}
|
|
case 48: {
|
|
HideSign = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
HideDoor = 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) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
|
break;
|
|
case 10: {
|
|
DestinationRoomName = input.ReadString();
|
|
break;
|
|
}
|
|
case 18: {
|
|
DestinationSubroomName = input.ReadString();
|
|
break;
|
|
}
|
|
case 26: {
|
|
DestinationWelcomeMatName = input.ReadString();
|
|
break;
|
|
}
|
|
case 32: {
|
|
DestinationRoomDoorInviteMode = input.ReadInt32();
|
|
break;
|
|
}
|
|
case 40: {
|
|
DestinationForceNewInstance = input.ReadBool();
|
|
break;
|
|
}
|
|
case 48: {
|
|
HideSign = input.ReadBool();
|
|
break;
|
|
}
|
|
case 56: {
|
|
HideDoor = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|