396 lines
15 KiB
C#
396 lines
15 KiB
C#
// <auto-generated>
|
|
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
// source: rec_room/game_configuration/game_combat_player_ui_configuration_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/game_configuration/game_combat_player_ui_configuration_data.proto</summary>
|
|
public static partial class GameCombatPlayerUiConfigurationDataReflection {
|
|
|
|
#region Descriptor
|
|
/// <summary>File descriptor for rec_room/game_configuration/game_combat_player_ui_configuration_data.proto</summary>
|
|
public static pbr::FileDescriptor Descriptor {
|
|
get { return descriptor; }
|
|
}
|
|
private static pbr::FileDescriptor descriptor;
|
|
|
|
static GameCombatPlayerUiConfigurationDataReflection() {
|
|
byte[] descriptorData = global::System.Convert.FromBase64String(
|
|
string.Concat(
|
|
"CkpyZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vZ2FtZV9jb21iYXRfcGxh",
|
|
"eWVyX3VpX2NvbmZpZ3VyYXRpb25fZGF0YS5wcm90bxIIcmVjX3Jvb20izgEK",
|
|
"I0dhbWVDb21iYXRQbGF5ZXJVSUNvbmZpZ3VyYXRpb25EYXRhEiEKGWxvY2Fs",
|
|
"X3BsYXllcl91aV9zdXBwb3J0ZWQYASABKAgSHQoVb3Bwb25lbnRfdWlfc3Vw",
|
|
"cG9ydGVkGAIgASgIEh0KFXRlYW1tYXRlX3VpX3N1cHBvcnRlZBgDIAEoCBIi",
|
|
"Chp0ZWFtbWF0ZV91aV9hbHdheXNfdmlzaWJsZRgEIAEoCBIiChpvcHBvbmVu",
|
|
"dF91aV9hbHdheXNfdmlzaWJsZRgFIAEoCEITqgIQUmVjUm9vbS5Qcm90b2J1",
|
|
"ZmIGcHJvdG8z"));
|
|
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
|
new pbr::FileDescriptor[] { },
|
|
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
|
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.GameCombatPlayerUIConfigurationData), global::RecRoom.Protobuf.GameCombatPlayerUIConfigurationData.Parser, new[]{ "LocalPlayerUiSupported", "OpponentUiSupported", "TeammateUiSupported", "TeammateUiAlwaysVisible", "OpponentUiAlwaysVisible" }, null, null, null, null)
|
|
}));
|
|
}
|
|
#endregion
|
|
|
|
}
|
|
#region Messages
|
|
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
|
public sealed partial class GameCombatPlayerUIConfigurationData : pb::IMessage<GameCombatPlayerUIConfigurationData>
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
, pb::IBufferMessage
|
|
#endif
|
|
{
|
|
private static readonly pb::MessageParser<GameCombatPlayerUIConfigurationData> _parser = new pb::MessageParser<GameCombatPlayerUIConfigurationData>(() => new GameCombatPlayerUIConfigurationData());
|
|
private pb::UnknownFieldSet _unknownFields;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public static pb::MessageParser<GameCombatPlayerUIConfigurationData> 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.GameCombatPlayerUiConfigurationDataReflection.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 GameCombatPlayerUIConfigurationData() {
|
|
OnConstruction();
|
|
}
|
|
|
|
partial void OnConstruction();
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GameCombatPlayerUIConfigurationData(GameCombatPlayerUIConfigurationData other) : this() {
|
|
localPlayerUiSupported_ = other.localPlayerUiSupported_;
|
|
opponentUiSupported_ = other.opponentUiSupported_;
|
|
teammateUiSupported_ = other.teammateUiSupported_;
|
|
teammateUiAlwaysVisible_ = other.teammateUiAlwaysVisible_;
|
|
opponentUiAlwaysVisible_ = other.opponentUiAlwaysVisible_;
|
|
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public GameCombatPlayerUIConfigurationData Clone() {
|
|
return new GameCombatPlayerUIConfigurationData(this);
|
|
}
|
|
|
|
/// <summary>Field number for the "local_player_ui_supported" field.</summary>
|
|
public const int LocalPlayerUiSupportedFieldNumber = 1;
|
|
private bool localPlayerUiSupported_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool LocalPlayerUiSupported {
|
|
get { return localPlayerUiSupported_; }
|
|
set {
|
|
localPlayerUiSupported_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "opponent_ui_supported" field.</summary>
|
|
public const int OpponentUiSupportedFieldNumber = 2;
|
|
private bool opponentUiSupported_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool OpponentUiSupported {
|
|
get { return opponentUiSupported_; }
|
|
set {
|
|
opponentUiSupported_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "teammate_ui_supported" field.</summary>
|
|
public const int TeammateUiSupportedFieldNumber = 3;
|
|
private bool teammateUiSupported_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool TeammateUiSupported {
|
|
get { return teammateUiSupported_; }
|
|
set {
|
|
teammateUiSupported_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "teammate_ui_always_visible" field.</summary>
|
|
public const int TeammateUiAlwaysVisibleFieldNumber = 4;
|
|
private bool teammateUiAlwaysVisible_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool TeammateUiAlwaysVisible {
|
|
get { return teammateUiAlwaysVisible_; }
|
|
set {
|
|
teammateUiAlwaysVisible_ = value;
|
|
}
|
|
}
|
|
|
|
/// <summary>Field number for the "opponent_ui_always_visible" field.</summary>
|
|
public const int OpponentUiAlwaysVisibleFieldNumber = 5;
|
|
private bool opponentUiAlwaysVisible_;
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool OpponentUiAlwaysVisible {
|
|
get { return opponentUiAlwaysVisible_; }
|
|
set {
|
|
opponentUiAlwaysVisible_ = value;
|
|
}
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public override bool Equals(object other) {
|
|
return Equals(other as GameCombatPlayerUIConfigurationData);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public bool Equals(GameCombatPlayerUIConfigurationData other) {
|
|
if (ReferenceEquals(other, null)) {
|
|
return false;
|
|
}
|
|
if (ReferenceEquals(other, this)) {
|
|
return true;
|
|
}
|
|
if (LocalPlayerUiSupported != other.LocalPlayerUiSupported) return false;
|
|
if (OpponentUiSupported != other.OpponentUiSupported) return false;
|
|
if (TeammateUiSupported != other.TeammateUiSupported) return false;
|
|
if (TeammateUiAlwaysVisible != other.TeammateUiAlwaysVisible) return false;
|
|
if (OpponentUiAlwaysVisible != other.OpponentUiAlwaysVisible) 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 (LocalPlayerUiSupported != false) hash ^= LocalPlayerUiSupported.GetHashCode();
|
|
if (OpponentUiSupported != false) hash ^= OpponentUiSupported.GetHashCode();
|
|
if (TeammateUiSupported != false) hash ^= TeammateUiSupported.GetHashCode();
|
|
if (TeammateUiAlwaysVisible != false) hash ^= TeammateUiAlwaysVisible.GetHashCode();
|
|
if (OpponentUiAlwaysVisible != false) hash ^= OpponentUiAlwaysVisible.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 (LocalPlayerUiSupported != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(LocalPlayerUiSupported);
|
|
}
|
|
if (OpponentUiSupported != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(OpponentUiSupported);
|
|
}
|
|
if (TeammateUiSupported != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(TeammateUiSupported);
|
|
}
|
|
if (TeammateUiAlwaysVisible != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(TeammateUiAlwaysVisible);
|
|
}
|
|
if (OpponentUiAlwaysVisible != false) {
|
|
output.WriteRawTag(40);
|
|
output.WriteBool(OpponentUiAlwaysVisible);
|
|
}
|
|
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 (LocalPlayerUiSupported != false) {
|
|
output.WriteRawTag(8);
|
|
output.WriteBool(LocalPlayerUiSupported);
|
|
}
|
|
if (OpponentUiSupported != false) {
|
|
output.WriteRawTag(16);
|
|
output.WriteBool(OpponentUiSupported);
|
|
}
|
|
if (TeammateUiSupported != false) {
|
|
output.WriteRawTag(24);
|
|
output.WriteBool(TeammateUiSupported);
|
|
}
|
|
if (TeammateUiAlwaysVisible != false) {
|
|
output.WriteRawTag(32);
|
|
output.WriteBool(TeammateUiAlwaysVisible);
|
|
}
|
|
if (OpponentUiAlwaysVisible != false) {
|
|
output.WriteRawTag(40);
|
|
output.WriteBool(OpponentUiAlwaysVisible);
|
|
}
|
|
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 (LocalPlayerUiSupported != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (OpponentUiSupported != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (TeammateUiSupported != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (TeammateUiAlwaysVisible != false) {
|
|
size += 1 + 1;
|
|
}
|
|
if (OpponentUiAlwaysVisible != 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(GameCombatPlayerUIConfigurationData other) {
|
|
if (other == null) {
|
|
return;
|
|
}
|
|
if (other.LocalPlayerUiSupported != false) {
|
|
LocalPlayerUiSupported = other.LocalPlayerUiSupported;
|
|
}
|
|
if (other.OpponentUiSupported != false) {
|
|
OpponentUiSupported = other.OpponentUiSupported;
|
|
}
|
|
if (other.TeammateUiSupported != false) {
|
|
TeammateUiSupported = other.TeammateUiSupported;
|
|
}
|
|
if (other.TeammateUiAlwaysVisible != false) {
|
|
TeammateUiAlwaysVisible = other.TeammateUiAlwaysVisible;
|
|
}
|
|
if (other.OpponentUiAlwaysVisible != false) {
|
|
OpponentUiAlwaysVisible = other.OpponentUiAlwaysVisible;
|
|
}
|
|
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
|
}
|
|
|
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
|
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
|
public void MergeFrom(pb::CodedInputStream input) {
|
|
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
|
input.ReadRawMessage(this);
|
|
#else
|
|
uint tag;
|
|
while ((tag = input.ReadTag()) != 0) {
|
|
if ((tag & 7) == 4) {
|
|
// Abort on any end group tag.
|
|
return;
|
|
}
|
|
switch(tag) {
|
|
default:
|
|
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
|
break;
|
|
case 8: {
|
|
LocalPlayerUiSupported = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
OpponentUiSupported = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
TeammateUiSupported = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
TeammateUiAlwaysVisible = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
OpponentUiAlwaysVisible = 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 8: {
|
|
LocalPlayerUiSupported = input.ReadBool();
|
|
break;
|
|
}
|
|
case 16: {
|
|
OpponentUiSupported = input.ReadBool();
|
|
break;
|
|
}
|
|
case 24: {
|
|
TeammateUiSupported = input.ReadBool();
|
|
break;
|
|
}
|
|
case 32: {
|
|
TeammateUiAlwaysVisible = input.ReadBool();
|
|
break;
|
|
}
|
|
case 40: {
|
|
OpponentUiAlwaysVisible = input.ReadBool();
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#endif
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
#endregion Designer generated code
|