Protobuf...
This commit is contained in:
281
GameCombatEnemyUiConfigurationData.cs
Normal file
281
GameCombatEnemyUiConfigurationData.cs
Normal file
@@ -0,0 +1,281 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: rec_room/game_configuration/game_combat_enemy_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_enemy_ui_configuration_data.proto</summary>
|
||||
public static partial class GameCombatEnemyUiConfigurationDataReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for rec_room/game_configuration/game_combat_enemy_ui_configuration_data.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static GameCombatEnemyUiConfigurationDataReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"CklyZWNfcm9vbS9nYW1lX2NvbmZpZ3VyYXRpb24vZ2FtZV9jb21iYXRfZW5l",
|
||||
"bXlfdWlfY29uZmlndXJhdGlvbl9kYXRhLnByb3RvEghyZWNfcm9vbSJiCiJH",
|
||||
"YW1lQ29tYmF0RW5lbXlVSUNvbmZpZ3VyYXRpb25EYXRhEh0KFW9wcG9uZW50",
|
||||
"X3VpX3N1cHBvcnRlZBgBIAEoCBIdChV0ZWFtbWF0ZV91aV9zdXBwb3J0ZWQY",
|
||||
"AiABKAhCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::RecRoom.Protobuf.GameCombatEnemyUIConfigurationData), global::RecRoom.Protobuf.GameCombatEnemyUIConfigurationData.Parser, new[]{ "OpponentUiSupported", "TeammateUiSupported" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
[global::System.Diagnostics.DebuggerDisplayAttribute("{ToString(),nq}")]
|
||||
public sealed partial class GameCombatEnemyUIConfigurationData : pb::IMessage<GameCombatEnemyUIConfigurationData>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<GameCombatEnemyUIConfigurationData> _parser = new pb::MessageParser<GameCombatEnemyUIConfigurationData>(() => new GameCombatEnemyUIConfigurationData());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<GameCombatEnemyUIConfigurationData> 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.GameCombatEnemyUiConfigurationDataReflection.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 GameCombatEnemyUIConfigurationData() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public GameCombatEnemyUIConfigurationData(GameCombatEnemyUIConfigurationData other) : this() {
|
||||
opponentUiSupported_ = other.opponentUiSupported_;
|
||||
teammateUiSupported_ = other.teammateUiSupported_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public GameCombatEnemyUIConfigurationData Clone() {
|
||||
return new GameCombatEnemyUIConfigurationData(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "opponent_ui_supported" field.</summary>
|
||||
public const int OpponentUiSupportedFieldNumber = 1;
|
||||
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 = 2;
|
||||
private bool teammateUiSupported_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool TeammateUiSupported {
|
||||
get { return teammateUiSupported_; }
|
||||
set {
|
||||
teammateUiSupported_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as GameCombatEnemyUIConfigurationData);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(GameCombatEnemyUIConfigurationData other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (OpponentUiSupported != other.OpponentUiSupported) return false;
|
||||
if (TeammateUiSupported != other.TeammateUiSupported) 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 (OpponentUiSupported != false) hash ^= OpponentUiSupported.GetHashCode();
|
||||
if (TeammateUiSupported != false) hash ^= TeammateUiSupported.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 (OpponentUiSupported != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(OpponentUiSupported);
|
||||
}
|
||||
if (TeammateUiSupported != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(TeammateUiSupported);
|
||||
}
|
||||
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 (OpponentUiSupported != false) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteBool(OpponentUiSupported);
|
||||
}
|
||||
if (TeammateUiSupported != false) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteBool(TeammateUiSupported);
|
||||
}
|
||||
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 (OpponentUiSupported != false) {
|
||||
size += 1 + 1;
|
||||
}
|
||||
if (TeammateUiSupported != 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(GameCombatEnemyUIConfigurationData other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.OpponentUiSupported != false) {
|
||||
OpponentUiSupported = other.OpponentUiSupported;
|
||||
}
|
||||
if (other.TeammateUiSupported != false) {
|
||||
TeammateUiSupported = other.TeammateUiSupported;
|
||||
}
|
||||
_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: {
|
||||
OpponentUiSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
TeammateUiSupported = 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: {
|
||||
OpponentUiSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
TeammateUiSupported = input.ReadBool();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
|
||||
#endregion Designer generated code
|
||||
Reference in New Issue
Block a user